Upgraded to 24.05, plasma6 with a 1080ti, games stutters or black screens

I updated to 24.05 and Plasma6 yesterday.

In 23.11 and Plasma5, Steam games and Vintage Story ran nicely. Now, in Wayland, the games stutter and Vintage Story is unplayable. When I load a game in Vintage Story I get a black screen with occasional flickers of the game.

System details:

Operating System: NixOS 24.05
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.6.32 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2

NVIDIA:

Driver: 550.78

Relevant parts of configuration.nix:

boot.initrd.kernelModules = [ “nvidia” ];
boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
services.xserver.videoDrivers = [“nvidia”];

hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};

services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;

I know a newer, preferably AMD, GPU would fix this. But until I get one, is there any optimization I can do?

I tried switching back to Plasma5, but apparently “The option `services.desktopManager.plasma5’ does not exist.”

it was called

  • NixOS Search services.xserver.desktopManager.plasma5.enable

Thank you. I’ll try that.

The Wiki mentions the option I tried.