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

Thread: nVidia problems again

  1. #1
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,269

    Default nVidia problems again

    Started after a clean 42.1 installation from DVD.


    1.Logged in as user to a Plasma5 session. Result - Black screen. No CTL-ALT-Fx screens available. Had to power down.
    2.Edited grub on boot-up to include "nomodeset". Result - Got a 640 x 480 KDE to work with. Opened Yast and found that the grub setting for Vga was "Unspecified. Set that to something lower that what my monitor will do to be safe, set to 1024 x 768.
    3.Rebooted. User login screen froze before I could log in. This time the screen turned white with waves. Same for CTL-ALT-Fx. Had to power down.
    4.Searched on the internet for "opensuse leap 42.1 nvidia graphics" and got to SDB:NVIDIA drivers page.
    5.Rebooted with grub modified to stop at level 3 console start. Graphical Yast is hard to work with at 640 x 480. Logged in as root and invoked yast.
    6.Followed instruction 1 - 4 in the "Recommended Procedure" section. But I could not follow the next instruction, "Click Extras in the top bar, then click Install All Matching Recommended Packages", because ther was no "Extras" in the top bar. So I invoked "zypper inr".
    7 Rebooted. Result - Back to the black screen


    This is a GeForce 7025/630A. Now I've been down this road before with another box and a different Nvidia model. I spent a lot of time doing it the "hard way" only to have it fail at the very end of the compile process. With several recommended drivers from nVidia. Is there a simple way I can revert to a nouveau driver that works? If not what do I have to remove to do it the "hard way". By the way if I stick the old drive back in the box it runs 13.2 perfectly.


    Thanks for any advice.

  2. #2

    Default Re: nVidia problems again

    As you should know (because of a similar thread of yours recently), the G02 nvidia driver (304.132) is broken currently.
    Download the older 304.131 from nvidia's homepage and install it the hard way, that one should work.

    Here's the bug report btw:
    http://bugzilla.opensuse.org/show_bug.cgi?id=1003918

    nividia is aware of the problem (it's caused by a security fix in the latest version)...

  3. #3

    Default Re: nVidia problems again

    PS:
    Quote Originally Posted by ionmich View Post
    I spent a lot of time doing it the "hard way" only to have it fail at the very end of the compile process.
    What error?
    Do you have kernel-devel and kernel-default-devel installed?

    Is there a simple way I can revert to a nouveau driver that works?
    Uninstall the nvidia packages and nouveau will be used.
    Whether it works or not is a different story though.

    Adding "nomodeset" to the boot options disables nouveau and should give you a graphical system in any case, with a generic driver.

    If not what do I have to remove to do it the "hard way".
    "nvidia-installer --uninstall"

  4. #4
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,269

    Default Re: nVidia problems again

    Quote Originally Posted by wolfi323 View Post
    As you should know (because of a similar thread of yours recently), the G02 nvidia driver (304.132) is broken currently.
    Download the older 304.131 from nvidia's homepage and install it the hard way, that one should work.

    Here's the bug report btw:
    http://bugzilla.opensuse.org/show_bug.cgi?id=1003918

    nividia is aware of the problem (it's caused by a security fix in the latest version)...

    Yes you are right, I should know. I did try to find that link. Started again.


    1.Booted to level 3. Logged in as root and followed the "hard way" instructions on the SDB:NVIDIA drivers page.
    2.Invoked zypper install -t pattern devel_C_C++ devel_kernel
    3.Downloaded the NVIDIA binary driver (304.131)
    4.Ran the *.run file. It complained about nouveau and aborted.
    5.Edited the /etc/modprobe.d/50-blacklist.conf to include "blacklist nouveau".
    6.Ran mkinitrd and then rebooted to level 3.
    7.Ran the *.run file. It crashed and the log file is below.

    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sat Nov 19 18:14:51 2016
    installer version: 304.131
    
    
    PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
    
    
    nvidia-installer command line:
        ./nvidia-installer
    
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 304.131.
    -> Running distribution scripts
       executing: '/usr/lib/nvidia/pre-install'...
       grep: /etc/sysconfig/kernel: No such file or directory
    -> done.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    ERROR: Neither the '/usr/src/linux/include/linux/version.h' nor the '/usr/src/linux/include/generated/uapi/linux/version.h' kernel header file exists.  The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured.

  5. #5

    Default Re: nVidia problems again

    Quote Originally Posted by ionmich View Post
    ERROR: Neither the '/usr/src/linux/include/linux/version.h' nor the '/usr/src/linux/include/generated/uapi/linux/version.h' kernel header file exists. The most likely reason for this is that the kernel source files in '/usr/src/linux' have not been configured.
    Hm, somebody else had the same problem recently.

    What does "ls -l /usr/src" say?

    Probably creating a symlink will help:
    Code:
    sudo ln -s /usr/src/linux/version.h /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h
    (if you are not using the latest 42.1 kernel, you'd need to adapt the path accordingly)

    Although that shouldn't be necessary normally. (unless you ran "make cloneconfig" or similar inside /usr/src/linux/ already...)
    Last edited by wolfi323; 19-Nov-2016 at 18:15.

  6. #6
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,269

    Default Re: nVidia problems again

    Quote Originally Posted by wolfi323 View Post
    Hm, somebody else had the same problem recently.

    What does "ls -l /usr/src" say?

    Probably creating a symlink will help:
    Code:
    sudo ln -s /usr/src/linux/version.h /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h
    (if you are not using the latest 42.1 kernel, you'd need to adapt the path accordingly)

    Although that shouldn't be necessary normally. (unless you ran "make cloneconfig" or similar inside /usr/src/linux/ already...)
    ls -l /usr/src returns

    Code:
    total 16lrwxrwxrwx  1 root root   15 Nov 19 17:46 linux -> linux-4.1.34-33
    drwxr-xr-x 23 root root 4096 Nov 19 17:47 linux-4.1.34-33
    drwxr-xr-x  3 root root 4096 Oct 20 06:52 linux-4.1.34-33-obj
    drwxr-xr-x  3 root root 4096 Oct 20 06:52 linux-obj
    drwxr-xr-x  8 root root 4096 Oct 29  2015 packages
    and sudo ln -s /usr/src/linux/version.h /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h returns

    Code:
    ln: failed to create symbolic link ‘/lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h’: File exists

  7. #7

    Default Re: nVidia problems again

    Quote Originally Posted by ionmich View Post
    ls -l /usr/src returns

    Code:
    total 16lrwxrwxrwx  1 root root   15 Nov 19 17:46 linux -> linux-4.1.34-33
    drwxr-xr-x 23 root root 4096 Nov 19 17:47 linux-4.1.34-33
    drwxr-xr-x  3 root root 4096 Oct 20 06:52 linux-4.1.34-33-obj
    drwxr-xr-x  3 root root 4096 Oct 20 06:52 linux-obj
    drwxr-xr-x  8 root root 4096 Oct 29  2015 packages
    Hm, looks ok actually.
    Though I'm not sure at the moment whether linux-obj shouldn't rather be a symlink too.
    Maybe not though.

    and sudo ln -s /usr/src/linux/version.h /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h returns

    Code:
    ln: failed to create symbolic link ‘/lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h’: File exists
    It's the other way round:
    Code:
    sudo ln -s /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h /usr/src/linux/version.h
    Sigh, I always mix that up...

  8. #8
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,269

    Default Re: nVidia problems again

    Quote Originally Posted by wolfi323 View Post
    Hm, looks ok actually.
    Though I'm not sure at the moment whether linux-obj shouldn't rather be a symlink too.
    Maybe not though.


    It's the other way round:
    Code:
    sudo ln -s /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h /usr/src/linux/version.h
    Sigh, I always mix that up...
    We all make mistakes. Look at me. Anyway I've been on this for too long today, especially since my connection to the repositories has been incredibly slow, so I'll let you know what happened tomorrow.

  9. #9
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,269

    Default Re: nVidia problems again

    Quote Originally Posted by wolfi323 View Post
    It's the other way round:
    Code:
    sudo ln -s /lib/modules/4.1.34-33-default/build/include/generated/uapi/linux/version.h /usr/src/linux/version.h
    Sigh, I always mix that up...
    Yes, it works now. My only remaining problem is that I can't set the resolution from my Desktop Settings. It only assumes "Default". So I set 1280 x 1024 in the grub boot parameters with YaST, and I got a 1280 x 1024 desktop. Other nVidia installations included an nVidia utility that set other parameters, and I don't seem to have that.

    Many thanks for all the dedicated help. I'm almost at my road's end.

  10. #10
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,521

    Default Re: nVidia problems again

    nvidia-sttings

    Should be there if you installed nvidia driver

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