From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 111416] 4k 60hz on RX 560 over HDMI = no sound
Date: Sun, 18 Aug 2019 09:50:22 +0000
Message-ID:
Bug ID
111416
Summary
4k 60hz on RX 560 over HDMI =3D no sound
Product
DRI
Version
XOrg git
Hardware
x86-64 (AMD64)
OS
Linux (All)
Status
NEW
Severity
normal
Priority
medium
Component
DRM/AMDgpu
Assignee
dri-devel@lists.freedesktop.org
Reporter
freedesktop@azelphur.com
Hi,
If I switch to 4k 60hz on my RX 560, sound instantly drops out.
I can enable/disable sound by running
`xrandr --output HDMI-A-0 --mode 3840x2160 -r 30`
`xrandr --output HDMI-A-0 --mode 3840x2160 -r 60`
No messages appear in dmesg or Xorg log when switching between 30/60hz. So =
I'm
not sure what information to provide with aiding debugging. Please let me k=
now!
I'm using a custom modeline since 4k 60hz option is unavailable by default =
(see
bug #111412) this is the modeline =
I am using:
Modeline "3840x2160" 594 3840 4016 4104 4400 2160 2168 2178=
2250 +hsync
+vsync
For reference, my X version is 1.20.5 My Kernel is 5.2.8-arch1-1-ARCH My Mesa version is 19.1.4
Please attach your xorg log (if using X) and your dmesg output= . What kernel are you using? You monitor only supports 4k60 at yCbCr 4:2:0 encoding: VIC 107 3840x2160@60Hz 64:27 HorFreq: 135000 Hz Clock: 297.000 MHz Your custom modeline uses RGB encoding so probably uses too much bandwidth.=
Created attachment 145089 [detai=
ls]
xorg log
Log of starting X (at 4k30hz) and then increasing to 4k 60hz
Created attachment 145090 [details]<=
/span>
dmesg
Log of dmesg, starting at 4k 30hz and increasing to 4k 60hz
Thanks for getting back to me, I'm using this one right now: https://aur.archlinux.org/packages/linux-amd-staging-drm-next-git/ I have tested on Arches standard kernel (5.2.8) and LTS kernel (4.19.67) al= l of which have the same issue. Apologies if this is user error. Sounds like you could be correct about my modeline. I tried generating modelines using cvt and gtf but I couldn't get xrandr to apply them (I'd get "xrandr: Configure crtc 0 failed" w= hen I tried) After much digging I found this post, https://bugs.freedesktop.org/show_= bug.cgi?id=3D104412#c14 and I'm using that solution currently to get 4k 60hz.
Hi, based on your comment I went and plugged my nvidia machine= into the TV using the same cable and port. I then used xvidtune -show to extract the modeline it was using: "3840x2160" 593.41 3840 4016 4104 4400= 2160 2168 2178 2250 +hsync +vsync I applied that modeline to the machine with the RX 560 in it, and still no sound. However, I made a weird discovery while switching the cable between = the two machines. If I switch to 4k 60hz on the RX 560, then I pull the HDMI ca= ble out, and plug it back in again, I get sound at 4k 60hz. So that works as a workaround. If I reboot, no sound again. I have elimniated pulseaudio as a possibility by running pasuspender -- speaker-test --nloops=3D1 --channels=3D2 --test=3Dwav --devi= ce=3Dhw:1,9 At 30hz, it works, at 60hz, it doesn't (Unless I replug the cable, then it does) I am attaching new dmesg and Xorg logs. Booting at 60hz (and thus having no sound) and then replugging the HDMI cable (which gets me sound) I can also simply turn my TV off and on again instead of unplugging / replugging the cable, sound also works if I boot the computer with the TV o= ff, and then turn the TV on after X has started.
Created attachment 1450=
91 [details]
dmesg (with hotplugging)
Created attachment 1=
45092 [details]
Xorg log (with hotplugging)
What | Removed | Added |
---|---|---|
Status | NEW | RESOLVED |
Resolution | --- | MOVED |
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this = link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/888.