Opened 13 years ago

Last modified 12 years ago

#803 closed defect

Minimap broken — at Version 9

Reported by: fabio Owned by:
Priority: Nice to Have Milestone: Alpha 9
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by fabio)

The circular minimaps are broken here since a while. Example on current build from svn on Linux with Death Canion:

http://img194.imageshack.us/img194/3881/0adbrokenminimap.png

EDIT: this is a mesa (Linux) driver problem: see this bug for more info: https://bugs.freedesktop.org/show_bug.cgi?id=36762

Change History (9)

comment:1 by fabio, 13 years ago

Milestone: BacklogAlpha 5

comment:2 by Philip Taylor, 13 years ago

I guess "a while" may have been r9139. This looks like a z-ordering problem, but it works fine for me and I don't see why it'd be different for you :-(

What drivers are these? Is it the same regardless of renderpath/shadows/fancywater, and regardless of any scrolling on the map?

in reply to:  2 comment:3 by fabio, 13 years ago

Replying to Philip:

I guess "a while" may have been r9139. This looks like a z-ordering problem, but it works fine for me and I don't see why it'd be different for you :-(

What drivers are these? Is it the same regardless of renderpath/shadows/fancywater, and regardless of any scrolling on the map?

Broken with r300g (git master and git 7.9 branch) and every combination of renderpath/shadows/fancywater.

Works fine with old r300 and llvmpipe.

comment:4 by fabio, 13 years ago

I reverted r9139 and indeed the minimap worked again. However, if you think the current 0ad code is fine, and indeed it only breaks gallium r300, maybe it's better to leave this as is. In this case I'll open a bug report against the r300 gallium driver.

comment:5 by Kieran P, 13 years ago

Priority: Should HaveRelease Blocker

comment:6 by Philip Taylor, 13 years ago

Milestone: Alpha 5Alpha 6
Priority: Release BlockerNice to Have

I don't see anything obviously wrong or particularly unusual with the current minimap code, and haven't seen problems in any other drivers, so I guess it's most likely that it is a driver bug.

(Only about 0.5% of users seem to be on r300g so I don't think this is critical for the release. But it's probably good to keep the ticket open for a while to track any driver bug reports, and maybe add workarounds to our code depending on what the bug is.)

comment:7 by fabio, 13 years ago

OK, I reported the bug here: https://bugs.freedesktop.org/show_bug.cgi?id=36762

Please avoid adding the workaround until the r300g driver is fixed, so that mesa developers can have a test case for it.

comment:8 by Kieran P, 13 years ago

Milestone: Alpha 6Backlog

comment:9 by fabio, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.