Skip to contentSkip to conversation

New: Zero Ballistics: tank not rendered

Bug 30351 [email protected] 1 participant 10 messages Sep 23, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=30351

Summary: Zero Ballistics: tank not rendered
Product: Mesa
Version: git
Platform: Other
URL: http://www.zeroballistics.com/
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=38914)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38914)
RADEON_DEBUG=fp log

In the game Zero Ballistics, the tank model is not visible.

It seems to be working fine on llvmpipe.

Not a regression as far as I know, I just haven't reported it before as the developers website was offline and the future of the game was unclear.

http://www.zeroballistics.com/

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: RV570
-- Model: Asus EAX1950Pro 256MB
-- Display connector: DVI
-- xf86-video-ati: e9928fe036e9382fd7bc353f3f05531445f08977 -- xserver: 1.8.99.904 (1.9.0 RC 5)
-- mesa: 96da9b28c838af00f15d6c0a5973857019d3aecc -- drm: 23287f05cf2443ddf9e028e29beb5bd30979c6cf -- kernel: 2.6.35.4

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #1 from Sven Arvidsson <[email protected]> 2010-09-23 10:26:52 PDT --- Created an attachment (id=38915)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38915)
RADEON_DEBUG=vp log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #3 from Tom Stellard <[email protected]> 2010-09-27 03:57:55 PDT --- 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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #4 from Sven Arvidsson <[email protected]> 2010-09-27 05:01:10 PDT --- Tried it all the way down to 60, no sign of the tank.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #5 from Marek Olšák <[email protected]> 2010-09-27 06:10:48 PDT --- 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.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #6 from Tom Stellard <[email protected]> 2010-11-06 22:14:57 PDT --- 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #7 from Sven Arvidsson <[email protected]> 2010-11-08 13:15:41 PST --- Created an attachment (id=40125)
--> (https://bugs.freedesktop.org/attachment.cgi?id=40125)
Screenshot comparing normal vs RADEON_NO_TCL

(In reply to comment #6)

Quoted 2 lines

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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

--- Comment #8 from Marek Olšák <[email protected]> 2010-12-11 06:35:09 PST --- Commit 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 in Mesa master should fix some missing objects. Could you test the game again with current git?

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 30351] Zero Ballistics: tank not rendered

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=30351

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Sven Arvidsson <[email protected]> 2010-12-11 14:34:48 PST --- (In reply to comment #8)

Quoted 2 lines

Commit 2af8a1983180fc0168c1e0e53bcc69ee3d684ea4 in Mesa master should fix some missing objects. Could you test the game again with current git?

Yep, it's fixed. Wohoo! :)

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.