I had an epiphany this morning
I use Wayland exclusively over xorg, and it turns out installing this xf86-video-amdgpu package on top of the usual Mesa (which provides amdgpu already) conflicted with my game performance. I removed it on Arch with yay -R xf86-video-amdgpu, rebooted, and it is night and day. It even boots faster.
If anyone needs me, I'll be finally gaming on Linux with good performance for the first time in months. See you on the battlefield
Following one of the answers on the link ppetraki provided in his answer, I added Option "DRI" "3" to /etc/X11/xorg.conf.d/20-intel.conf, and after a session restart everything was working again. xrandr --listproviders still does not list the AMD GPU, but seemingly DRI3 does not need that.
I was able to confirm the effect of this fix by watching GPU activity through radeontop while running DRI_PRIME=1 glxgears.
Just to keep your sanity, I would blacklist the radeon kernel driver and make sure it's not binding to the GPU by running lspci -k -nn -s GPU_SLOT.
Once that is all set. Force your amdgpu to use a defined config so you don't become a victim of auto detection.
# /etc/X11/xorg.conf.d/20-amdgpu.conf
Section "Module"
Load "dri3"
Load "glamoregl"
EndSection
Section "Device"
Identifier "AMD"
Driver "amdgpu"
Option "Accel" "on"
Option "AccelMethod" "glamor"
Option "TearFree" "auto"
Option "DRI" "3"
EndSection
Please see, https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/856386-hybrid-graphics-intel-amd
I have been using an Nvidia GPU for a while with Linux, and I have recently switched to wayland to try it out. I did all of the steps of making everything run relatively smoothly with wayland + nvidia but things like electron apps being absolutely unusable and video games (despite having high fps) stuttering non-stop making them virtually unplayable has made me regret my decision.
I want to know if switching to an AMD gpu will solve these problems or is it just a wayland being still a work in progress project thing.
Thanks in advance!
Hello to all
I just performed a clean void linux installation. My setting reads:
--------------------------------------------------------------------------------------------------------
Kernel: 5.12.14_1, GNOME 40.2,
CPU: AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx (8) @ 2.300GHz
GPU: AMD ATI 02:00.0 Picasso
--------------------------------------------------------------------------------------------------------
Never the less I have the following problem:
after some time of use, my system freezes and nothing(*) -but hard reset can be done.
Have you met the same problem? I have to mentioned that the same problem happened in plasma (KDE).
Thank you all
(*) not even to open a tty terminal is not possible.
How is the experience for this? I've tried multiple times to switch to Arch and have run into graphical, showstopper problems everytime. I currently run 2 Nvidia GPUs as I have 6 monitors.
I am looking to build a new machine. I am going to build a Ryzen 9950X when they come out and pair it with an AMD GPU, probably a 7900XT or 7900 XTX. The reason being, that I want to get away from Nvidia drivers. Will I have any issues with KDE plasma on wayland with this config?
As a bit of a follow up from this post I made earlier, ended up getting a 6700xt. Been using sway and river and it's all worked flawlessly. No flickering with my 144hz monitor, I can finally scale my 4k monitor so it doesn't look tiny, everything you'd expect. Thanks for all the advice!
I was considering getting a new GPU with the recent decrease in GPU prices and I was curious as to whether people had experience regarding Wayland recently. I had heard that NVIDIA improved their driver support regarding the newer cards but I've also generally heard more positive things regarding AMD's GPU support especially over the long run. Last time I had gave Wayland a shot (gtx 960 w/ both proprietary and nouvaeu) my 144hz flickered black about half the time if left at the full refresh rate so I ended up going back to X11.