You are not logged in.

#1 2018-02-02 18:45:22

BlackMastermind
Member
Registered: 2017-01-17
Posts: 45

linux-lts + nvidia-dkms = no video

I just received the upgrade of linux-lts from 4.9.78-1 to 4.14.16-1.

Now the nvidia-dkms module won't build anymore. It generates the following error:

Compiler version check failed:
 
The major and minor number of the compiler used to
compile the kernel:
 
gcc version 7.3.0 (GCC)
 
does not match the compiler used here:
 
cc (GCC) 7.2.1 20180116

Full output here: https://pastebin.com/XFppdxeG

Trying to install the non-dkms nvidia driver fails too btw. Apparently nvidia-lts is a newer version than nvidia-dkms, but there is no nvidia-utils with that version number in the repos...

hostname:~:# pacman -S nvidia-lts
resolving dependencies...
warning: cannot resolve "nvidia-utils=390.25", a dependency of "nvidia-lts"
:: The following package cannot be upgraded due to unresolvable dependencies:
      nvidia-lts

Offline

#2 2018-02-02 19:29:09

loqs
Member
Registered: 2014-03-06
Posts: 17,416

Re: linux-lts + nvidia-dkms = no video

nvidia-utils 390.25-1 is in testing.  There is no nice solution to this that I can think of as it should not happen.
Either switch to testing so you can install gcc 7.3 and / or nvidia-utils 390.25-1.
Or download nvidia-utils 390.25-1 from a mirror and install it allowing you to install nvidia-lts but mixing a testing package with none testing packages but it should work.
Edit:
Also please file a bug for this issue.
Edit2:
Seems there are already two https://bugs.archlinux.org/task/57340 and https://bugs.archlinux.org/task/57341
Edit3:
gcc 7.3 has just moved to core so when your system updates to that the DKMS build of nvidia-dkms so work for linux-lts 4.14.16.

Last edited by loqs (2018-02-02 20:09:05)

Offline

#3 2018-02-02 21:16:03

BlackMastermind
Member
Registered: 2017-01-17
Posts: 45

Re: linux-lts + nvidia-dkms = no video

loqs wrote:

gcc 7.3 has just moved to core so when your system updates to that the DKMS build of nvidia-dkms so work for linux-lts 4.14.16.

Yup, works now.

Offline

#4 2018-02-04 19:41:13

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 602

Re: linux-lts + nvidia-dkms = no video

I am hit by the same bug, however with the non-lts kernel. I could work around it by installing linux-lts. However, the non-lts kernel still leads to this problem. Is the problem expected to get fixed once 4.15 hits stable or is it some configuration issue on my side? Thanks!


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

Board footer

Powered by FluxBB