Bug 23753

Summary: Compiz reflection effect doesn't work and hangs system.
Product: Mesa Reporter: maximlevitsky
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED DUPLICATE QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: intel_gpu_dump output

Description maximlevitsky 2009-09-06 14:43:36 UTC
Created attachment 29284 [details]
intel_gpu_dump output

In general shaders are broken in many ways on i965.

I have attached intel_gpu_dump that I have run via ssh
Comment 1 maximlevitsky 2009-09-06 14:51:42 UTC
Also note that compiz 'blur windows' effect hangs it too, but it hangs compiz on startup, so harder to test

In water effect, usually just two waves are enough to trigger the hang.
Comment 2 Gordon Jin 2009-09-08 00:55:19 UTC
I can't reproduce this with git tip of xf86-video-intel/mesa/libdrm and kernel 2.6.31-rc8.

Which driver version are you using?
Comment 3 maximlevitsky 2009-09-08 07:41:24 UTC
I use compiz from ubuntu 9.04 - no modifications

I use -git tip of every graphic component (mesa,xserver,libdrm,xf86-video-intel)
I use KMS/DRI2 and of course compiz.

I have DG965RY motherboard.

I use 2.6.31-rc8 kernel, just like you.

I will send soon the .config for kernel, and some gconf dump for compiz.

This problem isn't limited to water.

It happens for sure with reflection, and blur windows (I am not very sure about this, since I misnamed this for the reflection)

It is especially reproducible when I do the following:


1 - Boot system with compiz
2 - click on crtl+shift (this shows correct circular water wave around mouse)
3 - click crtl+shift again - system hangs

At that point, I can ssh in, but tty system is locked, so I can't type a thing.
I recently realized that I can pass a name of program that I want to execute to ssh, and this way I have got that dump.

I once tried to debug same thing with netconsole, and found out that a task (don't remember which, compiz I guess) hangs in gem.

But I am almost sure, this is a result of wrong shader program send to GPU.

(Same configuration works fine on nvidia addon card I used in the near part - now I finally ceased to use it)




Comment 4 maximlevitsky 2009-09-08 07:44:07 UTC
And I noticed that if I first run some 3D applications (googleearth), then sometimes water effect will work for many keypresses, but still will eventually hang
Comment 5 maximlevitsky 2009-10-10 09:02:03 UTC
I have updated graphical stack git trees, and now compiz water effect works cleanly, couldn't reproduce any hangs.

So does another effect, 'blur windows', it works fine as well.


However, reflection plugin doesn't work, and after ~10 seconds hang the system.
Comment 6 maximlevitsky 2009-10-10 11:09:27 UTC
I tested in addition -git of kernel.
I did a quick fix for issue I reported in
https://bugs.freedesktop.org/show_bug.cgi?id=24444

Now, thanks to GPU reset code, system doesn't hang completely, but xserver restarts, and unfortunately next time, it is broken (I see gdm login, and can't go futher. yet, expect that I can switch to console, and do whatever I want)

Best regards,
     Maxim Levitsky

Comment 7 maximlevitsky 2009-10-10 11:10:15 UTC
And one more thing, last time I tried reflection plugin, it did draw the output as expected.
Comment 8 Eric Anholt 2009-10-19 10:44:58 UTC

*** This bug has been marked as a duplicate of bug 19740 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.