Summary: | Zero Ballistics: tank not rendered | ||
---|---|---|---|
Product: | Mesa | Reporter: | Sven Arvidsson <sa> |
Component: | Drivers/Gallium/r300 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://www.zeroballistics.com/ | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
RADEON_DEBUG=fp log
RADEON_DEBUG=vp log Screenshot comparing normal vs RADEON_NO_TCL |
Description
Sven Arvidsson
2010-09-23 10:26:22 UTC
Created attachment 38915 [details]
RADEON_DEBUG=vp log
Tank is visible with RADEON_NO_TCL=1 Ok, try this: open the file mesa/src/gallium/drivers/r300/r300_vs.c in a text editor, scroll down to line 214, which should look like this: compiler.Base.max_alu_insts = r300->screen->caps.is_r500 ? 1024 : 256; Change 1024 to 95, recompile and test. If the part of the tank that was misrendering turns black, then stop and report the number you used, otherwise subtract 5 from the new number and repeat until the misrendering becomes black. If you get down to 60 and nothing has changed then you can stop,you don't need to go all the way to zero. Tried it all the way down to 60, no sign of the tank. If a vertex shader fails to compile, nothing is rendered, because all vertices become (0,0,0,1) and a triangle with such vertices has no area. I took a look at this game, and I can't tell what the problem is. Can you post screenshots of the current behavior and the expected behavior? Created attachment 40125 [details] Screenshot comparing normal vs RADEON_NO_TCL (In reply to comment #6) > I took a look at this game, and I can't tell what the problem is. Can you post > screenshots of the current behavior and the expected behavior? The model representing the player (the tank) is not rendered. The game uses a first person view by default, but you can press F2 to switch to third person, which should make the problem obvious. I have attached a screenshot comparing the problem with a run using RADEON_NO_TCL=1 where the tank is visible. Commit 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 in Mesa master should fix some missing objects. Could you test the game again with current git? (In reply to comment #8) > Commit 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 in Mesa master should fix some > missing objects. Could you test the game again with current git? Yep, it's fixed. Wohoo! :) |
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.