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

Thread: Issue booting with nVidia proprietary driver

  1. #1
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Issue booting with nVidia proprietary driver

    I have a Dell XPS 15 (2013) laptop with Optimus graphics (Intel 4600 + nVidia GeForce GT 750M).

    I can use the Nouveau driver just fine. It just seems a bit more unstable when I plug and unplug my external HDMI screen.

    So, I usually use the proprietary driver from nVidia. The problem is that, since a few versions of the driver (about v. 346) onward, some of the versions work fine, but most of them fail to start. Whenever I update the driver, if it doesn't start, I have to uninstall the proprietary driver and go back to Nouveau until there is a new version.

    I am not sure if the issue is in my system (currently running kernel 4.6.0-040600-generic, GNOME 3.20, Cinnamon 2.8.6), or if it is an issue of the nVidia driver.

    Since my system moved to SystemD I am not too sure how to debug startup issues (which files to look at et al.).

    Could anyone help me investigate why is the system not booting with some versions of the driver? Thanks.
    Last edited by adlerhn; June 6th, 2016 at 11:15 PM.

  2. #2
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Issue booting with nVidia proprietary driver

    Did you run "sudo nvidia-xconfig" after installing the driver? Give that a try.

  3. #3
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Re: Issue booting with nVidia proprietary driver

    Thanks for the tip. Yeah, I just tried that; no change.

  4. #4
    Join Date
    Sep 2010
    Beans
    9,205
    Distro
    Ubuntu Budgie 17.10 Artful Aardvark

    Re: Issue booting with nVidia proprietary driver

    Quote Originally Posted by adlerhn View Post
    I have a Dell XPS 15 (2013) laptop with Optimus graphics (Intel 4600 + nVidia GeForce GT 750M).

    I can use the Nouveau driver just fine. It just seems a bit more unstable when I plug and unplug my external HDMI screen.

    So, I usually use the proprietary driver from nVidia. The problem is that, since a few versions of the driver (about v. 346) onward, some of the versions work fine, but most of them fail to start. Whenever I update the driver, if it doesn't start, I have to uninstall the proprietary driver and go back to Nouveau until there is a new version.

    I am not sure if the issue is in my system (currently running kernel 4.6.0-040600-generic, GNOME 3.20, Cinnamon 2.8.6), or if it is an issue of the nVidia driver.
    I was just going to say that. Try scaling back to k 4.4.0-23 or what have you.

    regards..

  5. #5
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Smile Re: Issue booting with nVidia proprietary driver

    Quote Originally Posted by ventrical View Post
    I was just going to say that. Try scaling back to k 4.4.0-23 or what have you.
    Thanks for the suggestion. It works (so far) with 4.4.0-22.

    Will keep an eye and if the issue comes back I will update this thread.

    If you don't hear back from me, that is only good news (or lack of updated drivers).

  6. #6
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Re: Issue booting with nVidia proprietary driver

    Due to one program running really slow, yesterday I realised that I was not using the Nvidia card, but the Intel one.

    So, switched the active graphics card, restarted, and the system does no longer boot correctly; it keeps retrying to initialise the graphics mode. Only after I uninstalled the proprietary driver did the system boot again (using the Nouveau driver, so faster than using the Intel card, but slower than in Windows).

    Going back to kernel 4.4.0 may have only worked because I was actually not using the Nvidia card (which works perfectly in Windows).

    I would love some assistance to be able to debug the issue.

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Issue booting with nVidia proprietary driver

    adlerhn; Hello;

    I would love some assistance to be able to debug the issue.
    Bunches I do not know about the graphic's interfacing; but we can at least look at the basics and see if we can determine what is not going on here.

    Back to the basics at square one;

    What is the hardware we are working with :
    Code:
    lspci -k | grep -EA2 'VGA|3D'
    What does the system think for installed modules ( drivers) :
    Code:
    dpkg -l | grep -i nvidia
    lsmod | grep nvidia
    sudo find / -name "NVIDIA-Linux-*"
    And /// what is the state of the GUI (X) :
    Code:
    cat /var/log/Xorg.0.log
    cat /var/log/gpu-manager.log
    With the idea of purging the present drivers, and installing the recommended driver.

    we can do that
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Re: Issue booting with nVidia proprietary driver

    Thanks for your response.

    With the Nvidia proprietary driver uninstalled:

    $ lspci -k | grep -EA2 'VGA|3D'
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
    Subsystem: Dell 4th Gen Core Processor Integrated Graphics Controller
    Kernel driver in use: i915
    --
    02:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev a1)
    Subsystem: Dell GK107M [GeForce GT 750M]
    Kernel driver in use: nouveau
    $ dpkg -l | grep -i nvidia
    ii bbswitch-dkms 0.8-3ubuntu1 amd64 Interface for toggling the power on NVIDIA Optimus video cards
    rc nvidia-367 367.27-0ubuntu0~gpu16.04.1 amd64 NVIDIA binary driver - version 367.27
    rc nvidia-opencl-icd-367 367.27-0ubuntu0~gpu16.04.1 amd64 NVIDIA OpenCL ICD
    ii nvidia-prime 0.8.2 amd64 Tools to enable NVIDIA's Prime
    ii nvidia-settings 367.18-0ubuntu0~gpu16.04.1 amd64 Tool for configuring the NVIDIA graphics driver
    I have uninstalled those packages, just in case, and now the command returns empty.

    $ lsmod | grep nvidia
    $ sudo find / -name "NVIDIA-Linux-*"

    These two return empty as well.

    Xorg.0.log and gpu-manager.log with the nouveau driver installed: <deleted>

    In this state (minus the nvidia packages I just uninstalled), I have installed the nvidia-367 package. After a restart, I get a text-mode black screen asking me to log in. Logging in and manually running startx does not boot the system (startx gets hung).

    Xorg.0.log and gpu-manager.log with the nvidia driver installed (black screen on boot): <deleted>
    Last edited by adlerhn; July 9th, 2016 at 10:10 AM. Reason: Deleted incorrect log files

  9. #9
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Issue booting with nVidia proprietary driver

    adlerhn; Sorry;

    I run a minimal install on this my work station, I have no ready means in this install to cope with a zip file.
    Maybe paste them here directly or in a pastebin site ??

    Running the terminal command 'startx' is only applicable in certain Desktop Environments, Possible now that the ownership rights in your own /home are changed .
    What returns:
    Code:
    ls -al /home/adlerhn
    in respect to the .Xauthority and .ICEauthority files ; do you still own them ? Otherwise, you do not have the authority to start a GUI.

    Maybe yes ?
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  10. #10
    Join Date
    Feb 2008
    Beans
    52
    Distro
    Ubuntu

    Re: Issue booting with nVidia proprietary driver

    .ICEauthority is owned by my own user, but .Xauthority is owned by root. Should I change that? Right now I am logging in fine (using nouveau, though).

    The pastebins:

    With nouveau:
    http://pastebin.com/FN7FXsFb
    http://pastebin.com/iDuL5a8G

    With the nvidia driver:
    http://pastebin.com/KjcjsFA8
    http://pastebin.com/HJ4miP47

Page 1 of 2 12 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
  •