From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 106294] New: GM204/modesetting DDX: Odd corruption (red backgrounds) introduced by Mesa Date: Sat, 28 Apr 2018 11:07:44 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1807113218==" 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 --===============1807113218== Content-Type: multipart/alternative; boundary="15249136640.F0D9FeD8D.26615" Content-Transfer-Encoding: 7bit --15249136640.F0D9FeD8D.26615 Date: Sat, 28 Apr 2018 11:07:44 +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=3D106294 Bug ID: 106294 Summary: GM204/modesetting DDX: Odd corruption (red backgrounds) introduced by Mesa Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Reporter: freedesktop-bugs-dADiZSo7rdJAfugRpC6u6w@public.gmane.org QA Contact: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org I apologise if I have selected the wrong product for this bug, as I think I probably have. If I need to open a new bug, please let me know. I use an NVidia GeForce GTX 970, with kernel version 4.15.4-gentoo and the modesetting driver in Xorg. (More detailed descriptions of packages install= ed at the bottom of this description.) My distribution (Gentoo) has packages for Mesa 17.2.8, 17.3.8, and a few ot= her higher versions (currently marked as unstable). When I use Mesa 17.3.8 or higher, I see odd types of corruption involving red backgrounds on menus and widgets, and some checkboxes appear unticked when they should be ticked. I recorded this behaviour using OBS: * Incorrect behaviour on 17.3.8 and higher: https://www.youtube.com/watch?v=3DpuSC7a_osw0 * Expected behaviour on 17.2.8: https://www.youtube.com/watch?v=3DLbjCoIX4DKE I dug out git and have confirmed that the bug still exists as of commit https://cgit.freedesktop.org/mesa/mesa/commit/?id=3D8b7358fe4376aecee0c29ea= 622f88f9ef07e6b11 (the latest commit on master as of an hour ago or so). After bisection, I discovered that the bug was introduced by https://cgit.freedesktop.org/mesa/mesa/commit/?id=3Dfcbb93e860246375d03f280= f927f79d3645a8988 , which is actually *before* the 17.2.x branchpoint. It turns out that this commit was reverted in the 17.2.x branch in commit https://cgit.freedesktop.org/mesa/mesa/commit/?id=3D17a3e4891bf4fa09785fe9d= 22db5c79a949004db to fix bug #101983. This was not committed to the 'master' branch, as the f= ixes in master apparently would have been rather invasive. This explains why my tests of 17.2.8 worked fine. This issue only appears when using the "modesetting" DDX drivers. When using the "nouveau" DDX drivers, the issue does not appear. (The "nouveau" DDX drivers also fix other issues for me so I'll probably switch to using that = from now on for normal use, but I'm willing to switch back to help debug this is= sue if needed.) System summary: I have the following graphics card, as shown by lspci -nn: > 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeFor= ce GTX 970] [10de:13c2] (rev a1) I am running Gentoo Linux with the sys-kernel/gentoo-sources-4.15.4 kernel, with the following (relevant) packages installed: * x11-base/xorg-server-1.19.5-r1 * x11-base/xorg-drivers-1.19 (with VIDEO_CARDS=3D"nouveau") In my kernel configuration, CONFIG_DRM_NOUVEAU is set to "m". Please let me know if you need any more information. --=20 You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.= --15249136640.F0D9FeD8D.26615 Date: Sat, 28 Apr 2018 11:07:44 +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 106294
Summary GM204/modesetting DDX: Odd corruption (red backgrounds) intro= duced by Mesa
Product Mesa
Version git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component Drivers/DRI/nouveau
Assignee nouveau@lists.freedesktop.org
Reporter freedesktop-bugs@theblob.org
QA Contact nouveau@lists.freedesktop.org

I apologise if I have selected the wrong product for this bug,=
 as I think I
probably have. If I need to open a new bug, please let me know.

I use an NVidia GeForce GTX 970, with kernel version 4.15.4-gentoo and the
modesetting driver in Xorg. (More detailed descriptions of packages install=
ed
at the bottom of this description.)

My distribution (Gentoo) has packages for Mesa 17.2.8, 17.3.8, and a few ot=
her
higher versions (currently marked as unstable). When I use Mesa 17.3.8 or
higher, I see odd types of corruption involving red backgrounds on menus and
widgets, and some checkboxes appear unticked when they should be ticked. I
recorded this behaviour using OBS:

* Incorrect behaviour on 17.3.8 and higher:
    https://www.y=
outube.com/watch?v=3DpuSC7a_osw0

* Expected behaviour on 17.2.8:
    https://www.y=
outube.com/watch?v=3DLbjCoIX4DKE

I dug out git and have confirmed that the bug still exists as of commit
https://cgit.freedesktop.org/mesa/mesa/commit=
/?id=3D8b7358fe4376aecee0c29ea622f88f9ef07e6b11
(the latest commit on master as of an hour ago or so).

After bisection, I discovered that the bug was introduced by
https://cgit.freedesktop.org/mesa/mesa/commit=
/?id=3Dfcbb93e860246375d03f280f927f79d3645a8988
, which is actually *before* the 17.2.x branchpoint. It turns out that this
commit was reverted in the 17.2.x branch in commit
https://cgit.freedesktop.org/mesa/mesa/commit=
/?id=3D17a3e4891bf4fa09785fe9d22db5c79a949004db
to fix bug #101983. This was not committe=
d to the 'master' branch, as the fixes
in master apparently would have been rather invasive. This explains why my
tests of 17.2.8 worked fine.

This issue only appears when using the "modesetting" DDX drivers.=
 When using
the "nouveau" DDX drivers, the issue does not appear. (The "=
nouveau" DDX
drivers also fix other issues for me so I'll probably switch to using that =
from
now on for normal use, but I'm willing to switch back to help debug this is=
sue
if needed.)

System summary:

I have the following graphics card, as shown by lspci -nn:
> 01:00.0 VGA compatible controller [0300]: NVIDIA=
 Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)

I am running Gentoo Linux with the sys-kernel/gentoo-sources-4.15.4 kernel,
with the following (relevant) packages installed:

* x11-base/xorg-server-1.19.5-r1
* x11-base/xorg-drivers-1.19 (with VIDEO_CARDS=3D"nouveau")

In my kernel configuration, CONFIG_DRM_NOUVEAU is set to "m".

Please let me know if you need any more information.


You are receiving this mail because:
  • You are the QA Contact for the bug.
  • You are the assignee for the bug.
= --15249136640.F0D9FeD8D.26615-- --===============1807113218== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1807113218==--