Summary: | GPU Lockup while running demo (rzr - the scene is dead) in wine | ||
---|---|---|---|
Product: | Mesa | Reporter: | Nathan-J. Hirschauer <nathanhi> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | nathanhi |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | [PATCH] r600g: check gpr count limit |
Description
Nathan-J. Hirschauer
2012-04-09 10:12:19 UTC
Here is the wine-logfile: http://deepserve.info/blar/rzr-the_scene_is_dead.2.log Seems that 5MB are way too big for Bugzilla to handle. Forgot to mention: This demo definitely runs in WINE, so this may not be a wine bug! Created attachment 59693 [details] [review] [PATCH] r600g: check gpr count limit The problem is that some shader requires too much registers. I suspect it's caused by the loop unrolling. TGSI source for that shader uses 161 temps. This patch doesn't solve the real problem, but it will prevent the lockups with r600g and allow to detect the problem by printing the error message. Also it may allow the app to run almost as expected (maybe with minor rendering problems). Comment on attachment 59693 [details] [review] [PATCH] r600g: check gpr count limit Review of attachment 59693 [details] [review]: ----------------------------------------------------------------- Works like a charm, thanks! Doesn't seem like there are any rendition errors at all! Thanks! - There are many different problems with this solution now. examples https://bugs.freedesktop.org/show_bug.cgi?id=84292 https://bugs.freedesktop.org/show_bug.cgi?id=50325 https://bugs.freedesktop.org/show_bug.cgi?id=93936 https://bugs.freedesktop.org/show_bug.cgi?id=68901 Maybe its the time to remove this temporary fix and solve the root problem. As more and more games / apps come to linux and they simply don't work with mesa. |
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.