From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 97511] New: GM204/modesetting DDX: Using PageFlip causes syncing issue/screen corruption Date: Sat, 27 Aug 2016 21:22:11 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0428337991==" Return-path: 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 --===============0428337991== Content-Type: multipart/alternative; boundary="14723329310.C1AFef58.10816"; charset="UTF-8" --14723329310.C1AFef58.10816 Date: Sat, 27 Aug 2016 21:22:11 +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=3D97511 Bug ID: 97511 Summary: GM204/modesetting DDX: Using PageFlip causes syncing issue/screen corruption Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: freedesktop-bugs-dADiZSo7rdJAfugRpC6u6w@public.gmane.org QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org Created attachment 126073 --> https://bugs.freedesktop.org/attachment.cgi?id=3D126073&action=3Dedit Screenshot showing the issue on Mumble and Audacious After working around bug #94990 so that I can use kernel modesetting, I find that when I run a Qt application inside my regular desktop environment, Enlightenment E20 (0.20.5) in Xorg server 1.18.4, I get issues with screen updates, resulting in artifacts such as shown in the attached screenshot. It appears to have issues switching between the current state and a previously drawn state. The issue does not appear in any non-Qt applications as far as I can tell. = Note that in the attached screenshot, Mumble is a Qt4 app and Audacious is a Qt5= app (here running using the Winamp Classic interface). Only some Qt widgets app= ear to be affected; so far I've only encountered the issue with menus, graphical tab bars (such as the one Audacious uses in its preferences window), toolba= rs, and however Audacious renders the scrolling text in its Winamp Classic interface. After talking with a nouveau dev on IRC (karolherbst), we determined that t= he issue does not appear when the PageFlip option is set to 0 in an xorg.conf.d file. (I will attach the configuration file I use to this bug.) I also mana= ged to determine that the corruption does not appear when I use another window manager without a compositor, such as mwm. Interestingly, the corruption do= es not reappear if I use mwm together with compton, a standalone compositor. This bug only started happening after updating to Xorg server version 1.18.4 from 1.17.4. I have not as yet tested any of the previous 1.18.x releases; = if this is desired, please let me know. Summary of system: * Gentoo Linux, amd64, fully up-to-date, using x11 overlay * NVidia GeForce GTX 970 (GM204) * Kernel version 4.7.0 (with a modification to bypass bug #94990) * Xorg server 1.18.4 * Mesa 12.0.1 * Enlightenment 0.20.5 * Qt versions installed: 4.8.6 and 5.6.1. * Examples of Qt applications tested: Mumble (1.2.16), Audacious (3.7.1), V= LC (2.2.4), Wireshark (2.0.5). --=20 You are receiving this mail because: You are the assignee for the bug.= --14723329310.C1AFef58.10816 Date: Sat, 27 Aug 2016 21:22:11 +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
Bug ID 97511
Summary GM204/modesetting DDX: Using PageFlip causes syncing issue/sc= reen corruption
Product xorg
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Driver/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter freedesktop-bugs@theblob.org
QA Contact xorg-team@lists.x.org

Created attachment 126073 [details]
Screenshot showing the issue on Mumble and Audacious

After working around bug #94990 so that I can use kernel=
 modesetting, I find
that when I run a Qt application inside my regular desktop environment,
Enlightenment E20 (0.20.5) in Xorg server 1.18.4, I get issues with screen
updates, resulting in artifacts such as shown in the attached screenshot. It
appears to have issues switching between the current state and a previously
drawn state.

The issue does not appear in any non-Qt applications as far as I can tell. =
Note
that in the attached screenshot, Mumble is a Qt4 app and Audacious is a Qt5=
 app
(here running using the Winamp Classic interface). Only some Qt widgets app=
ear
to be affected; so far I've only encountered the issue with menus, graphical
tab bars (such as the one Audacious uses in its preferences window), toolba=
rs,
and however Audacious renders the scrolling text in its Winamp Classic
interface.

After talking with a nouveau dev on IRC (karolherbst), we determined that t=
he
issue does not appear when the PageFlip option is set to 0 in an xorg.conf.d
file. (I will attach the configuration file I use to this bug.) I also mana=
ged
to determine that the corruption does not appear when I use another window
manager without a compositor, such as mwm. Interestingly, the corruption do=
es
not reappear if I use mwm together with compton, a standalone compositor.

This bug only started happening after updating to Xorg server version 1.18.4
from 1.17.4. I have not as yet tested any of the previous 1.18.x releases; =
if
this is desired, please let me know.

Summary of system:

* Gentoo Linux, amd64, fully up-to-date, using x11 overlay
* NVidia GeForce GTX 970 (GM204)
* Kernel version 4.7.0 (with a modification to bypass bug #94990)
* Xorg server 1.18.4
* Mesa 12.0.1
* Enlightenment 0.20.5
* Qt versions installed: 4.8.6 and 5.6.1.
* Examples of Qt applications tested: Mumble (1.2.16), Audacious (3.7.1), V=
LC
(2.2.4), Wireshark (2.0.5).


You are receiving this mail because:
  • You are the assignee for the bug.
= --14723329310.C1AFef58.10816-- --===============0428337991== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0428337991==--