Announcement

Collapse
No announcement yet.

Nvidia driver question

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

    Nvidia driver question

    I wanted to know what driver was being used I preceded to use the lspci -v command. What I saw confused me cause the driver on the Nvidia server settings is 435.21. than I look at the out out of the command above and it states

    Code:
    01:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1) (prog-if 00 [VGA controller])
         Subsystem: Gigabyte Technology Co., Ltd GP107 [GeForce GTX 1050 Ti]
         Flags: bus master, fast devsel, latency 0, IRQ 29
         Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
         Memory at c0000000 (64-bit, prefetchable) [size=256M]
         Memory at d0000000 (64-bit, prefetchable) [size=32M]
         I/O ports at e000 [size=128]
         [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
         Capabilities: [60] Power Management version 3
         Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
         Capabilities: [78] Express Legacy Endpoint, MSI 00
         Capabilities: [100] Virtual Channel
         Capabilities: [250] Latency Tolerance Reporting
         Capabilities: [128] Power Budgeting <?>
         Capabilities: [420] Advanced Error Reporting
         Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
         Kernel driver in use: nvidia
        [B] Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia[/B]
    How can it be still using the Nouveau driver and the 435.21? Am I reading this right? I had a big freeze up the other day with Firefox thats why I was looking at the GPU information.

    #2
    The "Kernel modules" reports the installed kernel modules that can handle the device, not which modules are currently loaded, as it says on the previous line: "Kernel driver in use: nvidia"

    You can check which modules are loaded with 'lsmod', 'lsmod | grep nvidia" should output the the nvidia modules and 'lsmod | grep nouveau' should output nothing (as the module is not loaded).

    Comment


      #3
      You're probably reading it wrong.
      Code:
      Kernel driver in use: nvidia
      Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia means they're installed, not in use.

      Try
      inxi -G
      That gives me:
      drivers: nvidia (unloaded: modesetting,fbdev,vesa,nouveau)
      Last edited by Don B. Cilly; Apr 12, 2020, 09:38 AM.

      Comment


        #4
        Okay I was looking at the wrong line. I do not think the drivers could both load anyway not to think of it.

        Code:
        main@main-testing:~$ lsmod | grep nvidia
        nvidia_uvm            876544  0
        nvidia_drm             49152  9
        nvidia_modeset       1122304  29 nvidia_drm
        nvidia              19517440  1670 nvidia_uvm,nvidia_modeset
        drm_kms_helper        180224  1 nvidia_drm
        drm                   491520  12 drm_kms_helper,nvidia_drm
        ipmi_msghandler       102400  2 ipmi_devintf,nvidia
        What could cause the system to freeze up than? I was using Firefox with 4 tabs open and 4GB ram. does not seem to do that otherwise. Is the best driver for 1050it the 435 or its there a older version that support the same card?
        Last edited by Guest; Apr 12, 2020, 10:51 AM. Reason: oops

        Comment


          #5
          I use some of the non-(Linux)traditional command line tools more often.

          Code:
          ubuntu-drivers devices
          == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
          modalias : pci:v000010DEd00000F02sv00000000sd00000000bc03sc00i00
          vendor   : NVIDIA Corporation
          model    : GF108 [GeForce GT 730]
          driver   : nvidia-driver-390 - third-party free recommended
          driver   : nvidia-340 - third-party free
          driver   : xserver-xorg-video-nouveau - distro free builtin
          and then to see what's actually there

          Code:
          inxi -G
          Graphics:  Card-1: Intel HD Graphics 530
                    Card-2: NVIDIA GF108 [GeForce GT 730]
                    Display Server: x11 (X.Org 1.20.5 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
                    Resolution: 1600x900@60.00hz
                    OpenGL: renderer: GeForce GT 730/PCIe/SSE2 version: 4.6.0 NVIDIA 390.132
          These show the same info as lsmod, lspci, etc. But are better organized and a bit more concise.
          The next brick house on the left
          Intel i7 11th Gen | 16GB | 1TB | KDE Plasma 5.24.7 | Kubuntu 22.04.4 | 6.5.0-18-generic

          Comment


            #6
            This output suggests that the driver 435.xx already in use is the correct driver. But the same is stated on the driver manager. I am not used to an auto install of a NVIDIA driver that was new to me. normally I have to change from the Nouveau to the Non free.

            Code:
            ubuntu-drivers devices
            == /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
            modalias : pci:v000010DEd00001C82sv00001458sd00003746bc03sc00i00
            vendor   : NVIDIA Corporation
            model    : GP107 [GeForce GTX 1050 Ti]
            driver   : nvidia-driver-390 - distro non-free
            driver   : nvidia-driver-430 - distro non-free
            driver   : nvidia-driver-435 - distro non-free recommended
            driver   : xserver-xorg-video-nouveau - distro free builtin

            Comment

            Working...
            X