Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Everything about X, Gnome, KDE, ... and everything running on it

Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby LiamF » 2020-11-10 10:01

After upgrading from Debian 9 (stretch) to Debian 10 (buster), I am met with "Oh no! Something has gone wrong ..." at my GUI login.

I'm using a rather old computer but it has served me well over the years.
Dell Precision WorkStation T3400
Intel Core 2 Duo E4600
NVIDIA Quadro FX 1700

When I initially installed Deb9 on this system, everything - including installing the NVIDIA drivers - went remarkably smoothly. The system was fully functional. After upgrading to Deb10, everything is perfectly fine *except* for the video. After a smooth and error-free upgrade process, I rebooted the system and was met with the terribly unhelpful "Oh no! ..." screen.

My desktop manager is gdm3 and my desktop environment is GNOME.

nvidia-detect reports 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G84GL [Quadro FX 1700] [10de:040f] (rev a1) and recommends that I use nvidia-legacy-340xx-driver
This is the same driver I used for Deb9.

I've checked /var/log/messages - nothing of note.
I've checked /var/log/Xorg.[01].log - nothing of note.

I ran lspci -K and it the following:
Code: Select all
01:00.0 VGA compatible controller: NVIDIA Corporation G84GL [Quadro FX 1700] (rev a1)
        Subsystem: NVIDIA Corporation G84GL [Quadro FX 1700]
        Kernel driver in use: nvidia
        Kernel modules: nvidia

I don't know if it should say "nvidia" or "nvidia-legacy" or what.

I've uninstalled the video driver, rebooted, reinstalled the driver, then rebooted. No change.
I'm really at a loss. I don't know what else to check, test, or review.

I've followed the step-by-step instructions on the Debian wiki. I've web searched this topic to death and found nothing helpful. Some package or tool or subsystem on the computer must be logging somewhere the underlying error that gdm3 is having but I cannot find it.

I cannot accept wipe-and-fresh-install as a solution; that's for "Microsoft Windows." Linux is better than that. I know I'm missing something, I just don't know what.
LiamF
 
Posts: 4
Joined: 2018-08-06 10:54

Re: Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby Head_on_a_Stick » 2020-11-10 18:10

Try
Code: Select all
# dpkg-reconfigure nvidia-legacy-340xx-driver
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12756
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby stevepusser » 2020-11-10 18:44

I remember we had the same bug when MX switched to a Buster base using Debian's legacy 340xx Nvidia drivers for Quadro cards, and did some manual fix in the MX Nvidia driver to work around it--I think it wasn't creating a symlink to the correct libGL.so files, but I thought Debian would have fixed that by now.

Try this:

It was loading the wrong glx-module, from /var/log/Xorg.log

Code: Select all
LoadModule: "glx"
Loading /usr/lib/xorg/modules/extensions/libglx.so



Code: Select all
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
log file that the GLX module has been loaded in your X



/usr/lib/xorg/modules/extensions/libglx.so instead the one from nvidia

What I did is renamed the libglx.so

Code: Select all
sudo mv /usr/lib/xorg/modules/extensions/libglx.so /usr/lib/xorg/modules/extensions/libglx.so.bac



and symlinked the one from nvidia to libglx.so

Code: Select all
sudo ln -s /usr/lib/nvidia/legacy-340xx/libglx.so.340.107 /usr/lib/xorg/modules/extensions/libglx.so



Looks good to me now, no errors in Xorg.log

Code: Select all
10.911] (II) LoadModule: "glx"
[ 10.922] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 11.081] (II) Module glx: vendor="NVIDIA Corporation"



Note that this command will differ depending on what version of the driver you have installed:
Code: Select all
sudo ln -s /usr/lib/nvidia/legacy-340xx/libglx.so.340.107 /usr/lib/xorg/modules/extensions/libglx.so
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12131
Joined: 2009-10-06 05:53

Re: Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby LiamF » 2020-11-10 19:47

Done. I don't know if the command is supposed to generate any output; it didn't.
I rebooted to be safe. I'm looking at my boot screen - still in text mode - and it's "hung" on this:

[ OK ] Started GNOME Display Manager.
fschd-cancel-msg:Press Ctrl+C to cancel all filesystem checks in progress


... and it just sits there. I let it sit for an hour just in case.
I hit <Return> and nothing happens. I changed to another text console (Alt+F2) and I get the standard text login.
If I hit Alt+F1 (to return to graphical login), the screen clears, there's a bit of a pause (~15 seconds), then I get the "Oh no! ..." screen.
LiamF
 
Posts: 4
Joined: 2018-08-06 10:54

Re: Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby stevepusser » 2020-11-11 18:26

Note that this command will differ depending on what version of the driver you have installed:


Since that post I quoted from the MX forums, Debian has updated to the 340.108 version:

Double check you are getting the same error in xorg.log.

Check that you have the 340.108 version installed:

Code: Select all
apt policy nvidia-legacy-340xx-driver


Fix your incorrect symlink:
Code: Select all
sudo rm /usr/lib/xorg/modules/extensions/libglx.so


run the correct command:

Code: Select all
sudo ln -s /usr/lib/nvidia/legacy-340xx/libglx.so.340.108 /usr/lib/xorg/modules/extensions/libglx.so
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12131
Joined: 2009-10-06 05:53

Re: Deb9 to Deb10 Upgrade: Oh no! Something went wrong ...

Postby LiamF » 2020-11-11 20:23

BAM! It's fixed. Thanks!
LiamF
 
Posts: 4
Joined: 2018-08-06 10:54


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable