Background:
I've been using Mint-Cinnamon since around version 18 off and on and Linux since 1999 but took a break from using it as my daily driver starting in mid-2015. I recently upgraded to 20.1 and after breaking my amdgpu driver install a few times I think I've got everything working again. I had installed (amdgpu-pro) OpenCL last year to do some Folding@Home and hadn't really touched it in a while. Have upgraded to 20.50 amdgpu-pro if everything installed correctly. Yes, I'm currently using Kernel 5.8, the driver builds fine against 5.4 and 5.8 for me. I've tried using 5.4 with the same results. One of the obscure issues I had was I didn't know I had to set the VK_ICD_FILENAMES environment variable after installing the drivers.
Issue:
I've heard that VRR / FreeSync now works in Vulkan. If so, what do I need to install / configure to get it working?
Code: Select all
user@device:~$ inxi -Fxxxrz
System:
Kernel: 5.8.0-49-generic x86_64 bits: 64 compiler: N/A
Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1 dm: LightDM 1.30.0
Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine:
Type: Desktop Mobo: ASUSTeK model: ROG STRIX X470-F GAMING v: Rev X.0x
serial: <filter> UEFI [Legacy]: American Megatrends v: 5406
date: 11/13/2019
CPU:
Topology: 8-Core model: AMD Ryzen 7 2700 bits: 64 type: MT MCP arch: Zen+
rev: 2 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 127984
Speed: 1377 MHz min/max: 1550/4000 MHz boost: disabled Core speeds (MHz):
1: 1377 2: 1377 3: 1377 4: 1377 5: 1377 6: 1377 7: 1377 8: 1372 9: 1377
10: 1375 11: 1377 12: 1377 13: 1377 14: 1377 15: 1376 16: 1372
Graphics:
Device-1: AMD Vega 10 XL/XT [Radeon RX Vega 56/64]
vendor: Sapphire Limited driver: amdgpu v: 5.9.10.20.50 bus ID: 0c:00.0
chip ID: 1002:687f
Display: x11 server: X.Org 1.20.9 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 3440x1440~144Hz
OpenGL: renderer: Radeon RX Vega v: 4.6.14756 Core Profile Context 20.50
compat-v: 4.6.14756 direct render: Yes
Audio:
Device-1: AMD Vega 10 HDMI Audio [Radeon Vega 56/64] driver: snd_hda_intel
v: kernel bus ID: 0c:00.1 chip ID: 1002:aaf8
Device-2: M-Audio AIR 192 6 type: USB driver: snd-usb-audio bus ID: 5-2:2
chip ID: 0763:410c
Sound Server: ALSA v: k5.8.0-49-generic
Network:
Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus ID: 06:00.0
chip ID: 8086:2723
IF: wlp6s0 state: up mac: <filter>
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb
v: 5.6.0-k port: e000 bus ID: 09:00.0 chip ID: 8086:1539
IF: enp9s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: anbox0 state: unknown speed: -1 duplex: unknown mac: <filter>
Drives:
Local Storage: total: 2.75 TiB used: 636.08 GiB (22.6%)
ID-1: /dev/nvme0n1 vendor: Sabrent model: N/A size: 953.87 GiB
speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: RKT303.3 scheme: GPT
ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: MBR
ID-3: /dev/sdb vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
speed: 6.0 Gb/s serial: <filter> rev: 1B6Q scheme: GPT
ID-4: /dev/sdc vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB
speed: 6.0 Gb/s serial: <filter> rev: 3B6Q scheme: GPT
ID-5: /dev/sdd vendor: Western Digital model: WDS500G2B0B-00YS70
size: 465.76 GiB speed: 6.0 Gb/s serial: <filter> rev: 00WD scheme: GPT
Partition:
ID-1: / size: 228.23 GiB used: 183.65 GiB (80.5%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 708.56 GiB used: 452.43 GiB (63.9%) fs: ext4
dev: /dev/nvme0n1p5
Sensors:
System Temperatures: cpu: 37.5 C mobo: N/A gpu: amdgpu temp: 41 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1664
Repos:
No active apt repos in: /etc/apt/sources.list
No active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
Active apt repos in: /etc/apt/sources.list.d/amdgpu-pro-local.list
1: deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Active apt repos in: /etc/apt/sources.list.d/kisak-kisak-mesa-focal.list
1: deb http://ppa.launchpad.net/kisak/kisak-mesa/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/lunarg-vulkan-focal.list
1: deb https://packages.lunarg.com/vulkan focal main
2: deb-src https://packages.lunarg.com/vulkan focal main
Active apt repos in: /etc/apt/sources.list.d/lutris-team-lutris-focal.list
1: deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal main
Active apt repos in: /etc/apt/sources.list.d/microsoft-prod.list
1: deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com ulyssa main upstream import backport #id:linuxmint_main
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Active apt repos in: /etc/apt/sources.list.d/steam.list
1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
Active apt repos in: /etc/apt/sources.list.d/vscode.list
1: deb [arch=amd64] http://packages.microsoft.com/repos/code stable main
Info:
Processes: 372 Uptime: 15h 40m Memory: 31.34 GiB used: 3.98 GiB (12.7%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 7/9
Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
xrandr properties:
Code: Select all
user@device:~$ xrandr --props
Screen 0: minimum 320 x 200, current 3440 x 1440, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
supported: off, on, auto
freesync_capable: 0
range: (0, 1)
freesync: 0
range: (0, 1)
vrr_capable: 0
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: 71
supported: 71
non-desktop: 0
range: (0, 1)
DisplayPort-1 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 800mm x 335mm
EDID:
00ffffffffffff001e6d2777c1d80500
0c1d0104b55021789ff675af4e42ab26
0e5054254b007140818081c0a9c0b300
d1c08100d1cfe77c70a0d0a029503020
3a00204f3100001a4eab70b8d1a04250
90606408204f3100001a000000fd0030
90e1e150010a202020202020000000fc
003334474b393530460a20202020029d
020328712309060749100403011f1312
0514e305c000e30605016d1a00000207
30900004613e613e4ed470a0d0a04650
30203a00204f3100001a000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
000000000000000000000000000000c6
7012790000030028ea0501866f0ddf00
8f801f009f0554000200090066380186
6f0def002f801f009f05450002000900
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
00000000000000000000000000000000
0000000000000000000000000000f690
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: on
supported: off, on, auto
freesync_capable: 1
range: (0, 1)
freesync: 0
range: (0, 1)
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: 75
supported: 75
non-desktop: 0
range: (0, 1)
3440x1440 143.92*+ 120.00 + 59.97 + 99.98 75.05
1920x1200 143.92
1920x1080 74.98 60.00 60.00 50.00 59.94
1600x1200 143.92
1680x1050 59.95
1600x900 60.00
1280x1024 75.02 60.02
1440x900 143.92
1280x800 59.81
1152x864 59.97
1280x720 60.00 50.00 59.94
1024x768 75.03 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
supported: off, on, auto
freesync_capable: 0
range: (0, 1)
freesync: 0
range: (0, 1)
vrr_capable: 0
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: 80
supported: 80
non-desktop: 0
range: (0, 1)
HDMI-A-1 disconnected (normal left inverted right x axis y axis)
GAMMA_LUT_SIZE: 4096
range: (0, -1)
DEGAMMA_LUT_SIZE: 4096
range: (0, -1)
GAMMA_LUT: 0
range: (0, 65535)
CTM: 0
DEGAMMA_LUT: 0
range: (0, 65535)
TearFree: on
supported: off, on, auto
freesync_capable: 0
range: (0, 1)
freesync: 0
range: (0, 1)
vrr_capable: 0
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: 84
supported: 84
non-desktop: 0
range: (0, 1)
Code: Select all
user@device:~$ cat /usr/share/X11/xorg.conf.d/10-amdgpu.conf
Section "OutputClass"
Identifier "AMDgpu"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "TearFree" "true"
Option "VariableRefresh" "true"
Option "DRI" "3"
EndSection
Code: Select all
user@device:~$ grep -iE 'vdpau | dri driver' /var/log/Xorg.0.log
[ 11.014] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 11.014] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
Marking as solved. VRR is now enabled (see reply post) and engaging, with some issues in Cinnamon. Guessing it might have something to do with either the compositor or VSync. Works for native applications but not for WINE/Proton applications with "Disable compositing for full-screen windows" checked. Maybe Steam is not running the WINE application in fullscreen which would disable the compositor? Everything now works in kde-plasma-desktop, including Vulkan apps through WINE/Proton.