4k 60hz on RX 560 over HDMI = no sound
https://bugs.freedesktop.org/show_bug.cgi?id=111416
Bug ID: 111416
Summary: 4k 60hz on RX 560 over HDMI = no sound
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
Hi,
If I switch to 4k 60hz on my RX 560, sound instantly drops out.
I can enable/disable sound by runningxrandr --output HDMI-A-0 --mode 3840x2160 -r 30xrandr --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 know!
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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #1 from Alfie Day <[email protected]> --- 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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #2 from Alex Deucher <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #3 from Alfie Day <[email protected]> --- Created attachment 145089
--> https://bugs.freedesktop.org/attachment.cgi?id=145089&action=edit
xorg log
Log of starting X (at 4k30hz) and then increasing to 4k 60hz
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #4 from Alfie Day <[email protected]> --- Created attachment 145090
--> https://bugs.freedesktop.org/attachment.cgi?id=145090&action=edit
dmesg
Log of dmesg, starting at 4k 30hz and increasing to 4k 60hz
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #5 from Alfie Day <[email protected]> --- 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) all 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" when I tried)
After much digging I found this post,
https://bugs.freedesktop.org/show_bug.cgi?id=104412#c14 and I'm using that solution currently to get 4k 60hz.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #6 from Alfie Day <[email protected]> --- 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 cable 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=1 --channels=2 --test=wav --device=hw: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 off, and then turn the TV on after X has started.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #7 from Alfie Day <[email protected]> --- Created attachment 145091
--> https://bugs.freedesktop.org/attachment.cgi?id=145091&action=edit
dmesg (with hotplugging)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
--- Comment #8 from Alfie Day <[email protected]> --- Created attachment 145092
--> https://bugs.freedesktop.org/attachment.cgi?id=145092&action=edit
Xorg log (with hotplugging)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111416
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #9 from Martin Peres <[email protected]> --- -- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel