From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 89730] NV50: LightDM GTK+ Greeter Background - inconsistent display Date: Mon, 23 Mar 2015 17:06:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0748493426==" Return-path: In-Reply-To: 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 --===============0748493426== Content-Type: multipart/alternative; boundary="1427130378.E7e51e1.23664"; charset="UTF-8" --1427130378.E7e51e1.23664 Date: Mon, 23 Mar 2015 17:06:18 +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=3D89730 --- Comment #4 from poma --- (In reply to Ilia Mirkin from comment #2) > Here's a simple patch to try... *no* idea if it'll help. I assume not, but > who knows. [Patch to xf86-video-nouveau.] >=20 > diff --git a/src/nv50_accel.c b/src/nv50_accel.c > index 5efbd19..ecad602 100644 > --- a/src/nv50_accel.c > +++ b/src/nv50_accel.c > @@ -207,6 +207,8 @@ NVAccelInitNV50TCL(ScrnInfoPtr pScrn) > PUSH_DATA (push, 0); > BEGIN_NV04(push, NV50_3D(COLOR_MASK_COMMON), 1); > PUSH_DATA (push, 1); > + BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); > + PUSH_DATA (push, 0); >=20=20 > BEGIN_NV04(push, NV50_3D(TIC_ADDRESS_HIGH), 3); > PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET) >> 32); With this nouve git: http://cgit.freedesktop.org/nouveau/xf86-video-nouveau/ dunno whether it is proper position, but comparing with the NV50_3D(ZETA_ENABLE) in src/nvc0_accel.c your patch fit like this: diff --git a/src/nv50_accel.c b/src/nv50_accel.c index b27f67a..50b3a08 100644 --- a/src/nv50_accel.c +++ b/src/nv50_accel.c @@ -207,6 +207,8 @@ NVAccelInitNV50TCL(ScrnInfoPtr pScrn) PUSH_DATA (push, 0); BEGIN_NV04(push, SUBC_3D(0x0f90), 1); PUSH_DATA (push, 1); + BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1); + PUSH_DATA (push, 0); BEGIN_NV04(push, NV50_3D(TIC_ADDRESS_HIGH), 3); PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET) >> 32); Nevertheless it still has no effect. With regard to your question - GL, I tried the following: options nouveau noaccel=3D1 and it has a positive effect - Greeter Background is displayed correctly. After all this, if I understand it correctly: 1. Family : NV30 / Chipset: NV34 (NV34) / GeForce FX 5200=20 because it has no problemos in this case - per se is not accelerated? 2. the same applies if the modesetting is used - not accelerated? 3. also there is no problemos if nouveau noaccel=3D1 is used - not accelera= ted? Perhaps this is flaw within the greeter application then? --=20 You are receiving this mail because: You are the assignee for the bug. --1427130378.E7e51e1.23664 Date: Mon, 23 Mar 2015 17:06:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 89730<= /a> from poma
(In reply to Ilia Mirkin from comment #2)
> Here's a simple patch to try... *no* idea if it'=
ll help. I assume not, but
> who knows. [Patch to xf86-video-nouveau.]
>=20
> diff --git a/src/nv50_accel.c b/src/nv50_accel.c
> index 5efbd19..ecad602 100644
> --- a/src/nv50_accel.c
> +++ b/src/nv50_accel.c
> @@ -207,6 +207,8 @@ NVAccelInitNV50TCL(ScrnInfoPtr pSc=
rn)
>  	PUSH_DATA (push, 0);
>  	BEGIN_NV04(push, NV50_3D(COLOR_MASK_COMMON), 1);
>  	PUSH_DATA (push, 1);
> +	BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1);
> +	PUSH_DATA (push, 0);
>=20=20
>  	BEGIN_NV04(push, NV50_3D(TIC_ADDRESS_HIGH), 3);
>  	PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET) >> =
32);


With this nouve git:
http://=
cgit.freedesktop.org/nouveau/xf86-video-nouveau/

dunno whether it is proper position, but comparing with the
NV50_3D(ZETA_ENABLE) in src/nvc0_accel.c
your patch fit like this:

diff --git a/src/nv50_accel.c b/src/nv50_accel.c
index b27f67a..50b3a08 100644
--- a/src/nv50_accel.c
+++ b/src/nv50_accel.c
@@ -207,6 +207,8 @@ NVAccelInitNV50TCL(ScrnInfoPtr pScrn)
     PUSH_DATA (push, 0);
     BEGIN_NV04(push, SUBC_3D(0x0f90), 1);
     PUSH_DATA (push, 1);
+    BEGIN_NV04(push, NV50_3D(ZETA_ENABLE), 1);
+    PUSH_DATA (push, 0);

     BEGIN_NV04(push, NV50_3D(TIC_ADDRESS_HIGH), 3);
     PUSH_DATA (push, (pNv->scratch->offset + TIC_OFFSET) >> 32=
);


Nevertheless it still has no effect.

With regard to your question - GL, I tried the following:
options nouveau noaccel=3D1

and it has a positive effect - Greeter Background is displayed correctly.

After all this, if I understand it correctly:
1. Family : NV30 / Chipset: NV34 (NV34) / GeForce FX 5200=20
   because it has no problemos in this case - per se is not accelerated?
2. the same applies if the modesetting is used - not accelerated?
3. also there is no problemos if nouveau noaccel=3D1 is used - not accelera=
ted?

Perhaps this is flaw within the greeter application then?


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1427130378.E7e51e1.23664-- --===============0748493426== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============0748493426==--