Artix Linux Forum

Artix Linux => System => Topic started by: aqyx on 15 June 2022, 15:44:02

Title: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 15:44:02
Ive got a new monitor that supports freesync, works just fine on w10.
Now Ive tried googling this for hours with no solution.
I got an R9 390 with an s2522hg
Xfce4
my xrandr output: xrandr --prop
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 544mm x 303mm
   EDID:
      00ffffffffffff0010acc2a14c594631
      231f0104a5361e783b35c5ad514ca325
      0f5054a54b00714f8180a9c0d1c00101
      010101010101023a801871382d40582c
      4500202f2100001e000000ff00434b48
      4c3143330a2020202020000000fc0044
      454c4c20533235323248470a000000fd
      0030f0ffff3c010a202020202020019c
      020327f14c9005040302071601141f12
      1323090707830100006d1a0000020130
      f0000000000000866f80a07038404030
      203500202f2100001a5a8780a070384d
      4030203500202f2100001aa0dd807870
      3850401c20980c202f2100001a000000
      00000000000000000000000000000000
      00000000000000000000000000000073
   GAMMA_LUT_SIZE: 4096
      range: (0, -1)
   DEGAMMA_LUT_SIZE: 4096
      range: (0, -1)
   GAMMA_LUT: 0
      range: (0, 65535)
   CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
      0 1
   DEGAMMA_LUT: 0
      range: (0, 65535)
   TearFree: off
      supported: off, on, auto
   subconnector: Native
      supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
   vrr_capable: 1
      range: (0, 1)
   max bpc: 8
      range: (8, 16)
   underscan vborder: 0
      range: (0, 128)
   underscan hborder: 0
      range: (0, 128)
   underscan: off
      supported: off, on, auto
   scaling mode: None
      supported: None, Full, Center, Full aspect
   link-status: Good
      supported: Good, Bad
   CONNECTOR_ID: 65
      supported: 65
   non-desktop: 0

my amdgpu conf:
Section "Device"
        Identifier "AMD"
        Driver "amdgpu"
        Option "TearFree" "false"
        Option "EnablePageFlip" "true"
        Option "DRI" "3"
        Option "VariableRefresh" "true"
EndSection

I added amdgpu.freesync_video=1 to my kernel parameters.
systool -vm amdgpu | grep free outputs nothing.
Id appreciate any help, I'm on the verge of reinstalling and seeing if that works


Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: Dudemanguy on 15 June 2022, 16:03:00
This *should* work. I have a VRR display myself and I use amdgpu with no issues. In my conf, I don't have the DRI option set (should be DRI 3 anyway, everyone has used that for like 10 years now) nor the "EnablePageFlip" setting (not sure what this one does). Have you tried the VRRTest (https://github.com/Nixola/VRRTest) utility? I've used it to test VRR on my machine and it works correctly.
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 17:05:33
@Dudemanguy yep, been trying it with vrrtest and various games. Refresh rate always stays at 240
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: Dudemanguy on 15 June 2022, 18:33:03
Have you tried removing the EnablePageFlip option and restarting xorg to see if that makes a difference?
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 19:13:20
Still not working. Ill install artix with KDE on a second partition to see if that changes anything
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 20:49:07
Still not working. Ill install artix with KDE on a second partition to see if that changes anything
So I made a 20gib partition with the Artix KDE iso install and after blacklisting the Radeon driver and adding the amdgpu vrr config it works on that install.
But when I install KDE on my main OS it still doesn't work.
Maybe xfce is messing something up? that's my guess for now
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: Dudemanguy on 15 June 2022, 21:06:25
Are you using a compositor? Maybe it's messing it up.
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 21:23:48
compositor disabled on both KDE and Xfce. I'll try installing KDE and nuking everything xfce related on my main install, let's see how that works out
Title: Re: VRR/FreeSync does not work no matter what I try.
Post by: aqyx on 15 June 2022, 23:32:45
now my main OS doesn't boot. I give up