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

Thread: Need help with installing the graphics driver

  1. #1
    Join Date
    Aug 2024
    Beans
    12

    Need help with installing the graphics driver

    Hi, I'm new to Linux and recently installed Ubuntu on my Asus laptop. I've been struggling to install the driver for my Nvidia GT 520M. I used the command "sudo apt install nvidia-driver-390" (390 being the latest supported version for my GPU), the installation resulted in an error (log: https://pastebin.com/TzZNUFRu). What could be the issue and how do I fix it? Thanks for your help.

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,850
    Distro
    Ubuntu

    Re: Need help with installing the graphics driver

    Does the driver even work with the 6.8 linux kernel?
    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 2024
    Beans
    12

    Re: Need help with installing the graphics driver

    I don't know, how can I check that?

  4. #4
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Need help with installing the graphics driver

    Quote Originally Posted by deadflowr View Post
    Does the driver even work with the 6.8 linux kernel?
    Not without extra help.
    EDIT: https://launchpad.net/~dtl131/+archive/ubuntu/nvidiaexp
    Quote Originally Posted by markcodes View Post
    I don't know, how can I check that?
    Code:
    apt policy nvidia-dkms-390
    or
    Code:
    nvidia-smi
    Last edited by #&thj^%; August 15th, 2024 at 07:40 PM. Reason: add link

  5. #5
    Join Date
    Aug 2024
    Beans
    12

    Re: Need help with installing the graphics driver

    Thanks a lot, is this alternative version usable for the current Ubuntu version though? When I added the PPA and tried to install the driver, it said "Unable to locate package nvidia-driver-390". Is it because it's built for an older version?

  6. #6
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Need help with installing the graphics driver

    It supports kernels up to 6.8.
    Show me this:
    Code:
    sudo apt update
    EDIT I see you are a newer user, Enter that code in the terminal, and copy and paste back here please. (With Code Tags if you how)

    BTW This driver is not going to help you on Gnome and in particular Wayland..
    Note that you probably want to use XServer instead of Wayland with a driver this old.
    Last edited by #&thj^%; August 15th, 2024 at 09:05 PM.

  7. #7
    Join Date
    Aug 2024
    Beans
    12

    Re: Need help with installing the graphics driver

    I get this:

    Code:
    Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease                 
    Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease               
    Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease               
    Hit:5 https://ppa.launchpadcontent.net/dtl131/nvidiaexp/ubuntu noble InRelease 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    1 package can be upgraded. Run 'apt list --upgradable' to see it.

  8. #8
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Need help with installing the graphics driver

    Quote Originally Posted by markcodes View Post
    I get this:

    Code:
    Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
    Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease                 
    Hit:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease               
    Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease               
    Hit:5 https://ppa.launchpadcontent.net/dtl131/nvidiaexp/ubuntu noble InRelease 
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    1 package can be upgraded. Run 'apt list --upgradable' to see it.
    Cool it works on Noble:
    Now before we continue, you did remove and purge all nvidia right? If not do that now please.
    please show this now:
    Code:
    apt policy nvidia-dkms-390

  9. #9
    Join Date
    Aug 2024
    Beans
    12

    Re: Need help with installing the graphics driver

    Yup, Nvidia should be removed

    Code:
    N: Unable to locate package nvidia-dkms-390

  10. #10
    #&thj^% is offline I Ubuntu, Therefore, I Am
    Join Date
    Aug 2016
    Beans
    Hidden!

    Re: Need help with installing the graphics driver

    It better be there, from the site:
    Code:
    Built packages
    
        libcuda1-384 Transitional package for nvidia-headless-390
    
        libnvidia-cfg1-390 NVIDIA binary OpenGL/GLX configuration library
    
        libnvidia-common-390 Shared files used by the NVIDIA libraries
    
        libnvidia-compute-390 NVIDIA libcompute package
    
        libnvidia-decode-390 NVIDIA Video Decoding runtime libraries
    
        libnvidia-encode-390 NVENC Video Encoding runtime library
    
        libnvidia-fbc1-390 NVIDIA OpenGL-based Framebuffer Capture runtime library
    
        libnvidia-gl-390 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
    
        libnvidia-ifr1-390 NVIDIA OpenGL-based Inband Frame Readback runtime library
    
        nvidia-384 Transitional package for nvidia-driver-390
    
        nvidia-384-dev Transitional package for nvidia-driver-390
    
        nvidia-compute-utils-390 NVIDIA compute utilities
    
        nvidia-dkms-390 NVIDIA DKMS package
    
        nvidia-driver-390 NVIDIA driver metapackage
    
        nvidia-headless-390 NVIDIA headless metapackage
    
        nvidia-headless-no-dkms-390 NVIDIA headless metapackage - no DKMS
    
        nvidia-kernel-common-390 Shared files used with the kernel module
    
        nvidia-kernel-source-390 NVIDIA kernel source package
    
        nvidia-libopencl1-384 Transitional package for nvidia-headless-390
    
        nvidia-opencl-icd-384 Transitional package for nvidia-headless-390
    
        nvidia-utils-390 NVIDIA driver support binaries
    
        xserver-xorg-video-nvidia-390 NVIDIA binary Xorg driver
    One more:
    Code:
    apt search nvidia-dkms-390

Page 1 of 3 123 LastLast

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
  •