FS#57305 - [nvidia] PRIME Synchronization doesn't work with linux 4.15
Attached to Project:
Arch Linux
Opened by Archer (justanarcher) - Wednesday, 31 January 2018, 08:38 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 15:20 GMT
Opened by Archer (justanarcher) - Wednesday, 31 January 2018, 08:38 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 15:20 GMT
|
Details
Description:
Nvidia PRIME Synchronization stopped working since upgrading to linux 4.15 and nvidia 390.25. It works with linux-lts 4.9.78 and 390.25 as well as other driver versions. I can't check linux 4.15 and 387.34 because of compilation error, but 384.111 and 390.12 compile and also don't work. So in summary, PRIME synchronization doesn't work with any driver version I tested and linux 4.15 and works with every driver version I tested and linux 4.9 LTS. Of course it also used to work with linux 4.14 and earlier. Additional info: xrandr --prop | grep PRIME PRIME Synchronization: 0 sudo cat /sys/module/nvidia_drm/parameters/modeset Y |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 10 February 2018, 15:20 GMT
Reason for closing: Fixed
Saturday, 10 February 2018, 15:20 GMT
Reason for closing: Fixed

This patch should allow you to compile 387.34 to test that as
well.

Same issue for me, may be a cause of DRM KMS issues.

Does this patch resolve the issue?

With the above patch I don't see any tearing and xrandr reports
PRIME Synchronization as enabled. Tested on linux 4.5.12-2 and
nvidia-dkms with the above patch applied.

Great stuff. The above patch also fixed the similar issue #57401.

Please test the new nvidia package.

The new package works great.