Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: GUI broken due to failed NVidia driver installation

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,540
    Blog Entries
    15

    Default Re: GUI broken due to failed NVidia driver installation

    On Tue 22 May 2018 10:56:03 PM CDT, N1GHTS wrote:

    malcolmlewis;2866238 Wrote:
    > Can you disable the nvidia or intel gpu in the BIOS?


    No, I checked.

    malcolmlewis;2866238 Wrote:
    >
    > Well you should just remove the Bumblebee stuff and make sure there is
    > no nouveau.conf file in /etc/modprobe.d that blacklists the nouveau
    > driver and run the mkinitrd command and see how it goes.


    Before doing that, since Xorg starts up fine (which is why I see a mouse
    cursor that I can move around with my mouse), what procedure can I use
    to find out why Plasma shell is not starting up? Is there a log
    somewhere that might give me a clue as to why it's not showing me any
    interface?

    In other words I don't think the graphics driver failed. What might you
    recommend other than giving up?


    Hi
    Hopefully a Plasma user can offer some pointers, I'm a GNOME user....

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SLES 15 RC4 | GNOME Shell 3.26.2 | 4.12.14-18-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  2. #12
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    388

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by N1GHTS View Post
    ... In other words I don't think the graphics driver failed.
    There are two graphic cards in your system. It is important to know which one is in use.

    When your system has completed startup and you are logged in (no plasma shell but moving mouse cursor) can you then switch to a console (Ctrl+Alt+F2)?

    If so please login and post the result of the following commands:
    Code:
    > lsmod | grep -e i915 nouveau nvidia
    Code:
    > systemctl status bumblebeed
    Code:
    >systemctl status dkms
    Code:
    > cat /etc/modprobe.d/50-blacklist.conf | grep nouveau
    Regards

    susejunky

  3. #13

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by susejunky View Post
    There are two graphic cards in your system. It is important to know which one is in use.

    When your system has completed startup and you are logged in (no plasma shell but moving mouse cursor) can you then switch to a console (Ctrl+Alt+F2)?
    Yes I can. And thank you so much for your help!

    Code:
    > lsmod | grep -e i915 nouveau nvidia
    grep: nouveau: No such file or directory
    grep: nvidia: No such file or directory
    
    > systemctl status bumblebeed
    ● bumblebeed.service - Bumblebee C Daemon
       Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
       Active: active (running) since Wed 2018-05-23 13:30:47 EDT; 5min ago
     Main PID: 1406 (bumblebeed)
        Tasks: 1 (limit: 512)
       CGroup: /system.slice/bumblebeed.service
               └─1406 /usr/sbin/bumblebeed
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    
    > systemctl status dkms
    ● dkms.service - Builds and install new kernel modules through DKMS
       Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; vendor preset: disabled)
       Active: active (exited) since Wed 2018-05-23 13:30:47 EDT; 6min ago
         Docs: man:dkms(8)
      Process: 1084 ExecStart=/bin/sh -c dkms autoinstall --verbose --kernelver $(uname -r) (code=exited, status=0/SUCCESS)
     Main PID: 1084 (code=exited, status=0/SUCCESS)
        Tasks: 0 (limit: 512)
       CGroup: /system.slice/dkms.service
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    
    > cat /etc/modprobe.d/50-blacklist.conf | grep nouveau
    blacklist nouveau
    I eagerly look forward to your next suggestions! Thank you so much!

  4. #14
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    388

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by N1GHTS View Post
    ...
    Code:
    > lsmod | grep -e i915 nouveau nvidia
    grep: nouveau: No such file or directory
    grep: nvidia: No such file or directory
    Sorry! I made a mistake. That should have been
    Code:
    > lsmod | grep -e i915 -e nouveau -e nvidia
    so could you please post the result of the revised command.

    Quote Originally Posted by N1GHTS View Post
    ...
    Code:
    > systemctl status bumblebeed
    ● bumblebeed.service - Bumblebee C Daemon
       Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
       Active: active (running) since Wed 2018-05-23 13:30:47 EDT; 5min ago
     Main PID: 1406 (bumblebeed)
        Tasks: 1 (limit: 512)
       CGroup: /system.slice/bumblebeed.service
               └─1406 /usr/sbin/bumblebeed
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    
    > systemctl status dkms
    ● dkms.service - Builds and install new kernel modules through DKMS
       Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; vendor preset: disabled)
       Active: active (exited) since Wed 2018-05-23 13:30:47 EDT; 6min ago
         Docs: man:dkms(8)
      Process: 1084 ExecStart=/bin/sh -c dkms autoinstall --verbose --kernelver $(uname -r) (code=exited, status=0/SUCCESS)
     Main PID: 1084 (code=exited, status=0/SUCCESS)
        Tasks: 0 (limit: 512)
       CGroup: /system.slice/dkms.service
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    
    > cat /etc/modprobe.d/50-blacklist.conf | grep nouveau
    blacklist nouveau
    This looks like bumblebee is installed and running on your system. I use bumblebee as well but with the nouveau driver and not the nvidia driver.

    From your posts i think you installed the NVIDIA driver from the NVIDIA website. Is that correct?

    Where did you install bumblebee from?

    Could you please post the result of
    Code:
    > zypper lr -uEP
    and
    Code:
    > zypper se -si bumblebee
    Regards

    susejunky

  5. #15

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by susejunky View Post
    ...could you please post the result of the revised command.
    Code:
    > lsmod | grep -e i915 -e nouveau -e nvidia
    nvidia_modeset       1110016  0 
    nvidia              14368768  1 nvidia_modeset
    ipmi_msghandler        53248  1 nvidia
    i915                 1396736  3 
    i2c_algo_bit           16384  1 i915
    drm_kms_helper        167936  1 i915
    drm                   397312  4 i915,drm_kms_helper
    video                  40960  2 i915,dell_wmi
    button                 16384  1 i915
    Quote Originally Posted by susejunky View Post
    This looks like bumblebee is installed and running on your system. I use bumblebee as well but with the nouveau driver and not the nvidia driver.
    Then perhaps this effort will benefit both of us.

    Quote Originally Posted by susejunky View Post
    From your posts i think you installed the NVIDIA driver from the NVIDIA website. Is that correct?
    Yes. The following is the command I used to install the proprietary NVidia drivers.

    Code:
    > sudo ~/Downloads/NVIDIA-Linux-x86_64-390.59.run
    Quote Originally Posted by susejunky View Post
    Where did you install bumblebee from?
    My home folder, though since I ran "sudo" it's irrelevant where I installed it from.

    Code:
    > sudo zypper in bumblebee bbswitch
    I followed these instructions

    Quote Originally Posted by susejunky View Post
    Could you please post the result of
    Code:
    > zypper lr -uEP
    and
    Code:
    > zypper se -si bumblebee
    Code:
    > zypper lr -uEP
    #  | Alias               | Name                              | Enabled | GPG Check | Refresh | Priority | URI                                                              
    ---+---------------------+-----------------------------------+---------+-----------+---------+----------+------------------------------------------------------------------
     6 | repo-non-oss        | openSUSE-Leap-42.3-Non-Oss        | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/
     7 | repo-oss            | openSUSE-Leap-42.3-Oss            | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/distribution/leap/42.3/repo/oss/    
    10 | repo-update         | openSUSE-Leap-42.3-Update         | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/42.3/oss/               
    11 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | http://download.opensuse.org/update/leap/42.3/non-oss/
    
    > zypper se -si bumblebee
    Repository 'openSUSE-Leap-42.3-Update' is out-of-date. You can run 'zypper refresh' as root to update it.
    Loading repository data...
    Reading installed packages...
    
    S  | Name      | Type    | Version     | Arch   | Repository            
    ---+-----------+---------+-------------+--------+-----------------------
    i+ | bumblebee | package | 3.2.1-13.18 | x86_64 | openSUSE-Leap-42.3-Oss

  6. #16
    Join Date
    Sep 2012
    Posts
    5,279

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by N1GHTS View Post
    Code:
    > sudo ~/Downloads/NVIDIA-Linux-x86_64-390.59.run
    Code:
    > sudo zypper in bumblebee bbswitch
    That is very unlikely to work. nVidia installer replaces original Xorg modules with nVidia specific ones while bumblebee expects nVidia specific modules to be installed in another location and used only on-demand, by telling started Xorg instance to look for these modules in non-standard place.

  7. #17
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    388

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by N1GHTS View Post
    ... My home folder, though since I ran "sudo" it's irrelevant where I installed it from.
    Sorry! English is not my mother tongue so i probably phrased my question not correctly. All i wanted to know was which respository you used to install bumblebee from (there are at least four possibilities i know of).

    Judging by the results you posted (of both "zypper" commands) i would say you are using bumblebee from the openSUSE 42.3 OSS repository (the same i use).

    Quote Originally Posted by N1GHTS View Post
    Well, that is not the whole truth: You did NOT install the NVIDIA driver as described here https://en.opensuse.org/SDB:NVIDIA_d...NVIDIA_drivers Instead you installed the NVIDIA driver from the NVIDIA website (as described here https://en.opensuse.org/SDB:NVIDIA_the_hard_way).

    I do not use the NVIDIA driver so i don't know if your deviation is the cause for your problem. However here a few things i came across when i searched the web (roughly a year ago) when i had to deal with bumblebee the very first time in my life:

    • It was said that - in case the NVIDIA driver is used - the user who wants to use bumblebee must belong to the "video" group (and the "bumblebee" group). It might be worth checking your user and adding him to the "video" group.
    • It was highly recommended to use the NVIDIA drivers provided by the bumblebee project and NOT to use NVIDIAs original driver (the N*.run file). There were two reasons mentioned why one should do so:


    1. This driver is automaticly rebuild (=> dkms) when the kernel was updated.
    2. This driver is "adapted" to better fit in with bumblebee.


    BUT REMEMBER: I did not verify any of this. I do not use the NVIDIA driver.

    The easiest way to get a working system may indeed be a fresh installation of openSUSE. If i recall correctly openSUSE 15.0 will be released tomorrow. So you could go for the latest version.

    The more challeging way is to uninstall the NVIDIA driver (the N*.run file) and to make sure that all the changes made by the two installation procedures (https://en.opensuse.org/SDB:NVIDIA_Bumblebee and https://en.opensuse.org/SDB:NVIDIA_the_hard_way) you have been following will be undone.

    Afterwards you can install the NVIDIA driver (NOT the N*.run file but the one from the repository) again.

    Regards

    susejunky

  8. #18
    Join Date
    Sep 2012
    Posts
    5,279

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by susejunky View Post
    • It was highly recommended to use the NVIDIA drivers provided by the bumblebee project and NOT to use NVIDIAs original driver (the N*.run file). There were two reasons mentioned why one should do so:


    1. This driver is automaticly rebuild (=> dkms) when the kernel was updated.


    nVidia drivers support DKMS just fine.
    This driver is "adapted" to better fit in with bumblebee.
    That's correct. Although it is not "better fit" - you cannot use iGPU with stock nVidia drivers at all (at least, if you want to use OpenGL which is almost mandatory for today's desktop environments).

  9. #19
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: GUI broken due to failed NVidia driver installation

    I don't understand why you used the run driver when there is a perfectly good rpm driver offered from nvidia which gets auto updated when ever the kernel is updated
    with every kernel update (Leap does get kernel updates) you have to manually reinstall the run driver or the GUI will break
    my recommendation is remove the run driver and install the appropriate rpm driver from nvidia
    Code:
    sudo ~/Downloads/NVIDIA-Linux-x86_64-390.59.run --uninstall
    sudo zypper ar -f http://http.download.nvidia.com/opensuse/leap/42.3/ nvidia
    sudo zypper inr
    if zypper inr does not install the nvidia driver (it should pull the appropriate driver for your hardware) pull it manually
    Code:
    zypper in x11-video-nvidiaG04
    reboot
    and that's it

  10. #20
    Join Date
    Sep 2014
    Location
    Germany
    Posts
    388

    Default Re: GUI broken due to failed NVidia driver installation

    Quote Originally Posted by arvidjaar View Post
    ... nVidia drivers support DKMS just fine.
    Ooops!

    I did not know that the N*.run NVIDIA driver (the one i was talking about and that the OP used for installation) did make use of DKMS.

    Sorry for providing incorrect information!

    (But as i said: i never used any NVIDIA driver nor did i verify the information i cited.)

    Regards

    susejunky

Page 2 of 2 FirstFirst 12

Posting Permissions

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