From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 70009] [r300g, bisected] some wine apps renders black Date: Wed, 02 Oct 2013 16:07:47 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0658981293==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id E77E4E7AC2 for ; Wed, 2 Oct 2013 09:07:46 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0658981293== Content-Type: multipart/alternative; boundary="1380730067.5DFC150.27380"; charset="us-ascii" --1380730067.5DFC150.27380 Date: Wed, 2 Oct 2013 16:07:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D70009 --- Comment #4 from Pavel Ondra=C4=8Dka --- (In reply to comment #3) > (In reply to comment #2) > > So is seems, that when I record a trace using r300g driver (RV530) and > > replay it using either llvmpipe or i965, it works fine. Probably this is > > just some issue in the r300g driver, uncovered by core mesa changes... > > EVE online apitrace uploaded here: http://pavel.ondracka.cz/EVE.trace >=20 > llvmpipe and i965 support more temps than r300 class hw so they don't cro= ss > the limit. Yeah, thats why they show no errors and promblems when launching EVE direct= ly, because wine detects this and generate valid shaders... However the main problem is a little bit different. Citing one sample shader from bug 42514: The shader declares the array VC to have 245 elements: uniform vec4 VC[245]; then it tries to access the 246th element of the array: R0.xyz =3D (VC[245].xyz); Also citing from wine bug 29146: Yeah, we should be better about this. The reason we don't already do this is that a shader like this may still work if it doesn't actually use the const= ants near the end that we remove. We should probably print a message mentioning something along those lines when such a shader fails to compile or link. So when i generate the apitrace with r300g in already contains the invalid shaders, however llvmpipe and softpipe still handle things correctly (e.g. display majority of stuff) and also r300g did so before the mentioned bad commit. --=20 You are receiving this mail because: You are the assignee for the bug. --1380730067.5DFC150.27380 Date: Wed, 2 Oct 2013 16:07:47 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 70009<= /a> from Pavel Ondra=C4=8Dka
(In reply to comment #3=
)
> (In reply to comment #2)
> > So is seems, that when I record a trace using r300g driver (RV530=
) and
> > replay it using either llvmpipe or i965, it works fine. Probably =
this is
> > just some issue in the r300g driver, uncovered by core mesa chang=
es...
> > EVE online apitrace uploaded here: http://pavel.ondracka.cz/EVE.trace
>=20
> llvmpipe and i965 support more temps than r300 class hw so they don't =
cross
> the limit.

Yeah, thats why they show no errors and promblems when launching EVE direct=
ly,
because wine detects this and generate valid shaders...

However the main problem is a little bit different. Citing one sample shader
from bug 42514:
The shader declares the array VC to have 245 elements:
uniform vec4 VC[245];
then it tries to access the 246th element of the array:
R0.xyz =3D (VC[245].xyz);


Also citing from wine bug 29146:
Yeah, we should be better about this. The reason we don't already do this is
that a shader like this may still work if it doesn't actually use the const=
ants
near the end that we remove. We should probably print a message mentioning
something along those lines when such a shader fails to compile or link.

So when i generate the apitrace with r300g in already contains the invalid
shaders, however llvmpipe and softpipe still handle things correctly (e.g.
display majority of stuff) and also r300g did so before the mentioned bad
commit.


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1380730067.5DFC150.27380-- --===============0658981293== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0658981293==--