lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
lspci | grep 3D
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)
kernel: 4.11.0
The configuration described in the thread below stopped working as of kernel version 4.10
[url]https://devtalk.nvidia.com/default/topic/995110/linux/oops-something-went-wrong-and-the-system-can-t-recover/[/url]
Once I blacklist the nouveau driver and install the nvidia one with the described configuration in the above thread, once gdm3 tries to start it just gives a blank screen - the system doesnt hang and I am able to switch to another console however no display output is displayed. It looks a bit like the display output is redirected to another output source. I’ve tried setting the nvidia-drm.modeset and disabling i915.modeset, all possible modeset combinations I could think of and tons of other things described on forums with similar issues.
The xorg.conf nvidia prime configuration is as following:
xorg.conf
Section “ServerLayout”
Identifier “layout”
Screen 0 “nvidia”
Inactive “intel”
EndSection
Section “Device”
Identifier “nvidia”
Driver “nvidia”
BusID “PCI:2:0:0”
EndSection
Section “Screen”
Identifier “nvidia”
Device “nvidia”
Option “AllowEmptyInitialConfiguration”
EndSection
Section “Device”
Identifier “intel”
Driver “modesetting”
EndSection
Section “Screen”
Identifier “intel”
Device “intel”
EndSection
optimus.desktop
Type=Application
Name=Optimus
Exec=sh -c “xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto”
NoDisplay=true
X-GNOME-Autostart-Phase=DisplayServer
The issue relates to all the recent drivers for the GPU including 384.90, 384.69 (may apply to other drivers as well, drivers prior to 384.69 can not be installed on this kernel at all)
Is there a workaround on this or is it just the kernel is incompatible with the driver?