I recently upgraded from an nvidia geforce gtx 1050ti to an AMD Radeon RX 580. I chose AMD because they supposedly have better drivers than nvidia in linux but I have been experiencing very bad performance and stuttering in games. For example in minecraft with shaders it can drop to below 10 fps and with the nvidia card I used to have above 60. Or in F1 2015 I have below 30 fps with stuttering and I used to have above 60.
This is my output of lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
`Subsystem: Sapphire Technology Limited Radeon RX 570 Pulse 4GB`
`Flags: bus master, fast devsel, latency 0, IRQ 34`
`Memory at e0000000 (64-bit, prefetchable) [size=256M]`
`Memory at f0000000 (64-bit, prefetchable) [size=2M]`
`I/O ports at e000 [size=256]`
`Memory at f7e00000 (32-bit, non-prefetchable) [size=256K]`
`Expansion ROM at 000c0000 [disabled] [size=128K]`
`Capabilities: <access denied>`
`Kernel driver in use: amdgpu`
`Kernel modules: amdgpu`
I installed gamemode but when I try to enable gamemoded it says it can’t find such file. Anyway, I think the gpu and the cpu are running on full speed.
The output of the command in my post says it’s an RX 570 4GB but it’s an RX 580 8GB, could that be a problem?
Then you had a typo… i believe you forgot the “d” after gamemode > gamemoded
Thinking is not knowing…
Maybe, but in general, if the chip work the same way, then the driver of an older driver will be reused. I don’t think that this is a problem.
Another issue what i read of AMD GPUs is the automatic fan control. You will get bad performance with that. Because of the heat it will throttling. This could help:
pamac build amdgpu-fancontrol-git
Don’t forget to enable the service after installation:
Sorry, by that I meant that /proc/cpuinfo shows full speed and the governor in /etc/default/cpupower is set to performance and cpupower is enabled. Radeontop shows full speed as well as corectrl and it’s not thermal throttling. I have set a fixed fan curve in corectrl and watched the temperature.
I typed it correctly. When I hit enter, nothing happens as if it was enabled but when I do systemctl status gamemoded it says this: Unit gamemoded.service could not be found.
However, on my PC with a RX 480 8GB and Manjaro KDE, performance in Linux is on average comparable with Windows, not much lower at least. Of course it depends somewhat on various factors and the individual game.
Some will run very well, even better(although that’s rare, admittedly), others might run much worse.
Windows being the main gaming platform on pc is generally optimized for and thus has a much more even performance.
Another idea, would be a bottleneck… The CPU can not keep up with the GPU…
Did you try running it with mangohud or something similar? Just curious, but it would be nice to have some screenshots here, if possible, with real stats.
Sometimes disabling the compositor could make a huge difference:
I was also thinking about replacing my GTX 1050Ti with a similar AMD GPU… so if you can post some more infos, i would really appropriate it.
F1 2015 https://paste.pics/d94a60a21b8ba1212abb24383810069d https://paste.pics/53bae63d157818540da4ee508bd21f32
Ignore the broken top bar, that’s an issue only in awesome wm. When there are no ohter cars on screen I have about 60 fps but it’s choppy.
Minecraft https://paste.pics/7e8cedbb94ae5ec882f8da487c9bbd3c
When I don’t move the camera the fps rises to about 80 or more but when I look around it drops to this.
CS:GO https://paste.pics/43a5a34a1860aeb79ddbb27d5f8794bf
Low fps and clicking between menus is choppy. (and again, awesome wm apparently has some issue with fullscreen.)
I just tried the card with a different motherboard. The performance was still not good. but much better. In minecraft I could get around a playable 30 fps, sometimes even 40. CS:GO didn’t stutter when switching menus. F1 2015 was above 60 fps most of the time and didn’t drop below 50.
Both motherboards’ PCIe slots are gen 2 with this cpu. Could it be that this gpu is bottlenecked by the speed of gen2 PCIe? But then why doesn’t it affect windows?
@anon12830899 As i know CS:GO, minecraft and F1 2015 are running with OpenGL, right? And on Windows it is running with DirectX? So here i see the real difference. Maybe there is the bottleneck?
Maybe the games are not well optimized for AMD GPUs with OpenGL? (just a thought)
Most games are also just optimized for nvidia, that is a fact.
I would test a vulkan game like dota for example.
Maybe you need also enable SI and CIK support, which is also needed to work with ACO Shader compiler?
Some bottlenecking is likely, but not just with the PCIe slots, but also likely with ram and processor speed.
Could you please post the output of inxi -CGMmazy, so we can get a better understanding of your system?
I might have overlooked it, if so don’t be mad.
Basically everyone on the internet says that AMD has far better drivers than nvidia on linux and also that on linux openGL works better with AMD than with nvidia. That’s the main reason I switched to AMD. I’m really frustrated with this. So do they have better drivers or not?
Basically saying: Yes, AMD have better drivers for Linux.
Does it mean that the gpu is as faster as nvidia ones? No. It depends on many factors.
So just saying: Better drivers does not only mean “better performance”.
I would say: “superior compatibility and a choice of reliable drivers”
Btw… where did you get the idea, that better drivers means better performance for games?
I am sorry that this is a bit disappointing for you.
Just interesting for me and maybe some folks out there, would be some benchmarks with the gtx1050ti and the rx580 on the same system. To see if there is a real difference. That would be really interesting now