Window Glitches and Phantom Traces after system and drivers update

Problem description
After updating my system (it was some major update on 1 Dec), I have been experiencing “back screen with cursor instead of login screen” problem. I used startx from different TTY to get to my desktop, but found warning on my panel “Software renderer in use. Renderer may be degraded”. I reinstalled the drivers, and this message disappeared from the panel. But some window glitches remain. Now windows are leaving phantom traces and sometimes glitching into each other, making the system hard to use. I also can’t open “System settings” window at all. It is just a window frame with an image of whatever was under its original position.

My system info

  • Kernel Version: 6.11.10-2-MANJARO
  • Desktop Environment: KDE
  • Window Manager: Plasma
  • GPU: NVIDIA GeForce GTX 1080
  • Driver Version: 550.135

Steps I made to solve the problem

  1. Reinstalled NVIDIA drivers using sudo pacman -S nvidia-dkms nvidia-utils nvidia-settings.
  2. Rebuilt the initramfs using sudo mkinitcpio -P.
  3. Updated GRUB using sudo update-grub.
  4. Rebooted the system.
  5. Reset KWin window manager using kwin_x11 --replace &.
  6. Disabled Sync to VBlank using export KWIN_X11_NO_SYNC_TO_VBLANK=1 and restarted KWin.
  7. Attempted to reinstall open-source drivers using sudo mhwd -a pci free 0300. Got error:
> Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-470xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia-390xx/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-470xx-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-amd-nvidia-prime/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-390xx-bumblebee/MHWDCONFIG' is invalid!
Warning: config '/var/lib/mhwd/local/pci/video-nvidia/MHWDCONFIG' is invalid!
> Using config 'video-linux' for device: 0000:01:00.0 (0300:10de:1b80) Display controller nVidia Corporation GP104 [GeForce GTX 1080]
> Installing video-linux...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/video-linux/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0380
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
warning: xf86-video-ati-1:22.0.0-2 is up to date -- skipping
warning: xf86-video-amdgpu-23.0.0-2 is up to date -- skipping
warning: xf86-video-intel-1:2.99.917+923+gb74b67f0-2 is up to date -- skipping
warning: xf86-video-nouveau-1.0.18-1 is up to date -- skipping
warning: vulkan-intel-1:24.2.7-1 is up to date -- skipping
warning: vulkan-nouveau-1:24.2.7-1 is up to date -- skipping
warning: vulkan-radeon-1:24.2.7-1 is up to date -- skipping
warning: mesa-1:24.2.7-1 is up to date -- skipping
warning: lib32-vulkan-intel-1:24.2.7-1 is up to date -- skipping
warning: lib32-vulkan-nouveau-1:24.2.7-1 is up to date -- skipping
warning: lib32-vulkan-radeon-1:24.2.7-1 is up to date -- skipping
 there is nothing to do
error: could not set install reason for package libva-mesa-driver (could not find or read package)
xf86-video-ati: install reason has been set to 'explicitly installed'
xf86-video-amdgpu: install reason has been set to 'explicitly installed'
xf86-video-intel: install reason has been set to 'explicitly installed'
xf86-video-nouveau: install reason has been set to 'explicitly installed'
vulkan-intel: install reason has been set to 'explicitly installed'
vulkan-nouveau: install reason has been set to 'explicitly installed'
vulkan-radeon: install reason has been set to 'explicitly installed'
lib32-vulkan-intel: install reason has been set to 'explicitly installed'
lib32-vulkan-nouveau: install reason has been set to 'explicitly installed'
lib32-vulkan-radeon: install reason has been set to 'explicitly installed'
Error: pacman failed!
Error: script failed!
  1. Tried to remove drivers, mentioned in error message. For example: sudo mhwd -r pci video-nvidia-470xx. Every time got error like this: Error: config 'video-nvidia-470xx' is not installed!
  2. This also applies to sudo mhwd -a pci nonfree 0300 command.

Hope for your help. If you need more information, I will provide it.

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:

As I’m a moderator on the forum, I have taken the liberty of doing this for you, this time.

Thank you for advice!

1 Like