From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 103202] Tearing with reverse prime (intel primary,
nouveau secondary)
Date: Wed, 11 Oct 2017 08:45:45 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0747284989=="
Return-path:
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Sender: "Nouveau"
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============0747284989==
Content-Type: multipart/alternative; boundary="15077115450.f869e.17918";
charset="UTF-8"
--15077115450.f869e.17918
Date: Wed, 11 Oct 2017 08:45:45 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D103202
--- Comment #3 from post+fdo-8yesU2pFZgY@public.gmane.org ---
> I'm told that tearing with reverse prime is expected.
That would still be a bug then though? Clearly some form of synchronization
should be supported.
It seems there is some work on getting synchronization to work with PRIME
; not
sure what the current status of that is. Some sites make it sound like usi=
ng
the NVidia card with the proprietary drivers as primary actually can get you
V-sync on both screens, so is this just a matter of getting the nouveau DRM
driver hooked up to that infrastructure?
> if you were to flip them around and run the nvidia board as primary, you'=
d see tearing on the intel-connected screen.
Possible; I would then also have really bad battery life with no external
screen connected as the NVidia card would keep running.
> -intel/radeon both offer the option to stage that copy into a back buffer=
for flipping to avoid the tear
Given that the Intel card is the primary here, that wouldn't really help,
right? I would expect to need such an option for whatever drives the NVidia
card.
> X tears by default.
Well, yes, but with reverse PRIME I get tearing even if the application uses
V-Sync or if I use a compositor. So, this is not about a lack of
synchronization per default, it is about synchronization never happening ev=
en
when using the appropriate APIs.
I wouldn't mind looking into Wayland, but found no indication that reverse
PRIME is supported there at all.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15077115450.f869e.17918
Date: Wed, 11 Oct 2017 08:45:45 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 3
on bug 10320=
2
from post+fdo@ralfj.d=
e
> I'm told that tearing with reverse =
prime is expected.
That would still be a bug then though? Clearly some form of synchronization
should be supported.
It seems there is some work on getting synchronization to work with PRIME
<https://www.x.org/wiki/Events/XDC2016/Program/xdc-2016-prime-syn=
c.pdf>; not
sure what the current status of that is. Some sites make it sound like usi=
ng
the NVidia card with the proprietary drivers as primary actually can get you
V-sync on both screens, so is this just a matter of getting the nouveau DRM
driver hooked up to that infrastructure?
> if you were to flip them around and run the nvid=
ia board as primary, you'd see tearing on the intel-connected screen.
Possible; I would then also have really bad battery life with no external
screen connected as the NVidia card would keep running.
> -intel/radeon both offer the option to stage tha=
t copy into a back buffer for flipping to avoid the tear
Given that the Intel card is the primary here, that wouldn't really help,
right? I would expect to need such an option for whatever drives the NVidia
card.
> X tears by default.
Well, yes, but with reverse PRIME I get tearing even if the application uses
V-Sync or if I use a compositor. So, this is not about a lack of
synchronization per default, it is about synchronization never happening ev=
en
when using the appropriate APIs.
I wouldn't mind looking into Wayland, but found no indication that reverse
PRIME is supported there at all.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15077115450.f869e.17918--
--===============0747284989==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============0747284989==--