From: bugzilla-daemon@freedesktop.org
Subject: [Bug 110229] The driver is not waiting the shader have finished to
update the framebuffer before displaying it.
Date: Mon, 25 Mar 2019 21:40:31 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0457297187=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 19AA36E6BC
for ; Mon, 25 Mar 2019 21:40:31 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0457297187==
Content-Type: multipart/alternative; boundary="15535500310.cE74f7d.11671"
Content-Transfer-Encoding: 7bit
--15535500310.cE74f7d.11671
Date: Mon, 25 Mar 2019 21:40:31 +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=3D110229
--- Comment #3 from Laurent ---
I've more information about the bug and I've an idea of how to fix it.
It seems that the window content is updated each time one x,y pixel is drawn
but several pixels can be drawn at a same window position at the same time.
The solution is to make a list of each pixels to drawn, withdraw the pixel =
of
the list once it's drawn and update the window content once the list is emp=
ty.
The picture here show the problem, only the first color of my per-pixel lin=
ked
list is drawn (red). Or the color os the second sprite is green and the col=
or
of the third srite is blue.Si it should blend red pixels with green pixels =
and
then green pixels with blue pixels or it only blend the first pixel color of
the linked list : (Even with a call to the memory barrier function which ha=
ve
to wait, until all subsequent writes have finished)
https://image.noelshack.com/fichiers/2019/13/1/1553549295-capture-d-ecran-d=
e-2019-03-25-01-44-31.png
Now I've to check where I have to put this code onto source code files but =
it's
not easy because there are a lot of files, and the recompile the driver.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15535500310.cE74f7d.11671
Date: Mon, 25 Mar 2019 21:40:31 +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 11022=
9
from Laurent
I've more information about the bug and I've an idea of how to=
fix it.
It seems that the window content is updated each time one x,y pixel is drawn
but several pixels can be drawn at a same window position at the same time.
The solution is to make a list of each pixels to drawn, withdraw the pixel =
of
the list once it's drawn and update the window content once the list is emp=
ty.
The picture here show the problem, only the first color of my per-pixel lin=
ked
list is drawn (red). Or the color os the second sprite is green and the col=
or
of the third srite is blue.Si it should blend red pixels with green pixels =
and
then green pixels with blue pixels or it only blend the first pixel color of
the linked list : (Even with a call to the memory barrier function which ha=
ve
to wait, until all subsequent writes have finished)
https://image.noelshack.com/fichiers/=
2019/13/1/1553549295-capture-d-ecran-de-2019-03-25-01-44-31.png
Now I've to check where I have to put this code onto source code files but =
it's
not easy because there are a lot of files, and the recompile the driver.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15535500310.cE74f7d.11671--
--===============0457297187==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============0457297187==--