Change:
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 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: Steps to reproduce the behavior: NixOS unstable with all video driver options left at defaults an X11 display manager such as lightdm to start display manager Display manager starting Downgrading to NixOS 21.11 fixed the issue. Output log: Adding to also works, but seemed to be disabled by default in and Setting makes it work <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. --Not sure who 05pre372961. - Not working 11.. - Working
Here's dmesg output: Important part:
I'm having a simliar issue, except I don't have NVIDIA. I am using a Thinkpad E580 with an i7-8550U, AMD ATI Radeon RX 550 (dedicated gpu), and an Intel UHD Graphics 620 (intergrated gpu). I've had many issues with this AMD gpu, so I just assumed it was something to do with that and didn't open an issue here. However, there is clearly something else happening here. I am currently bisecting nixpkgs to find which commit is causing the breakage, and am up to 91 commits. I'll post the commit here once I find it. <details<summaryBisect log so far (skipping commits if a system dependency cannot build)</summary<pre<codegit bisect start git bisect good git bisect bad git bisect bad git bisect skip git bisect skip git bisect good git bisect skip git bisect good git bisect skip git bisect skip git bisect bad git bisect bad git bisect good git bisect bad </pre</code</details
Maybe also related? Although unsure why fixes the issues for me. Maybe something changed with the priority that modesetting has, and or in your case is overriding the intel modesetting driver, causing the issues. Just a guess
It's quite weird. I'm not sure if is related as my X.log backtrace is basically the exact same as yours: <details<summaryFull X.log</summary<pre<code[ 21.648] X.Org X Server 1.21.1.3 X Protocol Version 11, Revision 0 [ 21.648] Current Operating System: Linux thinkpad-e580 5.15.32 -NixOS SMP Mon Mar 28 07:58:46 UTC 2022 x8664 [ 21.648] Kernel command line: initrd=efinixosn4n92hk7hmm4pg34f7aba224kf9a4xha-initrd-linux-5.15.32- init=/nix/store/8s1dwklc8c8xs5pysja3h8rx29ysmcsg-nixos-system-thinkpad-e580-22.05../init loglevel=4 [ 21.648] [ 21.648] Current version of pixman: 0.38.4 [ 21.648] Before reporting problems, check to make sure that you have the latest version. [ 21.648] Markers: (--) probed, () from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 21.648] (++) Log file: "", Time: Sat Apr 30 14:25:46 2022 [ 21.648] (++) Using config file: "/nix/store/pxabarz8cppm6dx57c3i688fz2yjf3yw-" [ 21.648] (==) Using config directory: "" [ 21.648] (==) Using system config directory "/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-" [ 21.648] (==) ServerLayout "Layout[all]" [ 21.648] () |--Screen "Screen-amdgpu[0]" (0) [ 21.648] () --Monitor "<default monitor" [ 21.648] () --Device "Device-amdgpu[0]" [ 21.648] (==) No monitor specified for screen "Screen-amdgpu[0]". Using a default monitor configuration. [ 21.648] () |--Screen "Screen-radeon[0]" (1) [ 21.648] () --Monitor "<default monitor" [ 21.648] () --Device "Device-radeon[0]" [ 21.649] (==) No monitor specified for screen "Screen-radeon[0]". Using a default monitor configuration. [ 21.649] () |--Screen "Screen-nouveau[0]" (2) [ 21.649] () --Monitor "<default monitor" [ 21.649] () --Device "Device-nouveau[0]" [ 21.649] (==) No monitor specified for screen "Screen-nouveau[0]". Using a default monitor configuration. [ 21.649] () |--Screen "Screen-modesetting[0]" (3) [ 21.649] () --Monitor "<default monitor" [ 21.649] () --Device "Device-modesetting[0]" [ 21.649] (==) No monitor specified for screen "Screen-modesetting[0]". Using a default monitor configuration. [ 21.649] () |--Screen "Screen-fbdev[0]" (4) [ 21.649] () --Monitor "<default monitor" [ 21.649] () --Device "Device-fbdev[0]" [ 21.649] (==) No monitor specified for screen "Screen-fbdev[0]". Using a default monitor configuration. [ 21.649] () Option "DontZap" "on" [ 21.649] () Option "AllowMouseOpenFail" "on" [ 21.649] (==) Automatically adding devices [ 21.649] (==) Automatically enabling devices [ 21.649] (==) Automatically adding GPU devices [ 21.649] (==) Automatically binding GPU devices [ 21.649] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 21.649] () FontPath set to: /nix/store/xlbjww3y49c4f2ym6hrhdyprbpsh2sxn-unifont-14.0.02/share/fonts, /nix/store/nm7iy96qifdmddrdf4gfb77lxn9jfp0g-font-cursor-misc-1.0.3/lib/X11/fonts/misc, /nix/store/vb46x73ipisqfg0zf83hp9cdg3hc6ns5-font-misc-misc-1.1.2/lib/X11/fonts/misc, /nix/store/cabc0idqsa20kn201x3nldj4707dllyb-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi, /nix/store/jdxqcinmi0n6jyy02za9zypznagcbw6v-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi [ 21.649] () ModulePath set to "/nix/store/6is812kapk40xjqhm5n2wj3k3m4vcr7n-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers,/nix/store/s4047yvmsvp7ryl8gdjirr94b0scn8qd-xf86-video-ati-/lib/xorg/modules/drivers,/nix/store/fmygn0ck2d9g5849mham9vszsvjl6i0i-xf86-video-nouveau-/lib/xorg/modules/drivers,/nix/store/p9vjammksimxg5iqpbx0sgr9sd41r22x-xf86-video-fbdev-0.5.0/lib/xorg/modules/drivers,/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/lib/xorg/modules,/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/lib/xorg/modules/input,/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/lib/xorg/modules/drivers,/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/lib/xorg/modules/extensions,/nix/store/jk6cr31y4pkkkbahxx5p5ah18knk3pkm-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/j622zcg9d5djzs8qa2vv7pgdx9hmz3y3-xf86-input-libinput-1.2.0/lib/xorg/modules/input" [ 21.649] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 21.649] (II) Loader magic: 0x63fe40 [ 21.649] (II) Module ABI versions: [ 21.649] X.Org ANSI C Emulation: 0.4 [ 21.649] X.Org Video Driver: 25.2 [ 21.649] X.Org XInput driver : 24.4 [ 21.649] X.Org Server Extension : 10.0 [ 21.650] (++) using VT number 7 [ 21.650] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 21.650] (II) xfree86: Adding drm device (/dev/dri/card0) [ 21.650] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0 [ 21.667] (II) xfree86: Adding drm device (/dev/dri/card1) [ 21.667] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/drm/card1 [ 21.670] (--) PCI:*(0 8086:5917:17aa:5069 rev 7, Mem @ 0xf0000000/, 0xe0000000/, I/O @ 0x0000e000/64, BIOS @ 0x????????/ [ 21.670] (--) PCI: (2 1002:699f:17aa:5069 rev 192, Mem @ 0xc0000000/, 0xd0000000/, 0xf1400000/, I/O @ 0x0000d000/256, BIOS @ 0x????????/ [ 21.670] (WW) Open ACPI failed () (No such file or directory) [ 21.670] (II) "glx" will be loaded by default. [ 21.670] (II) LoadModule: "glx" [ 21.670] (II) Loading /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server- [ 21.671] (II) Module glx: vendor="X.Org Foundation" [ 21.671] compiled for 1.21.1.3, module version = 1.0.0 [ 21.671] ABI class: X.Org Server Extension, version 10.0 [ 21.671] (II) LoadModule: "amdgpu" [ 21.671] (II) Loading /nix/store/6is812kapk40xjqhm5n2wj3k3m4vcr7n-xf86-video-amdgpu- [ 21.673] (II) Module amdgpu: vendor="X.Org Foundation" [ 21.673] compiled for 1.21.1.3, module version = 21.0.0 [ 21.673] Module class: X.Org Video Driver [ 21.673] ABI class: X.Org Video Driver, version 25.2 [ 21.673] (II) LoadModule: "ati" [ 21.673] (II) Loading /nix/store/s4047yvmsvp7ryl8gdjirr94b0scn8qd-xf86-video-ati- [ 21.674] (II) Module ati: vendor="X.Org Foundation" [ 21.674] compiled for 1.21.1.3, module version = 19.1.0 [ 21.674] Module class: X.Org Video Driver [ 21.674] ABI class: X.Org Video Driver, version 25.2 [ 21.684] (II) LoadModule: "nouveau" [ 21.684] (II) Loading /nix/store/fmygn0ck2d9g5849mham9vszsvjl6i0i-xf86-video-nouveau- [ 21.684] (II) Module nouveau: vendor="X.Org Foundation" [ 21.684] compiled for 1.21.1.3, module version = 1.0.17 [ 21.684] Module class: X.Org Video Driver [ 21.684] ABI class: X.Org Video Driver, version 25.2 [ 21.684] (II) LoadModule: "modesetting" [ 21.684] (II) Loading /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server- [ 21.684] (II) Module modesetting: vendor="X.Org Foundation" [ 21.684] compiled for 1.21.1.3, module version = 1.21.1 [ 21.684] Module class: X.Org Video Driver [ 21.684] ABI class: X.Org Video Driver, version 25.2 [ 21.684] (II) LoadModule: "fbdev" [ 21.684] (II) Loading /nix/store/p9vjammksimxg5iqpbx0sgr9sd41r22x-xf86-video-fbdev- [ 21.684] (II) Module fbdev: vendor="X.Org Foundation" [ 21.684] compiled for 1.21.1.3, module version = 0.5.0 [ 21.684] Module class: X.Org Video Driver [ 21.684] ABI class: X.Org Video Driver, version 25.2 [ 21.685] (II) AMDGPU: Driver for AMD Radeon: All GPUs supported by the amdgpu kernel driver [ 21.685] (II) NOUVEAU driver [ 21.685] (II) NOUVEAU driver for NVIDIA chipset families : [ 21.685] RIVA TNT (NV04) [ 21.685] RIVA TNT2 (NV05) [ 21.685] GeForce 256 (NV10) [ 21.685] GeForce 2 (NV11, NV15) [ 21.685] GeForce 4MX (NV17, NV18) [ 21.685] GeForce 3 (NV20) [ 21.685] GeForce 4Ti (NV25, NV28) [ 21.685] GeForce FX (NV3x) [ 21.685] GeForce 6 (NV4x) [ 21.685] GeForce 7 (G7x) [ 21.685] GeForce 8 (G8x) [ 21.685] GeForce 9 (G9x) [ 21.685] GeForce GTX 2xx/3xx (GT2xx) [ 21.685] GeForce GTX 4xx/5xx (GFxxx) [ 21.685] GeForce GTX 6xx/7xx (GKxxx) [ 21.685] GeForce GTX 9xx (GMxxx) [ 21.685] GeForce GTX 10xx (GPxxx) [ 21.685] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 21.685] (II) FBDEV: driver for framebuffer: fbdev [ 21.717] (II) modeset(0): using drv /dev/dri/card0 [ 21.717] (WW) Falling back to old probe method for fbdev [ 21.717] (II) Loading sub module "fbdevhw" [ 21.717] (II) LoadModule: "fbdevhw" [ 21.717] (II) Loading /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server- [ 21.717] (II) Module fbdevhw: vendor="X.Org Foundation" [ 21.717] compiled for 1.21.1.3, module version = 0.0.2 [ 21.717] ABI class: X.Org Video Driver, version 25.2 [ 21.718] (II) modeset(0): Creating default Display subsection in Screen section "Screen-modesetting[0]" for depth/fbbpp 24/32 [ 21.718] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 21.718] (==) modeset(0): RGB weight 888 [ 21.718] (==) modeset(0): Default visual is TrueColor [ 21.718] (II) Loading sub module "glamoregl" [ 21.718] (II) LoadModule: "glamoregl" [ 21.718] (II) Loading /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server- [ 21.723] (II) Module glamoregl: vendor="X.Org Foundation" [ 21.723] compiled for 1.21.1.3, module version = 1.0.1 [ 21.723] ABI class: X.Org ANSI C Emulation, version 0.4 [ 21.747] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 620 (KBL GT2) [ 21.747] (II) modeset(0): glamor initialized [ 21.747] (==) modeset(0): VariableRefresh: disabled [ 21.747] (==) modeset(0): AsyncFlipSecondaries: disabled [ 21.749] (II) modeset(0): Output eDP-1 has no monitor section [ 21.763] (II) modeset(0): Output HDMI-1 has no monitor section [ 21.763] (II) modeset(0): Output DP-1 has no monitor section [ 21.913] (II) modeset(0): Output HDMI-2 has no monitor section [ 21.914] (II) modeset(0): EDID for output eDP-1 [ 21.914] (II) modeset(0): Manufacturer: LEN Model: 40ba Serial#: 0 [ 21.914] (II) modeset(0): Year: 2018 Week: 0 [ 21.914] (II) modeset(0): EDID Version: 1.4 [ 21.914] (II) modeset(0): Digital Display Input [ 21.914] (II) modeset(0): 8 bits per channel [ 21.914] (II) modeset(0): Digital interface is DisplayPort [ 21.914] (II) modeset(0): Max Image Size [cm]: horiz.: 34 vert.: 19 [ 21.914] (II) modeset(0): Gamma: 2.20 [ 21.914] (II) modeset(0): DPMS capabilities: StandBy Suspend Off [ 21.914] (II) modeset(0): Supported color encodings: RGB 4:4:4 [ 21.914] (II) modeset(0): First detailed timing is preferred mode [ 21.914] (II) modeset(0): Preferred mode is native pixel format and refresh rate [ 21.914] (II) modeset(0): redX: 0.590 redY: 0.370 greenX: 0.350 greenY: 0.555 [ 21.914] (II) modeset(0): blueX: 0.155 blueY: 0.110 whiteX: 0.313 whiteY: 0.329 [ 21.914] (II) modeset(0): Manufacturer's mask: 0 [ 21.914] (II) modeset(0): Supported detailed timing: [ 21.914] (II) modeset(0): clock: 138.6 MHz Image Size: 344 x 194 mm [ 21.914] (II) modeset(0): hactive: 1920 hsync: 1968 hsyncend 2000 hblankend 2080 hborder: 0 [ 21.914] (II) modeset(0): vactive: 1080 vsync: 1083 vsyncend 1088 vblanking: 1111 vborder: 0 [ 21.914] (II) modeset(0): Supported detailed timing: [ 21.914] (II) modeset(0): clock: 110.9 MHz Image Size: 344 x 194 mm [ 21.914] (II) modeset(0): hactive: 1920 hsync: 1968 hsyncend 2000 hblankend 2080 hborder: 0 [ 21.914] (II) modeset(0): vactive: 1080 vsync: 1083 vsyncend 1088 vblanking: 1111 vborder: 0 [ 21.914] (II) modeset(0): Unknown vendor-specific block f [ 21.914] (II) modeset(0): LP156WFC-SPDB [ 21.914] (II) modeset(0): EDID (in hex): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): [ 21.914] (II) modeset(0): Printing probed modes for output eDP-1 [ 21.914] (II) modeset(0): Modeline "1920x1080"x60.0 138.60 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (66.6 kHz eP) [ 21.914] (II) modeset(0): Modeline "1920x1080"x119.9 266.50 1920 1944 1960 2000 1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d) [ 21.914] (II) modeset(0): Modeline "1920x1080"x60.0 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync (67.2 kHz d) [ 21.914] (II) modeset(0): Modeline "1920x1080"x59.9 138.50 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync (66.6 kHz d) [ 21.914] (II) modeset(0): Modeline "1920x1080"x48.0 110.88 1920 1968 2000 2080 1080 1083 1088 1111 -hsync -vsync (53.3 kHz e) [ 21.914] (II) modeset(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz d) [ 21.914] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz d) [ 21.914] (II) modeset(0): Modeline "1400x1050"x60.0 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync (64.9 kHz d) [ 21.914] (II) modeset(0): Modeline "1600x900"x120.0 246.00 1600 1728 1900 2200 900 901 904 932 doublescan -hsync +vsync (111.8 kHz d) [ 21.914] (II) modeset(0): Modeline "1600x900"x119.9 186.50 1600 1624 1640 1680 900 901 904 926 doublescan +hsync -vsync (111.0 kHz d) [ 21.914] (II) modeset(0): Modeline "1600x900"x59.9 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync (56.0 kHz d) [ 21.915] (II) modeset(0): Modeline "1600x900"x59.8 97.50 1600 1648 1680 1760 900 903 908 926 +hsync -vsync (55.4 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz d) [ 21.915] (II) modeset(0): Modeline "1400x900"x60.0 103.50 1400 1480 1624 1848 900 903 913 934 -hsync +vsync (56.0 kHz d) [ 21.915] (II) modeset(0): Modeline "1400x900"x59.9 86.50 1400 1448 1480 1560 900 903 913 926 +hsync -vsync (55.4 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz d) [ 21.915] (II) modeset(0): Modeline "1440x810"x120.0 198.12 1440 1548 1704 1968 810 811 814 839 doublescan -hsync +vsync (100.7 kHz d) [ 21.915] (II) modeset(0): Modeline "1440x810"x119.9 151.88 1440 1464 1480 1520 810 811 814 833 doublescan +hsync -vsync (99.9 kHz d) [ 21.915] (II) modeset(0): Modeline "1368x768"x59.9 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync (47.8 kHz d) [ 21.915] (II) modeset(0): Modeline "1368x768"x59.9 72.25 1368 1416 1448 1528 768 771 781 790 +hsync -vsync (47.3 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x800"x120.0 174.25 1280 1380 1516 1752 800 801 804 829 doublescan -hsync +vsync (99.5 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x800"x119.9 134.25 1280 1304 1320 1360 800 801 804 823 doublescan +hsync -vsync (98.7 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync (49.7 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x720"x120.0 156.12 1280 1376 1512 1744 720 721 724 746 doublescan -hsync +vsync (89.5 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x720"x120.0 120.75 1280 1304 1320 1360 720 721 724 740 doublescan +hsync -vsync (88.8 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x720"x59.9 74.50 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.8 kHz d) [ 21.915] (II) modeset(0): Modeline "1280x720"x59.7 63.75 1280 1328 1360 1440 720 723 728 741 +hsync -vsync (44.3 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x768"x120.1 133.47 1024 1100 1212 1400 768 768 770 794 doublescan -hsync +vsync (95.3 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d) [ 21.915] (II) modeset(0): Modeline "960x720"x120.0 117.00 960 1024 1128 1300 720 720 722 750 doublescan -hsync +vsync (90.0 kHz d) [ 21.915] (II) modeset(0): Modeline "928x696"x120.1 109.15 928 976 1088 1264 696 696 698 719 doublescan -hsync +vsync (86.4 kHz d) [ 21.915] (II) modeset(0): Modeline "896x672"x120.0 102.40 896 960 1060 1224 672 672 674 697 doublescan -hsync +vsync (83.7 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x576"x119.9 98.50 1024 1092 1200 1376 576 577 580 597 doublescan -hsync +vsync (71.6 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x576"x119.9 78.38 1024 1048 1064 1104 576 577 580 592 doublescan +hsync -vsync (71.0 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x576"x59.9 46.50 1024 1064 1160 1296 576 579 584 599 -hsync +vsync (35.9 kHz d) [ 21.915] (II) modeset(0): Modeline "1024x576"x59.8 42.00 1024 1072 1104 1184 576 579 584 593 +hsync -vsync (35.5 kHz d) [ 21.915] (II) modeset(0): Modeline "960x600"x119.9 96.62 960 1028 1128 1296 600 601 604 622 doublescan -hsync +vsync (74.6 kHz d) [ 21.915] (II) modeset(0): Modeline "960x600"x120.0 77.00 960 984 1000 1040 600 601 604 617 doublescan +hsync -vsync (74.0 kHz d) [ 21.915] (II) modeset(0): Modeline "960x540"x119.9 86.50 960 1024 1124 1288 540 541 544 560 doublescan -hsync +vsync (67.2 kHz d) [ 21.915] (II) modeset(0): Modeline "960x540"x120.0 69.25 960 984 1000 1040 540 541 544 555 doublescan +hsync -vsync (66.6 kHz d) [ 21.915] (II) modeset(0): Modeline "960x540"x59.6 40.75 960 992 1088 1216 540 543 548 562 -hsync +vsync (33.5 kHz d) [ 21.915] (II) modeset(0): Modeline "960x540"x59.8 37.25 960 1008 1040 1120 540 543 548 556 +hsync -vsync (33.3 kHz d) [ 21.915] (II) modeset(0): Modeline "800x600"x120.0 81.00 800 832 928 1080 600 600 602 625 doublescan +hsync +vsync (75.0 kHz d) [ 21.915] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d) [ 21.915] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d) [ 21.915] (II) modeset(0): Modeline "840x525"x120.0 73.12 840 892 980 1120 525 526 529 544 doublescan -hsync +vsync (65.3 kHz d) [ 21.915] (II) modeset(0): Modeline "840x525"x119.8 59.50 840 864 880 920 525 526 529 540 doublescan +hsync -vsync (64.7 kHz d) [ 21.915] (II) modeset(0): Modeline "864x486"x59.9 32.50 864 888 968 1072 486 489 494 506 -hsync +vsync (30.3 kHz d) [ 21.915] (II) modeset(0): Modeline "864x486"x59.6 30.50 864 912 944 1024 486 489 494 500 +hsync -vsync (29.8 kHz d) [ 21.915] (II) modeset(0): Modeline "700x525"x120.0 61.00 700 744 820 940 525 526 532 541 doublescan +hsync +vsync (64.9 kHz d) [ 21.915] (II) modeset(0): Modeline "800x450"x119.9 59.12 800 848 928 1056 450 451 454 467 doublescan -hsync +vsync (56.0 kHz d) [ 21.915] (II) modeset(0): Modeline "800x450"x119.6 48.75 800 824 840 880 450 451 454 463 doublescan +hsync -vsync (55.4 kHz d) [ 21.915] (II) modeset(0): Modeline "640x512"x120.0 54.00 640 664 720 844 512 512 514 533 doublescan +hsync +vsync (64.0 kHz d) [ 21.915] (II) modeset(0): Modeline "700x450"x119.9 51.75 700 740 812 924 450 451 456 467 doublescan -hsync +vsync (56.0 kHz d) [ 21.915] (II) modeset(0): Modeline "700x450"x119.8 43.25 700 724 740 780 450 451 456 463 doublescan +hsync -vsync (55.4 kHz d) [ 21.915] (II) modeset(0): Modeline "640x480"x120.0 54.00 640 688 744 900 480 480 482 500 doublescan +hsync +vsync (60.0 kHz d) [ 21.915] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d) [ 21.915] (II) modeset(0): Modeline "720x405"x59.5 22.50 720 744 808 896 405 408 413 422 -hsync +vsync (25.1 kHz d) [ 21.915] (II) modeset(0): Modeline "720x405"x59.0 21.75 720 768 800 880 405 408 413 419 +hsync -vsync (24.7 kHz d) [ 21.915] (II) modeset(0): Modeline "684x384"x119.8 42.62 684 720 788 892 384 385 390 399 doublescan -hsync +vsync (47.8 kHz d) [ 21.915] (II) modeset(0): Modeline "684x384"x119.7 36.12 684 708 724 764 384 385 390 395 doublescan +hsync -vsync (47.3 kHz d) [ 21.915] (II) modeset(0): Modeline "640x400"x119.8 41.75 640 676 740 840 400 401 404 415 doublescan -hsync +vsync (49.7 kHz d) [ 21.915] (II) modeset(0): Modeline "640x400"x120.0 35.50 640 664 680 720 400 401 404 411 doublescan +hsync -vsync (49.3 kHz d) [ 21.915] (II) modeset(0): Modeline "640x360"x119.7 37.25 640 672 736 832 360 361 364 374 doublescan -hsync +vsync (44.8 kHz d) [ 21.915] (II) modeset(0): Modeline "640x360"x119.7 31.88 640 664 680 720 360 361 364 370 doublescan +hsync -vsync (44.3 kHz d) [ 21.915] (II) modeset(0): Modeline "640x360"x59.8 18.00 640 664 720 800 360 363 368 376 -hsync +vsync (22.5 kHz d) [ 21.915] (II) modeset(0): Modeline "640x360"x59.3 17.75 640 688 720 800 360 363 368 374 +hsync -vsync (22.2 kHz d) [ 21.915] (II) modeset(0): Modeline "512x384"x120.0 32.50 512 524 592 672 384 385 388 403 doublescan -hsync -vsync (48.4 kHz d) [ 21.915] (II) modeset(0): Modeline "512x288"x120.0 23.25 512 532 580 648 288 289 292 299 doublescan -hsync +vsync (35.9 kHz d) [ 21.915] (II) modeset(0): Modeline "512x288"x119.8 21.00 512 536 552 592 288 289 292 296 doublescan +hsync -vsync (35.5 kHz d) [ 21.915] (II) modeset(0): Modeline "480x270"x119.3 20.38 480 496 544 608 270 271 274 281 doublescan -hsync +vsync (33.5 kHz d) [ 21.915] (II) modeset(0): Modeline "480x270"x119.6 18.62 480 504 520 560 270 271 274 278 doublescan +hsync -vsync (33.3 kHz d) [ 21.915] (II) modeset(0): Modeline "400x300"x120.6 20.00 400 420 484 528 300 300 302 314 doublescan +hsync +vsync (37.9 kHz d) [ 21.915] (II) modeset(0): Modeline "400x300"x112.7 18.00 400 412 448 512 300 300 301 312 doublescan +hsync +vsync (35.2 kHz d) [ 21.915] (II) modeset(0): Modeline "432x243"x119.8 16.25 432 444 484 536 243 244 247 253 doublescan -hsync +vsync (30.3 kHz d) [ 21.915] (II) modeset(0): Modeline "432x243"x119.1 15.25 432 456 472 512 243 244 247 250 doublescan +hsync -vsync (29.8 kHz d) [ 21.915] (II) modeset(0): Modeline "320x240"x120.1 12.59 320 328 376 400 240 245 246 262 doublescan -hsync -vsync (31.5 kHz d) [ 21.915] (II) modeset(0): Modeline "360x202"x119.0 11.25 360 372 404 448 202 204 206 211 doublescan -hsync +vsync (25.1 kHz d) [ 21.915] (II) modeset(0): Modeline "360x202"x118.3 10.88 360 384 400 440 202 204 206 209 doublescan +hsync -vsync (24.7 kHz d) [ 21.915] (II) modeset(0): Modeline "320x180"x119.7 9.00 320 332 360 400 180 181 184 188 doublescan -hsync +vsync (22.5 kHz d) [ 21.915] (II) modeset(0): Modeline "320x180"x118.6 8.88 320 344 360 400 180 181 184 187 doublescan +hsync -vsync (22.2 kHz d) [ 21.929] (II) modeset(0): EDID for output HDMI-1 [ 21.929] (II) modeset(0): Manufacturer: BNQ Model: 78cd Serial#: [ 21.929] (II) modeset(0): Year: 2014 Week: 10 [ 21.929] (II) modeset(0): EDID Version: 1.3 [ 21.929] (II) modeset(0): Digital Display Input [ 21.929] (II) modeset(0): Max Image Size [cm]: horiz.: 48 vert.: 27 [ 21.929] (II) modeset(0): Gamma: 2.20 [ 21.929] (II) modeset(0): DPMS capabilities: Off [ 21.929] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ 21.929] (II) modeset(0): Default color space is primary color space [ 21.929] (II) modeset(0): First detailed timing is preferred mode [ 21.929] (II) modeset(0): redX: 0.645 redY: 0.334 greenX: 0.313 greenY: 0.636 [ 21.929] (II) modeset(0): blueX: 0.154 blueY: 0.044 whiteX: 0.313 whiteY: 0.329 [ 21.929] (II) modeset(0): Supported established timings: [ 21.929] (II) modeset(0): 720x400 [ 21.929] (II) modeset(0): 640x480 [ 21.929] (II) modeset(0): 640x480 [ 21.929] (II) modeset(0): 800x600 [ 21.929] (II) modeset(0): 800x600 [ 21.929] (II) modeset(0): 832x624 [ 21.929] (II) modeset(0): 1024x768 [ 21.929] (II) modeset(0): 1024x768 [ 21.929] (II) modeset(0): 1280x1024 [ 21.929] (II) modeset(0): 1152x864 [ 21.929] (II) modeset(0): Manufacturer's mask: 0 [ 21.929] (II) modeset(0): Supported standard timings: [ 21.929] (II) modeset(0): : hsize: 1920 vsize 1080 refresh: 60 vid: [ 21.929] (II) modeset(0): : hsize: 1680 vsize 1050 refresh: 60 vid: 179 [ 21.929] (II) modeset(0): : hsize: 1600 vsize 900 refresh: 60 vid: [ 21.929] (II) modeset(0): : hsize: 1280 vsize 1024 refresh: 60 vid: [ 21.929] (II) modeset(0): : hsize: 1280 vsize 800 refresh: 60 vid: 129 [ 21.929] (II) modeset(0): : hsize: 1280 vsize 720 refresh: 60 vid: [ 21.929] (II) modeset(0): Supported detailed timing: [ 21.929] (II) modeset(0): clock: 148.5 MHz Image Size: 477 x 268 mm [ 21.929] (II) modeset(0): hactive: 1920 hsync: 2008 hsyncend 2052 hblankend 2200 hborder: 0 [ 21.929] (II) modeset(0): vactive: 1080 vsync: 1084 vsyncend 1089 vblanking: 1125 vborder: 0 [ 21.929] (II) modeset(0): Serial No: 43E00246019 [ 21.929] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 83 kHz, PixClock max 175 MHz [ 21.929] (II) modeset(0): Monitor name: BenQ GW2255 [ 21.929] (II) modeset(0): EDID (in hex): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): [ 21.929] (II) modeset(0): Printing probed modes for output HDMI-1 [ 21.929] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP) [ 21.929] (II) modeset(0): Modeline "1680x1050"x59.9 119.00 1680 1728 1760 1840 1050 1053 1059 1080 +hsync -vsync (64.7 kHz e) [ 21.929] (II) modeset(0): Modeline "1600x900"x60.0 108.00 1600 1624 1704 1800 900 901 904 1000 +hsync +vsync (60.0 kHz e) [ 21.929] (II) modeset(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 21.929] (II) modeset(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 21.929] (II) modeset(0): Modeline "1280x800"x59.9 71.00 1280 1328 1360 1440 800 803 809 823 +hsync -vsync (49.3 kHz e) [ 21.929] (II) modeset(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e) [ 21.930] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e) [ 21.930] (II) modeset(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 21.930] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 21.930] (II) modeset(0): Modeline "832x624"x74.6 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 21.930] (II) modeset(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 21.930] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 21.930] (II) modeset(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 21.930] (II) modeset(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 21.930] (II) modeset(0): Modeline "720x400"x70.1 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 21.930] (II) modeset(0): EDID for output DP-1 [ 22.080] (II) modeset(0): EDID for output HDMI-2 [ 22.080] (II) modeset(0): Output eDP-1 connected [ 22.080] (II) modeset(0): Output HDMI-1 connected [ 22.080] (II) modeset(0): Output DP-1 disconnected [ 22.080] (II) modeset(0): Output HDMI-2 disconnected [ 22.080] (II) modeset(0): Using spanning desktop for initial modes [ 22.080] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0 [ 22.080] (II) modeset(0): Output HDMI-1 using initial mode 1920x1080 +1920+0 [ 22.080] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 22.080] (==) modeset(0): DPI set to (96, 96) [ 22.080] (II) Loading sub module "fb" [ 22.080] (II) LoadModule: "fb" [ 22.080] (II) Module "fb" already built-in [ 22.080] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32 [ 22.080] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 22.080] (==) AMDGPU(G0): Default visual is TrueColor [ 22.080] (==) AMDGPU(G0): RGB weight 888 [ 22.080] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC) [ 22.080] (--) AMDGPU(G0): Chipset: "AMD Radeon 500 Series" (ChipID = 0x699f) [ 22.080] (II) Loading sub module "fb" [ 22.080] (II) LoadModule: "fb" [ 22.080] (II) Module "fb" already built-in [ 22.080] (II) Loading sub module "dri2" [ 22.080] (II) LoadModule: "dri2" [ 22.080] (II) Module "dri2" already built-in [ 22.084] (II) Loading sub module "glamoregl" [ 22.084] (II) LoadModule: "glamoregl" [ 22.084] (II) Loading /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server- [ 22.084] (II) Module glamoregl: vendor="X.Org Foundation" [ 22.084] compiled for 1.21.1.3, module version = 1.0.1 [ 22.084] ABI class: X.Org ANSI C Emulation, version 0.4 [ 22.089] (II) AMDGPU(G0): glamor X acceleration enabled on AMD Radeon 500 Series (POLARIS12, DRM 3.42.0, 5.15.32, LLVM 13.0.1) [ 22.089] (II) AMDGPU(G0): glamor detected, initialising EGL layer. [ 22.089] (==) AMDGPU(G0): TearFree property default: auto [ 22.089] (II) AMDGPU(G0): mem size init: gart size : vram size: s: visible: [ 22.089] (==) AMDGPU(G0): DPI set to (96, 96) [ 22.089] (==) AMDGPU(G0): Using gamma correction (1.0, 1.0, 1.0) [ 22.089] (II) Loading sub module "ramdac" [ 22.089] (II) LoadModule: "ramdac" [ 22.089] (II) Module "ramdac" already built-in [ 22.089] (II) UnloadModule: "nouveau" [ 22.089] (II) Unloading nouveau [ 22.089] (II) UnloadModule: "fbdev" [ 22.089] (II) Unloading fbdev [ 22.090] (II) UnloadSubModule: "fbdevhw" [ 22.090] (II) Unloading fbdevhw [ 22.098] (==) modeset(0): Backing store enabled [ 22.098] (==) modeset(0): Silken mouse enabled [ 22.314] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. [ 22.314] (==) modeset(0): DPMS enabled [ 22.314] (II) modeset(0): [DRI2] Setup complete [ 22.314] (II) modeset(0): [DRI2] DRI driver: iris [ 22.314] (II) modeset(0): [DRI2] VDPAU driver: vagl [ 22.314] (II) AMDGPU(G0): [DRI2] Setup complete [ 22.314] (II) AMDGPU(G0): [DRI2] DRI driver: radeonsi [ 22.314] (II) AMDGPU(G0): [DRI2] VDPAU driver: radeonsi [ 22.314] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes [ 22.314] (==) AMDGPU(G0): Backing store enabled [ 22.314] (II) AMDGPU(G0): Direct rendering enabled [ 22.316] (II) AMDGPU(G0): Use GLAMOR acceleration. [ 22.316] (II) AMDGPU(G0): Acceleration enabled [ 22.316] (==) AMDGPU(G0): DPMS enabled [ 22.316] (==) AMDGPU(G0): Silken mouse enabled [ 22.317] (EE) [ 22.317] (EE) Backtrace: [ 22.317] (EE) 0: /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/bin/X (OsSigHandler+0x25) [0x5b4065] [ 22.318] (EE) 1: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34- (sigaction+0x40) [0x7fddddba4100] [ 22.318] (EE) 2: /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/bin/X (InitOutput+0x4e4) [0x487744] [ 22.318] (EE) 3: /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/bin/X (dixmain+0x194) [0x448694] [ 22.319] (EE) 4: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34- (libcstartcallmain+0x67) [0x7fddddb901d7] [ 22.319] (EE) 5: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34- (_libcstartmain+0x87) [0x7fddddb90297] [ 22.319] (EE) 6: /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/bin/X (start+0x21) [0x431cd1] [ 22.319] (EE) [ 22.319] (EE) Segmentation fault at address 0x31 [ 22.319] (EE) Fatal server error: [ 22.319] (EE) Caught signal 11 (Segmentation fault). Server aborting [ 22.319] (EE) [ 22.319] (EE) Please consult the The X.Org Foundation support at for help. [ 22.319] (EE) Please also check the log file at "" for additional information. [ 22.319] (EE) [ 22.370] (EE) Server terminated with error (1). Closing log file. </pre</code</detailsI have now bisected up to these commits, and I see a few xorg updates that are likely the issue: <details<summarySuspected commits ()</summary<pre<code6bf7859f681 (refs/bisect/bad) Merge pull request from r-ryantm/auto-update/re2 Merge staging-next into staging go: remove unnecessary input Merge pull request from helsinki-systems/refactor/nss-latest-esr Merge staging-next into staging Merge remote-tracking branch 'origin/staging-next' into staging nss: add esr and latest change release-notes entry cacert: 3.74 -3.77 nsslatest: 3.76.1 -3.77 nsslatest: 3.76 -3.76.1 thunderbird{-bin}librewolf: use nsslatest for regular releases and nssesr for esr releases nss: add maintainers nss: split into nsslatest and nssesr Merge staging-next into staging Merge staging-next into staging Merge staging-next into staging pulseaudio-modules-bt: drop pulseaudio-hsphfpd: drop pulseaudio: 14.2 -15.0, switch to meson, enable tests Merge staging-next into staging Merge remote-tracking branch 'nixpkgs/staging-next' into staging re2: 2022-02-01 -2022-04-01 (HEAD) Merge pull request from andersk/mesa-cross Merge pull request from siraben/social-auth-eval-fix fix eval Merge pull request from wheelsandmetal/boost178-init Merge staging-next into staging Merge remote-tracking branch 'nixpkgs/staging-next' into staging libepoxy: 1.5.9 -1.5.10 Merge pull request from SuperSandro2000/pycurl Merge pull request from SuperSandro2000/python310Packages.kiwisolver Merge pull request from SuperSandro2000/packaging python3Packages.kiwisolver: disable on older Python releases sqlite: 3.38.1 -3.38.2 python39Packages.kiwisolver: 1.4.0 -1.4.2 python39Packages.packaging: add tests, remove unused six disable failing tests, add SuperSandro2000 as maintainer Merge pull request from TredwellGit/xorg.xorgserver xorg.xorgserver: 1.20.13 -21.1.3 (refs/bisect/skip-) xorg.xf86videonouveau: 1.0.17 - xorg.xf86videoati: 19.1.0 - generate-expr-from- support git commit as version libxcvt: init at 0.1.1</pre</code</details
In that case, it's probably an issue with the Xorg modesetting driver, given that the same issues appear on both amdgpu and nouveau drivers. Before I was specifically looking for issues with nouveau, but good to know that that's not the complete issue
If I had to guess I'd think the culprit is . I'm installing a fresh build on my machine so will test with that commit reverted
It is certainly some change within . Only once this PR is merged does X fail to start. Alright, let me know how you go.
I can reproduce this issue on my XPS 9575, which has an intel/AMD combination of GPUs. Would it be wise to revert until the problem is solved? It leaves NixOS in an unbootable state for multiple people. Stack trace as follows: My journal also prints a somewhat longer stack trace: <details<summaryLonger stack trace</summary</detailsSome X related config settings in my configuration:
I have tested this on my machine and yes, X starts just fine after reverting only .
Took forever to build, but reverting fixed the issue for me as well on the latest unstable. Probably should revert this before 22.05
I'm a bit afraid that reverting to that old xorg-server branch will have other negative consequences, especially in longer term. Can you try this patch instead?
Patch did not seem to work for me. Same issue with identical logs. I'll try rebuilding it again just in case though Edit: Still doesn't seem to work
X still segfaults for me with the patch applied too. I also have identical logs.
I think I'm getting the same issue on my Dell XPS 9510. What's our favourite work-around at the moment?
I'd hope that PR
I'm having this issue on Dell XPS 15 9510. I guess hasn't landed into release-22.05 yet?
no, see
I hasn't even landed in unstable/master, though I expect that to happen within days.
Is a temporary fix? Should this stay open?
I woud argue that the best issue to track this, is the original xorg/xserver issue: Once that is fixed, and possibly any other bugs that render it inoperable, the package can be updated again in nixpkgs.
This issue has been mentioned on NixOS Discourse. There might be relevant details there:

Discussion:
, mesa , meson , gnome-settings-daemon <del> , libxcvt </del> , xorgserver , python3 , wrapGAppsHook

pkg-config python3 wrapGAppsHook <del> libxcvt xorgserver </del> <ins> xorgserver # for cvt command </ins> ]; buildInputs = [

}) {}; # THIS IS A GENERATED FILE.  DO NOT EDIT! <del> xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile }: stdenv.mkDerivation { </del> <ins> xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libXaw, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile, libXmu, libXpm, libXrender, libXres, libXt }: stdenv.mkDerivation { </ins> pname = "xorg-server"; <del> version = "21.1.3"; </del> <ins> version = "1.20.14"; </ins> builder = ./builder.sh; src = fetchurl { <del> url = "mirror://xorg/individual/xserver/xorg-server-21.1.3.tar.xz"; sha256 = "1rgbrld7spg7plkv3c3bbnlnszpflk5z1mqbjrmi2ymlnvasmmk1"; </del> <ins> url = "mirror://xorg/individual/xserver/xorg-server-1.20.14.tar.xz"; sha256 = "0sx18vsxr0dg9z7b9ph1gz6q4pmxc1n6b4sbb7i47578kc5vgiaw"; </ins> }; hardeningDisable = [ "bindnow" "relro" ]; nativeBuildInputs = [ pkg-config ]; <del> buildInputs = [ xorgproto openssl libX11 libXau libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile ]; </del> <ins> buildInputs = [ xorgproto openssl libX11 libXau libXaw libxcb xcbutil xcbutilwm xcbutilimage xcbutilkeysyms xcbutilrenderutil libXdmcp libXfixes libxkbfile libXmu libXpm libXrender libXres libXt ]; </ins> meta.platforms = lib.platforms.unix; }) {};

in attrs // (let version = lib.getVersion attrs; <del> commonBuildInputs = attrs.buildInputs ++ [ libxcvt xtrans ]; </del> <ins> commonBuildInputs = attrs.buildInputs ++ [ xtrans ]; </ins> commonPropagatedBuildInputs = [ zlib libGL libGLU dbus xorgproto

# # We set it to /var/log which can't be touched from inside the sandbox causing the build to hard-fail ./dont-create-logdir-during-build.patch <ins> # Fix e.g. xorg.xf86videovmware with libdrm 2.4.108 # TODO: remove with xorgserver >= 1.21 (fetchpatch { name = "stdbool.patch"; url = "https://gitlab.freedesktop.org/xorg/xserver/-/commit/454b3a826edb5fc6d0fea3a9cfd1a5e8fc568747.diff"; sha256 = "1l9qg905jvlw3r0kx4xfw5m12pbs0782v2g3267d1m6q4m6fj1zy"; }) </ins> ]; buildInputs = commonBuildInputs ++ [ libdrm mesa ]; propagatedBuildInputs = attrs.propagatedBuildInputs or [] ++ [ libpciaccess libepoxy ] ++ commonPropagatedBuildInputs ++ lib.optionals stdenv.isLinux [

mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2 mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2 mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2 <del> mirror://xorg/individual/xserver/xorg-server-21.1.3.tar.xz </del> <ins> mirror://xorg/individual/xserver/xorg-server-1.20.13.tar.xz </ins>