Skip to content

Nouveau segfault when launching X11 Display Manager #170856

@vlinkz

Description

@vlinkz

Describe the bug

I have a Dell XPS 9550, which has both an Intel I7 and Nvidia 950M. When I do a fresh NixOS install (using NixOS-unstable), by default lightdm and sddm both cause a segmentation fault that seems to be related to nouveau. Disabling the nouveau driver with modprobe -r nouveau allows me to restart the display manager and launch a desktop environment. This happend with both SDDM and KDE Plasma, and Light with Pantheon. Log: https://gist.github.com/vlinkz/62e48c55793402d98746b92ad50ccea8

[     9.341] (==) NOUVEAU(G0): Backing store enabled
[     9.341] (==) NOUVEAU(G0): Silken mouse enabled
[     9.341] (II) NOUVEAU(G0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[     9.341] (II) NOUVEAU(G0): [XvMC] Extension initialized.
[     9.341] (==) NOUVEAU(G0): DPMS enabled
[     9.341] (EE) 
[     9.341] (EE) Backtrace:
[     9.341] (EE) 0: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (OsSigHandler+0x25) [0x5b4065]
[     9.342] (EE) 1: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__sigaction+0x40) [0x7fad63270100]
[     9.342] (EE) 2: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (InitOutput+0x4e4) [0x487744]
[     9.342] (EE) 3: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (dix_main+0x194) [0x448694]
[     9.343] (EE) 4: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__libc_start_call_main+0x67) [0x7fad6325c1d7]
[     9.343] (EE) 5: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__libc_start_main+0x87) [0x7fad6325c297]
[     9.343] (EE) 6: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (_start+0x21) [0x431cd1]
[     9.343] (EE) 
[     9.343] (EE) Segmentation fault at address 0x10
[     9.343] (EE) 
Fatal server error:
[     9.343] (EE) Caught signal 11 (Segmentation fault). Server aborting
[     9.343] (EE) 
[     9.343] (EE) 

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install NixOS unstable with all video driver options left at defaults
  2. Enable an X11 display manager such as lightdm
  3. Try to start display manager

Expected behavior

Display manager starting

Additional context

Notify maintainers

Not sure who

Metadata

22.05pre372961.e10da1c7f54 - Not working
21.11.337266.feea25c5865 - Working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions