You are not logged in.

#1 2016-12-22 00:31:20

Vagrant_Animus
Member
Registered: 2016-12-22
Posts: 6

NVIDIA 375.26 Fails To Boot With KMS Enabled

Enabling DRM KMS as instructed in https://wiki.archlinux.org/index.php/NV … de_setting makes my system hang on boot when the 375.26 driver is installed. It yields the following:

[drm:nvidia_drm_gem_import_nvkms_memory [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to import NVKMS memory to GEM object
[drm:nvidia_drm_gem_import_nvkms_memory [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to import NVKMS memory to GEM object
[drm:nvidia_drm_gem_import_nvkms_memory [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to import NVKMS memory to GEM object

Switching to a different TTY would make the screen flicker for a minute and then the commandline would be accessible but the graphical.target wouldn't be started. Reverting back to 375.20 would yield the same errors, KMS wouldn't start, but the system would boot and the graphical target would be reached just fine without KMS. Removing the modeset=1 kernel parameter with 375.26 doesn't solve the issue either. Any help concerning the subject would be appreciated. So far, all I've found online was a comment by a Fedora 25 user with the same exact issue: https://devtalk.nvidia.com/default/topi … st/5038170

Thanks!

Offline

#2 2016-12-26 10:04:45

Vagrant_Animus
Member
Registered: 2016-12-22
Posts: 6

Re: NVIDIA 375.26 Fails To Boot With KMS Enabled

Thanks to a faulty pacman hook, I was able to get it to boot by running /usr/bin/mkinitcpio -p linux after installing the driver. This, however, still prevents KMS from loading and thus X loads without KMS as if it's disabled. The 'Failed to import NVKMS memory to GEM object' messages are still visible in the logs. I'm starting to believe that there's a missing config somewhere. Any tips would be appreciated.

Offline

#3 2016-12-28 10:53:15

Anti-Ultimate
Member
Registered: 2016-12-28
Posts: 1

Re: NVIDIA 375.26 Fails To Boot With KMS Enabled

Had the same issue on both, Fedora 25 and Arch

This solves it:
https://devtalk.nvidia.com/default/topi … 5/#5039885

Offline

#4 2016-12-28 11:27:41

Vagrant_Animus
Member
Registered: 2016-12-22
Posts: 6

Re: NVIDIA 375.26 Fails To Boot With KMS Enabled

Thanks for the link but I don't think my case is the same as the one discussed. I got the driver working with Xorg a few days ago. My issue is with KMS still being disabled at boot even though I reviewed my configs over and over again. I'm trying to get weston running natively which is why I need KMS to start.

Offline

#5 2017-05-10 12:24:16

Vash63
Member
Registered: 2012-09-22
Posts: 30

Re: NVIDIA 375.26 Fails To Boot With KMS Enabled

Sorry to bump an old thread but I'm having this same issue, even on the latest 378.13 and 381.22 drivers. I've done some research on "Failed to import NVKMS memory to GEM object" and it appears to be related to CONFIG_HARDENED_USERCOPY added in kernel 4.9, but Nvidia fixed that in the 375 branch a while back...

Were you able to resolve this without building a custom kernel with the above flag toggled off? (or downgrading)

Offline

Board footer

Powered by FluxBB