FWIW: today I installed kernel 4.6.0-040600-generic from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety/ on my Kubuntu Xenial setup. On this kernel version the nvidia-drivers I was using, nvidia-361, didn't work anymore (it said that kernel 4.6.0 was not supported), so I upgraded to nvidia-464 from https://launchpad.net /~graphics-drivers
After this I had one more glitch, that is that even though nouveau is listed in /etc/modprobe.d/nvidia-graphics-drivers.conf as blacklist nouveau blacklist lbm-nouveau it would still be loaded, preventing the nvidia driver from working properly. By adding nouveau.blacklist=1 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub I could prevent it from loading. Using this combination, I now have a fully working optimus setup. I can switch using nvidia-settings between nvidia and intel graphics and both run equally stable. It seems this issue was fixed in kernel 4.6.0 (possibly related to kernel bug https://bugzilla.kernel.org/show_bug.cgi?id=109081). I'm fairly certain that the newer nvidia driver doesn't influence it as even without that, the intel driver would work fine on 4.6.0. I just couldn't switch to the nvidia GPU. Will kernel 4.6.x make it into Xenial at some point? It seems that it's might be required for Skylake laptops to work completely. ** Bug watch added: Linux Kernel Bug Tracker #109081 http://bugzilla.kernel.org/show_bug.cgi?id=109081 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu. https://bugs.launchpad.net/bugs/1569383 Title: Intel HD Graphics 530 crashes on glxinfo in MSHYBRID mode Status in xserver-xorg-video-intel package in Ubuntu: New Bug description: On my laptop (Clevo P650RA) with Skylake / Intel Core i7 6700HQ with Intel HD Graphics 530 IGP and a nvidia GTX965M DGP, glxinfo crashes when running in IGP mode, The laptop uses Optimus / MSHYBRID technology to be able to utilize both IGP and DGP. After setup I install nvidia-361 driver, which will make the system run using DGP mode by default. Using prime-select intel I can switch to using the IGP. After logging out and in again, the IGP is being used. However, when doing certain tasks, the system will crash. Running glxinfo is one of them. Another one is: cat /proc/acpi/bbswitch In addition, it sometimes seemingly at random, probably when some kind of desktop effect is performed. It seems that some kind of interaction with ACPI / IGP will make it crash. This is running Kubuntu 16.04 Xenial Beta 2. Some version numbers: Kernel version (uname -r): 4.4.0-18-generic linux-image-4.4.0-18-generic: 4.4.0-18.34 xserver-xorg-core: 2:1.18.3-1ubuntu2 xserver-xorg-video-intel: 2:2.99.917+git20160325-1ubuntu1 sddm: 0.13.0-1ubuntu5 plasma-desktop: 4:5.5.4-0ubuntu1 lsb_release -a: Distributor ID: Ubuntu Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 Codename: xenial I'll attach a kern.log and a Xorg.0.log from a Intel IGP session on this laptop. Please let me know if I should provide other information, and how to collect this after a full system freeze. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1569383/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

