Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Updated from Stretch to Buster, X won't start

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Stavrogin
Posts: 24
Joined: 2013-01-30 02:54

Updated from Stretch to Buster, X won't start

#1 Post by Stavrogin »

Really need some help here (I'm not an expert). Finally tried to upgrade from Stretch to Buster, and the main system upgrade seems to have worked, but my X server won't start now. Back in stretch I was using the proprietary Nvidia driver for my GTX 1050 Ti, which was always a headache to get working properly to begin with. Now, on bootup, the sequence hangs at "Started GNOME Display Manager" - blackscreens for a few seconds, then goes back to the bootup sequence, still stuck on "Started GNOME Display Manager".

I removed the Nvidia driver using

Code: Select all

apt-get purge nvidia.
Then made sure I un-blacklisted the nouveau driver. I renamed or deleted all the old xorg.conf files. Then ran:

Code: Select all

apt-get install --reinstall xserver-xorg
apt-get install --reinstall xserver-xorg-video-nouveau
killall Xorg
then updated initramfs, and rebooted. Somewhere between multiple attempts at this, I managed to get X to start and got into Gnome. Then foolishly attempted to install the Nvidia driver from there and broke it again. Ran through that whole process again, chasing down several other ghosts.

Here's the Xorg.1.log file as it stands right now:

Code: Select all

[   827.529] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   827.530] Build Operating System: Linux 5.10.0-16-amd64 x86_64 Debian
[   827.530] Current Operating System: Linux lyudmila 4.19.0-22-amd64 #1 SMP Debian 4.19.260-1 (2022-09-29) x86_64
[   827.530] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-22-amd64 root=UUID=160f0ed4-2210-4f0f-a604-e9aae961ae1f ro quiet
[   827.530] Build Date: 04 August 2022  11:57:08AM
[   827.530] xorg-server 2:1.20.4-1+deb10u5 (https://www.debian.org/support) 
[   827.531] Current version of pixman: 0.36.0
[   827.531] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   827.531] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   827.532] (==) Log file: "/var/log/Xorg.1.log", Time: Mon Oct  3 19:32:45 2022
[   827.532] (II) Loader magic: 0x55662554ee20
[   827.532] (II) Module ABI versions:
[   827.532] 	X.Org ANSI C Emulation: 0.4
[   827.532] 	X.Org Video Driver: 24.0
[   827.532] 	X.Org XInput driver : 24.1
[   827.532] 	X.Org Server Extension : 10.0
[   827.533] (++) using VT number 3

[   827.535] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[   827.537] (II) xfree86: Adding drm device (/dev/dri/card0)
[   827.538] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   827.544] (--) PCI:*(1@0:0:0) 10de:1c82:19da:a454 rev 161, Mem @ 0xfb000000/16777216, 0xc0000000/268435456, 0xde000000/33554432, I/O @ 0x0000ef00/128, BIOS @ 0x????????/131072
[   827.665] (==) Using default built-in configuration (30 lines)
[   827.665] (==) --- Start of built-in configuration ---
[   827.665] 	Section "Device"
[   827.665] 		Identifier	"Builtin Default modesetting Device 0"
[   827.665] 		Driver	"modesetting"
[   827.665] 	EndSection
[   827.665] 	Section "Screen"
[   827.665] 		Identifier	"Builtin Default modesetting Screen 0"
[   827.665] 		Device	"Builtin Default modesetting Device 0"
[   827.665] 	EndSection
[   827.665] 	Section "Device"
[   827.665] 		Identifier	"Builtin Default fbdev Device 0"
[   827.665] 		Driver	"fbdev"
[   827.665] 	EndSection
[   827.665] 	Section "Screen"
[   827.665] 		Identifier	"Builtin Default fbdev Screen 0"
[   827.665] 		Device	"Builtin Default fbdev Device 0"
[   827.665] 	EndSection
[   827.665] 	Section "Device"
[   827.665] 		Identifier	"Builtin Default vesa Device 0"
[   827.665] 		Driver	"vesa"
[   827.665] 	EndSection
[   827.665] 	Section "Screen"
[   827.665] 		Identifier	"Builtin Default vesa Screen 0"
[   827.665] 		Device	"Builtin Default vesa Device 0"
[   827.665] 	EndSection
[   827.665] 	Section "ServerLayout"
[   827.665] 		Identifier	"Builtin Default Layout"
[   827.665] 		Screen	"Builtin Default modesetting Screen 0"
[   827.665] 		Screen	"Builtin Default fbdev Screen 0"
[   827.665] 		Screen	"Builtin Default vesa Screen 0"
[   827.666] 	EndSection
[   827.666] (==) --- End of built-in configuration ---
[   827.666] (==) ServerLayout "Builtin Default Layout"
[   827.666] (**) |-->Screen "Builtin Default modesetting Screen 0" (0)
[   827.666] (**) |   |-->Monitor "<default monitor>"
[   827.666] (**) |   |-->Device "Builtin Default modesetting Device 0"
[   827.666] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
	Using a default monitor configuration.
[   827.666] (**) |-->Screen "Builtin Default fbdev Screen 0" (1)
[   827.666] (**) |   |-->Monitor "<default monitor>"
[   827.667] (**) |   |-->Device "Builtin Default fbdev Device 0"
[   827.667] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
	Using a default monitor configuration.
[   827.667] (**) |-->Screen "Builtin Default vesa Screen 0" (2)
[   827.667] (**) |   |-->Monitor "<default monitor>"
[   827.667] (**) |   |-->Device "Builtin Default vesa Device 0"
[   827.667] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
	Using a default monitor configuration.
[   827.667] (==) Automatically adding devices
[   827.668] (==) Automatically enabling devices
[   827.668] (==) Automatically adding GPU devices
[   827.668] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   827.668] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   827.668] 	Entry deleted from font path.
[   827.668] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[   827.668] (==) ModulePath set to "/usr/lib/xorg/modules"
[   827.668] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   827.668] (II) LoadModule: "glx"
[   827.668] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   827.669] (EE) Failed to load /usr/lib/xorg/modules/extensions/libglx.so: /usr/lib/x86_64-linux-gnu/libGL.so.1: undefined symbol: _glapi_tls_Current
[   827.669] (EE) Failed to load module "glx" (loader failed, 0)
[   827.669] (II) LoadModule: "modesetting"
[   827.670] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   827.670] (II) Module modesetting: vendor="X.Org Foundation"
[   827.670] 	compiled for 1.20.4, module version = 1.20.4
[   827.670] 	Module class: X.Org Video Driver
[   827.670] 	ABI class: X.Org Video Driver, version 24.0
[   827.670] (II) LoadModule: "fbdev"
[   827.670] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[   827.670] (II) Module fbdev: vendor="X.Org Foundation"
[   827.670] 	compiled for 1.20.0, module version = 0.5.0
[   827.670] 	Module class: X.Org Video Driver
[   827.670] 	ABI class: X.Org Video Driver, version 24.0
[   827.670] (II) LoadModule: "vesa"
[   827.670] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   827.670] (II) Module vesa: vendor="X.Org Foundation"
[   827.670] 	compiled for 1.20.1, module version = 2.4.0
[   827.670] 	Module class: X.Org Video Driver
[   827.670] 	ABI class: X.Org Video Driver, version 24.0
[   827.670] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   827.670] (II) FBDEV: driver for framebuffer: fbdev
[   827.670] (II) VESA: driver for VESA chipsets: vesa
[   827.671] (II) modeset(0): using drv /dev/dri/card0
[   827.671] (WW) Falling back to old probe method for fbdev
[   827.671] (II) Loading sub module "fbdevhw"
[   827.671] (II) LoadModule: "fbdevhw"
[   827.671] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[   827.671] (II) Module fbdevhw: vendor="X.Org Foundation"
[   827.671] 	compiled for 1.20.4, module version = 0.0.2
[   827.671] 	ABI class: X.Org Video Driver, version 24.0
[   827.671] (II) modeset(0): Creating default Display subsection in Screen section
	"Builtin Default modesetting Screen 0" for depth/fbbpp 24/32
[   827.671] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   827.671] (==) modeset(0): RGB weight 888
[   827.671] (==) modeset(0): Default visual is TrueColor
[   827.671] (II) Loading sub module "glamoregl"
[   827.671] (II) LoadModule: "glamoregl"
[   827.671] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   827.677] (II) Module glamoregl: vendor="X.Org Foundation"
[   827.678] 	compiled for 1.19.2, module version = 1.0.0
[   827.678] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   827.678] (II) glamor: OpenGL accelerated X.org driver based.
[   827.761] (II) glamor: EGL version 1.4:
[   827.768] (EE) 
[   827.768] (EE) Backtrace:
[   827.768] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x5566254c0f39]
[   827.768] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7f1b475b477f]
[   827.768] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (gsignal+0x10b) [0x7f1b474197bb]
[   827.769] (EE) 3: /lib/x86_64-linux-gnu/libc.so.6 (abort+0x121) [0x7f1b47404535]
[   827.769] (EE) 4: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (_init+0x62f1a) [0x7f1b46a4dd5a]
[   827.769] (EE) 5: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (_init+0x62f6b) [0x7f1b46a4de8b]
[   827.769] (EE) 6: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (epoxy_is_desktop_gl+0x260) [0x7f1b469eb760]
[   827.770] (EE) 7: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (_init+0x67c1) [0x7f1b46994f41]
[   827.770] (EE) 8: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (_init+0x1650f) [0x7f1b469b49df]
[   827.770] (EE) 9: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (_init+0x62c21) [0x7f1b46a4d821]
[   827.770] (EE) 10: /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (epoxy_extension_in_string+0x92) [0x7f1b469eb0c2]
[   827.770] (EE) 11: /usr/lib/xorg/modules/libglamoregl.so (glamor_egl_init+0x374) [0x7f1b46ab1fc4]
[   827.771] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   827.771] (EE) 12: /usr/lib/xorg/modules/drivers/modesetting_drv.so (?+0x0) [0x7f1b4876c9d0]
[   827.771] (EE) 13: /usr/lib/xorg/Xorg (InitOutput+0x9c0) [0x5566253a2780]
[   827.771] (EE) 14: /usr/lib/xorg/Xorg (InitFonts+0x1cf) [0x55662536581f]
[   827.771] (EE) 15: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7f1b4740609b]
[   827.771] (EE) 16: /usr/lib/xorg/Xorg (_start+0x2a) [0x55662534f6ba]
[   827.771] (EE) 
[   827.771] (EE) 
Fatal server error:
[   827.771] (EE) Caught signal 6 (Aborted). Server aborting
[   827.771] (EE) 
[   827.772] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   827.772] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[   827.772] (EE) 
[   827.774] (EE) Server terminated with error (1). Closing log file.
Any help would be greatly appreciated. I am actually trying to upgrade all the way to Bullseye but had to take it one step at a time.

EDIT: I've been working on this for a day and a half, mostly googling. Where I'm at at this point is actually further ahead than where I started. Currently chasing down the "undefined symbol: _glapi_tls_Current" error but I'm having trouble finding solutions that seem relevant to this context. In the process of many attempts I was getting a "possible missing firmware" error regarding an nvidia module, which I got past by installing firmware-misc-nonfree from buster-backports, but that didn't seem to fix anything. Now I'm just looking through the log generated by "startx" and trying to fight my way through error by error, but I'm so far stumped on this undefined symbol thing. I've been trying!

UPDATE: Got X to run! In other googling, I had found that updating libglvnd had worked for some. Closest package in buster is libglvnd0 - tried reinstalling to no avail. Then, in trying to run dpkg -s libglvnd0, it told me I had multiple instances of it installed. Sure enough, I had both the i386 and amd64 versions installed. I ran

Code: Select all

apt remove --purge libglvnd0:i386
followed by

Code: Select all

apt-get install --reinstall libglvnd0
Rebooted, and Gnome came up. Still using the nouveau driver when I'd like to get the Nvidia one working, but at least I have a system now.

Post Reply