FS#52243 - [nvidia-340xx] 340.101-5 and Linux 4.9 : X doesn't start.
Attached to Project:
Arch Linux
Opened by Frederic Bezies (fredbezies) - Thursday, 22 December 2016, 22:13 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 January 2017, 12:53 GMT
Opened by Frederic Bezies (fredbezies) - Thursday, 22 December 2016, 22:13 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 22 January 2017, 12:53 GMT
|
Details
Description: Simple to reproduce. Get both nvidia-340xx and
linux 4.9-1. Reboot after install. Lightdm or any other DM
won't start. Only workaround ? Either keep linux 4.8.xx
kernel or switch to nouveau server for xorg.
Additional info: Linux 4.9-1 nvidia-340xx-340.101-5 Steps to reproduce: See description. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 22 January 2017, 12:53 GMT
Reason for closing: Fixed
Sunday, 22 January 2017, 12:53 GMT
Reason for closing: Fixed
So there is the patch to apply and make nvidia-340xx working with linux 4.9 kernel :
http://pastebin.com/raw/mSwYvy1L
--- kernel/nv-drm.c 2016-12-15 12:41:26.000000000 +0100
+++ kernel/nv-drm.c 2016-12-15 12:58:48.000000000 +0100
@@ -115,7 +115,11 @@
};
static struct drm_driver nv_drm_driver = {
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 9, 0)
+ .driver_features = DRIVER_GEM | DRIVER_PRIME | DRIVER_LEGACY,
+#else
.driver_features = DRIVER_GEM | DRIVER_PRIME,
+#endif
.load = nv_drm_load,
.unload = nv_drm_unload,
.fops = &nv_drm_fops,
Thanks!
-Dave
-Dave
-Dave