You are not logged in.

#1 2023-06-02 16:44:36

wzhxycl
Member
Registered: 2023-02-06
Posts: 7

Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

I'm facing an issue with my Nvidia graphics card on Arch Linux, specifically with switching from the Nouveau driver to the Nvidia driver. I have already installed the nvidia-dkms package, but my system continues to use the Nouveau driver instead.

Here are some details regarding my system configuration:

    Operating System: Arch Linux
    Kernel: Linux-zen
    Installed Nvidia driver package: nvidia-dkms
    Graphics card: MX-550

Steps I have taken to resolve the issue:

    Installed the nvidia-dkms package using the Pacman package manager: sudo pacman -S nvidia-dkms.

    Verified the loading of the Nvidia kernel module using the command: lsmod | grep nvidia. However, it shows no output.

    Attempted to load the Nvidia kernel module manually using: sudo modprobe nvidia. Unfortunately, it resulted in the error: "modprobe: ERROR: could not insert 'nvidia': No such device."

    I have also tried blacklisting the Nouveau driver by adding the following lines to /etc/modprobe.d/blacklist.conf:

    blacklist nouveau
    options nouveau modeset=0

    After rebooting, the Nouveau driver still persists.

I have reviewed the Arch Linux forums and other resources, but I haven't been able to find a solution that resolves my specific issue. I'm seeking assistance and advice from the community to help me troubleshoot this problem further.

If anyone has encountered a similar issue or has any suggestions, I would greatly appreciate your input. Please let me know if you need any additional information or configuration files to better understand the problem.

Thank you in advance for your support!

Offline

#2 2023-06-02 16:49:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 10,717

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Online

#3 2023-06-02 16:57:21

wzhxycl
Member
Registered: 2023-02-06
Posts: 7

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Scimmia wrote:

I think you missed the text there about the fact that this step is for the standard linux kernel, I have linux-zen so I installed nvidia-dkms

Offline

#4 2023-06-02 16:58:54

Scimmia
Fellow
Registered: 2012-09-01
Posts: 10,717

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Which only matters for step 3. You still have to do them all.

Online

#5 2023-06-02 17:08:18

wzhxycl
Member
Registered: 2023-02-06
Posts: 7

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Scimmia wrote:

Which only matters for step 3. You still have to do them all.

I installed nvidia-open-dkms, built it via dkms, what haven't I done yet?

Offline

#6 2023-06-02 17:09:22

seth
Member
Registered: 2012-09-03
Posts: 42,973

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

The condition of nouveau getting in the way as well as what to do to prevent that is explicitly mentioned in the installation steps.
So you haven't done reading them yet.

Online

#7 2023-06-02 17:21:21

wzhxycl
Member
Registered: 2023-02-06
Posts: 7

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

seth wrote:

The condition of nouveau getting in the way as well as what to do to prevent that is explicitly mentioned in the installation steps.
So you haven't done reading them yet.

please help me what I have to do, I tried to deal with this post but it did not work, so I'm here

Offline

#8 2023-06-02 17:22:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 10,717

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Have you done steps 5 and 6?

Online

#9 2023-06-02 17:39:36

wzhxycl
Member
Registered: 2023-02-06
Posts: 7

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

Scimmia wrote:

Have you done steps 5 and 6?

Thank you more for your help! the problem is that the russian translation does not have this item, but now I have installed everything, thank you very much!

Offline

#10 2023-06-02 17:45:08

seth
Member
Registered: 2012-09-03
Posts: 42,973

Re: Issue with Nvidia Driver on Arch Linux - Unable to Switch from Nouveau

You might want to add it there; removing the kms hook isn't that important (tough the nouveau module will waste space) because nvidia-utils will still blacklist noveau, but you'll still have to rebuild the initramfs to get the blacklisting modprobe config in there.

You could also have indicated that you're operating based on a localized wiki version.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB