You are not logged in.

#1 2021-12-16 22:34:44

stoffel
Member
Registered: 2021-12-16
Posts: 5

[SOLVED] Xorg crashes with nvidia-470xx-dkms after update

Hi,
I am using both the onboard graphics chip and the graphics card on my laptop. I normally use the graphics card with nvidia-xrun-pm. This has worked fine so far, but since updating my laptop this week executing nvidia-xrun results in a segfault in the xorg server.

Similar issues have been reported in two other threads:
https://bbs.archlinux.org/viewtopic.php?id=272169
https://bbs.archlinux.org/viewtopic.php?id=272161

I chose to open another thread since I am using a different driver and the proposed solution does not work for me. Downgrading both nvidia-470xx-utils and nvidia-470xx-dkms followed by rebooting did not solve the issue. I tried out 470.82, 470.86 and 470.94 all to no avail.

Find the crashing log attached:

[   686.593] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   686.595] 
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[   686.598] Current Operating System: Linux odessa 5.15.8-arch1-1 #1 SMP PREEMPT Tue, 14 Dec 2021 12:28:02 +0000 x86_64
[   686.598] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=/dev/mapper/vg0-root rw cryptdevice=UUID=16276bf8-ae61-4c09-b1c2-22e3233d827e:cryptlvm cryptkey=rootfs:/root/luks.keyfile loglevel=3 quiet
[   686.599]  
[   686.601] Current version of pixman: 0.40.0
[   686.603] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   686.603] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   686.608] (==) Log file: "/home/schlaf/.local/share/xorg/Xorg.1.log", Time: Thu Dec 16 20:06:08 2021
[   686.609] (++) Using config file: "/etc/X11/nvidia-xorg.conf"
[   686.611] (++) Using config directory: "/etc/X11/nvidia-xorg.conf.d"
[   686.612] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   686.612] (==) ServerLayout "layout"
[   686.612] (**) |-->Screen "nvidia" (1)
[   686.612] (**) |   |-->Monitor "<default monitor>"
[   686.612] (**) |   |-->Device "nvidia"
[   686.612] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[   686.612] (**) |-->Inactive Device "intel"
[   686.612] (==) Automatically adding devices
[   686.612] (==) Automatically enabling devices
[   686.612] (==) Automatically adding GPU devices
[   686.612] (==) Automatically binding GPU devices
[   686.612] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   686.612] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   686.612] 	Entry deleted from font path.
[   686.612] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   686.612] 	Entry deleted from font path.
[   686.612] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   686.612] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[   686.612] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   686.612] (II) Module ABI versions:
[   686.612] 	X.Org ANSI C Emulation: 0.4
[   686.612] 	X.Org Video Driver: 25.2
[   686.612] 	X.Org XInput driver : 24.4
[   686.612] 	X.Org Server Extension : 10.0
[   686.612] (++) using VT number 2

[   686.612] (--) controlling tty is VT number 2, auto-enabling KeepTty
[   686.613] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   686.614] (II) xfree86: Adding drm device (/dev/dri/card1)
[   686.614] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[   686.615] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[   686.615] (II) xfree86: Adding drm device (/dev/dri/card0)
[   686.615] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   686.615] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[   686.617] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[   686.618] (--) PCI:*(0@0:2:0) 8086:0416:17aa:221e rev 6, Mem @ 0xb3400000/4194304, 0x80000000/536870912, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   686.618] (--) PCI: (1@0:0:0) 10de:0ff6:17aa:221e rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   686.618] (II) Open ACPI successful (/var/run/acpid.socket)
[   686.618] (II) LoadModule: "glx"
[   686.618] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   686.620] (II) Module glx: vendor="X.Org Foundation"
[   686.620] 	compiled for 1.21.1.1, module version = 1.0.0
[   686.620] 	ABI class: X.Org Server Extension, version 10.0
[   686.620] (II) LoadModule: "nvidia"
[   686.620] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   686.620] (II) Module nvidia: vendor="NVIDIA Corporation"
[   686.620] 	compiled for 1.6.99.901, module version = 1.0.0
[   686.620] 	Module class: X.Org Video Driver
[   686.620] (II) LoadModule: "modesetting"
[   686.620] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   686.623] (II) Module modesetting: vendor="X.Org Foundation"
[   686.623] 	compiled for 1.21.1.1, module version = 1.21.1
[   686.623] 	Module class: X.Org Video Driver
[   686.623] 	ABI class: X.Org Video Driver, version 25.2
[   686.623] (II) NVIDIA dlloader X Driver  470.82.00  Thu Oct 14 10:22:56 UTC 2021
[   686.623] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   686.623] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   686.623] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[   686.623] (II) systemd-logind: releasing fd for 226:1
[   686.637] (II) Loading sub module "fb"
[   686.637] (II) LoadModule: "fb"
[   686.637] (II) Module "fb" already built-in
[   686.637] (II) Loading sub module "wfb"
[   686.637] (II) LoadModule: "wfb"
[   686.637] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   686.637] (II) Module wfb: vendor="X.Org Foundation"
[   686.637] 	compiled for 1.21.1.1, module version = 1.0.0
[   686.637] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   686.637] (II) Loading sub module "ramdac"
[   686.637] (II) LoadModule: "ramdac"
[   686.637] (II) Module "ramdac" already built-in
[   686.638] (WW) Falling back to old probe method for modesetting
[   686.638] (II) modeset(G0): using drv /dev/dri/card0
[   686.638] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   686.638] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[   686.638] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   686.638] (==) NVIDIA(0): RGB weight 888
[   686.638] (==) NVIDIA(0): Default visual is TrueColor
[   686.638] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   686.638] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   686.638] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   686.638] (**) NVIDIA(0): Enabling 2D acceleration
[   686.638] (II) Loading sub module "glxserver_nvidia"
[   686.638] (II) LoadModule: "glxserver_nvidia"
[   686.638] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   686.643] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   686.643] 	compiled for 1.6.99.901, module version = 1.0.0
[   686.643] 	Module class: X.Org Server Extension
[   686.643] (II) NVIDIA GLX Module  470.82.00  Thu Oct 14 10:20:25 UTC 2021
[   686.643] (II) NVIDIA: The X server supports PRIME Render Offload.
[   686.644] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   686.644] (--) NVIDIA(0):     DFP-0
[   686.644] (--) NVIDIA(0):     DFP-1
[   686.644] (II) NVIDIA(0): NVIDIA GPU Quadro K1100M (GK107GL) at PCI:1:0:0 (GPU-0)
[   686.644] (--) NVIDIA(0): Memory: 2097152 kBytes
[   686.644] (--) NVIDIA(0): VideoBIOS: 80.07.ac.00.20
[   686.644] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   686.645] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   686.645] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   686.645] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   686.645] (--) NVIDIA(GPU-0): 
[   686.645] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   686.645] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[   686.645] (--) NVIDIA(GPU-0): DFP-1: 960.0 MHz maximum pixel clock
[   686.645] (--) NVIDIA(GPU-0): 
[   686.645] (==) NVIDIA(0): 
[   686.645] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   686.645] (==) NVIDIA(0):     will be used as the requested mode.
[   686.645] (==) NVIDIA(0): 
[   686.645] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[   686.645] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[   686.645] (II) NVIDIA(0): Validated MetaModes:
[   686.645] (II) NVIDIA(0):     "NULL"
[   686.645] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[   686.645] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[   686.645] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   686.645] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[   686.645] (**) modeset(G0): Option "AccelMethod" "none"
[   686.645] (==) modeset(G0): RGB weight 888
[   686.645] (==) modeset(G0): Default visual is TrueColor
[   686.645] (**) modeset(G0): glamor disabled
[   686.645] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[   686.645] (II) modeset(G0): Double-buffered shadow updates: off
[   686.646] (II) modeset(G0): Output eDP-1-1 has no monitor section
[   686.648] (II) modeset(G0): Output VGA-1-1 has no monitor section
[   686.648] (II) modeset(G0): Output DP-1-1 has no monitor section
[   686.829] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[   686.829] (II) modeset(G0): Output DP-1-2 has no monitor section
[   686.831] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[   686.832] (II) modeset(G0): EDID for output eDP-1-1
[   686.832] (II) modeset(G0): Manufacturer: AUO  Model: 34ed  Serial#: 0
[   686.832] (II) modeset(G0): Year: 2012  Week: 0
[   686.832] (II) modeset(G0): EDID Version: 1.4
[   686.832] (II) modeset(G0): Digital Display Input
[   686.832] (II) modeset(G0): 6 bits per channel
[   686.832] (II) modeset(G0): Digital interface is DisplayPort
[   686.832] (II) modeset(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   686.832] (II) modeset(G0): Gamma: 2.20
[   686.832] (II) modeset(G0): No DPMS capabilities specified
[   686.832] (II) modeset(G0): Supported color encodings: RGB 4:4:4 
[   686.832] (II) modeset(G0): First detailed timing is preferred mode
[   686.832] (II) modeset(G0): Preferred mode is native pixel format and refresh rate
[   686.832] (II) modeset(G0): redX: 0.620 redY: 0.349   greenX: 0.324 greenY: 0.606
[   686.832] (II) modeset(G0): blueX: 0.152 blueY: 0.118   whiteX: 0.313 whiteY: 0.329
[   686.832] (II) modeset(G0): Manufacturer's mask: 0
[   686.832] (II) modeset(G0): Supported detailed timing:
[   686.832] (II) modeset(G0): clock: 140.0 MHz   Image Size:  344 x 193 mm
[   686.832] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2068 h_blank_end 2100 h_border: 0
[   686.832] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1084 v_blanking: 1110 v_border: 0
[   686.832] (II) modeset(G0): Unknown vendor-specific block f
[   686.832] (II) modeset(G0):  AUO
[   686.832] (II) modeset(G0):  B156HTN03.4
[   686.832] (II) modeset(G0): EDID (in hex):
[   686.832] (II) modeset(G0): 	00ffffffffffff0006afed3400000000
[   686.832] (II) modeset(G0): 	001601049522137802d1159e59539b27
[   686.832] (II) modeset(G0): 	1e505400000001010101010101010101
[   686.832] (II) modeset(G0): 	010101010101b03680b470381e403064
[   686.832] (II) modeset(G0): 	310058c1100000180000000f00000000
[   686.832] (II) modeset(G0): 	00000000000000000020000000fe0041
[   686.832] (II) modeset(G0): 	554f0a202020202020202020000000fe
[   686.832] (II) modeset(G0): 	004231353648544e30332e34200a00f6
[   686.833] (II) modeset(G0): Printing probed modes for output eDP-1-1
[   686.833] (II) modeset(G0): Modeline "1920x1080"x60.1  140.00  1920 1968 2068 2100  1080 1083 1084 1110 -hsync -vsync (66.7 kHz eP)
[   686.833] (II) modeset(G0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   686.833] (II) modeset(G0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   686.833] (II) modeset(G0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   686.833] (II) modeset(G0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   686.833] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   686.833] (II) modeset(G0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   686.833] (II) modeset(G0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   686.833] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   686.833] (II) modeset(G0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   686.833] (II) modeset(G0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   686.833] (II) modeset(G0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   686.834] (II) modeset(G0): EDID for output VGA-1-1
[   686.834] (II) modeset(G0): EDID for output DP-1-1
[   687.016] (II) modeset(G0): EDID for output HDMI-1-1
[   687.016] (II) modeset(G0): EDID for output DP-1-2
[   687.017] (II) modeset(G0): EDID for output HDMI-1-2
[   687.017] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[   687.017] (--) modeset(G0): Display dimensions: (344, 193) mm
[   687.017] (--) modeset(G0): DPI set to (75, 101)
[   687.017] (II) Loading sub module "fb"
[   687.017] (II) LoadModule: "fb"
[   687.017] (II) Module "fb" already built-in
[   687.017] (II) Loading sub module "shadow"
[   687.017] (II) LoadModule: "shadow"
[   687.017] (II) Loading /usr/lib/xorg/modules/libshadow.so
[   687.018] (II) Module shadow: vendor="X.Org Foundation"
[   687.018] 	compiled for 1.21.1.1, module version = 1.1.0
[   687.018] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   687.018] (WW) NVIDIA: Failed to bind sideband socket to
[   687.018] (WW) NVIDIA:     '/var/run/nvidia-xdriver-a045e866' Permission denied
[   687.018] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[   687.018] (II) NVIDIA:     access.
[   687.040] (II) NVIDIA(0): Setting mode "NULL"
[   687.046] (==) NVIDIA(0): Disabling shared memory pixmaps
[   687.046] (==) NVIDIA(0): Backing store enabled
[   687.046] (==) NVIDIA(0): Silken mouse enabled
[   687.046] (==) NVIDIA(0): DPMS enabled
[   687.046] (II) Loading sub module "dri2"
[   687.046] (II) LoadModule: "dri2"
[   687.046] (II) Module "dri2" already built-in
[   687.046] (II) NVIDIA(0): [DRI2] Setup complete
[   687.046] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   687.046] (==) modeset(G0): Backing store enabled
[   687.046] (==) modeset(G0): Silken mouse enabled
[   687.131] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[   687.131] (==) modeset(G0): DPMS enabled
[   687.131] (EE) 
[   687.131] (EE) Backtrace:
[   687.131] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x5b) [0x564bed1f6ddb]
[   687.131] (EE) 1: /usr/lib/Xorg (0x564bed0ab000+0x156a15) [0x564bed201a15]
[   687.131] (EE) 2: /usr/lib/libpthread.so.0 (0x7f523de1a000+0x13870) [0x7f523de2d870]
[   687.131] (EE) 3: /usr/lib/Xorg (InitOutput+0x619) [0x564bed21cd79]
[   687.131] (EE) 4: /usr/lib/Xorg (0x564bed0ab000+0x3a0b0) [0x564bed0e50b0]
[   687.131] (EE) 5: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f523dc70b25]
[   687.131] (EE) 6: /usr/lib/Xorg (_start+0x2e) [0x564bed0e64ce]
[   687.131] (EE) 
[   687.131] (EE) Segmentation fault at address 0x10
[   687.131] (EE) 
Fatal server error:
[   687.132] (EE) Caught signal 11 (Segmentation fault). Server aborting
[   687.132] (EE) 
[   687.132] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   687.132] (EE) Please also check the log file at "/home/schlaf/.local/share/xorg/Xorg.1.log" for additional information.
[   687.132] (EE) 
[   687.168] (EE) Server terminated with error (1). Closing log file.

And a snippet of journalctl -b

Dec 16 20:06:09 odessa systemd-coredump[3224]: [?] Process 3221 (Xorg) of user 1000 dumped core.
                                               
                                               Found module linux-vdso.so.1 with build-id: 4346c3c0ced3b2e43138af8f9>
                                               Found module libshadow.so with build-id: 770c315f4e1cea32489bfbc1c13b>
                                               Found module libnvidia-glcore.so.470.82.00 with build-id: c4d6808af57>
                                               Found module libnvidia-tls.so.470.82.00 with build-id: dac0602c0aee5f>
                                               Found module libglxserver_nvidia.so with build-id: 97095ccf213d3a57e0>
                                               Found module libwfb.so with build-id: 06de5be0f21630de392a79771f5d81a>
                                               Found module libffi.so.8 with build-id: f90d8b734f6de9b25faedb8cbfab7>
                                               Found module libstdc++.so.6 with build-id: 9b5eeeb149bf3c4efe787fb398>
                                               Found module libexpat.so.1 with build-id: 8850138eae6d9d4d43c5c4b2ac4>
                                               Found module libwayland-server.so.0 with build-id: 645526447334b85a6f>
                                               Found module libgbm.so.1 with build-id: d2d744ab64eb3d20a0dfaa83f6086>
                                               Found module modesetting_drv.so with build-id: 38b4a757bc7b355131ec98>
                                               Found module nvidia_drv.so with build-id: dd299664056349bef583d2caa7b>
                                               Found module libxcb.so.1 with build-id: 0d1ef11740a5daad2ee331e812a51>
                                               Found module libX11.so.6 with build-id: 5ba5798d193c0065014b8c6252a06>
                                               Found module libGLX.so.0 with build-id: 0f40ceaa036edc65147e9559b94e0>
                                               Found module libGLdispatch.so.0 with build-id: 195b34c1bb271f3b1162c8>
                                               Found module libGL.so.1 with build-id: 8b3028bab286029945569a0dfcf695>
                                               Found module libglx.so with build-id: a506bc474051e9b92e7c4cbc17874e1>
                                               Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b>
                                               Found module libpcre.so.1 with build-id: 845483dd0acba86de9f0313102be>
                                               Found module libbrotlicommon.so.1 with build-id: a4ba3f4b4571c8272343>
                                               Found module libglib-2.0.so.0 with build-id: 8214b56e554b7cbead4034b6>
                                               Found module libgraphite2.so.3 with build-id: 47761dc11e553f519cde97e>
                                               Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c>
                                               Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da321>
                                               Found module libkrb5support.so.0 with build-id: adf65240a4d2aba772d7a>
                                               Found module libcom_err.so.2 with build-id: eb61ef71c8b97846db759fb89>
                                               Found module libk5crypto.so.3 with build-id: eb8220b8f36675aac769450b>
                                               Found module libkrb5.so.3 with build-id: 72d26767c5cb1097db75a5f5bff8>
                                               Found module libgpg-error.so.0 with build-id: 3801187d42c4955bd93c605>
                                               Found module libbrotlidec.so.1 with build-id: 45defc036e918e0140a72f1>
                                               Found module libharfbuzz.so.0 with build-id: 1d9dee49dd99162c3f83eb32>
                                               Found module libpng16.so.16 with build-id: 2dc0bce07f199bf983c07a05fb>
                                               Found module libbz2.so.1.0 with build-id: 919597c477c9b2cb9cdbb7745ed>
                                               Found module libgssapi_krb5.so.2 with build-id: e6e098ad51ce7bdd3dbe9>
                                               Found module libgcrypt.so.20 with build-id: db45f5d5e0f7af1e77324fea1>
                                               Found module libcap.so.2 with build-id: f56c6cd6ad4d35053340d7ff2f8f9>
                                               Found module liblz4.so.1 with build-id: e63600ab23b2f6997f42fac2fa56e>
                                               Found module libzstd.so.1 with build-id: 4b10444c1560ebc574af4d5f488b>
                                               Found module liblzma.so.5 with build-id: 8b615460aa230708c5183f16bede>
                                               Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40>
                                               Found module libfreetype.so.6 with build-id: 26c5f833068ff72660d1975c>
                                               Found module libfontenc.so.1 with build-id: 5a11f1fb8c3f2714be9eb6697>
                                               Found module libz.so.1 with build-id: 81bf6e728a6d6f5b105b0f8b25f6c61>
                                               Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177>
                                               Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c4>
                                               Found module libxcvt.so.0 with build-id: 30bad674c8227152bb709556a365>
                                               Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad>
                                               Found module libtirpc.so.3 with build-id: 5bef2adfdee3df283f593b3e2d3>
                                               Found module libdrm.so.2 with build-id: 457a1a1bd25f1d5541a10d3f16c5d>
                                               Found module libudev.so.1 with build-id: 996dbb21212808b5930dd015512f>
                                               Found module libdbus-1.so.3 with build-id: 74f2ab9c60512f3a93c932c3f6>
                                               Found module libsystemd.so.0 with build-id: efcf1b39ffd5f65334b94df71>
                                               Found module libxshmfence.so.1 with build-id: 8876d9ccf620858795724ca>
                                               Found module libXfont2.so.2 with build-id: 154202dd7ddb86f6ae4d3bc762>
                                               Found module libXdmcp.so.6 with build-id: 8ca0792d23c8b8b4c0864297512>
                                               Found module libXau.so.6 with build-id: 1c67764663e07bec24d8951e5fd93>
                                               Found module libnettle.so.8 with build-id: 9a878e513c02007598fcf1e2e2>
                                               Found module libpciaccess.so.0 with build-id: 9dd24e76ebc38465541313b>
                                               Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c83>
                                               Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f15189>
                                               Found module libpixman-1.so.0 with build-id: 341f793dcada3a48a306a793>
                                               Found module Xorg with build-id: 4c96b43370b536cce45fbd65f85a8ba58686>
                                               Stack trace of thread 3221:
                                               #0  0x00007f523dc85d22 raise (libc.so.6 + 0x3cd22)
                                               #1  0x00007f523dc6f862 abort (libc.so.6 + 0x26862)
                                               #2  0x0000564bed1fa66a OsAbort (Xorg + 0x14f66a)
                                               #3  0x0000564bed1fc171 FatalError (Xorg + 0x151171)
                                               #4  0x0000564bed201a76 n/a (Xorg + 0x156a76)
                                               #5  0x00007f523de2d870 __restore_rt (libpthread.so.0 + 0x13870)
                                               #6  0x0000564bed21cd79 InitOutput (Xorg + 0x171d79)
                                               #7  0x0000564bed0e50b0 n/a (Xorg + 0x3a0b0)
                                               #8  0x00007f523dc70b25 __libc_start_main (libc.so.6 + 0x27b25)
                                               #9  0x0000564bed0e64ce _start (Xorg + 0x3b4ce)

Last edited by stoffel (2021-12-17 13:28:50)

Offline

#2 2021-12-16 22:55:25

joanbrugueram
Member
Registered: 2018-11-12
Posts: 21

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

Have you tried to downgrade to xorg-server/xorg-server-common 21.1.1-3?

I am also using nvidia-470xx (no integrated graphics) and graphics were completely freezing for me today, specially when switching TTYs. I've rolled back the recent graphics upgrades by downgrating to nvidia-470xx 470.86-3 and xorg-server/xorg-server-common 21.1.1-3 and the freezes are gone... but I haven't had time to do any testing to see if it the culprit was actually xorg or nvidia yet.

Last edited by joanbrugueram (2021-12-16 22:56:34)

Offline

#3 2021-12-17 00:26:15

stoffel
Member
Registered: 2021-12-16
Posts: 5

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

joanbrugueram wrote:

Have you tried to downgrade to xorg-server/xorg-server-common 21.1.1-3?

I am also using nvidia-470xx (no integrated graphics) and graphics were completely freezing for me today, specially when switching TTYs. I've rolled back the recent graphics upgrades by downgrating to nvidia-470xx 470.86-3 and xorg-server/xorg-server-common 21.1.1-3 and the freezes are gone... but I haven't had time to do any testing to see if it the culprit was actually xorg or nvidia yet.

I followed your suggestion. I downgraded xorg-server-common to 21.1.1-3 and the driver packages to 470.86-3, then I rebooted but nothing about the issue changed. I still get a segfault. Just to make sure, I also downgraded xorg-server and rebooted again but this too didn't make a difference.

Update: Downgrading the kernel to 5.13.13-arch1-1 didn't help either.

Last edited by stoffel (2021-12-17 00:55:44)

Offline

#4 2021-12-17 07:49:11

seth
Member
Registered: 2012-09-03
Posts: 51,498

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

The other errors seem specific to 495.46 -  what was your xorg-server version before "since updating my laptop this week" (check your pacman log) and was it ("Downgrading the kernel to 5.13.13-arch1-1") still some 1.20 version?

Offline

#5 2021-12-17 13:27:50

stoffel
Member
Registered: 2021-12-16
Posts: 5

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

seth wrote:

The other errors seem specific to 495.46 -  what was your xorg-server version before "since updating my laptop this week" (check your pacman log) and was it ("Downgrading the kernel to 5.13.13-arch1-1") still some 1.20 version?

I checked my log and downgraded to that version, Xorg no longer crashed. I then updated my kernel and the nvidia drivers and Xorg still started normally. So downgrading Xorg and some other packages fixes the issue.
So in my case the solution was to downgrade the following packages:
xf86-video-vesa to 2.5.0-1
xf86-video-intel to 1:2.99.917+916+g31486f40-1
xorg-server to 1.20.13-3
xf86-input-libinput to 1.2.0-1

A kernel downgrade or a downgrade of the nvidia packages is not required.

Offline

#6 2021-12-17 13:30:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,754

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

Can you reproduce if you update but remove xf86-video-intel? The driver is not well maintained and buggy in general and a good candidate for the cause.

Offline

#7 2021-12-17 13:53:54

stoffel
Member
Registered: 2021-12-16
Posts: 5

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

V1del wrote:

Can you reproduce if you update but remove xf86-video-intel? The driver is not well maintained and buggy in general and a good candidate for the cause.

Removing xf86-video-intel did not fix the issue. A downgrade of xorg and the other xorg-drivers is still required without xf86-video-intel.

I also had a look at a coredump and based on the assembly it seems that this line was being executed when Xorg crashed:
https://github.com/freedesktop/xorg-xse … nit.c#L699
If my understanding is correct then

 xf86Screens[scrnum]->pScreen 

caused that crash.

Offline

#8 2021-12-17 15:43:35

seth
Member
Registered: 2012-09-03
Posts: 51,498

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

it seems that this line was being executed when Xorg crashed

How exactly did you determine that? You're 1561 bytes into the function but based on the compiler optimizations that could be almost anywhere?

Offline

#9 2021-12-17 18:08:54

stoffel
Member
Registered: 2021-12-16
Posts: 5

Re: [SOLVED] Xorg crashes with nvidia-470xx-dkms after update

seth wrote:

it seems that this line was being executed when Xorg crashed

How exactly did you determine that? You're 1561 bytes into the function but based on the compiler optimizations that could be almost anywhere?

By analysing the coredump in gdb and cross referencing it with the source code of Xorg on github.
I used bt to display the stack frames, entered the stack frame of InitOutput since this was the last function called before __restore_rt and displayed the disassembly of the surrounding instructions.
There was a call to AttachUnboundGPU, based on this I'm searching for a definition of InitOutput that contains a call to AttachUnboundGPU.
The file I linked is the only file that meets this criteria and the exact line was determined by mapping the asm instructions to C source code.

Offline

Board footer

Powered by FluxBB