Bug 28563

Summary: [r300g] CubeStorm hack from XScreenSaver freezes X
Product: Mesa Reporter: Jure Repinc <jlp.bugs>
Component: Drivers/DRI/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Jure Repinc 2010-06-15 14:04:01 UTC
I have a HP Compaq nx6325 laptop with integrated graphics (RS482) and XScreenSaver 5.10. When I open the screensaver settings in KDE 4.4.4 and select the Cube Storm hack from the list X freezes. I can still SSH from another machine, but on the laptop keyboard stops responding too. I'm using the Gallium r300 driver (couldn't find a special component for it, hope this one is oK). Mesa is from git, pulled on 2010-06-14.
Comment 1 Jure Repinc 2010-06-17 08:27:03 UTC
I've now also tried on another computer with RV350 AR chip and I also get the freeze. I've also tried to run the hack directly with the same results. BTW, with classic r300 driver all is fine.
Comment 2 Marek Olšák 2010-07-11 10:16:59 UTC
Bisected. The first bad commit which locks up:

commit bd1ce874728c06d08a1f9881f51edbdd2f1c9db0
Author: Chia-I Wu <olv@lunarg.com>
Date:   Mon Mar 8 22:19:48 2010 +0800

    st/dri: Switch from st_public.h to st_api.h.
    
    This is tested with demos found in progs/demos.  However, only the DRI2
    path is tested.

From the branch (which has been merged to master): gallium-st-api-dri
http://cgit.freedesktop.org/mesa/mesa/log/?h=gallium-st-api-dri

If I go one commit back, cubestorm works. It's quite a large commit and it's not clear to me what the commit does in terms of functionality.

BTW, cubestorm is a single-buffered application.
Comment 3 Marek Olšák 2010-07-11 15:07:56 UTC
Fixed in master, closing..

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.