Ubuntu 17.04 Gnome 3.24 Wayland Session - Can't get Hybrid Graphics to work

by Kevin   Last Updated April 17, 2017 18:02 PM

I've been struggling with gnome 3.24 over many distros for the past week.

I have a dell XPS 9560 that uses NVIDIA Optimus technology, which is basically having a dual GPU (CPU integrated + discrete). In my case it is a Kaby Lake graphics from my i7 and an NVIDIA GTX 1050.

I tried to install Ubuntu 17.04 Gnome as it is the most recent distro and I imagined it would be better out of the box than my many failed attempts (arch, tumbleweed, fedora 26).

The thing is I can start a Wayland session (after fresh install) but I can't use the secondary GPU (nvidia) for opening apps, games etc. it doesn't show up anywhere in the settings either.

I then ran a Xorg session to get the additional drivers and installed the nvidia one, rebooted and my default GPU was now NVIDIA, in the Xorg session, however I can't start my Wayland session.

So I opened Nvidia-settings and in Prime Profiles switched my GPU to the Intel one, rebooted and now I could start the Wayland session but now the Xorg one, I'd just get a gray screen. And even in Wayland with the nvidia driver and my prime profile set on my Intel Graphics I can't open using the secondary GPU. So as of now I reverted to default xorg nouveau driver and am using my Wayland session with my Intel Graphics.

I haven't tried installing the latest beta drivers on this distro yet, but when I attempted it on my precedent tries I couldn't even get the prime profiles to show up in the nvidia-settings.

I have no clue if my problem comes from out of date drivers, hardware support, a glitch in the matrix whatsoever so any help of any kind would be appreciated.

EDIT: The nvidia version I tried to install was the current 375, I also tried the 381 beta in other distros but not in Ubuntu 17.04 yet. Also :

$ lspci | grep -E "VGA|3D"
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

Related Questions

Nvidia prime vs bumblebee fps drop issue

Updated October 09, 2015 22:01 PM

What's the state of hybrid graphics in 2018?

Updated August 27, 2018 11:02 AM