You are not logged in.

#1 2024-11-19 18:04:49

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 18

[SOLVED] Issues while installing nvidia-open driver for my Arch system

Hello everyone,

I am currently trying to get my NVIDIA GPU working with the nvidia-open driver on my Arch Linux system(an Optimus Configuration), but I am encountering several issues. Below is a summary of what I've done so far and the problems I'm facing :

System Information:

    Kernel Version: 6.11.6-arch1-1
    GPU: NVIDIA GeForce RTX 2070 Max Q
    Driver Package: nvidia-open (version 565.57.01)
    Desktop Environment: KDE Plasma


Steps Taken :

1. I have successfully installed the nvidia-open package from the pacman repo
2. i have rebuild Initramfs using sudo mkinitcpio -P
3. tried loading the nvidia-open module with "sudo modprobe nvidia" also "sudo modprobe nvidia-open" but it says :

modprobe: FATAL: Module nvidia not found in directory /lib/modules/6.11.6-arch1-1

4. attempted nvidia-xconfig to configure Xorg :
sudo nvidia-xconfig


and the output is :

Using X configuration file: "/etc/X11/xorg.conf".

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                  Device section "Device0" must have a Driver line.


ERROR: Unable to find any GPUs in the system.

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.nvidia-xconfig-original'
Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'

5. I have checked if the GPU is recognized by : lspci -k | grep -A 2 -i "vga"
and the output :

$ lspci -k | grep -A 2 -i "vga"
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
        Subsystem: Lenovo Device 3fcf
        Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation TU106BM [GeForce RTX 2070 Mobile] (rev a1)
        Subsystem: Lenovo Device 3fcf
        Kernel modules: nouveau

Here's the output of my nvidia kernel module by lsmod | grep nvidia :

$ lsmod | grep nvidia
nvidia_wmi_ec_backlight    12288  0
i2c_nvidia_gpu         12288  0
video                  81920  3 nvidia_wmi_ec_backlight,ideapad_laptop,i915
wmi                    36864  5 video,nvidia_wmi_ec_backlight,intel_wmi_thunderbolt,wmi_bmof,ideapad_laptop

6. I have also disabled the nouveau driver by creating a .conf file in etc/modprobe.d/ to blacklist it and prevent it from loading which might cause conflicts...

Any help or suggestions would be greatly appreciated! Thank you!

Last edited by Rizkiaswangga (Yesterday 12:49:49)

Offline

#2 2024-11-19 18:11:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,079

Re: [SOLVED] Issues while installing nvidia-open driver for my Arch system

Problem 1: You're on an old kernel. You installed a binary module for the current kernel, but haven't booted that kernel yet. You have to reboot, BUT:
Problem 2: The wiki tells you to do more than just rebuild the initramfs. Read through the installation section of the NVIDIA wiki page.

Online

#3 Yesterday 12:51:07

Rizkiaswangga
Member
Registered: 2022-02-16
Posts: 18

Re: [SOLVED] Issues while installing nvidia-open driver for my Arch system

ahh...thanks...

Just updated my system with :

pacman -Syu

and it updates the Linux Kernel, then followed the NVIDIA Arch Wiki which tells me to disable Nouveau

Offline

Board footer

Powered by FluxBB