[Nouveau] [Bug 89730] NV50: LightDM GTK+ Greeter Background - inconsistent display

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 23 10:06:18 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89730

--- Comment #4 from poma <pomidorabelisima at gmail.com> ---
(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.]
> 
> 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);
>  
>  	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=1

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 
   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=1 is used - not accelerated?

Perhaps this is flaw within the greeter application then?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20150323/18e16763/attachment.html>


More information about the Nouveau mailing list