From: bugzilla-daemon@freedesktop.org Subject: [Bug 99444] [radeonsi] The Witcher 3 (GOG/1.31) [Wine] starting menu is distorted Date: Thu, 02 Feb 2017 09:42:16 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1214486994==" 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 A53CA6E96C for ; Thu, 2 Feb 2017 09:42:16 +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 --===============1214486994== Content-Type: multipart/alternative; boundary="14860285362.aeF6c21.17536"; charset="UTF-8" --14860285362.aeF6c21.17536 Date: Thu, 2 Feb 2017 09:42:16 +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=3D99444 --- Comment #15 from Samuel Pitoiset --- (In reply to J=C3=B3zef Kucia from comment #13) > (In reply to Samuel Pitoiset from comment #12) > > Well yeah, it's definitely unrelated to Mesa/RadeonSI. The app should c= heck > > if NV_register_combiners is supported before using it. I'm going to clo= se > > the ticket. >=20 > Are you sure that NV_register_combiners are used? I haven't checked the > trace myself but I doubt this is a case. >=20 > (In reply to Shmerl from comment #11) > > I just replayed my trace (recorder on radeonsi / RX480), and I see this= in > > the log: > >=20 > > 120612: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER0_NV) > > 120612 @1 glActiveTexture(texture =3D GL_COMBINER0_NV) > > 120619: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER1_NV) > > 120619 @1 glActiveTexture(texture =3D GL_COMBINER1_NV) > > 120626: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER2_NV) > > 120626 @1 glActiveTexture(texture =3D GL_COMBINER2_NV) > > 120633: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER3_NV) > > 120633 @1 glActiveTexture(texture =3D GL_COMBINER3_NV) > > 120640: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER4_NV) > > 120640 @1 glActiveTexture(texture =3D GL_COMBINER4_NV) > > 120647: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER5_NV) > > 120647 @1 glActiveTexture(texture =3D GL_COMBINER5_NV) > > 120654: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER6_NV) > > 120654 @1 glActiveTexture(texture =3D GL_COMBINER6_NV) > > 120661: message: major api error 2: GL_INVALID_ENUM in > > glActiveTexture(texture=3DGL_COMBINER7_NV) > > 120661 @1 glActiveTexture(texture =3D GL_COMBINER7_NV) >=20 > This has nothing to do with NV_register_combiners. It just displayed like > this in apitrace, because GL_COMBINERi_NV =3D GL_TEXTURE0 + x. You are right. The game wants 192 texture units but RadeonSI only exposes 144 (24 per stag= es), that explains at least, the glActiveTexture() errors in the trace. But according to the GL spec, the minimum number of texture units is 80. --=20 You are receiving this mail because: You are the assignee for the bug.= --14860285362.aeF6c21.17536 Date: Thu, 2 Feb 2017 09:42:16 +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 # 15 on bug 99444<= /a> from Samuel Pitoiset
(In reply to J=C3=B3zef Kucia from comment #13)
> (In reply to Samuel Pitoiset from comment #12)
> > Well yeah, it's definitely unrelated to Mesa/RadeonSI. The app sh=
ould check
> > if NV_register_combiners is supported before using it. I'm going =
to close
> > the ticket.
>=20
> Are you sure that NV_register_combiners are used? I haven't checked the
> trace myself but I doubt this is a case.
>=20
> (In reply to Shmerl from comme=
nt #11)
> > I just replayed my trace (recorder on radeonsi / RX480), and I se=
e this in
> > the log:
> >=20
> > 120612: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER0_NV)
> > 120612 @1 glActiveTexture(texture =3D GL_COMBINER0_NV)
> > 120619: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER1_NV)
> > 120619 @1 glActiveTexture(texture =3D GL_COMBINER1_NV)
> > 120626: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER2_NV)
> > 120626 @1 glActiveTexture(texture =3D GL_COMBINER2_NV)
> > 120633: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER3_NV)
> > 120633 @1 glActiveTexture(texture =3D GL_COMBINER3_NV)
> > 120640: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER4_NV)
> > 120640 @1 glActiveTexture(texture =3D GL_COMBINER4_NV)
> > 120647: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER5_NV)
> > 120647 @1 glActiveTexture(texture =3D GL_COMBINER5_NV)
> > 120654: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER6_NV)
> > 120654 @1 glActiveTexture(texture =3D GL_COMBINER6_NV)
> > 120661: message: major api error 2: GL_INVALID_ENUM in
> > glActiveTexture(texture=3DGL_COMBINER7_NV)
> > 120661 @1 glActiveTexture(texture =3D GL_COMBINER7_NV)
>=20
> This has nothing to do with NV_register_combiners. It just displayed l=
ike
> this in apitrace, because GL_COMBINERi_NV =3D GL_TEXTURE0 + x.

You are right.

The game wants 192 texture units but RadeonSI only exposes 144 (24 per stag=
es),
that explains at least, the glActiveTexture() errors in the trace.

But according to the GL spec, the minimum number of texture units is 80.
        


You are receiving this mail because:
  • You are the assignee for the bug.
= --14860285362.aeF6c21.17536-- --===============1214486994== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1214486994==--