For the longest time I’ve been using NVIDIA GPU in my PC, and I recently decided to switch to AMD GPU, I picked up a Radeon Sapphire Nitro+ 9070 XT 16GB, and just installed it to my existing system, replacing my Asus RTX 3070 8GB.
But now I’ve entered issues after trying to switch to different GPU drivers. I used the mhwd utility to change GPU drivers, removing NVIDIA drivers completely. What should of been a simple driver switch over has now left me with an unusable system with no graphical interface despite using mhwd to install drivers for AMD GPU.
The system detects the AMD GPU in my system, it even says it has Radeon loaded when I check with inxi - Gx but also says GPU: N/A, Driver also says N/A. I check with lsmod | grep amd and it shows everything with AMD is loaded. I use Xwyland, and KDE Plasma, if I try to run kwin_wayland it says;
No backend specified, automatically choosing DRM
If I try to run plasmashell I get a different kind of error stating the following;
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform could be initiated. Reinstalling the application may fix this problem.
Available platform plugins are: vnc, minimal, linuxfb, xcb, wayland-egl, minimalegl, vkkhrdisplay, offscreen, Wayland, eglfs.
Aborted (core dumped) plasmashell
I don’t know why or what it expects me to reinstall, I’ve tried searching around on the Internet with this exact error message, however leads me to nowhere since its an extremely vague generic error message, its lead me to several pages about users trying to connect over SSH, but this is obviously NOT what I’m trying to do, I’m just trying to do a simple switch over from NVIDIA GPU drivers to AMD GPU drivers, I’m well aware AMD drivers are baked into the Linux kernel and should “just work” but clearly that is not the case here.
I tried to boot into a USB installer of Manjaro KDE, to see if I could fix it from there and I seem to be met with same issue of it too also failing to load into a graphical user interface because of the same XCB error as previously mentioned. So I’m not sure what the deal is here, what am I expected to do to fix this? How do you “fix” XCB Qt plugin and make the AMD GPU driver load properly in to a functional state?
I dont want to have to try reinstall the system from scratch, when even the USB Installer also fails to boot into a GUI with AMD GPU How do you reinstall XCB so Qt can actually see and use it properly? Some extra steps seem to be required to get functional AMD GPU drivers on Linux with Wayland.