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

Thread: How to switch video drivers?

  1. #1
    Join Date
    Aug 2014
    Beans
    13

    How to switch video drivers?

    I recently upgraded to the latest lubuntu and used synaptic to switch the driver from nouveau to nvidia-driver-390. It hung up partway through the process. I noticed high CPU thrashing, and it was due to a runaway systemd-udevd process. Dmesg had an error about conflicting drivers. So, I uninstalled and reinstalled nvidia-driver-390. No more runaway, but "lspci -k" says that the nouveau driver is still being used. How do I switch to nvidia-390? I tried synaptic, but it just hangs.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    12,275
    Distro
    Ubuntu

    Re: How to switch video drivers?

    rebooted yet?
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  3. #3
    Join Date
    Aug 2014
    Beans
    13

    Re: How to switch video drivers?

    Rebooting doesn't help. Still the nouveau driver.

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,893
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How to switch video drivers?

    skewray2; Hello -

    How have you confirmed that the 390 version driver is the correct one for your card ?
    post back:
    Code:
    lspci -k | grep -EA2 'VGA|3D'
    dpkg -l | grep -i nvidia
    lsmod | grep nvidia
    cat /var/log/gpu-manager.log
    see what we can figure out for the why.

    gotta be a reason
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #5
    Join Date
    Aug 2014
    Beans
    13

    Re: How to switch video drivers?

    I just assumed that Synaptic was suggesting the correct drivers. I suppose, since it hung up, that it may be less smart that I assumed. Output from your commands:

    Code:
    D4) lspci -k | grep -EA2 'VGA|3D'
    01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1)
        Subsystem: eVga.com. Corp. GK104 [GeForce GTX 680]
        Kernel driver in use: nouveau
    D5) dpkg -l | grep -i nvidia
    ii  libnvidia-cfg1-390:amd64              390.48-0ubuntu3                            amd64        NVIDIA binary OpenGL/GLX configuration library
    ii  libnvidia-common-390                  390.48-0ubuntu3                            all          Shared files used by the NVIDIA libraries
    ii  libnvidia-compute-390:amd64           390.48-0ubuntu3                            amd64        NVIDIA libcompute package
    ii  libnvidia-compute-390:i386            390.48-0ubuntu3                            i386         NVIDIA libcompute package
    ii  libnvidia-decode-390:amd64            390.48-0ubuntu3                            amd64        NVIDIA Video Decoding runtime libraries
    ii  libnvidia-decode-390:i386             390.48-0ubuntu3                            i386         NVIDIA Video Decoding runtime libraries
    ii  libnvidia-encode-390:amd64            390.48-0ubuntu3                            amd64        NVENC Video Encoding runtime library
    ii  libnvidia-encode-390:i386             390.48-0ubuntu3                            i386         NVENC Video Encoding runtime library
    ii  libnvidia-fbc1-390:amd64              390.48-0ubuntu3                            amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-fbc1-390:i386               390.48-0ubuntu3                            i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
    ii  libnvidia-gl-390:amd64                390.48-0ubuntu3                            amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  libnvidia-gl-390:i386                 390.48-0ubuntu3                            i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    ii  libnvidia-ifr1-390:amd64              390.48-0ubuntu3                            amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
    ii  libnvidia-ifr1-390:i386               390.48-0ubuntu3                            i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
    ii  nvidia-compute-utils-390              390.48-0ubuntu3                            amd64        NVIDIA compute utilities
    ii  nvidia-dkms-390                       390.48-0ubuntu3                            amd64        NVIDIA DKMS package
    ii  nvidia-driver-390                     390.48-0ubuntu3                            amd64        NVIDIA driver metapackage
    ii  nvidia-kernel-common-390              390.48-0ubuntu3                            amd64        Shared files used with the kernel module
    ii  nvidia-kernel-source-390              390.48-0ubuntu3                            amd64        NVIDIA kernel source package
    ii  nvidia-prime                          0.8.8                                      all          Tools to enable NVIDIA's Prime
    ii  nvidia-settings                       390.42-0ubuntu1                            amd64        Tool for configuring the NVIDIA graphics driver
    ii  nvidia-utils-390                      390.48-0ubuntu3                            amd64        NVIDIA driver support binaries
    ii  xserver-xorg-video-nvidia-390         390.48-0ubuntu3                            amd64        NVIDIA binary Xorg driver
    D6) lsmod | grep nvidia
    nvidia              14340096  1
    D7) cat /var/log/gpu-manager.log
    log_file: /var/log/gpu-manager.log
    last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
    new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
    can't access /opt/amdgpu-pro/bin/amdgpu-pro-px
    Looking for nvidia modules in /lib/modules/4.15.0-34-generic/updates/dkms
    Found nvidia module: nvidia-drm.ko
    Looking for amdgpu modules in /lib/modules/4.15.0-34-generic/updates/dkms
    Is nvidia loaded? yes
    Was nvidia unloaded? no
    Is nvidia blacklisted? no
    Is intel loaded? no
    Is radeon loaded? no
    Is radeon blacklisted? no
    Is amdgpu loaded? no
    Is amdgpu blacklisted? no
    Is amdgpu versioned? no
    Is amdgpu pro stack? no
    Is nouveau loaded? yes
    Is nouveau blacklisted? no
    Is nvidia kernel module available? yes
    Is amdgpu kernel module available? no
    Vendor/Device Id: 10de:1180
    BusID "PCI:1@0:0:0"
    Is boot vga? yes
    Skipping "/dev/dri/card0", driven by "nouveau"
    Skipping "/dev/dri/card0", driven by "nouveau"
    Found "/dev/dri/card0", driven by "nouveau"
    output 0:
        card0-DVI-I-1
    output 1:
        card0-HDMI-A-1
    Number of connected outputs for /dev/dri/card0: 2
    Skipping "/dev/dri/card0", driven by "nouveau"
    Does it require offloading? no
    last cards number = 1
    Has amd? no
    Has intel? no
    Has nvidia? yes
    How many cards? 1
    Has the system changed? No
    Single card detected
    Nothing to do
    Last edited by skewray2; September 30th, 2018 at 04:18 PM. Reason: added formatting code tags only

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,893
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How to switch video drivers?

    skewray2; Well !

    We do have a mystery on our hands - confirmed that 390 is the correct version driver.
    Is nvidia loaded? yes
    Is nouveau loaded? yes
    Is nouveau blacklisted? no
    Found "/dev/dri/card0", driven by "nouveau"
    so, why are both drivers loaded - there can be only one !

    post back: - Between code tags, please !
    Code:
    ls -al /etc/modprobe.d/
    ls -al /usr/share/X11/xorg.conf.d/*.conf
    cat /var/log/Xorg.0.log
    code tag tutorial:
    http://ubuntuforums.org/showthread.p...8#post12776168

    the hunt is on
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #7
    Join Date
    Aug 2014
    Beans
    13

    Re: How to switch video drivers?

    ps...still have runaway systemd-udevd process:

    Code:
    [ 9871.430778] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
    [ 9871.512899] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
    [ 9871.513114] NVRM: The NVIDIA probe routine was not called for 1 device(s).
    [ 9871.513115] NVRM: This can occur when a driver such as: 
                   NVRM: nouveau, rivafb, nvidiafb or rivatv 
                   NVRM: was loaded and obtained ownership of the NVIDIA device(s).
    [ 9871.513115] NVRM: Try unloading the conflicting kernel module (and/or
                   NVRM: reconfigure your kernel without the conflicting
                   NVRM: driver(s)), then try loading the NVIDIA kernel module
                   NVRM: again.
    [ 9871.513115] NVRM: No NVIDIA graphics adapter probed!
    [ 9871.513187] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
    Last edited by deadflowr; September 30th, 2018 at 06:43 AM. Reason: code tags

  8. #8
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,893
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: How to switch video drivers?

    skewray2;

    Code tags - to promote readability -

    in addition then to the above - show:
    Code:
    echo $XDG_SESSION_TYPE
    sometimes I do wonder
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  9. #9
    Join Date
    Aug 2014
    Beans
    13

    Re: How to switch video drivers?

    echo $XDG_SESSION_TYPE returns "x11".

  10. #10
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    12,275
    Distro
    Ubuntu

    Re: How to switch video drivers?

    You needed to post the output of post #6's requested commands in conjunction with the output from post #8.
    (Post #8 output is known, but it's unclear the state of what comes from those of the commands in post #6.)

    Use code tags, as instructed already.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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