Skip to content

NVIDIA proprietary drivers fail on Wayland with the latest Linux kernel in NixOS unstable (24.11) #343774

@ccicnce113424

Description

@ccicnce113424

Describe the bug

I'm encountering an issue with the NVIDIA proprietary drivers when using the latest Linux kernel on NixOS 24.11 (Vicuna) (version: 24.11.20240919.c04d565). When configured to use the latest kernel (boot.kernelPackages = pkgs.linuxPackages_latest;), SDDM fails to start on Wayland and results in a black screen. Occasionally, a frozen cursor appears at a low resolution on top of the black screen, and moving the mouse has no effect.

Additionally, when booting with the latest kernel, the system remains stuck on the Plymouth boot screen for a noticeably longer time compared to the stable kernel.

A similar issue has been reported in #323396.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Add the following NixOS configuration:
    boot.kernelPackages = pkgs.linuxPackages_latest;
  2. Rebuild and restart the system.
  3. Attempt to run SDDM on Wayland or launch a KDE session on Wayland from X11.

Expected behavior

SDDM and KDE should run on Wayland with the latest Linux kernel and the NVIDIA proprietary driver, without black screen or frozen cursor issues.

Screenshots

N/A

Additional context

I have tested both the stable and beta versions of the NVIDIA drivers, as well as using both open and proprietary kernel modules, but the problem persists in all cases. Only reverting to the stable kernel resolves the issue. This issue occurs every time I use the latest kernel.

The multi-user value in the metadata is set to no because I had to run the nix-info command from the command-line interface.

Notify maintainers

@Kiskae
@edwtjo

Metadata

 - system: "x86_64-linux"
 - host os: Linux 6.11.0, NixOS, 24.11 (Vicuna), 24.11.20240919.c04d565
 - multi-user?: no
 - sandbox: yes
 - version: nix-env (Nix) 2.18.5
 - nixpkgs: /nix/store/hiasfhl8f5yy88hcfbr3s8s4bm63wsjw-source

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions