Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Cannot use proprietary Nvidia drivers after update (14.04)

  1. #1
    Join Date
    Feb 2015
    Beans
    10

    Cannot use proprietary Nvidia drivers after update (14.04)

    Hello,

    Last Friday (February 15), everything was working fine.

    Then, on Monday (February 18), I encountered a problem when booting: the login screen resolution was very low (1024x768 I think), and I couldn't login, it would just bring me back to the login screen.
    I tried booting on a few previous kernel versions, to no avail.

    I was able to use a terminal (Ctrl+Alt+F1).
    I tried renaming ~/.Xauthority to something else, but it didn't help.

    Uninstalling all the Nvidia packages with apt-get remove helped a little: I could login, but the resolution was still limited to 1024x768, with no way to change it (at least in the GUI). Of course, it was using the "Nouveau" driver.
    Re-installing nvidia-340 prevented me to login again.

    Eventually, I removed all the Nvidia packages with
    Code:
    sudo apt-get purge nvidia-*
    It allowed me to login, and to get the correct resolution (1920x1080).

    So, I'm currently using the "Nouveau" driver.
    However, whenever I try to switch back to nvidia-340 or nvidia-384, the problem comes back.

    I'm on Ubuntu 14.04 with an Nvidia GT630.

    Here's what got updated/installed last friday (from /var/log/apt/history.log):
    Start-Date: 2019-02-15 09:23:37
    Commandline: aptdaemon role='role-commit-packages' sender=':1.99'
    Upgrade: shim-signed:amd64 (1.33.1~14.04.3+13-0ubuntu2, 1.33.1~14.04.4+13-0ubuntu2), dkms:amd64 (2.2.0.3-1.1ubuntu5.14.04.9, 2.2.0.3-1.1ubuntu5.14.04.10), libssh2-1:amd64 (1.4.3-2ubuntu0.1, 1.4.3-2ubuntu0.2)
    End-Date: 2019-02-15 09:40:34

    Start-Date: 2019-02-15 09:45:36
    Commandline: apt-get install cpufrequtils
    Install: cpufrequtils:amd64 (008-1), libcpufreq0:amd64 (008-1, automatic)
    End-Date: 2019-02-15 09:45:48
    I suspect one of these packages is to blame for the issue. Probably DKMS or shim-signed, I doubt libssh2 or cpufrequtils have anything to do with it.

    How can I investigate further, and ideally, switch back to the Nvidia proprietary driver?

  2. #2
    Join Date
    Sep 2009
    Location
    Pennsylvania
    Beans
    2,820
    Distro
    Xubuntu

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    The 410.93 package is the newest one that should work.

    A couple thoughts come to mind. How is the monitor connected? Have you checked the cable to make sure it is connected tightly? Have you tried another cable? (Cables do fail.) Are you using the drivers from the repositories or directly from Nvidia?

  3. #3
    Join Date
    Feb 2015
    Beans
    10

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    Version 410.93 does not show up in "Additional Drivers" on Ubuntu 14.04.
    Available versions are: 384.130 (which is marked as "tested" by Ubuntu), 304.135 ("legacy binary driver") and 340.102.

    The monitor is connected via HDMI. I've not tried another cable, but it looks like a software issue to me.

    I'm using the drivers from the repository (installed from the "Additional Drivers" tab).

    It seems I'm not the only one affected by this problem: https://askubuntu.com/questions/1119...en-with-nvidia

  4. #4
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,791
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    The graphics drivers PPA will give you access to later drivers. As Autodave says, the 410 series is the last that will work with that graphics card. It does seem plausible that it's a change to your DKMS configuration that's caused a problem with loading the Nvidia driver. Potentially a newer version of the driver will work better with the current state of the machine.

    If you still have trouble logging in with a newer driver, /var/log/Xorg.log and dmesg may help to pin down the problem. Also take note of any messages when installing the drivers: doing so through the terminal will give more output.

    It's worth noting that 14.04 will reach End-of-Life in April. It's time to start planning the upgrade.
    None but ourselves can free our minds

  5. #5
    Join Date
    Jun 2007
    Beans
    17,204

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    On 14.04 here I 'm using the 384 driver from Ubuntu repo. It works fine on 4.4.0-142-generic kernel but not on the 4.4.0-143-generic which was this update -
    linux-meta-lts-xenial (4.4.0.143.124) trusty; urgency=medium

    * signing: only install a signed kernel (LP: #1764794)
    - switch to signed-only binary packages
    - convert linux-signed* into transitional packages

    -- Kleber Sacilotto de Souza <kleber.souza@canonical.com> Wed, 13 Feb 2019 15:02:46 +0100
    Which kernel are you using?

    You could also the ppa as mentioned..

  6. #6
    Join Date
    Feb 2015
    Beans
    10

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    I can't use the 410 branch, as the GT 630 I've got is based on a Fermi GPU (GF108).

    I guess I could use the 390 branch from the PPA, but I'm not sure I want to install drivers from a PPA. It says:
    ## WARNINGS:

    This PPA is currently in testing, you should be experienced with packaging before you dive in here
    I think I'll try re-installing nvidia-384 from the command line when I have time (this is my work PC), and I'll pay attention to any messages that show up.

    I know Ubuntu 14.04 won't be supported any more after April. A fresh install of 18.04 is planned. But thanks for the reminder

    As for the kernel version, I'm on 3.13.0-165-generic. I tried several older versions on Monday, but it didn't help.

  7. #7
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    6,791
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    Quote Originally Posted by user9992 View Post
    I can't use the 410 branch, as the GT 630 I've got is based on a Fermi GPU (GF108).
    Code:
    Version: 	410.93
    Supported products
    
    NVIDIA TITAN Series:NVIDIA  TITAN V, NVIDIA TITAN Xp, NVIDIA TITAN X (Pascal), GeForce GTX TITAN X,  GeForce GTX TITAN, GeForce GTX TITAN Black, GeForce GTX TITAN Z
    
    GeForce RTX 20 Series:GeForce RTX 2080 Ti, GeForce RTX 2080, GeForce RTX 2070
    
    GeForce MX100 Series (Notebook):GeForce MX150, GeForce MX130, GeForce MX110
    
    GeForce 10 Series:GeForce  GTX 1080 Ti, GeForce GTX 1080, GeForce GTX 1070 Ti, GeForce GTX 1070,  GeForce GTX 1060, GeForce GTX 1050 Ti, GeForce GTX 1050, GeForce GT 1030
    
    GeForce 10 Series (Notebooks):GeForce GTX 1080, GeForce GTX 1070, GeForce GTX 1060, GeForce GTX 1050 Ti, GeForce GTX 1050
    
    GeForce 900 Series:GeForce GTX 980 Ti, GeForce GTX 980, GeForce GTX 970, GeForce GTX 960, GeForce GTX 950
    
    GeForce 900M Series (Notebooks):GeForce  GTX 980, GeForce GTX 980M, GeForce GTX 970M, GeForce GTX 965M, GeForce  GTX 960M, GeForce GTX 950M, GeForce 945M, GeForce 940MX, GeForce 930MX,  GeForce 920MX, GeForce 940M, GeForce 930M, GeForce 920M, GeForce 910M
    
    GeForce 800M Series (Notebooks):GeForce  GTX 880M, GeForce GTX 870M, GeForce GTX 860M, GeForce GTX 850M, GeForce  845M, GeForce 840M, GeForce 830M, GeForce 825M, GeForce 820M, GeForce  810M
    
    GeForce 700 Series:GeForce  GTX 780 Ti, GeForce GTX 780, GeForce GTX 770, GeForce GTX 760, GeForce  GTX 760 Ti (OEM), GeForce GTX 750 Ti, GeForce GTX 750, GeForce GTX 745,  GeForce GT 740, GeForce GT 730, GeForce GT 720, GeForce GT 710
    
    GeForce 700M Series (Notebooks):GeForce  GTX 780M, GeForce GTX 770M, GeForce GTX 765M, GeForce GTX 760M, GeForce  GT 755M, GeForce GT 750M, GeForce GT 745M, GeForce GT 740M, GeForce GT  735M, GeForce GT 730M, GeForce GT 720M, GeForce 710M
    
    GeForce 600 Series:GeForce  GTX 690, GeForce GTX 680, GeForce GTX 670, GeForce GTX 660 Ti, GeForce  GTX 660, GeForce GTX 650 Ti BOOST, GeForce GTX 650 Ti, GeForce GTX 650,  GeForce GTX 645, GeForce GT 640, GeForce GT 635, GeForce GT 630
    
    GeForce 600M Series (Notebooks):GeForce  GTX 680MX, GeForce GTX 680M, GeForce GTX 675MX, GeForce GTX 670MX,  GeForce GTX 660M, GeForce GT 650M, GeForce GT 645M, GeForce GT 640M,  GeForce GT 640M LE
    
    Quadro RTX Series:Quadro RTX 8000, Quadro RTX 6000, Quadro RTX 5000, Quadro RTX 4000
    
    Quadro Series:Quadro  GV100, Quadro GP100, Quadro P6000, Quadro P5200, Quadro P5000, Quadro  P4000, Quadro P2000, Quadro P1000, Quadro P620, Quadro P600, Quadro  P400, Quadro M6000 24GB, Quadro M6000, Quadro M5000, Quadro M4000,  Quadro M2000, Quadro K6000, Quadro K5200, Quadro K5000, Quadro K4000,  Quadro K4200, Quadro K2200, Quadro K2000, Quadro K2000D, Quadro K1200,  Quadro K620, Quadro K600, Quadro K420, Quadro 410
    
    Quadro Series (Notebooks):Quadro  P5200, Quadro P5000, Quadro P4200, Quadro P4000, Quadro P3200, Quadro  P3000, Quadro P2000, Quadro P1000, Quadro P600, Quadro P500, Quadro  M2200, Quadro M1200, Quadro M620, Quadro M520, Quadro M5500, Quadro  M5000M, Quadro M4000M, Quadro M3000M, Quadro M2000M, Quadro M1000M,  Quadro M600M, Quadro M500M, Quadro K5100M, Quadro K5000M, Quadro K4100M,  Quadro K4000M, Quadro K3100M, Quadro K2200M, Quadro K2100M, Quadro  K3000M, Quadro K2000M, Quadro K1100M, Quadro K1000M, Quadro K620M,  Quadro K610M, Quadro K510M, Quadro K500M
    
    Quadro Blade/Embedded Series :Quadro P5000, Quadro P3000, Quadro M5000 SE, Quadro M3000 SE, Quadro K3100M
    
    Quadro NVS Series:NVS 810, NVS 510
    
    Quadro Sync Series:Quadro Sync II, Quadro Sync, Quadro G-Sync II
    
    Quadro SDI:Quadro SDI
    
    GRID Series:GRID K520
    
    NVS Series:NVS 810, NVS 510
    
    M-Class:M40 24GB, M40
    I guess I could use the 390 branch from the PPA, but I'm not sure I want to install drivers from a PPA. It says:

    The warning is about joining the team, not about just using the PPA.

    Whether you use the PPA or not, consulting the log files may help identify the issue you're having.
    None but ourselves can free our minds

  8. #8
    Join Date
    Apr 2008
    Location
    Norwich CT
    Beans
    2,555
    Distro
    Ubuntu Mate

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    You absolutely need to install 18.04. The poster above is right; support will cease April '19.

    I drink my Ubuntu black, no sugar.
    Ubuntu user 28819

  9. #9
    Join Date
    Jun 2007
    Beans
    17,204

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    Quote Originally Posted by user9992 View Post
    I can't use the 410 branch, as the GT 630 I've got is based on a Fermi GPU (GF108).

    I guess I could use the 390 branch from the PPA, but I'm not sure I want to install drivers from a PPA. It says:


    I think I'll try re-installing nvidia-384 from the command line when I have time (this is my work PC), and I'll pay attention to any messages that show up.

    I know Ubuntu 14.04 won't be supported any more after April. A fresh install of 18.04 is planned. But thanks for the reminder

    As for the kernel version, I'm on 3.13.0-165-generic. I tried several older versions on Monday, but it didn't help.
    I'd suggest installing from a terminal, read thru the output.. see if anything interesting is printed.

    (- here I can't get any nvidia driver installed if booting to the 3.13.x kernel, it says skipping module build as no kernel source, even though I believe the source is installed..

    I'm using the lts-xenial kernel normally, that works fine thru 4.4.0.142.xx, the break comes with the 143 which is in proposed and can stay there.. This also affects 16.04 on the release kernel (4.4.0.143) which is also currently in proposed.
    https://bugs.launchpad.net/ubuntu/+s...l/+bug/1816768

  10. #10
    Join Date
    Feb 2015
    Beans
    10

    Re: Cannot use proprietary Nvidia drivers after update (14.04)

    To clarify: there are several versions of the GT 630. Some are Kepler based, and others use a Fermi GPU: https://en.wikipedia.org/wiki/GeForc...0_(6xx)_series
    I've got the Fermi version.

    Anyway, I tried installing nvidia-384 from the terminal (sudo apt-get install nvidia-384), and didn't notice any errors (I saved the output to a file in case I need it later).

    The part about DKMS said:
    Loading new nvidia-384-384.130 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.13.0-165-generic
    Building for architecture x86_64
    Building initial module for 3.13.0-165-generic
    Secure Boot not enabled on this system.
    Done.

    nvidia_384:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.13.0-165-generic/updates/dkms/

    nvidia_384_modeset.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.13.0-165-generic/updates/dkms/

    nvidia_384_drm.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.13.0-165-generic/updates/dkms/

    nvidia_384_uvm.ko:
    Running module version sanity check.
    - Original module
    - No original module exists within this kernel
    - Installation
    - Installing to /lib/modules/3.13.0-165-generic/updates/dkms/

    depmod....

    DKMS: install completed.
    However after a reboot, I was back to 1024x768 and couldn't login.

    I've copied /var/log/Xorg.0.log to my homedir from the terminal, and noticed the following errors:
    [ 20.576] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
    [ 20.576] (EE) NVIDIA: system's kernel log for additional error messages and
    [ 20.576] (EE) NVIDIA: consult the NVIDIA README for details.
    [ 20.576] (EE) [drm] KMS not enabled
    [ 20.576] (EE) open /dev/dri/card0: No such file or directory
    [ 20.576] (WW) Falling back to old probe method for modesetting
    [ 20.576] (EE) open /dev/dri/card0: No such file or directory
    ...
    [ 20.576] (WW) Falling back to old probe method for vesa
    [ 20.576] (EE) Screen 0 deleted because of no matching config section.
    ...
    [ 20.577] (EE) FBDEV(0): FBIOBLANK: Invalid argument
    ...
    [ 20.584] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
    ...
    [ 20.606] (EE) FBDEV(0): FBIOBLANK: Invalid argument
    I've also copied /var/log/kern.log just in case (not sure it's useful). I searched for "nvidia" and "nv" but didn't see any errors.

Page 1 of 3 123 LastLast

Tags for this Thread

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
  •