Nvidia 820m using nouveau when nvidia-inst -t shows driver is successfully istalled

Hey so I followed the steps of installing nvidia drivers for my card and I used nvidia-inst -t to get the commands and executed them. But even after doing that and restarting my device my nvidia card uses nouveau driver and not nvidia. Please help me with this :slight_smile: .
inxi -Ga output -

Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel
    arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT
    620M/625M/630M/720M] vendor: Dell driver: nouveau v: kernel
    alternate: nvidia_drm,nvidia non-free: series: 390.xx+
    status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: lanes: 8 bus-ID: 08:00.0 chip-ID: 10de:1140 class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.5:4
    chip-ID: 0c45:670b class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
    loaded: modesetting dri: iris,nouveau gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: LG Display 0x0456 built: 2014 res: 1366x768 hz: 60
    dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: OpenGL v: 4.6 Mesa 23.1.3 renderer: Mesa Intel HD Graphics 5500 (BDW
    GT2) direct-render: Yes

I don’t think it installed. You ran the test install first. What info did the out put give you? Can you run the test again and post the output?

nvidia-inst -t

What is your actual Nvidia gpu? Which one?

Edit: Sorry i see it shows legacy drivers in the 390.xx series.

What commands did you use to run the install?

I think you would need to install them from the AUR using yay.

yay -S nvidia-390xx-dkms

After check if the Nvidia drivers are loaded with

inxi -Ga

Then you could also install

nvidia-390xx-settings
nvidia-390xx-utils

Edit: I also notice it is a hybrid laptop currently rendering on Intel. So you would also need a way of switching to nvidia depending on your hardware.

API: OpenGL v: 4.6 Mesa 23.1.3 renderer: Mesa Intel HD Graphics 5500 (BDW
    GT2) direct-render: Yes

Edit: It’s probably easier to do it this way all at once.

yay -S lib32-nvidia-390xx-utils nvidia-390xx-dkms nvidia-390xx-settings nvidia-390xx-utils

2 Likes

before I installed the drivers it showed

2023-07-22 23:37:37: Info: Running: nvidia-inst v23-6
2023-07-22 23:37:37: Info: Command line: nvidia-inst -t
2023-07-22 23:37:37: Info: Selected mode: nvidia
NVIDIA card id: 1140
Fetching driver data from nvidia.com ...
2023-07-22 23:37:43: Info: Installing packages: nvidia-390xx-dkms nvidia-390xx-utils nvidia-390xx-settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COMMANDS TO RUN:
    yay -Syu nvidia-390xx-dkms nvidia-390xx-utils nvidia-390xx-settings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-07-22 23:37:43: Error: Sorry, nvidia-inst does not support installing packages from AUR.
    To continue, manually run all commands from COMMANDS TO RUN above.

Hey, thanks it works now :slight_smile: I would use optimus manager to switch gpus.

Graphics:
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel
    arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT
    620M/625M/630M/720M] vendor: Dell driver: nvidia v: 390.157
    alternate: nouveau,nvidia_drm non-free: series: 390.xx+
    status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-16 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 2 speed: 5 GT/s lanes: 8 bus-ID: 08:00.0 chip-ID: 10de:1140
    class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.5:5
    chip-ID: 0c45:670b class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_x11 driver: X: loaded: modesetting failed: nvidia
    alternate: fbdev,intel,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99")
    s-diag: 414mm (16.31")
  Monitor-1: eDP-1 model: LG Display 0x0456 built: 2014 res: 1366x768 hz: 60
    dpi: 101 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1366x768
  API: OpenGL v: N/A renderer: N/A direct-render: N/A

I don’t know why it didn’t work before.

Did you reboot after the previous attempt?
The optimus manager (or similar) is needed, like @ricklinux mentioned.

Yes I did reboot, but for some reason it didnt loaded the nvidia drivers. But it works well now :).

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.