Announcement

Collapse
No announcement yet.

Unable to install nvidia drivers - please help...

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to install nvidia drivers - please help...

    Hello,
    My system used to run very well, 3D graphics and all. I don't know what happened, but one day when I tried to start a game via Wine, it didn't start, complaining about pixel format. After some research, I realized that the video card isn't properly configured/recognized.
    If I use the open source drivers, it works - but performance is really bad.
    Here are the symptoms if I try to use nvidia drivers.
    If I open the GUI nvidia-settings, I get an empty page. No configurations at all.
    If I run "nvidia-detector", it replies "none".
    If I type "glxinfo" it replies:
    Code:
    cristian@cristian-desktop:~$ glxinfo 
    name of display: :0
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Error: couldn't find RGB GLX visual or fbconfig
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Error: couldn't find RGB GLX visual or fbconfig
    
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Xlib:  extension "GLX" missing on display ":0".
    Here's the relevant section of lspci:
    Code:
    02:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)
    I tried to reinstall the package "nvidia-current" and it apparently succeeded, but on reboot it still doesn't work.
    Can anyone assist me with this? I'm currently unable to run any 3D programs, including one that I badly need for work...

    Thanks in advance,
    Cristian

    #2
    I have nvidia as well and it's been the biggest pain especially in kubuntu. You can add the xswat ppa from launchpad which helped me some. I believe when you add this ppa it will blacklist the nouveau driver and then start to use nvidia.
    Alienware 17 R2
    ​ 8 × Intel® Core™ i7-4720HQ CPU @ 2.60GHz
    ​ with Kubuntu 23.10
    Nvidia Graphics
    16 Ram
    Close Windows and open the world!!

    Comment


      #3
      Originally posted by eddieg538 View Post
      You can add the xswat ppa from launchpad which helped me some.
      I added that ppa, but after an apt-get update && apt-get upgrade, only Chromium was upgraded...

      Comment


        #4
        what dose
        Code:
        lspci -k
        say the kernel driver in use for the VGA device is ?

        have you tried going to system settings>driver manager and seeing if it offers you one ?

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          I was going to suggest what vinnywright has. The driver manager will install the driver and disable nouveau. Use the recommended one.
          Alienware 17 R2
          ​ 8 × Intel® Core™ i7-4720HQ CPU @ 2.60GHz
          ​ with Kubuntu 23.10
          Nvidia Graphics
          16 Ram
          Close Windows and open the world!!

          Comment


            #6
            Originally posted by eddieg538 View Post
            The driver manager will install the driver and disable nouveau. Use the recommended one.
            I did that, several times... If I try to enable it, upon rebooting, it still doesn't work. That's when glxinfo says
            Code:
            cristian@cristian-desktop:~$ glxinfo 
            name of display: :0
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Error: couldn't find RGB GLX visual or fbconfig
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            Xlib:  extension "GLX" missing on display ":0".
            cristian@cristian-desktop:~$
            If I try to use nouveau, everything works but extra slow. If I try to use the recommended nvidia drivers, then the drivers don't "see" the card as being an nvidia.
            By the way, yesterday night I upgraded to the 14.10 beta, hoping a reinstall would fix it, but I get the same problem.

            The output of lspci -k is this:

            Code:
            cristian@cristian-desktop:~$ lspci -k
            00:00.0 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
            00:01.0 ISA bridge: NVIDIA Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
            00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: nForce2_smbus
            00:01.2 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
            00:01.3 Co-processor: NVIDIA Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
            00:01.4 RAM memory: NVIDIA Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
            00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: ohci-pci
            00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: ehci-pci
            00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: ohci-pci
            00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: ehci-pci
            00:06.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] IDE (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: pata_amd
            00:07.0 Audio device: NVIDIA Corporation MCP72XE/MCP72P/MCP78U/MCP78S High Definition Audio (rev a1)
                    Subsystem: ASUSTeK Computer Inc. M3N72-D
                    Kernel driver in use: snd_hda_intel
            00:08.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
            00:09.0 IDE interface: NVIDIA Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)
                    Subsystem: ASUSTeK Computer Inc. Device 82e8
                    Kernel driver in use: ahci
            00:10.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
                    Kernel driver in use: pcieport
            00:12.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
                    Kernel driver in use: pcieport
            00:13.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
                    Kernel driver in use: pcieport
            00:14.0 PCI bridge: NVIDIA Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
                    Kernel driver in use: pcieport
            00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
            00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
            00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
            00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
            00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
            01:0a.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
                    Subsystem: ASUSTeK Computer Inc. LSI FW322/323 IEEE 1394a FireWire Controller
                    Kernel driver in use: firewire_ohci
            [b]02:00.0 VGA compatible controller: NVIDIA Corporation GF106 [GeForce GTS 450] (rev a1)
                    Subsystem: Device 196e:085a[/b]
            02:00.1 Audio device: NVIDIA Corporation GF106 High Definition Audio Controller (rev a1)
                    Subsystem: Device 196e:085a
                    Kernel driver in use: snd_hda_intel
            05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
                    Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
                    Kernel driver in use: r8169
            so apparently the kernel does see the video card.
            But nvidia-detector still reports this:

            Code:
            cristian@cristian-desktop:~$ nvidia-detector 
            none
            cristian@cristian-desktop:~$
            And the nvidia settings GUI software still shows nothing. And of course, opengl programs refuse to start.

            Comment


              #7
              maybe try purging any nvidia drivers before installing new ones, just a thought,
              it looks like it's an nvidia issue rather than system?

              good luck
              K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

              Comment


                #8
                Originally posted by millusions View Post
                maybe try purging any nvidia drivers before installing new ones, just a thought,
                it looks like it's an nvidia issue rather than system?
                I tried that several times... I did this:
                Code:
                cristian@cristian-desktop:~$ sudo apt-get remove --purge nvidia*
                Reading package lists... Done
                Building dependency tree       
                Reading state information... Done
                [...]
                The following packages will be REMOVED:
                  nvidia-304* nvidia-319* nvidia-331* nvidia-331-updates* nvidia-libopencl1-304* nvidia-libopencl1-331* nvidia-libopencl1-331-updates* nvidia-opencl-icd-304* nvidia-opencl-icd-331*
                  nvidia-opencl-icd-331-updates* nvidia-prime* nvidia-settings*
                0 upgraded, 0 newly installed, 12 to remove and 1 not upgraded.
                After this operation, 212 MB disk space will be freed.
                Do you want to continue? [Y/n]
                After rebooting, the system would use the nouveau driver; but upon reinstalling the nvidia drivers, I still got the same problem.

                Comment


                  #9
                  i think you need to run nvidia-xconfig to create xorg.conf (with root privilages)

                  im not entirely sure, had some issues similar to yours on a suse install recently and that command fixed it,
                  then again new xorg runs without xorg.conf? something i havent really looked at closely so gray haze here
                  K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

                  Comment


                    #10
                    forgot to say,
                    you need to restart X after that command
                    K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

                    Comment


                      #11
                      What's the terminal output of

                      dkms status

                      and

                      uname -r

                      Please Read Me

                      Comment


                        #12
                        So... here's what I did:
                        - Selected the noveau drivers
                        - Rebooted
                        - Uninstalled the nvidia drivers with apt-get remove --purge nvidia*
                        - rebooted
                        - reinstalled the recommended nvidia drivers
                        - rebooted...

                        and the desktop wouldn't load, it dropped me to the shell.
                        From there, a startx would fail with
                        Code:
                        [...]
                        Loading extension GLX
                        modprobe: ERROR: ../libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_304'
                        modprobe: ERROR: could not insert 'nvidia_304': Function not implemented
                        modprobe: ERROR: ../libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_304'
                        modprobe: ERROR: could not insert 'nvidia_304': Function not implemented
                        What's the terminal output of

                        dkms status

                        and

                        uname -r

                        With the noveau drivers in use:
                        Code:
                        cristian@cristian-desktop:~$ uname -r
                        3.11.0-15-generic
                        cristian@cristian-desktop:~$ dkms status
                        virtualbox, 4.3.14: added
                        cristian@cristian-desktop:~$
                        With the nvidia drivers installed (but not working):

                        Code:
                        cristian@cristian-desktop:~$ uname -r
                        3.11.0-15-generic
                        cristian@cristian-desktop:~$ dkms status
                        nvidia-304, 304.123: added
                        virtualbox, 4.3.14: added
                        cristian@cristian-desktop:~$
                        I also tried nvidia-modprobe:

                        Code:
                        modprobe: ERROR: ../libkmod-module.c:816 kmod_module_insert_module() could not find module by name='nvidia_304'
                        modprobe: ERROR: could not insert 'nvidia_304': Function not implemented

                        Comment


                          #13
                          dkms needs to report "installed" for them to work. Try this and report:

                          sudo apt-get install linux-headers-$(uname -r)

                          Please Read Me

                          Comment


                            #14
                            Originally posted by oshunluvr View Post
                            dkms needs to report "installed" for them to work. Try this and report:

                            sudo apt-get install linux-headers-$(uname -r)
                            Uh... tried that, but...

                            Code:
                            cristian@cristian-desktop:~$ sudo apt-get install linux-headers-$(uname -r) 
                            Reading package lists... Done
                            Building dependency tree       
                            Reading state information... Done
                            Package linux-headers-3.11.0-15-generic is not available, but is referred to by another package.
                            This may mean that the package is missing, has been obsoleted, or
                            is only available from another source
                            
                            E: Package 'linux-headers-3.11.0-15-generic' has no installation candidate

                            Comment


                              #15
                              Well, I'm not sure what's going on with your system but you can't install nvidia drivers or virtualbox drivers without dkms and the kernel headers.

                              Also, your kernel is old. Have you done a full system update?

                              Please Read Me

                              Comment

                              Working...
                              X