So, I just upgraded to 17.04 with Xorg 1.19.3 and nvidia 375.xx drivers. By default, Ubuntu installed a modprobe.d file to set drm modeset = 0 for the nvidia kernel module and that seem to prevent Prime Synchronization from working.
I tried to change the modeset to 1 so I could finally try the synchronization configuration, but that froze the system hard as long as lightdm booted. I installed gnome with gdm3 and I could get to gdm3 and try to login to gnome with no avail. But after a few tries (without changing anything) it just logged in, but prime synchronization was off for both the laptop screen as my TV. I did the "modprobe -v nvidia-drm" to check the modeset and it was 1, but whenever I tried to set the Prime Synchronization via xrandr, the screen went black for a sec and came back, but xrandr --verbose still displayed Prime Synchronization off. Why is that cat /etc/modprobe.d/nvidia-graphics-drivers.conf with the "options nvidia_375_drm modeset=0"? Why does changing it to 1 freeze the whole system thereafter? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to nvidia-prime in Ubuntu. https://bugs.launchpad.net/bugs/1674304 Title: PRIME synchronization not working with xserver-1.19.x Status in nvidia-prime package in Ubuntu: Confirmed Bug description: xserver-1.19.x is being proposed for 17.04, currently available in test ppa https://launchpad.net/~canonical-x/+archive/ubuntu/x-staging FFe - https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1671799 On 2 separate Optimus laptops there is no sign of it actually working, tearing while using nvidia drivers (375.x) is rampart. Testing with both current 4.10.0-13 & previous 4.9.0-11 kernels. Shows this in kern.log so support is enabled Mar 19 08:18:47 doug-Lenovo-IdeaPad-Y510P kernel: [ 1.746443] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). Mar 19 08:18:47 doug-Lenovo-IdeaPad-Y510P kernel: [ 1.746444] [drm] Driver supports precise vblank timestamp But in Xorg.0.log - randr: falling back to unsynchronized pixmap sharing ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: nvidia-prime 0.8.4 ProcVersionSignature: Ubuntu 4.10.0-13.15-generic 4.10.1 Uname: Linux 4.10.0-13-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.4-0ubuntu2 Architecture: amd64 CurrentDesktop: Unity:Unity7 Date: Mon Mar 20 07:53:12 2017 InstallationDate: Installed on 2017-03-15 (4 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170311) SourcePackage: nvidia-prime UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1674304/+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

