Bug 25230 - Starred sky rendering broken in celestia 1.6.1 with mesa 7.7 branch
Summary: Starred sky rendering broken in celestia 1.6.1 with mesa 7.7 branch
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Maciej Cencora
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 12:07 UTC by Giacomo Perale
Modified: 2009-11-29 11:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot of the problem (94.60 KB, image/png)
2009-11-22 12:07 UTC, Giacomo Perale
Details

Description Giacomo Perale 2009-11-22 12:07:44 UTC
Created attachment 31395 [details]
Screenshot of the problem

The rendering of the stars in celestia 1.6.1 doesn't work correctly with mesa git head from branch 7.7, as of commit e0fda040135490fdd54e57000c7995e27dc70657.

There's a screenshot attached to this bug report showing the correct rendering (with software mesa) and what I get with the hardware acceleration enabled on my R300 card (RV380 5B63) with DRI2; the only working mode (you can change it from the Options->Star style menu item) is 'point', both 'fuzzy points' and 'scaled disks' don't work: with DRI2 (kernel 2.6.32rc7) the stars flicker when the field of view changes and in a given moment only a few pixels are displayed; with DRI1 the sky is always completely black.

I couldn't bisect to find exactly when the problem appears, but I regularly checkout mesa and the problem wasn't present as of 2009-11-17 19:00 GMT; it appeared after the 'radeon-texrewrite-clean' branch was merged in.
Comment 1 Maciej Cencora 2009-11-28 12:42:21 UTC
Can you check if commit "radeon: need to flush cs when moving images between mipmap trees" fixes the problem?
Comment 2 Giacomo Perale 2009-11-29 01:39:56 UTC
(In reply to comment #1)
> Can you check if commit "radeon: need to flush cs when moving images between
> mipmap trees" fixes the problem?
> 

Tested with mesa_7_7_branch, git head e5159996a43d64f71d44dd2bd477d10e37ec9a27 (your commit); no luck, it's still broken at least with UMS. Do I need to try with KMS too? I can't reboot today, eventually I could report back tomorrow.
Comment 3 Maciej Cencora 2009-11-29 08:30:51 UTC
Commit "radeon: update miptree code a little" 63c00c53a3019b801c5eee8a12f7862422f79f10 fixes the bug for me, can you confirm?
Comment 4 Giacomo Perale 2009-11-29 11:10:06 UTC
The last fix works here too. Closing the bug, thank you!


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.