Summary: | llvm rv790 etqw gpu lock since r600g/llvm: tgsi to llvm emits store.swizzle intrinsic for vs/fs output | ||
---|---|---|---|
Product: | Mesa | Reporter: | Andy Furniss <adf.lists> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | vljn |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
compressed etqw shader dump while getting gpu lock.
Disable llvm fs compressed etqw shaders working with patch Add dummy vs export |
Description
Andy Furniss
2013-01-19 16:50:32 UTC
Can you run etqw with R600_DUMP_SHADERS=1 and post the output please ? Created attachment 73391 [details]
compressed etqw shader dump while getting gpu lock.
As far as I can tell, all shaders end with an export instruction, with EndOfProgram bit set. I suspect an issue with number of color buffer export involved. Can you apply this patch and report if the game still locks the gpu ? Created attachment 73411 [details] [review] Disable llvm fs (In reply to comment #3) > As far as I can tell, all shaders end with an export instruction, with > EndOfProgram bit set. I suspect an issue with number of color buffer export > involved. > > Can you apply this patch and report if the game still locks the gpu ? The game runs OK with the patch. Can you send a log with the same env var set so that I can diff working and non working log please ? Created attachment 73485 [details]
compressed etqw shaders working with patch
The patch also fixes the minor issue I reported with some mesa demos. https://bugs.freedesktop.org/show_bug.cgi?id=58150 Regarding the conversation on IRC, the vertex shader has to export at least one generic param (not counting special exports like position). So if the vertex shader doesn't export any params, you need a dummy one. Can you test with this new patch ? (Remove the previous one) It adds dummy export to vs outputs Created attachment 73532 [details] [review] Add dummy vs export (In reply to comment #10) > Can you test with this new patch ? (Remove the previous one) > It adds dummy export to vs outputs It works OK with the new patch. |
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.