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

Thread: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

  1. #1

    Default openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    I was wondering if anybody could help me with my issue. I'm pretty new with openSUSE and Linux in general, so go easy on me if you can help it.

    I am running a dual-boot openSUSE 13.1 / Windows 7 desktop, but each OS is under its own hard drive. Installation of openSUSE went without incident, and so far I hadn't had any driver problems (nouveau worked fine for what I needed them). I've tried a few times to install NVIDIA proprietary drivers, but every time I install them openSUSE boots to a black screen. Most people that posted this issue online have this problem right after the OS install, so their problem usually is a wrong driver, which I don't think it applies here.

    Anyway, in short:

    OS: OpenSUSE 13.1, KDE (Windows 7 on a separate hard drive)
    GFX: GeForce GTX 670
    Display: 27" monitor connected via DVI-D cable
    Any other info just ask

    Reproduction: I installed the drivers following the instrucctions at http://en.opensuse.org/SDB:NVIDIA_drivers (the repository way). Tried first with x11-video-nvidiaG02, then uninstalled those and tried again with x11-video-nvidiaG03 (currently installed). Both are supposedly supported for my video card.

    The Problem: after boot, there's the briefest glimpse of the usual KDE desktop background and then a black screen. Ctrl-Alt-F2 and Ctrl-Alt-F1 still return a black screen, but I can input commands blindly (such as reboot) and they work. Rebooting in recovery mode does work, however. That's how I'm posting this plea for help.


    This is what the command /sbin/lspci -nnk | grep VGA -A2 returns:
    Code:
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 670] [10de:1189] (rev a1)
            Subsystem: Gigabyte Technology Co., Ltd Device [1458:355a]
            Kernel modules: nvidiafb, nouveau
    xrandr output:

    Code:
    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
    default connected primary 1920x1080+0+0 0mm x 0mm
       1920x1080      77.0*

    This is the paste of the contents of /etc/X11/xorg.conf. Not sure if it is helpful, but just in case...

    http://pastebin.com/rJ4TGppX


    Screencap of YAST Software Manager installed NVIDIA packages:

    http://i.imgur.com/x6XXLH7.png


    Return of sudo /usr/sbin/fdisk -l

    Code:
    Disk /dev/sda: 120.0 GB, 120034123776 bytes, 234441648 sectors                                                                       
    Units = sectors of 1 * 512 = 512 bytes                                                                                               
    Sector size (logical/physical): 512 bytes / 512 bytes                                                                                
    I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                    
    Disk label type: dos                                                                                                                 
    Disk identifier: 0x000c8930                                                                                                          
                                                                                                                                         
       Device Boot      Start         End      Blocks   Id  System                                                                       
    /dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT                                                              
    /dev/sda2   *      206848   234440703   117116928    f  W95 Ext'd (LBA)                                                              
    /dev/sda5          208896     4417535     2104320   82  Linux swap / Solaris                                                         
    /dev/sda6         4419584    46362623    20971520   83  Linux                                                                        
    /dev/sda7        46364672   234420223    94027776   83  Linux                                                                        
                                                                                                                                         
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors                                                                    
    Units = sectors of 1 * 512 = 512 bytes                                                                                               
    Sector size (logical/physical): 512 bytes / 512 bytes                                                                                
    I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                    
    Disk label type: dos                                                                                                                 
    Disk identifier: 0x4ef7db28                                                                                                          
                                                                                                                                         
       Device Boot      Start         End      Blocks   Id  System                                                                       
    /dev/sdb1   *        2048  1953521663   976759808    7  HPFS/NTFS/exFAT

    Thanks in advance for any help you can offer.

  2. #2

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    /var/log/Xorg.0.log

    http://pastebin.com/NBWFFfDk

  3. #3
    Join Date
    Jun 2008
    Location
    Düsseldorf/Germany
    Posts
    283

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Did you use the precompiled driver from the Nvidia Repo, or home-build?

    Did you see
    [ 7.911] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so: /usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context

    and follow
    http://lists.opensuse.org/opensuse-x.../msg00015.html
    (just a proposal where to start)

  4. #4

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Hi, I installed the precompiled version using the repository, as per instructions here: http://en.opensuse.org/SDB:NVIDIA_drivers

    As for the link you provided: I checked that all the packages in comment #7 were installed, and also followed the instructions in comment #8. Upon reboot I could not even get the graphical desktop to load, not even in recovery mode. I launched a text terminal (Control-Alt-F1) and uninstalled the nvidia drivers. Now I am able to get a graphical desktop and post this, but KDE is crashed so I'm still dealing with the aftermath.

    Any other ideas? I'm not sure my (initial) problem has to do with some obscure error, perhaps I am missing something simple in the driver install? A conflict with something else?

  5. #5

    Default AW: Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Quote Originally Posted by DocB View Post
    Did you use the precompiled driver from the Nvidia Repo, or home-build?

    Did you see
    [ 7.911] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so: /usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context

    and follow
    http://lists.opensuse.org/opensuse-x.../msg00015.html
    (just a proposal where to start)
    That error is normal when the nvidia driver is installed, and caused by the fact that the nvidia driver replaces certain libraries with its own version.
    But you can just ignore that message.

    Unfortunately the Xorg.0.log you posted is useless in error diagnosis, as that is from a recovery mode boot, i.e. the nvidia driver is not loaded.

    Do the following please:
    - Boot normally, until you get to the black screen.
    - then reboot to recovery mode, and post /var/log/Xorg.0.log.old, this is the log from the _previous_ boot, the failed one in that case.

    And please also post the output of:
    Code:
    rpm -qa | grep nvidia
    I suppose you still have both the G02 and the G03 driver installed.
    This cannot work, so you should remove all of them, and then only install exactly the following packages:
    nvidia-gfxG03-kmp-desktop, x11-video-nvidiaG03, nvidia-glG03, nvidia-computeG03

  6. #6

    Default Re: AW: Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Hey wolfi323, unfortunately by following the bugzilla link instructions I messed up more than one dependency and the install was seriously compromised. Let me get back to you later when I have finished reinstalling and updating everything.

    By the way...

    Quote Originally Posted by wolfi323 View Post
    I suppose you still have both the G02 and the G03 driver installed.
    This cannot work, so you should remove all of them, and then only install exactly the following packages:
    nvidia-gfxG03-kmp-desktop, x11-video-nvidiaG03, nvidia-glG03, nvidia-computeG03
    This is not the case. As I stated above, I uninstalled G02 before installing G03. However, because of what I said above, at this moment I am on a clean reinstall with nothing else but the nouveau driver installed.

    Thanks for the help, I'll follow your instructions and report back asap.

  7. #7

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Quote Originally Posted by davvelsan View Post
    This is not the case. As I stated above, I uninstalled G02 before installing G03.
    Ok, but did you uninstall every G02 package?

    Oh, and I noticed now, that you had nvidia-gfxG03-kmp-default installed (I missed your YaST screenshot before), but according to your Xorg.0.log you are using kernel-desktop. So you HAVE to install nvidia-gfxG03-kmp-desktop for the driver to work.

    Another note, you DO NOT need an /etc/X11/xorg.conf, the nvidia driver is automatically loaded when it is installed.
    Better do not run nvidia-xconfig.
    If /etc/X11/xorg.conf is present and specifies to load the nvidia driver, your system will not boot when you uninstall the driver.

  8. #8

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Okay, back to it.

    I reinstalled openSUSE and updated it. Then added the repo using the console, but installed the packages using Yast (curiously they were already marked for install when I searched for them).


    rpm -qa | grep nvidia output:
    Code:
    nvidia-computeG03-331.49-29.1.x86_64
    nvidia-gfxG03-kmp-desktop-331.49_k3.11.6_4-29.1.x86_64
    x11-video-nvidiaG03-331.49-29.1.x86_64
    nvidia-glG03-331.49-29.1.x86_64

    Yast packages look like this:
    http://i.imgur.com/uGEcrn5.png?1

    I'm gonna reboot now, wish me luck...

    Edit It works! Nice one man, I knew it had to be some stupid mistake I had made. Maybe like you said, I missed some packages when uninstalling, or perhaps the default driver instead of desktop. Likely a combination of **** ups.

  9. #9

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Well it worked once... no more. It seems I'm really stuck with this.

    Now I don't have a black screen, but it boots straight to a text console. Control + Alt + F7 shows a bunch of green OK'd entries, last one being:

    Starting ifup managed network interface emp5s0...

  10. #10

    Default Re: openSUSE 13.1 - boot to black screen after installing NVIDIA proprietary drivers

    Quote Originally Posted by davvelsan View Post
    Well it worked once... no more. It seems I'm really stuck with this.

    Now I don't have a black screen, but it boots straight to a text console. Control + Alt + F7 shows a bunch of green OK'd entries, last one being:

    Starting ifup managed network interface emp5s0...
    Do you get a login prompt in text mode? You might have to press ESC or Ctrl+Alt+F1 for that though.

    Is recovery mode still working?

    But if "Starting ifup managed network interface emp5s0..." is the last line, it doesn't even seem to try to start the graphical mode any more, but hangs apparently when trying to setup the network interface.
    In this case this would not be related to the nvidia driver at all then.

    Maybe it would continue to boot if you wait a while until the timeout occurs?
    Last edited by wolfi323; 16-Apr-2014 at 13:33.

Page 1 of 3 123 LastLast

Posting Permissions

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