r/linux4noobs•
ungil

Kde animations stutter after new GPU

I am running Manjaro KDE and just put a new RX 5700xt in my computer and fresh installed Linux. The animations for windows (closing, opening and moving etc) and my mouse movement all seem to stutter every so often (about 5~8 secs), I am not sure what to do, the GPU runs perfectly fine on my Windows installation.

Posted Nov 16, 2019, 10:24 PM UTC

27
Miggol•

First thing I would try is changing the compositor backend in KDE display settings, as that is the most common cause of KWIN stuttering for most people.

Barring that, you should know that there are multiple different drivers for AMD cards in Linux. For the 5700xt, a newer card, you can choose between amdgpu and amdgpu-pro. The former being open-source and the latter being the driver provided directly from AMD. The open-source driver is quite good (and comes installed by deafult) but for newer cards it might lag behind the amdgpu-pro support on linux, so you might want to consider installing the proprietary driver from AMD if nothing else helps. The proprietary one usually has slightly higher performance, too.

2
ungilOP•

I will try what you suggested and get back to you thanks for the advice

2
Miggol•

Happy to help!

1
ungilOP•

I tried changing the compositor in the Kwin settings page, OpenGL 3.1,2.1 and also XRender none of which made a difference. I looked into amdgpu-pro but according to https://www.amd.com/en/support/kb/release-notes/rn-radpro-lin-16-40 its not compatible with Rx 5700 series. I guess at this point I will just have to wait until the card is supported

1
xartin•

That amd graphics card is a pretty new model. is it supported by the amdgpu xorg and Linux kernel versions provided by Manjaro?

You may also need newer Linux firmware versions for amdgpu supporting that graphics card.

https://www.phoronix.com/scan.php?page=article&item=rx-5700-july&num=1
https://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-19.10-Radeon-RX-5700
https://bbs.archlinux.org/viewtopic.php?id=247667

if your not running Linux 5.3 and mesa 19.2 it appears that graphics card will not work reliably and needs some unstable development repo software that may be easier to get working by building a Gentoo install.

Even gentoo still has mesa 19.2 listed as a testing package.

https://packages.gentoo.org/packages/media-libs/mesa

1
ungilOP•

I am running 5.3, how would i check my mesa version ?

2
xartin•

using manjaro that i'm not certain. perhaps some pacman command since its based on arch?

Mesa by itself may not be the only software version that may not be new enough but it's a start. I'm only aware of software requirements based on what i've read from those three website links i discovered.

That arch linux forum page has several related comments from others that have tested that graphics card recently on arch but the setup involved is perhaps unstable and may be very challenging to configure for a novice.

The common key concerns are typically when you need unstable development software versions for a scenario such as this and install them that can compromise overall system software consistency unless your experienced and aware of how to manage such a scenario using your Linux distro. that also becomes more challenging using precompiled Linux distros which is one of the key reasons i mentioned considering preparing and building a gentoo install to customize specifically for your hardware.

manipulating source code by using a built from sourcecode distro that has the ability to mix stable and development software versions then ensure overall system consistency can be much more flexible and moldable. It's still a challenge custom building Gentoo but you may anyway be faced with that graphics card not being supported on common distros for many months and you may find yourself able to prepare and build a gentoo install in a chroot directory in possibly several days depending on experience with Linux in general.

One thing i can confirm is gentoo has the navi10 amdgpu linux-firmware already available.

https://wiki.gentoo.org/wiki/AMDGPU#Firmware

Gentoo package manager related tasks you need to unmask the testing mesa 19.2 software version then gentoo will auto calculate all the dependency changes and build all the required packages for you to ensure system software consistency. The same can be accomplished for gentoo-sources to provide the 5.3 Linux kernel source code

1