Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Felix Yan (felixonmars)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by loqs (loqs) - Wednesday, 31 January 2018, 18:19 GMT
This patch should allow you to compile 387.34 to test that as well.
Comment by Thomas Rue (ThomasRue) - Wednesday, 07 February 2018, 01:52 GMT
Same issue for me, may be a cause of DRM KMS issues.
Comment by loqs (loqs) - Thursday, 08 February 2018, 21:44 GMT
Does this patch resolve the issue?
Comment by Archer (justanarcher) - Friday, 09 February 2018, 08:19 GMT
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.
Comment by Thomas Rue (ThomasRue) - Saturday, 10 February 2018, 03:57 GMT
Great stuff. The above patch also fixed the similar issue #57401.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 10 February 2018, 12:00 GMT
Please test the new nvidia package.
Comment by Archer (justanarcher) - Saturday, 10 February 2018, 13:33 GMT
The new package works great.

Loading...