You are not logged in.
I've just updated my laptop with
$ pacman -Syuand everything seemed to go smoothly. However, when restarting, X won't load as the nvidia driver is complaining about no screen found. My guess is that this is because the nvidia hasn't been compiled against the new kernel.
Is there a way of uninstalling the nvidia driver and then forcing it to clean the cache before reinstalling it? I'm using the kernel from the extra repository, not the aur version.
If this doesn't work, I might be tempted to roll back to my last kernel version as that played very nicely with nvidia.
Any advice is gratefully received.
TIA
Last edited by kabads (2016-12-16 16:21:06)
Offline
Why are you guessing instead of looking at the logs?
As long as you're using the driver in the repos, your assumption should be incorrect.
Last edited by Scimmia (2016-12-16 13:59:03)
Offline
This is what I'm getting from the logs
[ 685.191] (II) Loading sub module "ramdac"
[ 685.191] (II) LoadModule: "ramdac"
[ 685.191] (II) Module "ramdac" already built-in
[ 685.191] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 685.191] (EE) NVIDIA: system's kernel log for additional error messages and
[ 685.191] (EE) NVIDIA: consult the NVIDIA README for details.
[ 685.191] (II) modeset(G0): using drv /dev/dri/card0
[ 685.191] (EE) No devices detected.
[ 685.191] (EE)
Fatal server error:
[ 685.191] (EE) no screens found(EE)
[ 685.191] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 685.191] (EE) Please also check the log file at "/home/adam/.local/share/xor g/Xorg.0.log" for additional information.
[ 685.191] (EE)Offline
That is a log, singular. It's not even a complete one...
What does the journal say?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Dec 16 15:36:08 hark kernel: NVRM: API mismatch: the client has the version 375.26, but
NVRM: this kernel module has the version 375.20. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.Hmm- I've just installed the usual version of nvidia - not sure how to get the version that the kernel is expecting.
Offline
It seems that this might be the same problem that this person was having - http://funloop.org/post/2014-06-04-nvrm … match.html - doesn't mkinitcpio get triggered automatically during the update?
Offline
Fixed with
$ mkinitcpio -p linux and then reboot.
Offline
Unless you have explicitly added the nvidia modules to the mkinitcpio.conf file, this should not be needed as far as I know.
To prevent this in the future you could either remove the nvidia modules from your mkinitcpio.conf (assuming you're not using modesetting anyway) or configure a hook for pacman to run `mkinitcpio -p linux` on driver update.
The wiki has a hook for that here: https://wiki.archlinux.org/index.php/NVIDIA#Pacman_hook
Offline