You are not logged in.

#1 2022-01-20 22:53:09

josemaria.alkala
Member
Registered: 2012-12-07
Posts: 34

nvidia - xorg issue

My issue is that when I use linux-lts and nvidia-beta xorg won't start.

I have a Lenovo Legion 5 15ACH6H with a nVidia RTX 3060.

I am using the linux-lts  kernel (due to an issue I faced with the latest upgrade).

I am trying to use it with nvidia drivers. I tried with both `nvidia` and `nvidia-beta`.

When I install nvidia-beta and install linux-lts  so that mkinitcpio is executed and the following /etc/X11/xorg.conf.d/20-nvidia.conf:

Section "Device"
    Identifier     "Nvidia Card"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce RTX 3060 Mobile / Max-Q"
    Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

My Xorg.0.log is: http://ix.io/3MXc

My dmesg: http://ix.io/3MXd

This is what I get when I install linux-lts: http://ix.io/3MXl

What am I doing wrong?

Offline

#2 2022-01-20 23:09:18

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: nvidia - xorg issue

Have you read through NVIDIA_Optimus?  The Xorg.log shows no display attached to the Nvidia GPU?  If you remove 20-nvidia.conf does X detect a display connected to the integrated GPU?

Offline

#3 2022-01-22 12:11:42

heybix
Member
Registered: 2022-01-22
Posts: 6

Re: nvidia - xorg issue

If you use the linux-lts kernel, you must install nvidia-lts package.
You can also use a dkms method for using the driver 510, you must install dkms and linux-lts-headers packages and run

# mkinitcpio -P

to run dkms hooks.

Last edited by heybix (2022-01-22 12:16:12)

Offline

#4 2022-01-22 16:24:58

josemaria.alkala
Member
Registered: 2012-12-07
Posts: 34

Re: nvidia - xorg issue

I wasn't aware about Nvidia Optimus. It is clearly the way the to go for me. I still have to play with the configuration.

@heybix, thanks for the comment. Yeah I found out about that a couple of days ago, but it is good remark.

Offline

Board footer

Powered by FluxBB