• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Ubuntu 20.04.1 LTS and AMD + Steam/Proton

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
14,938 (2.88/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 7500 Kaby Lake
Motherboard AsRock MicroATX Z170M Extreme4
Cooling Stock
Memory 2x 16 Gb Gskill Ripjaws 2400
Video Card(s) AMD Radeon 5700
Storage Samsung 970 EVO 1 TB m.2 NVMe + Samsung 860 EVO 2 TB SATA3 SSD
Display(s) LG 34GK950F-B 34" 21:9 Ultragear WQHD Nano IPS Curved Gaming Monitor with Radeon FreeSync 2
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Corsair K63 Wireless
Software Windows 10
I am curious to know about other people's experiences with this kind of setup.

Out of the box, the AMD drivers that are loaded with the Ubuntu 20.04.1 LTS install just work. Native Linux games run on Steam great. Proton also works great. I was even able to get the XBOX One Wireless controller working.

However, I have found that proton games seem to suffer from lag and I believe it is because the AMD drivers for Linux do not allow for turning on features like Radeon AntiLag which helps keep frames in sync with this 3440x1440p 144hz monitor.

Is anyone running Ubuntu with AMD drivers and is willing to share their experience?
 

HTC

Joined
Apr 1, 2008
Messages
4,261 (0.91/day)
Location
Portugal
System Name HTC's System
Processor Ryzen 5 2600X
Motherboard Asrock Taichi X370
Cooling NH-C14, with the AM4 mounting kit
Memory G.Skill Kit 16GB DDR4 F4 - 3200 C16D - 16 GTZB
Video Card(s) Sapphire Nitro+ Radeon RX 480 OC 4 GB
Storage 1 Samsung NVMe 960 EVO 250 GB + 1 3.5" Seagate IronWolf Pro 6TB 7200RPM 256MB SATA III
Display(s) LG 27UD58
Case Fractal Design Define R6 USB-C
Audio Device(s) Onboard
Power Supply Corsair TX 850M 80+ Gold
Mouse Razer Deathadder Elite
Software Ubuntu 19.04 LTS
Have you tried oibaf drivers?

If only to rule out features like AntiLag, which i believe they don't support either.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
14,938 (2.88/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 7500 Kaby Lake
Motherboard AsRock MicroATX Z170M Extreme4
Cooling Stock
Memory 2x 16 Gb Gskill Ripjaws 2400
Video Card(s) AMD Radeon 5700
Storage Samsung 970 EVO 1 TB m.2 NVMe + Samsung 860 EVO 2 TB SATA3 SSD
Display(s) LG 34GK950F-B 34" 21:9 Ultragear WQHD Nano IPS Curved Gaming Monitor with Radeon FreeSync 2
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Corsair K63 Wireless
Software Windows 10
Have you tried oibaf drivers?

If only to rule out features like AntiLag, which i believe they don't support either.

Hrm, never heard of those drivers. I could give them a try. Unfortunately if you check out my system specs I need AntiLag due to a weak CPU. It helps loads in graphics intensive games.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,946 (3.64/day)
Location
Concord, NH
System Name Apollo
Processor Intel Core i9 9880H
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Full Size Wireless Apple Magic Keyboard
Software MacOS 10.15.7
Oibaf: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers
Padoka Stable: https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/pkppa
Padoka Unstable: https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa

I need AntiLag due to a weak CPU
Maybe it's something that has less to do with the driver and more to do with how the CPU is driven, so it might be a Windows specific thing. Try setting the CPU governor to `performance` and see where it gets you. It should make clocking up a little more aggressive and clocking down more conservative on a desktop.

Edit: As a side note, Freesync should be working if you have only one display plugged in, so that at least should be a plus.

Edit 2: You can also try installing a mainline kernel if a feature was recently added that you need. This is the one for 5.9.10.
 
Last edited:

HTC

Joined
Apr 1, 2008
Messages
4,261 (0.91/day)
Location
Portugal
System Name HTC's System
Processor Ryzen 5 2600X
Motherboard Asrock Taichi X370
Cooling NH-C14, with the AM4 mounting kit
Memory G.Skill Kit 16GB DDR4 F4 - 3200 C16D - 16 GTZB
Video Card(s) Sapphire Nitro+ Radeon RX 480 OC 4 GB
Storage 1 Samsung NVMe 960 EVO 250 GB + 1 3.5" Seagate IronWolf Pro 6TB 7200RPM 256MB SATA III
Display(s) LG 27UD58
Case Fractal Design Define R6 USB-C
Audio Device(s) Onboard
Power Supply Corsair TX 850M 80+ Gold
Mouse Razer Deathadder Elite
Software Ubuntu 19.04 LTS
Hrm, never heard of those drivers. I could give them a try. Unfortunately if you check out my system specs I need AntiLag due to a weak CPU. It helps loads in graphics intensive games.

The intention was to install different drivers to rule out your current drivers being the issue with the lag you're experiencing: if with these drivers you continue to have the lag issue, then it's not the drivers and, if you don't anymore, then it IS INDEED the drivers.

Also, @Aquinus : correct me if i'm wrong but Padoka's drivers don't support Ubuntu 20.04.1 LTS, right? @ least for now.
 
Joined
Jan 8, 2017
Messages
6,338 (4.31/day)
System Name Good enough
Processor AMD Ryzen R7 1700X - 4.0 Ghz / 1.350V
Motherboard ASRock B450M Pro4
Cooling Deepcool Gammaxx L240 V2
Memory 16GB - Corsair Vengeance LPX - 3333 Mhz CL16
Video Card(s) OEM Dell GTX 1080 with Kraken G12 + Water 3.0 Performer C
Storage 1x Samsung 850 EVO 250GB , 1x Samsung 860 EVO 500GB
Display(s) 4K Samsung TV
Case Deepcool Matrexx 70
Power Supply GPS-750C
However, I have found that proton games seem to suffer from lag and I believe it is because the AMD drivers for Linux do not allow for turning on features like Radeon AntiLag which helps keep frames in sync with this 3440x1440p 144hz monitor.

That's not what antilag is for, if you experience noticeable input lag it's because of something else.

Proton is emulation of the graphics API basically which means it goes through an additional software translation layer and that's likely the source of the lag. In other words, you're not really ever going to get rid of that.
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
14,938 (2.88/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 7500 Kaby Lake
Motherboard AsRock MicroATX Z170M Extreme4
Cooling Stock
Memory 2x 16 Gb Gskill Ripjaws 2400
Video Card(s) AMD Radeon 5700
Storage Samsung 970 EVO 1 TB m.2 NVMe + Samsung 860 EVO 2 TB SATA3 SSD
Display(s) LG 34GK950F-B 34" 21:9 Ultragear WQHD Nano IPS Curved Gaming Monitor with Radeon FreeSync 2
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Corsair K63 Wireless
Software Windows 10
That's not what antilag is for, if you experience noticeable input lag it's because of something else.

Proton is emulation of the graphics API basically which means it goes through an additional software translation layer and that's likely the source of the lag. In other words, you're not really ever going to get rid of that.

Could that be due to my older CPU and the high resolution of the monitor?

Also, interestingly enough when I went from the AMD drivers provided with the Ubuntu 20.04 install to the latest version using the amdgpu-install-pro binaries Steam would no longer launch games. That probably is an unrelated issue...
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,946 (3.64/day)
Location
Concord, NH
System Name Apollo
Processor Intel Core i9 9880H
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Full Size Wireless Apple Magic Keyboard
Software MacOS 10.15.7
The intention was to install different drivers to rule out your current drivers being the issue with the lag you're experiencing: if with these drivers you continue to have the lag issue, then it's not the drivers and, if you don't anymore, then it IS INDEED the drivers.

Also, @Aquinus : correct me if i'm wrong but Padoka's drivers don't support Ubuntu 20.04.1 LTS, right? @ least for now.
I'm not sure. I didn't recall having any issues with 20.04 LTS myself, but since I got the MacBook Pro, I have to admit, I haven't turned the tower on in months. When I installed 20.04, everything just worked OOTB. I didn't need to install anything else and performance was decent on my Vega 64 to be frank, so I didn't futz with it.
Could that be due to my older CPU and the high resolution of the monitor?
Higher resolution requires more GPU power typically, not so much more CPU power. I'd imagine that the kicker is trying to get the high frame rates that your display can handle.
 

HTC

Joined
Apr 1, 2008
Messages
4,261 (0.91/day)
Location
Portugal
System Name HTC's System
Processor Ryzen 5 2600X
Motherboard Asrock Taichi X370
Cooling NH-C14, with the AM4 mounting kit
Memory G.Skill Kit 16GB DDR4 F4 - 3200 C16D - 16 GTZB
Video Card(s) Sapphire Nitro+ Radeon RX 480 OC 4 GB
Storage 1 Samsung NVMe 960 EVO 250 GB + 1 3.5" Seagate IronWolf Pro 6TB 7200RPM 256MB SATA III
Display(s) LG 27UD58
Case Fractal Design Define R6 USB-C
Audio Device(s) Onboard
Power Supply Corsair TX 850M 80+ Gold
Mouse Razer Deathadder Elite
Software Ubuntu 19.04 LTS
I'm not sure. I didn't recall having any issues with 20.04 LTS myself, but since I got the MacBook Pro, I have to admit, I haven't turned the tower on in months. When I installed 20.04, everything just worked OOTB. I didn't need to install anything else and performance was decent on my Vega 64 to be frank, so I didn't futz with it.

If you look closely in both of Padoka's drivers links, it does NOT say Ubuntu 20 support, which is why i said "don't support Ubuntu 20.04.1 LTS: @ least for now".
 

Easy Rhino

Linux Advocate
Staff member
Joined
Nov 13, 2006
Messages
14,938 (2.88/day)
Location
Mid-Atlantic
System Name Desktop
Processor i5 7500 Kaby Lake
Motherboard AsRock MicroATX Z170M Extreme4
Cooling Stock
Memory 2x 16 Gb Gskill Ripjaws 2400
Video Card(s) AMD Radeon 5700
Storage Samsung 970 EVO 1 TB m.2 NVMe + Samsung 860 EVO 2 TB SATA3 SSD
Display(s) LG 34GK950F-B 34" 21:9 Ultragear WQHD Nano IPS Curved Gaming Monitor with Radeon FreeSync 2
Case Corsair Carbide 400C
Audio Device(s) On Board
Power Supply Seasonic SSR-650GD Flagship Prime Series 650W Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Corsair K63 Wireless
Software Windows 10
That's not what antilag is for, if you experience noticeable input lag it's because of something else.

Oops, I meant enhanced sync, not anti-lag.
 
Joined
Jul 26, 2019
Messages
404 (0.74/day)
Processor R5 5600X
Motherboard Asus TUF Gaming X570-Plus
Memory 32 GB 3600 MT/s CL16
Video Card(s) Sapphire Vega 64
Storage 2x 500 GB SSD, 2x 3 TB HDD
Case Phanteks P300A
Software Manjaro Linux, W10 if I have to
Can you post a video of the problem? Is your fps steady in the free sync range? Well first things first make sure free sync and 144 Hz are enabled...
 
Last edited:

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,946 (3.64/day)
Location
Concord, NH
System Name Apollo
Processor Intel Core i9 9880H
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Full Size Wireless Apple Magic Keyboard
Software MacOS 10.15.7
I have found that proton games seem to suffer from lag
For what it's worth, DXVK does add CPU overhead compared to running games natively in Windows, so if you're already pushing a CPU with a game in Windows, it's not going to perform better under DXVK. This is unavoidable and that is the cost that we pay to translate DX calls to Vulkan. If games native in Linux and those that don't use DXVK through Proton (like Doom 2015,) run well then I'd say that it's probably DXVK that's pushing your CPU over the edge. Maybe a couple more faster cores are in order? :D
 

johnspack

Here For Good!
Joined
Oct 6, 2007
Messages
5,561 (1.15/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, 2x EVO 860 500GB, LG 14x Blu-Ray Rewriter
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 20.04
Benchmark Scores It's linux baby!
Wine 6.0 RC1 is out now. Don't know what versions of wine you play with. Wine should have a stable version of dxvk already present. If not, winetricks should
have the newest version. I don't use proton, don't use steam much, so I configure my own fine wine..... Go to winehq.org and set up your own wine!
 
Top