SUMMARY When discord ( official ) client is open as a window at the background, apps that are by default not using VRR starts using VRR. Such as Firefox, with that conditon met and watching a video from Youtube at fullscreen. VRR is set to Auto at KDE settings. STEPS TO REPRODUCE 1. Keep Discord open at the background as window of it stays fully behing of Firefox, but still up technically. 2. Play a video from Youtube with toggling that video to be fullscreen, while above condition is met. 3. Make sure VRR is set to Auto at KDE settings. Observe VRR kicking in. OBSERVED RESULT VRR works in apps that are by default not supposed to be working, when thing decribed above happens. EXPECTED RESULT Despite Discord window being up/actie, not activating VRR on Firefox which by default it should keep VRR off. SOFTWARE/OS VERSIONS Linux/KDE Plasma: EndevaourOS KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION Hw accel is on at both Firefox and Discord. System info: ``` Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] vendor: Sapphire PULSE driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-2 off: HDMI-A-1 empty: DP-1,HDMI-A-2,Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:744c Device-2: Advanced Micro Devices [AMD/ATI] Raphael vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: none empty: DP-3, DP-4, DP-5, HDMI-A-3, Writeback-2 bus-ID: 12:00.0 chip-ID: 1002:164e temp: 37.0 C Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.3 compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu,amdgpu display-ID: 0 Monitor-1: DP-2 res: 2560x1440 size: N/A API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: radeonsi device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11: drv: radeonsi API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.5-arch1.1 glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi navi31 LLVM 18.1.8 DRM 3.57 6.10.7-arch1-1) device-ID: 1002:744c display-ID: :1.0 API: Vulkan v: 1.3.295 surfaces: xcb,xlib,wayland device: 0 type: discrete-gpu driver: mesa radv device-ID: 1002:744c device: 1 type: integrated-gpu driver: mesa radv device-ID: 1002:164e ```
I have a 7700 XT, and two monitors, only one of which is VRR compatible. I cannot get Firefox to allow VRR to kick in. As long as either Firefox Stable or Nightly have a visible window, the monitor sticks to its full refresh rate. Discord does not seem to have any effect on this. I also tried with variable refresh set to Always, and it still glued the refresh rate to maximum.
> VRR works in apps that are by default not supposed to be working Why do you assume it's not supposed to work with Firefox? Unless you force it off with a window rule, VRR gets enabled for fullscreen windows, regardless of what application it's from. (In reply to Christopher Snowhill from comment #1) > I have a 7700 XT, and two monitors, only one of which is VRR compatible. I > cannot get Firefox to allow VRR to kick in. As long as either Firefox Stable > or Nightly have a visible window, the monitor sticks to its full refresh > rate. Discord does not seem to have any effect on this. I also tried with > variable refresh set to Always, and it still glued the refresh rate to > maximum. With default settings at least, Firefox always tries to present at the maximum refresh rate. I don't remember what setting changed that though
(In reply to Zamundaaa from comment #2) > > VRR works in apps that are by default not supposed to be working > Why do you assume it's not supposed to work with Firefox? Unless you force > it off with a window rule, VRR gets enabled for fullscreen windows, > regardless of what application it's from. > > (In reply to Christopher Snowhill from comment #1) > > I have a 7700 XT, and two monitors, only one of which is VRR compatible. I > > cannot get Firefox to allow VRR to kick in. As long as either Firefox Stable > > or Nightly have a visible window, the monitor sticks to its full refresh > > rate. Discord does not seem to have any effect on this. I also tried with > > variable refresh set to Always, and it still glued the refresh rate to > > maximum. > With default settings at least, Firefox always tries to present at the > maximum refresh rate. I don't remember what setting changed that though https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/00-mesa-defaults.conf?ref_type=heads#L808 Tells me it is not supposed to have VRR?
No, that's only about Xorg.
I realized i missed the most important repro step here. One has to play at leads one content that actually uses hw accel on discord. Which would be videos from Youtube posted in a chat. https://www.youtube.com/watch?v=7NZUHREibyE @Zamundaaa Do you really think it is intentional, because when i dont do the above VRR doesnt kick in, which is a way better experience than this jumpy mess.