[Bug 1183676] New: Problems enabling Freesync/VRR on 6800 XT
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 Bug ID: 1183676 Summary: Problems enabling Freesync/VRR on 6800 XT Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: suse@me.carl.ac QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- I have an AMD RX 6800 XT graphics card and am running openSUSE Tumbleweed. My monitor is an HP Omen 27i, which supports Freesync, connected via Displayport. The monitor's OSD indicates that adaptive sync is enabled. I am using the amdgpu driver and an X11 Plasma 5 session. My refresh rate is 165 Hz. This is my only monitor. I cannot seem to get Freesync to work via the standard procedures, as verified by my monitor's OSD framerate always reading 165, even in VRRTest or running a game in fullscreen with the FPS capped below 165, and seeing the choppiness in VRRTest. I have confirmed that the compositor is disabled while doing these. This exact setup worked with my AMD RX 580. In fact, I've turned off the computer, plugged the RX 580 back in, rebooted, and it works. It's not a hardware problem, as I've tested live images of Kubuntu 21.04, Fedora 34's KDE Spin, and Manjaro, and all worked fine by creating the appropriate amdgpu.conf file and logging out and in. I can't, however, get it working with an openSUSE Tumbleweed live image by following the steps below plus installing the xf86-amdgpu driver and rebooting. Weirdly, I can get VRR to work by logging into a Sway session, where VRR works wonderfully, logging out, and logging into Plasma 5 X11. This doesn't persist through a reboot, and it seems buggy while doing this. E.g., when dragging a window, everything is a smooth 165 FPS, but when just moving the mouse, it sits at a very choppy 48 Hz, which is the lower limit of the Freesync range on this monitor. Steps to reproduce: 0) Obtain compatible hardware setup: One monitor, Freesync enabled, connected by Displayport; AMD 6800 XT graphics card. 1) Create /etc/X11/xorg.conf.d/20-amdgpu.conf file: Section "Device" Identifier "AMD" Driver "amdgpu" Option "TearFree" "true" Option "VariableRefresh" "true" EndSection (I've tried removing the TearFree option and it doesn't solve the problem.) 2) Log out and in. Freesync should now be enabled, but it doesn't work. Additional info: Running xrandr --props shows vrr_capable 1. /var/log/Xorg.0.log contains the lines [ 8.124] (**) AMDGPU(0): Option "VariableRefresh" "true" and [ 8.211] (**) AMDGPU(0): VariableRefresh: enabled It seems like everything is correct, but Freesync isn't working. I first verified this problem on Mesa 20.3.4-272.4 and Kernel 5.11.4-1-default. I am now on kernel 5.11.6-1.2. No updates are available. I don't have any wacky repositories that should be causing problems. I know this may be difficult to replicate given hardware availability. If I can help, let me know. I no longer have possession of the RX 580. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c1 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS --- Comment #1 from Stefan Dirsch <sndirsch@suse.com> --- Hmm. Looks like a 100% correct configuration from your side. I'm afraid it's just not (yet) implemented for RX 6800. Whether it's Kernel or Mesa (Vulkan driver?) I don't know. I haven't found anything useful with regard to VRR/VariableRefresh/FreeSync in Mesa sources, but quite a lot in amdgpu kernel driver. So my guess would be that it's (still?) a limitation in kernel driver. It's weird to see that Sway (uses Wayland AFAIK) helps here even later for KDE running on X11. I can't help much here, since I neither have such a monitor nor such a gfx card for testing available. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c2 --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- AMD recently told me that Freesync/VRR would be supported on 6800 XT. Weird. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c3 --- Comment #3 from Carl Lieberman <suse@me.carl.ac> --- And they're right, Freesync does work with this card on the other distros I've tested. I've tried to do a little more digging into these semi-persistent effects of Sway. There's the strangeness of the stuttery cursors at 48 Hz despite the monitor being set at 165 Hz, but trying now to go Sway --> Gnome X11, I can't even launch VRRTest and instead get Error: Could not initialize SDL video subsystem (wayland not available) stack traceback: [string "boot.lua"]:777: in function <[string "boot.lua"]:773> [C]: at 0x7f5764e96ae0 [C]: in function 'require' [string "boot.lua"]:505: in function <[string "boot.lua"]:380> [C]: in function 'xpcall' [string "boot.lua"]:787: in function <[string "boot.lua"]:780> [C]: in function 'xpcall' so there's definitely some weirdness sticking around after launching Sway. But switching switching between X11/Wayland and GNOME/Plasma/Sway sessions is borderline pathological, and especially for Sway maybe I set some environmental variables that are interfering with the DEs, so this isn't the part I'm worried about, it's the complete inability to use VRR under X11. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c4 --- Comment #4 from Carl Lieberman <suse@me.carl.ac> --- Alright, hopefully this is more helpful. I have a help thread at the wonderful openSUSE forums here: https://forums.opensuse.org/showthread.php/551372-Freesync-not-working-with-... User malcolmlewis posits that there may be a missing firmware (sienna_cichlid_mes.bin) by comparing what's on their system and a list of requirements. That file is also not here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/... User Svyatko had suggested that the issue might be that the files in /lib/firmware/amdgpu were compressed as sienna_cichlid_*.bin.xz, but unpacking them and deleting the .xz files did not solve the issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c5 --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- Ok. Then I don't know where ienna_cichlid_mes.bin is coming from. Since malcolmlewis is using amdgpu pro drivers, which comes with its own firmware files, that might be the explanation. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c6 --- Comment #6 from Stefan Dirsch <sndirsch@suse.com> --- Well, you could check on your other Live images of Kubuntu 21.04, Fedora 34's KDE Spin, and Manjaro if there is this firmware file available. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1183676 http://bugzilla.opensuse.org/show_bug.cgi?id=1183676#c15 Christianito <el-christianito@mail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |el-christianito@mail.ch --- Comment #15 from Christianito <el-christianito@mail.ch> --- The problem seems to affect at least several (if not all) RDNA2 GPUs. I am having the exact same problem after upgrading to AMD RX 6700 XT (navy_flounder). Currently on Kernel 5.18.1 & Mesa 22.1.1 and no working VRR on X11. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com