Bug 16881
Summary: | [REGRESSION, Radeon-KMS] 2.6.36-rc[1-3] - missing textures in 0 A.D. | ||
---|---|---|---|
Product: | Drivers | Reporter: | trapdoor6 |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED INVALID | ||
Severity: | normal | CC: | alexdeucher, florian, maciej.rutecki, rjw, trapdoor6 |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.36-rc2,3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 16444 | ||
Attachments: |
0 A.D. on kernel 2.6.35.3
0 A.D. on kernel 2.6.36-rc1-git3 logs generated on 2.6.35.3 when 0 A.D. was running logs generated on 2.6.36-rc1-git3 when 0 A.D. was running |
Description
trapdoor6
2010-08-24 12:20:43 UTC
Created attachment 27761 [details]
0 A.D. on kernel 2.6.36-rc1-git3
Lots of missing textures; they are displayed correctly on kernel 2.6.35.3
Created attachment 27771 [details]
logs generated on 2.6.35.3 when 0 A.D. was running
These logs uncompressed are 81 MB. Archived in tar.lzma format for best compression ratio.
Created attachment 27781 [details]
logs generated on 2.6.36-rc1-git3 when 0 A.D. was running
These logs uncompressed are 62 MB. Archived in tar.lzma format for best compression ratio
*** Bug 17141 has been marked as a duplicate of this bug. *** On Mon, 30 Aug 2010 10:54:41 +0100 trapDoor <trapdoor6-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > There was at least one drm pull between 2.6.36-rc2 and -rc3. So I > tested on -rc3 and I confirm that the issue is still present. > > I was going to update the bugzilla entry but it won't let me log in at > this moment. > Do you know what specific commit caused the breakage? Both sets of logs have the same vbo message. Alex, Unfortunately I don't know. I would if I could do bisecting. But due to the problems I described in the first e-mail I couldn't. So far I've got only what I had initially: the screenshot and the logs. Maybe there are some other logs which could give us something more specific? I have searched in my home folder in the 0 A.D. config and cache files but I can't see anything useful there. I wonder if anyone else has come across the same issue? Or maybe you would be able to reproduce it? That involves installing O A.D., unfortunately (I don't what other software would be good to use as an equivalent for testing this case). I've installed 0ad here, however, I've never used it before. Can you explain how to trigger the bug? [originally posted on LKML] I can't log on to bugzilla again, so replying from here [LKML]. When you start the game please choose single player, default map (Arcadia) and accept (you can skip the players setup). The bug appears right away when the map has been loaded and the game begins. On my box that happens only on kernels 2.6.36-rc[1-3]. On 2.6.35.[0-4] it's OK. One more thing. I have no support for S3TC compressed textures enabled in mesa and that turns up a performance warning message. I just accept it to get to the initial game menu. Lack of S3TC support causes performance slowdown on both 'good' and 'bad' kernels but this is rather irrelevant for the case we are testing. What's important is to keep the same settings within libdrm, mesa etc when running the game on 2.6.35.x and 2.6.36-rcx Weird; works fine here (other than the vbo warnings). Everything renders correctly. What version of mesa are you using? Here you are: mesa 7.9.0+git20100830.f3eebb84-0ubuntu0sarvatt~lucid [classic drivers] Installed from the following Ubuntu (PPA) repository: https://edge.launchpad.net/~xorg-edgers/+archive/ppa/ Published on 2010-08-24 * Checkout from git 20100823 (master branch) up to commit: 1288d5c39234e7c54ae2fbb81dd788c98c62a7b3 [http://cgit.freedesktop.org/mesa/mesa/commit/?id=1288d5c39234e7c54ae2fbb81dd788c98c62a7b3] Also here is my driconf config [~/dric], maybe it's something there ? <driconf> <device screen="0" driver="dri2"> <application name="Default"> <option name="vblank_mode" value="0" /> </application> </device> <device screen="0" driver="r600"> <application name="all"> <option name="force_s3tc_enable" value="false" /> <option name="disable_s3tc" value="true" /> <option name="fp_optimization" value="0" /> <option name="fthrottle_mode" value="2" /> <option name="disable_stencil_two_side" value="false" /> <option name="tcl_mode" value="3" /> <option name="texture_depth" value="0" /> <option name="def_max_anisotropy" value="1.0" /> <option name="no_rast" value="false" /> <option name="command_buffer_size" value="8" /> <option name="round_mode" value="0" /> <option name="dither_mode" value="0" /> <option name="texture_coord_units" value="8" /> <option name="disable_lowimpact_fallback" value="true" /> <option name="texture_image_units" value="8" /> <option name="color_reduction" value="1" /> <option name="vblank_mode" value="0" /> </application> </device> </driconf> I was finally able to reproduce this. It's a bug in the mesa development snapshot you are using. Upgrade to a newer snapshot or use a released version. The drm code is fine. There's no newer snapshot available for my system (Ubuntu Lucid) in that PPA yet, only for Maverick. The yesterdays snapshot failed to build on Launchpad for Lucid (i386 and amd64). So I'll wait until the next one shows up, which I'd expect very soon (and hopefully it will be build successfully on amd64). I never compiled mesa myself and don't want to do it now, neither revert to 7.8. But still: on kernel 2.6.35.4, with the same mesa version the game runs fine, no empty black squares at all.. I understand it's that bug in mesa which affects only 2.6.36-rc. And the bug is triggered by some recent drm-radeon commit in kernel, but there is nothing wrong with that commit itself.. I'll test again when a new mesa snapshot is available and let you know the outcome right away. Thanks a lot for looking into this. It's sort of random luck. The vbo size was getting garbage values. You'll also note that the vbo size errors in your kernel log are gone with a newer mesa snapshot. Not a kernel bug, so closing. |