On Sunday July 26 at 16:04, Christian König wrote:
Mhm, send me a Xorg.log generated with fglrx, the driver should note the pixel clock it uses for a given resolution (this should be either 74.25 or 148.5 mHz).
It's attached, looks like it's 148.5 mHz.
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
Yes, the sound stopped.
# 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
Both of these values successfully restarted the sound.
# 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
These didn't seem to have any effect on the playback.
# disable hdmi transmitter: no sound and wrong colours sudo ./rhd_dump -w 0x7400 0x00000000 1:00.0
Actually, this had no effect on either the sound or the colors.
# enable hdmi transmitter: again sound and right colors sudo ./rhd_dump -w 0x7400 0x00000110 1:00.0
Neither did this.
# 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
Same here, neither had any impact.
# 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
None of these had any effect.
sudo ./rhd_dump -w 0x7454 0x0000006F 1:00.0
This one caused the screen to flicker once, but that's all.
sudo ./rhd_dump -w 0x7458 0x00000000 1:00.0 sudo ./rhd_dump -w 0x7460 0x02000000 1:00.0
Neither of these had any effect either. Thanks, Samir