Bug 83021

Summary: Separate X screens --> Xvideo is vsynced to primary screen only
Product: xorg Reporter: Jan Janecek <janjanjanx>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jan Janecek 2014-08-24 20:54:59 UTC
I use two separate X screens and Xvideo is vsynced only to the primary display. The DRM however supports syncing to secondary display as well (using _DRM_VBLANK_SECONDARY).
I looked at the xf86-video-nouveau source, and it looks like it tries to determine on wich display the window is by using the window position (in the nv_window_belongs_to_crtc function). I think this method only works when there is one X screen assembled of two displays, but it does not work with two separate X screens.

Linux 3.15.10, Xorg 1.16, xf86-video-nouveu 1.0.10
GPU GTX 560Ti
Comment 1 Ilia Mirkin 2014-08-24 20:57:04 UTC
There have been a bunch of fixes to this logic in git -- does this issue still happen with http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/ ? Specifically I'm thinking of http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/commit/?id=6ad053788e804f3a8bd36ee3653ec95e7df62623
Comment 2 Jan Janecek 2014-08-24 23:33:45 UTC
It is indeed fixed in newest GIT, I should have tried that before filing the bug.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.