You are not logged in.

#1 2019-05-01 17:49:30

Fatalon
Member
Registered: 2019-05-01
Posts: 3

[SOLVED] Nvidia-lts "reached target graphic.." after kernel upgrade

Hello everyone, I hope you can help me with my problem.
I installed my system some months ago. I had some issues with the nouveau driver, which forced me to switch to the driver of nvidia (i am using the lts kernel and a GeForce GTX 1070 Mobile, so the package i installed was nvidia-lts). But sometimes(2-3 times), after I do a kernel upgrade my nvidia driver could not be found in the directory for the currently booted kernel version. Until now, my solution for this was to downgrade my lts-kernel and wait for the next release, which solved the problem.
But the last i run into this issue (kernel version 4.19.36-1) the next version (4.19.37-1) did not solve this problem. And now i'm feeling a bit uncomfortable to stick with the kernel 4.19.34-1 for ever. It would be very nice if you could help me to upgrade my kernel and get a stable system again.

output of my currently booted system

uname -a

Linux PaulsHP 4.19.34-1-lts #1 SMP Sat Apr 6 19:41:19 CEST 2019 x86_64 GNU/Linux

 
pacman -Qs linux-lts

local/linux-lts 4.19.34-1
The Linux-lts kernel and modules
local/linux-lts-headers 4.19.34-1
Header files and scripts for building modules for Linux-lts kernel
local/nvidia-lts 1:418.56-2
NVIDIA drivers for linux-lts

 
pacman -Qs nividia-lts

local/nvidia-lts 1:418.56-2
NVIDIA drivers for linux-lts

 

output of my system with kernel version 4.19.37-1 (for which the error occurs)

uname -a

Linux PaulsHP 4.19.37-1-lts #1 SMP Sat Apr 27 10:16:32 CEST 2019 x86_64 GNU/Linux

 
pacman -Qs linux-lts

local/linux-lts 4.19.37-1
The Linux-lts kernel and modules
local/linux-lts-headers 4.19.37-1
Header files and scripts for building modules for Linux-lts kernel
local/nvidia-lts 1:418.56-2
NVIDIA drivers for linux-lts

pacman -Qs nividia-lts

local/nvidia-lts 1:418.56-2
NVIDIA drivers for linux-lts

modprobe nvidia-lts

modprobe: FATAL: Module nvidia-lts not found in directory /lib/modules/4.19.37-1-lts

Last edited by Fatalon (2019-05-03 19:05:53)

Offline

#2 2019-05-01 19:41:04

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

Re: [SOLVED] Nvidia-lts "reached target graphic.." after kernel upgrade

The nvidia-lts module is outdated, it's technically a packaging bug. If you want to fix this now, update and manually rebuild nvidia-lts or install nvidia-dkms instead, which will automatically rebuild the module for the installed kernels.

Also please post command output in [ code ] tags.

Offline

#3 2019-05-03 16:46:32

Fatalon
Member
Registered: 2019-05-01
Posts: 3

Re: [SOLVED] Nvidia-lts "reached target graphic.." after kernel upgrade

thank you for your fast reply. I edited my post as you suggested and marked it as solved, because this was the solution I was asking for. Probably a newbie question, but what is the reason for this bug to occur? Shouldn't driver packages be rebuilt automatically for a new kernel version and shipped as a working version to the users via the package manager? Or does this bug belong to NVIDIA

Offline

#4 2019-05-03 20:23:05

loqs
Member
Registered: 2014-03-06
Posts: 19,101

Re: [SOLVED] Nvidia-lts "reached target graphic.." after kernel upgrade

Fatalon wrote:

what is the reason for this bug to occur? Shouldn't driver packages be rebuilt automatically for a new kernel version and shipped as a working version to the users via the package manager? Or does this bug belong to NVIDIA

linux-lts is configured with CONFIG_MODVERSIONS which means modules can be used across different kernel versions provide symbol information matches.
When symbol versions change the module does need to be rebuilt.  This is not an issue with the code supplied by nvidia but the packaging done by arch.

Offline

Board footer

Powered by FluxBB