Mailinglist Archive: radeonhd (288 mails)
| < Previous | Next > |
Re: [radeonhd] HDMI audio on the Radeon HD 4350
- From: Christian König <deathsimple@xxxxxxxxxxx>
- Date: Sun, 26 Jul 2009 23:04:00 +0200
- Message-id: <1248642240.27517.146.camel@zweiundvierzig>
Am Sonntag, den 26.07.2009, 14:49 -0500 schrieb Samir Unni:
pixel clock it uses for a given resolution (this should be either 74.25
or 148.5 mHz).
this leads to another idea, let's try the other way around.
Start up fglrx, and while playing something, feed the hardware with the
register values radeonhd use until sound stops. This approach doesn't
tell us how to do it right, but maybe we get new informations about what
we are doing wrong:
# complete alsa engine shutdown, should give you no sound
sudo ./rhd_dump -w 0x7300 0x0 1:00.0
# the value radeonhd uses, should start sound immediately
sudo ./rhd_dump -w 0x7300 0x810000F0 1:00.0
# the value fglrx uses, should start it again if radeonhd value doesn't
work
sudo ./rhd_dump -w 0x7300 0x8F1000F0 1:00.0
# radeonhd values of unknown registers in the alsa engine
sudo ./rhd_dump -w 0x7308 0x00000000 1:00.0
sudo ./rhd_dump -w 0x733C 0x00000000 1:00.0
# disable hdmi transmitter: no sound and wrong colours
sudo ./rhd_dump -w 0x7400 0x00000000 1:00.0
# enable hdmi transmitter: again sound and right colors
sudo ./rhd_dump -w 0x7400 0x00000110 1:00.0
# turn of audio packets: should give you no sound
sudo ./rhd_dump -w 0x7408 0x00020010 1:00.0
# turn on audio packets: should give you sound again
sudo ./rhd_dump -w 0x7408 0x00020011 1:00.0
# radeonhd values of some other registers
sudo ./rhd_dump -w 0x740C 0x00001000 1:00.0
sudo ./rhd_dump -w 0x74D4 0x00000000 1:00.0
sudo ./rhd_dump -w 0x74D8 0x00000002 1:00.0
sudo ./rhd_dump -w 0x74DC 0x00001000 1:00.0
sudo ./rhd_dump -w 0x74E0 0x00FFFFFF 1:00.0
sudo ./rhd_dump -w 0x74E4 0x007FFFFF 1:00.0
sudo ./rhd_dump -w 0x74E8 0x00000001 1:00.0
sudo ./rhd_dump -w 0x74EC 0x00000001 1:00.0
# radeonhd values for AV Info Frame: false colours, but does they also
affect sound?
sudo ./rhd_dump -w 0x7410 0x00000031 1:00.0
sudo ./rhd_dump -w 0x7454 0x0000006F 1:00.0
sudo ./rhd_dump -w 0x7458 0x00000000 1:00.0
sudo ./rhd_dump -w 0x7460 0x02000000 1:00.0
Good luck,
Christian.
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
I have the resolution set to 1920x1080 for both. But with fglrx, I getMhm, send me a Xorg.log generated with fglrx, the driver should note the
underscan because it incorrectly attempts to compensate for overscan on all
TVs, including digital ones.
pixel clock it uses for a given resolution (this should be either 74.25
or 148.5 mHz).
No, I can't hear anything. And if I run that command while audio (that I canThat's sad, this was always something very useful.
hear just fine) is being played back, there is no discernable effect on the
output.
Do you still want me to try this, or does the debugging facility not workingWithout this debugging facility it doesn't make sense to try it out, but
change things?
this leads to another idea, let's try the other way around.
Start up fglrx, and while playing something, feed the hardware with the
register values radeonhd use until sound stops. This approach doesn't
tell us how to do it right, but maybe we get new informations about what
we are doing wrong:
# complete alsa engine shutdown, should give you no sound
sudo ./rhd_dump -w 0x7300 0x0 1:00.0
# the value radeonhd uses, should start sound immediately
sudo ./rhd_dump -w 0x7300 0x810000F0 1:00.0
# the value fglrx uses, should start it again if radeonhd value doesn't
work
sudo ./rhd_dump -w 0x7300 0x8F1000F0 1:00.0
# radeonhd values of unknown registers in the alsa engine
sudo ./rhd_dump -w 0x7308 0x00000000 1:00.0
sudo ./rhd_dump -w 0x733C 0x00000000 1:00.0
# disable hdmi transmitter: no sound and wrong colours
sudo ./rhd_dump -w 0x7400 0x00000000 1:00.0
# enable hdmi transmitter: again sound and right colors
sudo ./rhd_dump -w 0x7400 0x00000110 1:00.0
# turn of audio packets: should give you no sound
sudo ./rhd_dump -w 0x7408 0x00020010 1:00.0
# turn on audio packets: should give you sound again
sudo ./rhd_dump -w 0x7408 0x00020011 1:00.0
# radeonhd values of some other registers
sudo ./rhd_dump -w 0x740C 0x00001000 1:00.0
sudo ./rhd_dump -w 0x74D4 0x00000000 1:00.0
sudo ./rhd_dump -w 0x74D8 0x00000002 1:00.0
sudo ./rhd_dump -w 0x74DC 0x00001000 1:00.0
sudo ./rhd_dump -w 0x74E0 0x00FFFFFF 1:00.0
sudo ./rhd_dump -w 0x74E4 0x007FFFFF 1:00.0
sudo ./rhd_dump -w 0x74E8 0x00000001 1:00.0
sudo ./rhd_dump -w 0x74EC 0x00000001 1:00.0
# radeonhd values for AV Info Frame: false colours, but does they also
affect sound?
sudo ./rhd_dump -w 0x7410 0x00000031 1:00.0
sudo ./rhd_dump -w 0x7454 0x0000006F 1:00.0
sudo ./rhd_dump -w 0x7458 0x00000000 1:00.0
sudo ./rhd_dump -w 0x7460 0x02000000 1:00.0
Good luck,
Christian.
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |