You are not logged in.

#1 2021-01-27 10:21:47

mrbear
Member
Registered: 2020-04-09
Posts: 38

Replace nvidia with nvidia-lts

Hi guys,

I would like to ask for your help to something that I didn't find in the Wiki - how do I replace nvidia with nvidia-lts? Currently I'm using the linux-lts, and per documentation it's recommended to use with nvidia-lts, not nvidia, which is not true for me. If I uninstall nvidia and install nvidia-lts, is it going to work out of the box, or do I need to do anything more?

Offline

#2 2021-01-27 10:30:28

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: Replace nvidia with nvidia-lts

thing is, nvidia doesn't work with linux-lts. you have to install nvidia-dkms or nvidia-lts to have it work with the lts kernel. it should work out of the box but we all know about nvidia...

Last edited by fire100265 (2021-01-27 10:30:41)

Offline

#3 2021-01-27 10:34:43

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,687

Re: Replace nvidia with nvidia-lts

You need to use dkms.

Offline

#4 2021-01-27 10:37:48

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: Replace nvidia with nvidia-lts

d_fajardo wrote:

You need to use dkms.

dkms isn't needed when nvidia-lts exists. of course OP can use the dkms version but why?

Offline

#5 2021-01-27 10:44:42

mrbear
Member
Registered: 2020-04-09
Posts: 38

Re: Replace nvidia with nvidia-lts

fire100265 wrote:

thing is, nvidia doesn't work with linux-lts. you have to install nvidia-dkms or nvidia-lts to have it work with the lts kernel. it should work out of the box but we all know about nvidia...

Really? That's weird. I'm pretty confident that I'm using linux-lts with nvidia :thinking: - is there a command to check which kernel is being loaded by the boot loader?

Last edited by mrbear (2021-01-27 10:46:35)

Offline

#6 2021-01-27 11:05:17

mrbear
Member
Registered: 2020-04-09
Posts: 38

Re: Replace nvidia with nvidia-lts

This is the output of "cat /proc/cmdline"

BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=8ea64576-3916-4abf-a2b1-88c1eabb8d37 rw cryptdevice=/dev/nvme0n1p5:luks_root loglevel=3 quiet

Hence vmlinuz-linux-lts.

If I search for nvidia deps with pacman --query --search nvidia, the output is:

local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia 455.45.01-7
    NVIDIA drivers for linux
local/nvidia-utils 455.45.01-1
    NVIDIA drivers utilities

Offline

#7 2021-01-27 11:11:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,351

Re: Replace nvidia with nvidia-lts

then it's unlikely to impossible that you are running the nvidia module. Check your xorg log and dmesg.  And if these versions are any indication you will want to update your system in general.

They are different packages for different kernels, you can have both of them installed at the same time. Each kernel needs a module compiled against it's headers.

Last edited by V1del (2021-01-27 11:15:02)

Offline

#8 2021-01-27 11:19:58

mrbear
Member
Registered: 2020-04-09
Posts: 38

Re: Replace nvidia with nvidia-lts

V1del wrote:

then it's unlikely to impossible that you are running the nvidia module. Check your xorg log and dmesg.  And if these versions are any indication you will want to update your system in general.

They are different packages for different kernels, you can have both of them installed at the same time. Each kernel needs a module compiled against it's headers.

Hey, thanks for the fast reply. I know where how to inspect both xorg and dmesg logs, but not quite sure what for. I searched for nvidia but couldn't find anything. I appreciate if you can guide me through this unknown waters.

Offline

#9 2021-01-27 11:27:44

mrbear
Member
Registered: 2020-04-09
Posts: 38

Re: Replace nvidia with nvidia-lts

I just checked which modules are being loaded (lsmod), and it turns out nvidia is not being used at all. That could explain some issues I'm having with Zoom. Thanks people, I think I know the next steps.

Offline

#10 2021-01-27 13:52:25

fire100265
Member
Registered: 2020-10-05
Posts: 95

Re: Replace nvidia with nvidia-lts

Your next step should be to just install nvidia-lts and see if it works. If it doesn't, try adding the nvidia modules to the modules array in the mkinitcpio config file.

Offline

Board footer

Powered by FluxBB