It's working here. Obviously not needed for Wayland but wayland is currently non-functional with nvidia-prime
method here
Switch to gdm3 if not already (will work with lightdm, for 16.04.3 stay with lightdm
Install nvidia drivers 375.66 or higher, reboot
In terminal -
Add this line, adjust 375 if using newer driver, ex. 381 or 384 ect.Code:sudo nano /etc/modprobe.d/zz-nvidia-modeset.conf
Save changes, exit nanoCode:options nvidia_375_drm modeset=1
In terminal
RebootCode:sudo update-initramfs -u
Note: one could also just edit /etc/modprobe.d/nvidia-graphics-drivers.conf on the last line instead on creating a new file. Same affect, the new file method may be slightly more persistent, i.e., an update to nvidia that doesn't up the version #..
To check -
Should return YCode:sudo cat /sys/module/nvidia_drm/parameters/modeset
1st. section, (the laptop display), should show PRIME Synchronization: 1Code:xrandr --verbose
Ex. here -
Note that upgrading nvidia driverversions will require redoing the above, i.e., edit # in the modeprobe file to match new driver #, then run the sudo update-initramfs -u command again$ xrandr --verboseScreen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
eDP-1-1 connected primary 1920x1080+0+0 (0x46) normal (normal left inverted right x axis y axis) 345mm x 194mm
Identifier: 0x42
Timestamp: 18328
Subpixel: unknown
Gamma: 1.0:1.0:1.0
Brightness: 1.0
Clones:
CRTC: 0
CRTCs: 0 1 2
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
_MUTTER_PRESENTATION_OUTPUT: 0
EDID:
00ffffffffffff0030e4d90200000000
00150103802313780a15d59e59509826
0e505400000001010101010101010101
0101010101017e3680b070381f403020
350059c2100000190000000000000000
00000000000000000000000000fe004c
4720446973706c61790a2020000000fe
004c503135365746312d544c4232004b
PRIME Synchronization: 1
supported: 0, 1
scaling mode: Full aspect
supported: None, Full, Center, Full aspect
...........



Adv Reply




Bookmarks