Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Remove Nvidia proprietary driver

  1. #1

    Default Remove Nvidia proprietary driver

    Hi,

    I have installed the nvidia driver but want to use the nouveau driver. I followed the guide in this article: https://en.opensuse.org/SDB:NVIDIA_drivers, but it seems the nivida did not get completely deleted.

    Code:
    opensuse:/home/dagr # sudo lspci -nnk | grep -iA3 VGA
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
            Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3160]
            Kernel driver in use: nouveau
            Kernel modules: nouveau, nvidia_drm, nvidia
    The kernel driver is ok, but the kernel modules seems to show nvidia prop modules is loaded as well. Most things works in plasma, but wobbly when scrolling webpages. I don't like that. If anybody can give me some advice how to fix this I will be very happy.

    Dag R

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,163
    Blog Entries
    2

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by dagring View Post
    Hi,

    I have installed the nvidia driver but want to use the nouveau driver. I followed the guide in this article: https://en.opensuse.org/SDB:NVIDIA_drivers, but it seems the nivida did not get completely deleted.

    Code:
    opensuse:/home/dagr # sudo lspci -nnk | grep -iA3 VGA
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
            Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:3160]
            Kernel driver in use: nouveau
            Kernel modules: nouveau, nvidia_drm, nvidia
    The kernel driver is ok, but the kernel modules seems to show nvidia prop modules is loaded as well. Most things works in plasma, but wobbly when scrolling webpages. I don't like that. If anybody can give me some advice how to fix this I will be very happy.

    Dag R
    First,
    Did you install your nVidia driver using one of the methods described in a SDB?
    Then,
    Did you search for NVIDIA packages as described in the "Uninstall - Zypper" section of the SDB you referenced?

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    13,658
    Blog Entries
    3

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by dagring View Post
    I have installed the nvidia driver but want to use the nouveau driver. I followed the guide in this article: https://en.opensuse.org/SDB:NVIDIA_drivers, but it seems the nivida did not get completely deleted.
    I installed nvidia driver (the hard way) on an older computer, for openSUSE 12.3. Then I changed my mind, and decided to go back to the nouveau driver. So I uninstalled the nvidia driver.

    It didn't work. Things were broken. So I went back to the nvidia driver.

    Later, with openSUSE 13.2 (same computer), I installed nvidia driver. This time I was smart, and installed from the repo. It had problems, so I decided to go back to nouveau.

    I uninstalled nvidia. Since I had installed from the repo, I expected that to work. No such luck. The system was still broken.

    So I did a forced reinstall of mesa. I searched for "mesa" in Yast Software Manager, and reinstalled everything that was already installed that was part of mesa.

    That fixed it. Now nouveau worked as it should.

    That was a while ago, with an older nvidia card. It might not apply to your situation. But it might be worth trying.
    openSUSE Leap 15.2 RC; KDE Plasma 5.18.5;

  4. #4

    Default Re: Remove Nvidia proprietary driver

    I understand that you are not using proprietary Nvidia drivers, is it a desktop or laptop?
    Can you know the characteristics of this computer?
    The Geforce Gtx 970 is well supported, and there should be no problems, the system is updated, sometimes an upgrade is needed even after installation to work properly
    Code:
    hwinfo --gfxcard
    ------------------------------------
    Correct me if I'm wrong .
    ------------------------------------

  5. #5

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by tsu2 View Post
    First,
    Did you install your nVidia driver using one of the methods described in a SDB?
    Then,
    Did you search for NVIDIA packages as described in the "Uninstall - Zypper" section of the SDB you referenced?

    TSU
    I used the yast method of adding the repository, finding the right nvidia version for my card and install it. When I uninstalled it I filtered on the nvidia repository and removed the packages. All in accordance with the article. I dobbel checked this today, and no pakages from the nvidia prop driver was there.

    Dag R

  6. #6

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by enziosavio View Post
    I understand that you are not using proprietary Nvidia drivers, is it a desktop or laptop?
    Can you know the characteristics of this computer?
    The Geforce Gtx 970 is well supported, and there should be no problems, the system is updated, sometimes an upgrade is needed even after installation to work properly
    Code:
    hwinfo --gfxcard
    It's a desktop computer. Do you need some more spesific about it? Should I upgrade the nouveau driver?

    Code:
    dagr@opensuse:~> sudo hwinfo --gfxcard
    [sudo] passord for root: 
    33: PCI 100.0: 0300 VGA compatible controller (VGA)             
      [Created at pci.386]
      Unique ID: VCu0.IuoTaz1A7sA
      Parent ID: _Znp.mxGZ4sT7tg6
      SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "nVidia GM204 [GeForce GTX 970]"
      Vendor: pci 0x10de "nVidia Corporation"
      Device: pci 0x13c2 "GM204 [GeForce GTX 970]"
      SubVendor: pci 0x1462 "Micro-Star International Co., Ltd. [MSI]"
      SubDevice: pci 0x3160 
      Revision: 0xa1
      Driver: "nouveau"
      Driver Modules: "nouveau"
      Memory Range: 0xfd000000-0xfdffffff (rw,non-prefetchable)
      Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
      Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable)
      I/O Ports: 0xe000-0xefff (rw)
      Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
      IRQ: 28 (3616320 events)
      Module Alias: "pci:v000010DEd000013C2sv00001462sd00003160bc03sc00i00"
      Driver Info #0:
        Driver Status: nouveau is active
        Driver Activation Cmd: "modprobe nouveau"
      Driver Info #1:
        Driver Status: nvidia_drm is not active
        Driver Activation Cmd: "modprobe nvidia_drm"
      Driver Info #2:
        Driver Status: nvidia is not active
        Driver Activation Cmd: "modprobe nvidia"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
      Attached to: #17 (PCI bridge)
    
    Primary display adapter: #33
    Dag R

  7. #7
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    2,157

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by dagring View Post
    Code:
    ...
    Kernel driver in use: nouveau
    Kernel modules: nouveau, nvidia_drm, nvidia...
    This suggests to me the initrd may not have been rebuilt when the NVidia driver was removed.

    Note that lspci reports nothing directly to do with X. That output is all about the kernel. OTOH, X has two FOSS drivers to choose between, both of which depend on proper unencumbered nouveau kernel module function. These are the (upstream default) modesetting DDX provided by the server package, and the reverse-engineered, optional, nouveau DDX, provided by the xf86-video-nouveau package.

    Assuming the initrd has been rebuilt to exclude the nvidia modules, but the failure remains, I agree with nrickert's recommendation.
    Reg. Linux User #211409 *** multibooting since 1992
    Primary: 15.1,TW,15.2 & 13.1 on Haswell w/ RAID
    Secondary: eComStation (OS/2)&15.1 on 965P/Radeon
    Tertiary: TW,15.2,15.1,Fedora,Debian,more on Kaby Lake,Q45,Q43,G41,G3X,965G,Cedar,Caicos,Oland,GT218&&&

  8. #8

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by nrickert View Post
    I installed nvidia driver (the hard way) on an older computer, for openSUSE 12.3. Then I changed my mind, and decided to go back to the nouveau driver. So I uninstalled the nvidia driver.

    It didn't work. Things were broken. So I went back to the nvidia driver.

    Later, with openSUSE 13.2 (same computer), I installed nvidia driver. This time I was smart, and installed from the repo. It had problems, so I decided to go back to nouveau.

    I uninstalled nvidia. Since I had installed from the repo, I expected that to work. No such luck. The system was still broken.

    So I did a forced reinstall of mesa. I searched for "mesa" in Yast Software Manager, and reinstalled everything that was already installed that was part of mesa.

    That fixed it. Now nouveau worked as it should.

    That was a while ago, with an older nvidia card. It might not apply to your situation. But it might be worth trying.
    I made a forced upgrade of the mesa packages, but i didn't change anything. The output of sudo lspci -nnk | grep -iA3 VGA is the same, and the web scrolling is the same.

    Dag R

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,618
    Blog Entries
    15

    Default Re: Remove Nvidia proprietary driver

    Quote Originally Posted by dagring View Post
    I made a forced upgrade of the mesa packages, but i didn't change anything. The output of sudo lspci -nnk | grep -iA3 VGA is the same, and the web scrolling is the same.

    Dag R
    Hi
    Is there still a file down in /etc/modprobe.d blacklisting the nouveau driver?

    Code:
    fgrep -r "nouveau" /etc/modprobe.d/
    If a file exists, delete the file and rebuild initrd as root user with mkinitrd.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,163
    Blog Entries
    2

    Default Re: Remove Nvidia proprietary driver

    Looking at your original command,
    I haven't inspected if the nVidia code is actually compiled into the initrd or as a LKM.
    If the nVidia module is built as a LKM and not into the initrd,
    The following is appropriate,
    Note that LKM can be loaded by your system any time whether during boot or later, only feature is that it shouldn't require something like a mkinitrd.

    See the Wiki page I wrote on listing all modules and installed modules.

    https://en.opensuse.org/User:Tsu2/LKM

    Recommend:
    Viewing all modules first to verify that your proprietary nVidia module still exists (I suspect it should be)
    Then
    Viewing only installed modules (nVidia should not be listed, I don't know if nouveau would be listed if it's built into the initrd) but the nVidia driver should not be displayed.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

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