Bug 94179

Summary: Marching cubes geometry shader locks GPU
Product: Mesa Reporter: pavol
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium CC: pavol
Version: 11.1   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

Description pavol 2016-02-16 19:02:58 UTC
Created attachment 121789 [details]
test case

When running the code on AMD 3650 Mobility it locks the GPU and reboot is necessary. Strangely when run in valgrind it works, also software rendering works.
Comment 1 Michel Dänzer 2016-02-17 02:05:08 UTC
Does the valgrind output contain anything interesting?

How to build the test case? Please don't expect others to run downloaded binaries.
Comment 2 Timothy Arceri 2016-02-17 02:09:52 UTC
This is a bug report following on from a GLSL compiler bug that was fixed. I built the application in that bug with:

gcc mc.c mc_table.c -lGL -lepoxy -lglfw

I also had to add #include <stdio.h> to mc.c
Comment 3 pavol 2016-02-17 02:49:06 UTC
Thanks Timothy.

Only this, since I did not build mesa in debug mode.
==8065== Conditional jump or move depends on uninitialised value(s)
==8065==    at 0xA986CE4: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA988E14: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA98A899: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA96C910: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA9766C2: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA978FA6: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA8CAD66: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA7268CE: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0xA6F6379: ??? (in /usr/lib64/mesa/r600g_dri.so)
==8065==    by 0x402701: main (mc.c:244)
Comment 4 GitLab Migration User 2019-09-18 19:21:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/576.

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.