[Open again] Update broke X -> no drivers available

Archived topics about LMDE 1
Locked
Silberwoelfin
Level 1
Level 1
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

[Open again] Update broke X -> no drivers available

Post by Silberwoelfin » Mon Apr 02, 2012 1:53 pm

Hi there,

today I decided to update my LMDE system to Update Pack 4, including the new kernel 3.2. Unfortunately it seems this completely broke my x-server since it now refuses to recognize any graphics drivers installed.
I've got a Nvidia 9800GT installed and so far used the proprietary driver downloaded from nvidia's website. But neither reinstalling that one, nor installing it the 'debian-way' (using nvidia-kernel-dkms) nor using nouveau works. And neither does using an older kernel. :(

Output from X is:

Code: Select all

[...]
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found
(Or "failed to load module "nouveau", if using that one)

I already found this
Update 12 march 2012- nvidia and VB fail against the new 3.2.0-2 kernel; reinstall the correspondent dkms modules viewtopic.php?f=198&t=67502&p=553788#p553773
in the BREAKAGES thread, but the solution (reinstalling dkms) obviously didn't work for me.

So now I always get the command login whether I boot kernel 3.0 or 3.2.

Can anybody help me?
Last edited by Silberwoelfin on Tue Apr 03, 2012 6:39 am, edited 2 times in total.

The Diamond Geezer
Level 1
Level 1
Posts: 35
Joined: Thu Jun 23, 2011 3:47 am

Re: Update broke X -> no drivers available

Post by The Diamond Geezer » Mon Apr 02, 2012 2:41 pm

Same thing happened to me. I have bad news, and good news.

Bad news is, when in tty after UP4, I don't know of any way to fix it.

I hope you made a snapshot of your VM pre-UP4. If so, please restore it. If you have, here's the good news:

Update you VirtualBox version to 4.1.10 and install the latest Guest Additions before applying UP4. They contain updated X.org modules.

Apply UP4. Right after it, before rebooting, re-install the Guest Additions from 4.1.10, and when that's done, reboot from terminal by typing the following:

shutdown -r now

X should boot now. That's how I did it, best of luck! :D

Silberwoelfin
Level 1
Level 1
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Re: Update broke X -> no drivers available

Post by Silberwoelfin » Mon Apr 02, 2012 2:48 pm

Thanks for your reply, but I do not use a VM.

escolar
Level 1
Level 1
Posts: 14
Joined: Tue Oct 18, 2011 4:05 am

Re: Update broke X -> no drivers available

Post by escolar » Mon Apr 02, 2012 4:22 pm

Silberwoelfin wrote:Thanks for your reply, but I do not use a VM.
Have you tried this?

Code: Select all

sudo dpkg-reconfigure nvidia-kernel-dkms 
and reboot

Silberwoelfin
Level 1
Level 1
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Re: Update broke X -> no drivers available

Post by Silberwoelfin » Mon Apr 02, 2012 5:42 pm

escolar wrote: Have you tried this?

Code: Select all

sudo dpkg-reconfigure nvidia-kernel-dkms 
and reboot
Yeah, I tried that, like a dozen times. Didn't work. With neither kernel.

I now resorted to doing a fresh install.

zerozero
Level 16
Level 16
Posts: 6506
Joined: Tue Jul 07, 2009 2:29 pm

Re: [Closed, not solved] Update broke X -> no drivers availa

Post by zerozero » Mon Apr 02, 2012 8:01 pm

Silberwoelfin wrote: but the solution (reinstalling dkms) obviously didn't work for me.
because the driver was not installed (properly) with dkms and furthermore you were jumping between methods (direct d/l, dkms); now in that system (if we still go in time) the only chance is http://code.google.com/p/sgfxi/ (cleans the system, installs the driver, does it all for you << except coffee :wink: )

either way, removing the xorg.conf should boot you with nouveau (if it's still installed); just google how to do it (i don't like to pass rm commands in the forum)
Image

[ bliss of ignorance ]

Monsta
Level 10
Level 10
Posts: 3029
Joined: Fri Aug 19, 2011 3:46 am

Re: [Closed, not solved] Update broke X -> no drivers availa

Post by Monsta » Tue Apr 03, 2012 2:38 am

Out of curiosity I've just updated sgfxi (the latest version is 4.17.85) - and it still shows the same info for nvidia drivers as before:

Code: Select all

sgfxi -L n

Code: Select all

...
Kernel 3.0: Working: 285/280.xx/173 current-5000 series/96xx-gf2/4 (?). Unknown: 71xx
...
Xorg 1.11 - Buggy, partially working: 285.03/280.13, or newer.
...

Code: Select all

sgfxi -L d

Code: Select all

...
NVidia Default Stable Drivers:
DEFAULT: 295.33 :: LEGACY 3: 173.14.31 :: LEGACY 2: 96.43.20 :: LEGACY 1: 71.86.15
No, I haven't updated my system yet (I'm staying on UP3 until UP4 hits the Latest). I'm just looking into the future :) and I'm puzzled by that sgfxi output. Is there a working combination of kernel, Xorg and nvidia drivers in UP4?
I mean, there's a new kernel and a new Xorg 1.11 there, right? And that usually sounds like trouble.
Or is it just sgfxi showing me outdated info? :)

Silberwoelfin
Level 1
Level 1
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Re: [Closed, not solved] Update broke X -> no drivers availa

Post by Silberwoelfin » Tue Apr 03, 2012 6:39 am

zerozero wrote:
Silberwoelfin wrote: but the solution (reinstalling dkms) obviously didn't work for me.
because the driver was not installed (properly) with dkms and furthermore you were jumping between methods (direct d/l, dkms); now in that system (if we still go in time) the only chance is http://code.google.com/p/sgfxi/ (cleans the system, installs the driver, does it all for you << except coffee :wink: )
Okay, so now I did a fresh install and installing mythtv unfortunately reinstalled the nvidia-driver. Which lead me back to where I started, with no X.
Therefore I now downloaded sgfxi und ran it. It did its thing, downloading and installing nvidia, blacklisting nouveau, but outputted an error saying, it could not remove nouveau. Afterwards I shutdown an waited the recommended 30 seconds before booting again.

Now I'm stuck again at a command login. It seems, sgfxi did not work. When I tried to run it again, it said, I had an X running and should stop that before continuing. Also it says "Checking for installed nVidia driver... No sgfxi nVidia Driver Detected", indicating, the previous installation attempt failed.
"ps aux | grep Xorg" now lists several(!) Xorg and gdm running on various ttys, that I didn't even know existed (up til tty62, I think).

I have no idea what to do now.

zerozero
Level 16
Level 16
Posts: 6506
Joined: Tue Jul 07, 2009 2:29 pm

Re: [Open again] Update broke X -> no drivers available

Post by zerozero » Tue Apr 03, 2012 7:02 am

installing mythtv unfortunately reinstalled the nvidia-driver.
sorry but i can't understand this, i don't see any prop. driver as a dep of mythtv http://debian-multimedia.org/dists/test ... age/mythtv
exactly how did you installed the nvidia binary?
Image

[ bliss of ignorance ]

Silberwoelfin
Level 1
Level 1
Posts: 10
Joined: Mon Dec 06, 2010 1:37 pm

Re: [Open again] Update broke X -> no drivers available

Post by Silberwoelfin » Tue Apr 03, 2012 7:23 am

zerozero wrote:exactly how did you installed the nvidia binary?
I installed a whole lot of programs via aptitude, so I didn't exactly pay attention to which dependencies it installed along, I only noticed it when nvidia-kernel-dkms was build and mythtv was the only grpahic-related program I could think of that could have been responsible. Maybe it wasn't.

zerozero
Level 16
Level 16
Posts: 6506
Joined: Tue Jul 07, 2009 2:29 pm

Re: [Open again] Update broke X -> no drivers available

Post by zerozero » Tue Apr 03, 2012 9:01 am

post here please the output of

Code: Select all

dpkg --list | egrep '(nvidia)|(linux-image*)|(linux-headers*)'
as a reference my output (but i'm on testing, not in UP3>UP4 and this is an old install >> as you can see i still have the 32.5 kernel)

Code: Select all

amadeu@amadeu:~$ dpkg --list | egrep '(nvidia)|(linux-image*)|(linux-headers*)'
ii  glx-alternative-nvidia                        0.2.1                           allows the selection of NVIDIA as GLX provider
ii  libgl1-nvidia-alternatives                    295.33-1                        transition libGL.so* diversions to glx-alternative-nvidia
ii  libgl1-nvidia-glx:amd64                       295.33-1                        NVIDIA binary OpenGL libraries
ii  libglx-nvidia-alternatives                    295.33-1                        transition libgl.so diversions to glx-alternative-nvidia
ii  linux-headers-2.6-amd64                       3.2+44                          Header files for Linux amd64 configuration (dummy package)
ii  linux-headers-2.6.32-5-common                 2.6.32-31                       Common header files for Linux 2.6.32-5
ii  linux-headers-2.6.38-2-amd64                  2.6.38-5                        Header files for Linux 2.6.38-2-amd64
ii  linux-headers-2.6.38-2-common                 2.6.38-5                        Common header files for Linux 2.6.38-2
ii  linux-headers-2.6.39-2-amd64                  2.6.39-3                        Header files for Linux 2.6.39-2-amd64
ii  linux-headers-2.6.39-2-common                 2.6.39-3                        Common header files for Linux 2.6.39-2
ii  linux-headers-3.0.0-1-amd64                   3.0.0-3                         Header files for Linux 3.0.0-1-amd64
ii  linux-headers-3.0.0-1-common                  3.0.0-3                         Common header files for Linux 3.0.0-1
ii  linux-headers-3.1.0-1-amd64                   3.1.8-2                         Header files for Linux 3.1.0-1-amd64
ii  linux-headers-3.1.0-1-common                  3.1.8-2                         Common header files for Linux 3.1.0-1
ii  linux-headers-3.2.0-1-amd64                   3.2.6-1                         Header files for Linux 3.2.0-1-amd64
ii  linux-headers-3.2.0-1-common                  3.2.6-1                         Common header files for Linux 3.2.0-1
ii  linux-headers-3.2.0-2-amd64                   3.2.12-1                        Header files for Linux 3.2.0-2-amd64
ii  linux-headers-3.2.0-2-common                  3.2.12-1                        Common header files for Linux 3.2.0-2
ii  linux-headers-amd64                           3.2+44                          Header files for Linux amd64 configuration (meta-package)
ii  linux-image-2.6-amd64                         3.2+44                          Linux for 64-bit PCs (dummy package)
ii  linux-image-2.6.32-5-amd64                    2.6.32-31                       Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.38-2-amd64                    2.6.38-5                        Linux 2.6.38 for 64-bit PCs
ii  linux-image-2.6.39-2-amd64                    2.6.39-3                        Linux 2.6.39 for 64-bit PCs
ii  linux-image-3.0.0-1-amd64                     3.0.0-3                         Linux 3.0.0 for 64-bit PCs
ii  linux-image-3.1.0-1-amd64                     3.1.8-2                         Linux 3.1 for 64-bit PCs
ii  linux-image-3.2.0-1-amd64                     3.2.6-1                         Linux 3.2 for 64-bit PCs
ii  linux-image-3.2.0-2-amd64                     3.2.12-1                        Linux 3.2 for 64-bit PCs
ii  linux-image-amd64                             3.2+44                          Linux for 64-bit PCs (meta-package)
ii  nvidia-alternative                            295.33-1                        allows the selection of NVIDIA as GLX provider
rc  nvidia-common                                 20110426+1                      NVIDIA binary graphics driver support files
ii  nvidia-glx                                    295.33-1                        NVIDIA metapackage
ii  nvidia-installer-cleanup                      20111111+3                      Cleanup after driver installation with the nvidia-installer
ii  nvidia-kernel-common                          20111111+3                      NVIDIA binary kernel module support files
ii  nvidia-kernel-dkms                            295.33-1                        NVIDIA binary kernel module DKMS source
ii  nvidia-settings                               295.20-1                        Tool for configuring the NVIDIA graphics driver
ii  nvidia-support                                20111111+3                      NVIDIA binary graphics driver support files
ii  nvidia-vdpau-driver:amd64                     295.33-1                        NVIDIA vdpau driver
ii  nvidia-xconfig                                295.20-1                        X configuration tool for non-free NVIDIA drivers
ii  xserver-xorg-video-nvidia                     295.33-1                        NVIDIA binary Xorg driver
amadeu@amadeu:~$ 
Image

[ bliss of ignorance ]

Locked

Return to “LMDE 1 Archive”