Bug 55420 - [Wine] fails to compile GLSL shader in Falcon BMS 4.32u3
Summary: [Wine] fails to compile GLSL shader in Falcon BMS 4.32u3
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 14:05 UTC by Stanisław Halik
Modified: 2015-11-24 17:59 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
complete log file (2.23 MB, text/plain)
2012-09-28 14:05 UTC, Stanisław Halik
Details
CP stall when looking down and to the right in the cockpit (9.76 KB, text/plain)
2013-08-31 20:56 UTC, Stanisław Halik
Details

Description Stanisław Halik 2012-09-28 14:05:16 UTC
Created attachment 67819 [details]
complete log file

16:02 <vlj> weirdo, adds on the bug that the shader uses too much temp (more than 128, max r600 temp) because of indirect addressing
16:03 <vlj> weirdo, glsl-to-tgsi does not allocate register when there is indirect addressing
Comment 1 Ian Romanick 2013-08-30 22:15:49 UTC
This seems like an issue in the r600 back-end.  The glsl-compiler component is the common front-end code.  Perhaps Marek can comment...
Comment 2 Marek Olšák 2013-08-30 22:29:12 UTC
Please test latest Mesa master. TGSI recently got support for array declarations of temporaries, making register allocation possible with indirect addressing. That said, I'm not sure if the r600g shader backend takes advantage of it.
Comment 3 Stanisław Halik 2013-08-31 20:35:03 UTC
When running as:

--
% MESA_DEBUG=1 LIBGL_DEBUG=verbose vblank_mode=0 WINEDEBUG=fps R600_DEBUG=sb R600_LLVM=1 wine Falcon\ BMS.exe -window
--

in BMS 4.32u6 there are no more shader miscompilation errors -or- CP stalls when looking into certain cockpit parts. As for the latter, it was present from 9.1 till very recently.

HDR doesn't render but this is minor, probably a missing extension or a Wine quirk. I'm going to pester Stefan and Henri from Codeweavers about it before filing further bugs.

This is CAYMAN 6970.

Thanks to all involved.
-sh
Comment 4 Stanisław Halik 2013-08-31 20:56:17 UTC
Created attachment 84979 [details]
CP stall when looking down and to the right in the cockpit
Comment 5 Stanisław Halik 2013-08-31 20:56:33 UTC
The CP stall is still there, just different way of reproducing. One way or another, involves cockpit view manipulation. Do you want me to create a separate bug report?

Attaching dmesg fragment.
Comment 6 Stanisław Halik 2013-08-31 21:08:36 UTC
Freeze seems R600_HYPERZ-related.
Comment 7 Stanisław Halik 2015-11-24 17:59:40 UTC
The freeze is tracked separately in #68799. I'm marking the issue resolved.


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.