Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nouveau segfault when launching X11 Display Manager #170856

Closed
vlinkz opened this issue Apr 29, 2022 · 21 comments · Fixed by #174140
Closed

Nouveau segfault when launching X11 Display Manager #170856

vlinkz opened this issue Apr 29, 2022 · 21 comments · Fixed by #174140

Comments

@vlinkz
Copy link
Member

vlinkz commented Apr 29, 2022

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

@vlinkz
Copy link
Member Author

vlinkz commented Apr 29, 2022

Here's dmesg output: https://gist.github.com/vlinkz/c15793a41d18843ab6a826d6a7458c53.
Important part:

[ 2585.280589] nouveau 0000:01:00.0: Enabling HDA controller
[ 2585.609158] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ PRIVRING ]
[ 2586.569490] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ PRIVRING ]
[ 2587.652614] nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 619444 [ PRIVRING ]

@jyooru
Copy link
Member

jyooru commented Apr 30, 2022

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.

Bisect log so far (skipping commits if a system dependency cannot build)
git bisect start
# good: [34b15bb8350943c1652082fe58dcc99884193a0d] Merge pull request #166868 from spencerjanssen/azuredatastudio-1.35.1
git bisect good 34b15bb8350943c1652082fe58dcc99884193a0d
# bad: [8169990346fcd3aeb81222b7dcb70a00750d8f9f] Merge pull request #169604 from lourkeur/update/chia-plotter
git bisect bad 8169990346fcd3aeb81222b7dcb70a00750d8f9f
# bad: [e22337c8707f42e21938dc729643fa8904d33aeb] Merge pull request #169064 from superherointj/package-flyctl-0.0.320
git bisect bad e22337c8707f42e21938dc729643fa8904d33aeb
# skip: [ba47e59440bbcfd1f769600783331f4cb4c95bbe] python3Packges.websocket: add missing six dependency
git bisect skip ba47e59440bbcfd1f769600783331f4cb4c95bbe
# skip: [214d151733609316e45aaf60d95c0ac6b43707ae] python3Packages.rich: 12.0.1 -> 12.2.0
git bisect skip 214d151733609316e45aaf60d95c0ac6b43707ae
# good: [5c09c15d92012cd1436b3a9564fbeee0115fd7e7] python310Packages.casbin: 1.15.4 -> 1.15.5
git bisect good 5c09c15d92012cd1436b3a9564fbeee0115fd7e7
# skip: [b8ceeba7ef81fc7313d5026b6027ff282bdb472c] python3Packages.grpcio-status: 1.44.0 -> 1.45.0
git bisect skip b8ceeba7ef81fc7313d5026b6027ff282bdb472c
# good: [03b2a0221cec97b8e1e8158f12d98c4f9cd1e87f] python310Packages.types-dateutil: 2.8.10 -> 2.8.11
git bisect good 03b2a0221cec97b8e1e8158f12d98c4f9cd1e87f
# skip: [7fc6852dbfa61c86021292e6c9cf99cd764f615a] python3Packages.google-cloud-testutils: propagate packaging
git bisect skip 7fc6852dbfa61c86021292e6c9cf99cd764f615a
# skip: [982aabffb59a4aa75363bb3d316decfe9f82a8dd] xorg.xf86videonouveau: 1.0.17 -> 3ee7cbca8f9144a3bb5be7f71ce70558f548d268
git bisect skip 982aabffb59a4aa75363bb3d316decfe9f82a8dd
# bad: [11b544c084934389a89fc9b8d0a0ddb78cb6b366] python310Packages.symengine: move patching to right phase
git bisect bad 11b544c084934389a89fc9b8d0a0ddb78cb6b366
# bad: [1c0229dbfdacabcffd279cca17007620ace15106] Merge staging-next into staging
git bisect bad 1c0229dbfdacabcffd279cca17007620ace15106
# good: [e2d150f6b17175c16b8bfeb452790efb1170bf44] Merge pull request #134917 from NixOS/binutils-2.37
git bisect good e2d150f6b17175c16b8bfeb452790efb1170bf44
# bad: [01b0aa0bc6daaa14f08801d90a806afdce1f234f] Merge staging-next into staging
git bisect bad 01b0aa0bc6daaa14f08801d90a806afdce1f234f

@vlinkz
Copy link
Member Author

vlinkz commented Apr 30, 2022

Maybe #169443 also related? Although unsure why nouveau.modeset=0 fixes the issues for me. Maybe something changed with the priority that modesetting has, and nouveau or in your case amdgpu is overriding the intel modesetting driver, causing the issues. Just a guess

@jyooru
Copy link
Member

jyooru commented Apr 30, 2022

It's quite weird. I'm not sure if #169443 is related as my X.log backtrace is basically the exact same as yours:

[    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-115/lib/libc.so.6 (__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 (dix_main+0x194) [0x448694]
[    22.319] (EE) 4: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34-115/lib/libc.so.6 (__libc_start_call_main+0x67) [0x7fddddb901d7]
[    22.319] (EE) 5: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34-115/lib/libc.so.6 (__libc_start_main+0x87) [0x7fddddb90297]
[    22.319] (EE) 6: /nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/bin/X (_start+0x21) [0x431cd1]
Full X.log
[    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 #1-NixOS SMP Mon Mar 28 07:58:46 UTC 2022 x86_64
[    21.648] Kernel command line: initrd=\efi\nixos\n4n92hk7hmm4pg34f7aba224kf9a4xha-initrd-linux-5.15.32-initrd.efi init=/nix/store/8s1dwklc8c8xs5pysja3h8rx29ysmcsg-nixos-system-thinkpad-e580-22.05.20220404.6bf7859/init loglevel=4
[    21.648]  
[    21.648] Current version of pixman: 0.38.4
[    21.648] 	Before reporting problems, check http://wiki.x.org
	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: "/var/log/X.0.log", Time: Sat Apr 30 14:25:46 2022
[    21.648] (++) Using config file: "/nix/store/pxabarz8cppm6dx57c3i688fz2yjf3yw-xserver.conf"
[    21.648] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    21.648] (==) Using system config directory "/nix/store/vm4z7inm3p1kh0m3g8ixify3vba2nn64-xorg-server-21.1.3/share/X11/xorg.conf.d"
[    21.648] (==) ServerLayout "Layout[all]"
[    21.648] (**) |-->Screen "Screen-amdgpu[0]" (0)
[    21.648] (**) |   |-->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 ""
[    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 ""
[    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 ""
[    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 ""
[    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-5eba006e4129e8015b822f9e1d2f1e613e252cda/lib/xorg/modules/drivers,/nix/store/fmygn0ck2d9g5849mham9vszsvjl6i0i-xf86-video-nouveau-3ee7cbca8f9144a3bb5be7f71ce70558f548d268/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@0:2:0) 8086:5917:17aa:5069 rev 7, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[ 21.670] (--) PCI: (2@0:0:0) 1002:699f:17aa:5069 rev 192, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xf1400000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[ 21.670] (WW) Open ACPI failed (/var/run/acpid.socket) (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.1.3/lib/xorg/modules/extensions/libglx.so
[ 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.0.0/lib/xorg/modules/drivers/amdgpu_drv.so
[ 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-5eba006e4129e8015b822f9e1d2f1e613e252cda/lib/xorg/modules/drivers/ati_drv.so
[ 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-3ee7cbca8f9144a3bb5be7f71ce70558f548d268/lib/xorg/modules/drivers/nouveau_drv.so
[ 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.1.3/lib/xorg/modules/drivers/modesetting_drv.so
[ 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-0.5.0/lib/xorg/modules/drivers/fbdev_drv.so
[ 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.1.3/lib/xorg/modules/libfbdevhw.so
[ 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.1.3/lib/xorg/modules/libglamoregl.so
[ 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): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 21.914] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 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): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2080 h_border: 0
[ 21.914] (II) modeset(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1111 v_border: 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): 00ffffffffffff0030aeba4000000000
[ 21.914] (II) modeset(0): 001c0104a5221378e238d5975e598e27
[ 21.914] (II) modeset(0): 1c505400000001010101010101010101
[ 21.914] (II) modeset(0): 010101010101243680a070381f403020
[ 21.914] (II) modeset(0): 350058c210000019502b80a070381f40
[ 21.914] (II) modeset(0): 3020350058c2100000190000000f00d1
[ 21.914] (II) modeset(0): 0930d10930190a0030e4e705000000fe
[ 21.914] (II) modeset(0): 004c503135365746432d535044420094
[ 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#: 21573
[ 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@70Hz
[ 21.929] (II) modeset(0): 640x480@60Hz
[ 21.929] (II) modeset(0): 640x480@75Hz
[ 21.929] (II) modeset(0): 800x600@60Hz
[ 21.929] (II) modeset(0): 800x600@75Hz
[ 21.929] (II) modeset(0): 832x624@75Hz
[ 21.929] (II) modeset(0): 1024x768@60Hz
[ 21.929] (II) modeset(0): 1024x768@75Hz
[ 21.929] (II) modeset(0): 1280x1024@75Hz
[ 21.929] (II) modeset(0): 1152x864@75Hz
[ 21.929] (II) modeset(0): Manufacturer's mask: 0
[ 21.929] (II) modeset(0): Supported standard timings:
[ 21.929] (II) modeset(0): #0: hsize: 1920 vsize 1080 refresh: 60 vid: 49361
[ 21.929] (II) modeset(0): #1: hsize: 1680 vsize 1050 refresh: 60 vid: 179
[ 21.929] (II) modeset(0): #2: hsize: 1600 vsize 900 refresh: 60 vid: 49321
[ 21.929] (II) modeset(0): #3: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
[ 21.929] (II) modeset(0): #4: hsize: 1280 vsize 800 refresh: 60 vid: 129
[ 21.929] (II) modeset(0): #5: hsize: 1280 vsize 720 refresh: 60 vid: 49281
[ 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): h_active: 1920 h_sync: 2008 h_sync_end 2052 h_blank_end 2200 h_border: 0
[ 21.929] (II) modeset(0): v_active: 1080 v_sync: 1084 v_sync_end 1089 v_blanking: 1125 v_border: 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): 00ffffffffffff0009d1cd7845540000
[ 21.929] (II) modeset(0): 0a18010380301b782e2795a55550a227
[ 21.929] (II) modeset(0): 0b5054a56b80d1c0b300a9c081808100
[ 21.929] (II) modeset(0): 81c001010101023a801871382d40582c
[ 21.929] (II) modeset(0): 4500dd0c1100001e000000ff00343345
[ 21.929] (II) modeset(0): 30303234363031390a20000000fd0032
[ 21.929] (II) modeset(0): 4c1e5311000a202020202020000000fc
[ 21.929] (II) modeset(0): 0042656e51204757323235350a200020
[ 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-21.1.3/lib/xorg/modules/libglamoregl.so
[ 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 :bfc36000 vram size: s:7f2d0000 visible:fad0000
[ 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: va_gl
[ 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-115/lib/libc.so.6 (__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 (dix_main+0x194) [0x448694]
[ 22.319] (EE) 4: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34-115/lib/libc.so.6 (__libc_start_call_main+0x67) [0x7fddddb901d7]
[ 22.319] (EE) 5: /nix/store/6j3xnfizsws5yy0imhf7y3472h64fxw2-glibc-2.34-115/lib/libc.so.6 (__libc_start_main+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 http://wiki.x.org
for help.
[ 22.319] (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
[ 22.319] (EE)
[ 22.370] (EE) Server terminated with error (1). Closing log file.

I have now bisected up to these commits, and I see a few xorg updates that are likely the issue:

Suspected commits (`git bisect view --oneline`)
6bf7859f681 (refs/bisect/bad) Merge pull request #166903 from r-ryantm/auto-update/re2
6e86a2821c7 Merge staging-next into staging
72f22c9e3e9 go: remove unnecessary `patch` input
dc08c7d7ea6 Merge pull request #164511 from helsinki-systems/refactor/nss-latest-esr
c9154e5e149 Merge staging-next into staging
f95a3d11401 Merge remote-tracking branch 'origin/staging-next' into staging
6f92fcbcbe6 nss: add esr and latest change release-notes entry
8e773802506 cacert: 3.74 -> 3.77
eb9c616c795 nss_latest: 3.76.1 -> 3.77
faee35ce35e nss_latest: 3.76 -> 3.76.1
f3d301ab819 thunderbird{-bin}|firefox|librewolf: use nss_latest for regular releases and nss_esr for esr releases
9109742c6b2 nss: add maintainers
44f241f69aa nss: split into nss_latest and nss_esr
7c1912fb9a7 Merge staging-next into staging
42debb0b5af Merge staging-next into staging
fa7a0dbb826 Merge staging-next into staging
0d90bcf1ef1 pulseaudio-modules-bt: drop
470a4b15e17 pulseaudio-hsphfpd: drop
e839c8e0cb4 pulseaudio: 14.2 -> 15.0, switch to meson, enable tests
ffa96ab0c07 Merge staging-next into staging
8ba23e138d9 Merge remote-tracking branch 'nixpkgs/staging-next' into staging
2f1ea003ad7 re2: 2022-02-01 -> 2022-04-01
040d8929bd4 (HEAD) Merge pull request #166494 from andersk/mesa-cross
8459123046d Merge pull request #166715 from siraben/social-auth-eval-fix
fe27fc6ba71 python3Packages.social-auth-core: fix eval
c150d9ab2bf Merge pull request #161568 from wheelsandmetal/boost178-init
9aa014c46a2 Merge staging-next into staging
22c23dbb8de Merge remote-tracking branch 'nixpkgs/staging-next' into staging
6efbd34eed5 libepoxy: 1.5.9 -> 1.5.10
87ff04952be Merge pull request #166335 from SuperSandro2000/pycurl
1f77ce16804 Merge pull request #166343 from SuperSandro2000/python310Packages.kiwisolver
5838cb92a9f Merge pull request #166303 from SuperSandro2000/packaging
701497206bd python3Packages.kiwisolver: disable on older Python releases
c46c3a55d9a sqlite: 3.38.1 -> 3.38.2
27d065dbf29 python39Packages.kiwisolver: 1.4.0 -> 1.4.2
64208378a8c python39Packages.packaging: add tests, remove unused six
c270defab79 python39Packages.pycurl: disable failing tests, add SuperSandro2000 as maintainer
4c9568e20e2 Merge pull request #153994 from TredwellGit/xorg.xorgserver
3312352596a xorg.xorgserver: 1.20.13 -> 21.1.3
982aabffb59 (refs/bisect/skip-982aabffb59a4aa75363bb3d316decfe9f82a8dd) xorg.xf86videonouveau: 1.0.17 -> 3ee7cbca8f9144a3bb5be7f71ce70558f548d268
6a9fc444158 xorg.xf86videoati: 19.1.0 -> 5eba006e4129e8015b822f9e1d2f1e613e252cda
d334cee5824 generate-expr-from-tarballs.pl: support git commit as version
12d22cda2d8 libxcvt: init at 0.1.1

@vlinkz
Copy link
Member Author

vlinkz commented Apr 30, 2022

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

@vlinkz
Copy link
Member Author

vlinkz commented Apr 30, 2022

If I had to guess I'd think the culprit is 3312352596a xorg.xorgserver: 1.20.13 -> 21.1.3. I'm installing a fresh build on my machine so will test with that commit reverted

@jyooru
Copy link
Member

jyooru commented Apr 30, 2022

It is certainly some change within #153994. Only once this PR is merged does X fail to start.

Alright, let me know how you go.

@FPtje
Copy link
Contributor

FPtje commented Apr 30, 2022

I can reproduce this issue on my XPS 9575, which has an intel/AMD combination of GPUs.

@vcunat @dasj19 Would it be wise to revert #153994 until the problem is solved? It leaves NixOS in an unbootable state for multiple people.

Stack trace as follows:

Backtrace:
0: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (OsSigHandler+0x25) [0x5b4065]
1: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__sigaction+0x40) [0x7fca0a51a100]
2: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (InitOutput+0x4e4) [0x487744]
3: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (dix_main+0x194) [0x448694]
4: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__libc_start_call_main+0x67) [0x7fca0a5061d7]
5: /nix/store/ayrsyv7npr0lcbann4k9lxr19x813f0z-glibc-2.34-115/lib/libc.so.6 (__libc_start_main+0x87) [0x7fca0a506297]
6: /nix/store/bnic4bpn6x1jy2j3glnzdw54km94p9xa-xorg-server-21.1.3/bin/X (_start+0x21) [0x431cd1]
Segmentation fault at address 0x10

My journal also prints a somewhat longer stack trace:

Longer stack trace
Process 3188 (X) of user 0 dumped core.

Module linux-vdso.so.1 with build-id 909cb9042689ea89219cfa7d31a71560fcd60053
Module libxcb-sync.so.1 without build-id.
Module libxcb-present.so.0 without build-id.
Module libxcb-dri3.so.0 without build-id.
Module libwayland-client.so.0 with build-id 478dc0a450a994b4ff1c898804d66cbc455332f8
Module libxcb-xfixes.so.0 without build-id.
Module libxcb-dri2.so.0 without build-id.
Module libX11-xcb.so.1 without build-id.
Module libEGL_mesa.so.0 without build-id.
Module libEGL.so.1 without build-id.
Module libepoxy.so.0 without build-id.
Module libglamoregl.so without build-id.
Module libxml2.so.2 without build-id.
Module libncursesw.so.6 without build-id.
Module librt.so.1 with build-id 343641518055bf6b8d03121334efbb6217989ce3
Module libdrm_nouveau.so.2 without build-id.
Module libelf.so.0 without build-id.
Module libdrm_radeon.so.1 without build-id.
Module libLLVM-13.so with build-id 86bccfc1e8aa36cd871efe5eb685ff667d90bd69
Module libglapi.so.0 without build-id.
Module radeonsi_dri.so with build-id 97f01aa855cc512c598d8e52a099669f565a0b13
Module libdrm_intel.so.1 without build-id.
Module intel_drv.so without build-id.
Module libffi.so.8 without build-id.
Module libstdc++.so.6 without build-id.
Module libexpat.so.1 without build-id.
Module libwayland-server.so.0 with build-id c7a888822475eab697763e68e247d0a408b1a4ea
Module libgbm.so.1 without build-id.
Module libdrm_amdgpu.so.1 without build-id.
Module amdgpu_drv.so without build-id.
Module libxcb.so.1 without build-id.
Module libGLdispatch.so.0 without build-id.
Module libXext.so.6 without build-id.
Module libX11.so.6 without build-id.
Module libGLX.so.0 without build-id.
Module libGL.so.1 without build-id.
Module libglx.so without build-id.
Module libgpg-error.so.0 without build-id.
Module libgcrypt.so.20 without build-id.
Module libcap.so.2 without build-id.
Module liblz4.so.1 without build-id.
Module libzstd.so.1 without build-id.
Module libz.so.1 without build-id.
Module libpng16.so.16 without build-id.
Module libbz2.so.1 without build-id.
Module libfreetype.so.6 without build-id.
Module libfontenc.so.1 without build-id.
Module liblzma.so.5 without build-id.
Module libgcc_s.so.1 without build-id.
Module libdl.so.2 with build-id 996db863a8a94ece0b3b647fb439cbef036b87a5
Module ld-linux-x86-64.so.2 with build-id 33129cc93ec0791b7205f8d6bfee7b9b401c7575
Module libc.so.6 with build-id dbf06af5b7eff3f5f00bbc3059f0a1846d4d18c9
Module libpthread.so.0 with build-id 78ce1acfc3ecc151e20784512f5e6159ef123295
Module libm.so.6 with build-id b8bb4e6ba491f8635d3f954347368814bf883a9d
Module libXdmcp.so.6 without build-id.
Module libxshmfence.so.1 without build-id.
Module libsystemd.so.0 without build-id.
Module libXau.so.6 without build-id.
Module libXfont2.so.2 without build-id.
Module libpixman-1.so.0 with build-id 5ead88aefb081647c77e14c82ca969a78047767c
Module libdrm.so.2 without build-id.
Module libpciaccess.so.0 without build-id.
Module libxcvt.so.0 without build-id.
Module libunwind.so.8 without build-id.
Module libcrypto.so.1.1 with build-id 453490d4d70b4b73891ea09f077a41ea26fe7866
Module libudev.so.1 without build-id.
Module libdbus-1.so.3 without build-id.
Module Xorg without build-id.
Stack trace of thread 3188:
#0  0x00007fca0a564adf __pthread_kill_implementation (libc.so.6 + 0x8badf)
#1  0x00007fca0a51a062 raise (libc.so.6 + 0x41062)
#2  0x00007fca0a50545c abort (libc.so.6 + 0x2c45c)
#3  0x00000000005b6d4a OsAbort (Xorg + 0x1b6d4a)
#4  0x00000000005bc463 AbortServer (Xorg + 0x1bc463)
#5  0x00000000005bd3f6 FatalError (Xorg + 0x1bd3f6)
#6  0x00000000005b40c9 OsSigHandler (Xorg + 0x1b40c9)
#7  0x00007fca0a51a100 __restore_rt (libc.so.6 + 0x41100)
#8  0x0000000000487744 InitOutput (Xorg + 0x87744)
#9  0x0000000000448694 dix_main (Xorg + 0x48694)
#10 0x00007fca0a5061d7 __libc_start_call_main (libc.so.6 + 0x2d1d7)
#11 0x00007fca0a506297 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d297)
#12 0x0000000000431cd1 _start (Xorg + 0x31cd1)

Stack trace of thread 3230:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3227:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3229:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3233:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3236:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3235:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3239:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3224:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca0995e550 __run__ (intel_drv.so + 0xb1550)
#3  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#4  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3226:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca0995e550 __run__ (intel_drv.so + 0xb1550)
#3  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#4  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3238:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3231:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3228:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3234:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3232:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3225:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca0995e550 __run__ (intel_drv.so + 0xb1550)
#3  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#4  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)

Stack trace of thread 3237:
#0  0x00007fca0a55fc05 __futex_abstimed_wait_common (libc.so.6 + 0x86c05)
#1  0x00007fca0a5623b2 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x893b2)
#2  0x00007fca067e881b util_queue_thread_func (radeonsi_dri.so + 0xbb81b)
#3  0x00007fca067e8467 impl_thrd_routine (radeonsi_dri.so + 0xbb467)
#4  0x00007fca0a562eb2 start_thread (libc.so.6 + 0x89eb2)
#5  0x00007fca0a5e531c __clone3 (libc.so.6 + 0x10c31c)
ELF object binary architecture: AMD x86-64

Some X related config settings in my configuration:

{
services.xserver = {
        enable = true;
        xkbOptions = "eurosign:e";
        videoDrivers = [ "amdgpu" "intel" "vesa" ];
        wacom.enable = true;
};
hardware = {
      opengl = {
        driSupport32Bit = true;
        extraPackages32 = [pkgs.pkgsi686Linux.libva];
      };
};
}

@jyooru
Copy link
Member

jyooru commented Apr 30, 2022

If I had to guess I'd think the culprit is 3312352596a xorg.xorgserver: 1.20.13 -> 21.1.3. I'm installing a fresh build on my machine so will test with that commit reverted

I have tested this on my machine and yes, X starts just fine after reverting only 3312352.

@vlinkz
Copy link
Member Author

vlinkz commented Apr 30, 2022

Took forever to build, but reverting 3312352 fixed the issue for me as well on the latest unstable. Probably should revert this before 22.05

@vcunat
Copy link
Member

vcunat commented May 1, 2022

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? #171113

@vlinkz
Copy link
Member Author

vlinkz commented May 1, 2022

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

@jyooru
Copy link
Member

jyooru commented May 2, 2022

X still segfaults for me with the patch applied too. I also have identical logs.

@laMudri
Copy link
Contributor

laMudri commented May 28, 2022

I think I'm getting the same issue on my Dell XPS 9510. What's our favourite work-around at the moment?

@vcunat
Copy link
Member

vcunat commented May 28, 2022

I'd hope that PR #174140

github-actions bot pushed a commit that referenced this issue May 29, 2022
This reverts commit 3312352.
Fixes #170856: issues of some users.

(cherry picked from commit 43b7c96)
@ilikeavocadoes
Copy link
Contributor

I'm having this issue on Dell XPS 15 9510. I guess #174140 hasn't landed into release-22.05 yet?

@rbozan
Copy link

rbozan commented Jun 2, 2022

I'm having this issue on Dell XPS 15 9510. I guess #174140 hasn't landed into release-22.05 yet?

no, see #175320

@vcunat
Copy link
Member

vcunat commented Jun 2, 2022

I hasn't even landed in unstable/master, though I expect that to happen within days.

@jyooru
Copy link
Member

jyooru commented Jun 3, 2022

Is #174140 a temporary fix? Should this stay open?

@FPtje
Copy link
Contributor

FPtje commented Jun 3, 2022

I woud argue that the best issue to track this, is the original xorg/xserver issue: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1304

Once that is fixed, and possibly any other bugs that render it inoperable, the package can be updated again in nixpkgs.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/gui-not-starting-after-upgrade-to-22-05/19534/6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants