In the map dm-antalus there is a small pond and the surrounding area is reflected on its surface (this map is included in the demo version btw). Part of this reflection is missing, depending on the viewing angle (see the screenshots). It looks like a clipping issue. Other cube map reflections in the game are also affected, but this is where it's the most prominent. As far as I can remember this bug wasn't present a few years ago when I last played this game (mesa was around version 7-8 back then), so I assumed this was a regression. However, the earliest version of mesa that I could compile with the oldest llvm in my distribution is 11.0, and that one already has this bug. I'll try to get an earlier llvm for mesa 10 and 9. Drivers tested: radeonsi, llvmpipe.
Created attachment 138081 [details] shot42.png
Created attachment 138082 [details] shot43.png
commit f02f1ad13fa4123986d17a5d04b0e2831c3a7091 Author: Samuel Pitoiset <samuel.pitoiset@gmail.com> Date: Wed Mar 14 09:46:33 2018 +0100 Revert "mesa: do not trigger _NEW_TEXTURE_STATE in glActiveTexture()" This reverts commit f314a532fdc7af8381586144d2631d9968331f05. This appears to introduce some blinking textures in UT2004. Not sure exactly what's the root cause because we don't have much information about the issue. Anyway, this was just a micro optimization that actually breaks, at least, one app almost one year later. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105436 Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Nope. This issue is not the same as #105436
hello. I can confirm the same behavior with a pond and on i965 driver (on KBL and SNB cpu's). I also tried to find mesa version without the issue, but I couldn't. Tested on 18.1.0 and 13.0.0. mesa versions. upd - the hole game has issues with shadows (it can be visible on maps Idoma, Curse4, Grendelkeep, Icetomb) - when you are changing camera corner, shadows don't disappear/change smoothly, there is a border between "old view" with shadow, and new (without) appears (I didn't face with this behavior on windows OS and nvidia GPU/drivers). And the last thing, "commit f02f1ad13fa4123986d17a5d04b0e2831c3a7091" didn't fix this issue, so they are different.
Could one of you create an apitrace of the problem and upload it to somewhere like google drive. If the problem exists with i965 than it will be far easier to do a git bisect using that driver.
Here's a trace. I tried to capture the switch between showing only the top half or the bottom half of the reflection, but it ran at 1fps even with minimum graphics settings and capturing to a ramdisk. https://drive.google.com/open?id=1Labnt8OuvPVSsxEUHvJaQ6YbAdJicaiD
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1023.
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.