Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: New kernel brakes nvidia, old kernel fine

  1. #1
    Join Date
    Oct 2005
    Location
    England
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

    New kernel brakes nvidia, old kernel fine

    Being used to compiling my own kernels and things I find it strange that every other kernel update breaks nvidia. Usually i just install the nvidia kernel again over the old one so why isn't something happening when my kernel upgrades on Ubuntu?

    I always get:
    Code:
    (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
    no nvidia driver in restricted drivers manager and booting in "safe graphics mode"

    What am i doing wrong?

  2. #2
    Join Date
    Oct 2005
    Location
    England
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    This must be a common problem

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: New kernel brakes nvidia, old kernel fine

    HAw didi you install the nVidia drivers in the first place? If they are not from the repositories, they need a kernel module (that of course depends on certain kernel version). So if the drivers are not from repositories you need to install new version of that module yourself.

    If you use the driver from repositories, and have correct metapackage for your kernel ("linux-generic", for example) installed the driver shouldn't break during kernel updates.

  4. #4
    Join Date
    Oct 2005
    Location
    England
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    Quote Originally Posted by mcduck View Post
    HAw didi you install the nVidia drivers in the first place? If they are not from the repositories, they need a kernel module (that of course depends on certain kernel version). So if the drivers are not from repositories you need to install new version of that module yourself.

    If you use the driver from repositories, and have correct metapackage for your kernel ("linux-generic", for example) installed the driver shouldn't break during kernel updates.
    They were all from the repos and the metapackage is -generic and not -386

    For some reason it always breaks. Currently I have to use my old kernel even though the metapackage and headers are from the same kernel the nvidia.ko module will not load and therefore is not seen by restricted drivers.

  5. #5
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    So, you have the nvidia-glx-new package installed or you installed by downloading the drivers from the website? Do you have the proposed repo enabled in System->Administration->Software Sources?
    Don't try to make something "fast" until you are able to quantify "slow".

  6. #6
    Join Date
    Oct 2005
    Location
    England
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    Quote Originally Posted by vor View Post
    So, you have the nvidia-glx-new package installed or you installed by downloading the drivers from the website? Do you have the proposed repo enabled in System->Administration->Software Sources?
    I have all 4 (main, restricted, universe, multiverse) selected

    The packages that is installed is from apt/synaptic.

    The only reason I can think of is that this is a problem from when Hardy went live (i've beta tested Ubuntu for ages).

    Heh, after 5 years of Gentoo I would have thought i'd be able to figure out this one but I just can't!

  7. #7
    Join Date
    Jan 2007
    Location
    $here ? $here : $there
    Beans
    3,717
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    A number of people have been having this problem and I'm not sure why. I would first try rebooting into recovery mode and when the menu comes up try using the xfix option. That may or may not work.

    If you are coming from gentoo and don't mind taking some control over the system, you could follow this guide to manually install the nvidia driver: http://ubuntuforums.org/showthread.php?t=797270 and then use this guide to automatically install the manual drivers when new kernels are installed: http://ubuntuforums.org/showthread.php?t=835573. Unfortunately, they will still break when xserver-xorg-core is updated (X will still start normally but compiz won't) so, you'll have to reinstall the drivers whenever an update to that package happens.
    Don't try to make something "fast" until you are able to quantify "slow".

  8. #8
    Join Date
    May 2007
    Beans
    7,032
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: New kernel brakes nvidia, old kernel fine

    Moved to Multimedia & Video.
    I am aware of all internet traditions. | Getting the best help | Text formatting codes | My last.fm profile
    Should I PM support questions? NO!

  9. #9
    Join Date
    Jul 2007
    Location
    Maryland, USA
    Beans
    6
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: New kernel brakes nvidia, old kernel fine

    I have the same problem. Nvidia driver installed from repositories, works in Hardy with kernel 2.6.24-17. After the system auto-updated to 2.6.24-19, nvidia driver doesn't work, falls back to safe graphics mode. I can still boot kernel 2.6.24-17 and everything works.

  10. #10
    Join Date
    Oct 2005
    Location
    England
    Beans
    27
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: New kernel brakes nvidia, old kernel fine

    This is obviously a bug. I have seen it in hardy since before it was released. It is also present on my girlfriend's computer that although was installed *after* hardy was released was still installed from a beta disk but subsequently updated immediately.

    There was a mix up before with the -i386 and the -generic headers but that was fixed.

    Bug Report: https://bugs.launchpad.net/ubuntu/+bug/244798
    Last edited by cokehabit; July 2nd, 2008 at 10:03 AM.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •