All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian König" <deathsimple@vodafone.de>
To: Boszormenyi Zoltan <zboszor@pr.hu>
Cc: dri-devel@lists.freedesktop.org
Subject: Re: Radeon HDMI question
Date: Wed, 06 Mar 2013 10:50:14 +0100	[thread overview]
Message-ID: <51371156.2050909@vodafone.de> (raw)
In-Reply-To: <513638DD.90806@pr.hu>

Hi,

Am 05.03.2013 19:26, schrieb Boszormenyi Zoltan:
> OK, a new problem now with 5.1 sound, it can be reproduced.
>
> I still have the same setup as described above.
> I started watching a video. Initially, HDMI audio just works nicely.
> I had to do something else so I paused Xine.
> During this time, X went to DPMS blanking.
> The TV switches itself off  to save power if it sees no input.
> So, after waking up the monitor from DPMS and turning on the
> TV again, I pressed play on the video. It continues playing but
> without the sound.
>
> It seems to be the same with Linux 3.8.1 and earlier kernels.

Does that also happen with just plain stereo playback? If yes then this 
is a bug with restoring the correct audio settings after DPMS blanking.

If not (and that's what I think is more likely) than that's because DPMS 
blanking causes a desync between xine and your TV. Unfortunately there 
isn't much we can do about it (maybe expect disabling DPMS all 
together), Cause from the hardware point of view it's just not possible 
to tell the audio codec to stop playback because the display isn't 
turned on any more.

Does it work when you close xine and restart it? If yes than it might be 
worth a try to tell xine to close and reopen the audio device on 
pause/restart of playback.

>
> There is nothing in dmesg, only:
>
> ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
> ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0

That's unrelated, the alsa driver just assumes the standard ELD 
informations for the HDMI audio codec, but AMD hardware is actually not 
using it.

The real solution to your problem is to finally implement 8 channel PCM 
audio, instead of just using this ugly 5.1 pass through workaround. But 
so far nobody had time to do so.

Christian.

  reply	other threads:[~2013-03-06  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 19:35 Radeon HDMI question Boszormenyi Zoltan
2013-01-18 12:04 ` Christian König
2013-03-05 18:26   ` Boszormenyi Zoltan
2013-03-06  9:50     ` Christian König [this message]
2013-03-06 10:10       ` Boszormenyi Zoltan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51371156.2050909@vodafone.de \
    --to=deathsimple@vodafone.de \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=zboszor@pr.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.