Mailinglist Archive: radeonhd (288 mails)
| < Previous | Next > |
Re: [radeonhd] HDMI audio on the Radeon HD 4350
- From: Christian König <deathsimple@xxxxxxxxxxx>
- Date: Thu, 23 Jul 2009 23:08:29 +0200
- Message-id: <1248383309.5334.120.camel@zweiundvierzig>
Am Dienstag, den 21.07.2009, 16:59 -0500 schrieb Samir Unni:
thought. I think before you try every possible combination of register
values, it's easier to explain a little bit more about how the hardware
works:
The registers 0x7454,0x7458,0x745c and 0x7460 together form the so
called "Audio & Video Info Frame", those 16 Bytes are transmitted at
least once every frame to your television. Those bytes contain a whole
bunch of informations, one of them ist the used colour format (RGB or
YUV). The first byte is a checksum of the other bytes, so it makes sense
that you have to set all 4 registers to make the checksum match, letting
the television recognise the frame as valid and switching to YUV format,
which in turn leads to a green picture.
The register 0x7400 is a general enable/disable register, you need to
set specific bits to fire up the transmitter in general, which bits you
need to set depends on the chipset. This is the first thing we need to
know to get this working.
transmitter working, so you should hear at least something.
I Would suggest that you make a register dump of the 0500-0600 range
with fglrx and radeonhd anyway, don't know if it will help, but it won't
hurt anyway.
Another possibility is to use the debug facility in the transmitter to
test the stream setup:
sudo ./rhd_dump -w 0x7408 0x00021011 1:00.0
sudo ./rhd_dump -w 0x74E0 0x0 1:00.0
You should hear static noise after that, be aware this can get very
loud. I would suggest that you make the picture green before you try
this, so you know at least that the transmitter is working.
If you don't hear anything than there is a problem with the stream
setup, infos like sampling frequency, bit per sample, number of channels
etc.. aren't transmitted correctly to your tv. But if you hear something
then we got a problem between alsa and the transmitter.
Don't give up, i think we are near to fixing this problem.
Bye,
Christian.
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
I take back what I said earlier. There are several ways to get the screen toI have to confess that getting this card working is harder than i
turn green, depending on which order the commands are run in. I've had
instances where the last command run before the screen turned green was
sudo ./rhd_dump -w 0x7454 0x80283D7A 1:00.0
or
sudo ./rhd_dump -w 0x7458 0x00000010 1:00.0
as well.
thought. I think before you try every possible combination of register
values, it's easier to explain a little bit more about how the hardware
works:
The registers 0x7454,0x7458,0x745c and 0x7460 together form the so
called "Audio & Video Info Frame", those 16 Bytes are transmitted at
least once every frame to your television. Those bytes contain a whole
bunch of informations, one of them ist the used colour format (RGB or
YUV). The first byte is a checksum of the other bytes, so it makes sense
that you have to set all 4 registers to make the checksum match, letting
the television recognise the frame as valid and switching to YUV format,
which in turn leads to a green picture.
The register 0x7400 is a general enable/disable register, you need to
set specific bits to fire up the transmitter in general, which bits you
need to set depends on the chipset. This is the first thing we need to
know to get this working.
As far as I can tell, MPlayer is playing the audio at the correct speed.Now to the second problem, the green picture tells us that we got the
transmitter working, so you should hear at least something.
I Would suggest that you make a register dump of the 0500-0600 range
with fglrx and radeonhd anyway, don't know if it will help, but it won't
hurt anyway.
Another possibility is to use the debug facility in the transmitter to
test the stream setup:
sudo ./rhd_dump -w 0x7408 0x00021011 1:00.0
sudo ./rhd_dump -w 0x74E0 0x0 1:00.0
You should hear static noise after that, be aware this can get very
loud. I would suggest that you make the picture green before you try
this, so you know at least that the transmitter is working.
If you don't hear anything than there is a problem with the stream
setup, infos like sampling frequency, bit per sample, number of channels
etc.. aren't transmitted correctly to your tv. But if you hear something
then we got a problem between alsa and the transmitter.
Don't give up, i think we are near to fixing this problem.
Bye,
Christian.
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |