Summary: | [r300g] Sins of a Solar Empire crash when entering menu | ||
---|---|---|---|
Product: | Mesa | Reporter: | Pavel Ondračka <pavel.ondracka> |
Component: | Drivers/DRI/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | jfonseca |
Version: | git | Keywords: | regression |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
terminal output
dmesg wine backtrace wine log |
Description
Pavel Ondračka
2010-05-06 08:50:55 UTC
Created attachment 35462 [details]
dmesg
Hi Pavel, The commit you mention enables features which were until now never advertised -- many applications were not using GLSL because they thought the hardware had no native support for it. It's likely the bug is in the this feature (GLSL compilation) and not on the commit itself. Can you get a stack trace showing where inside the driver the crash is happening? Jose (In reply to comment #2) > Can you get a stack trace showing where inside the driver the crash is > happening? How can I do that? Created attachment 35464 [details]
wine backtrace
I was able to get a Wine backtrace, I hope this is helpful.
From the first log: "r300: Max size of the constant buffer is 256*4 floats." immediately followed by abort in the code. We really need fine-grained shader limits, applications seem to make fatal decisions based on them. Could you please re-test the game with current mesa git? Created attachment 35650 [details]
wine log
It still doesn't work, attaching new log.
OK so the problem is the game creates a larger constant buffer than hw can handle, but it seems to use only a small portion of the buffer. I've changed the code so that it does not abort (commit 93c997a9146e0b50186df684f4847fb0124ada11). Please close the bug if it helps you. The crash is gone now, 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.