ocean Posted July 7, 2016 Share Posted July 7, 2016 I was wondering if someone could help me diagnose a consistent problem I'm having in my maps where when the FPS player turns around quickly some objects and csg brushes have disappeared, revealing the skybox beyond, and then pops back into existence. I can't understand why, because my scenes can't be considered complex at all (The counter says approx. 1500 polys and around 4700 shadow polys with 4 lights in one map I've just started.), and the gameplay is otherwise super smooth. But it leaves me a little bit apprehensive about continuing because it feels like I'm doing something fundamentally wrong. It's the east walls (if you look at the map from the above view in the editor.) Using Leawerks 4.1 on Ubuntu 14.04 with a HD6670 graphics card. start.map.zip Quote Ubuntu 14.04 / 64bit. Dell XPS430, Intel Core 2 Quad Q8300 @ 2.50GHz, 4Gb Ram, Radeon HD 6670, Leadwerks Pro edition (Steam). Link to comment Share on other sites More sharing options...
ocean Posted July 7, 2016 Author Share Posted July 7, 2016 Here's a crappy video of the problem. https://goo.gl/photos/tN517NSL2aRVcCWE9 Quote Ubuntu 14.04 / 64bit. Dell XPS430, Intel Core 2 Quad Q8300 @ 2.50GHz, 4Gb Ram, Radeon HD 6670, Leadwerks Pro edition (Steam). Link to comment Share on other sites More sharing options...
Josh Posted July 7, 2016 Share Posted July 7, 2016 This is a consequence of how the culling system works. Leadwerks uses GPU occlusion culling, which means there is a small delay before visibility data returns to the CPU. Normally this is so small you can't really see it, but sometimes it can cause artifacts like what you are experiencing. That delay does seem rather slow. What kind of framerate are you getting? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ocean Posted July 7, 2016 Author Share Posted July 7, 2016 Oh, okay... So, there's nothing wrong with my building? Just seemed strange that it was always those particular walls. The framerate ranges from around 48-60. Quote Ubuntu 14.04 / 64bit. Dell XPS430, Intel Core 2 Quad Q8300 @ 2.50GHz, 4Gb Ram, Radeon HD 6670, Leadwerks Pro edition (Steam). Link to comment Share on other sites More sharing options...
Josh Posted July 7, 2016 Share Posted July 7, 2016 Those probably happen to lie in a particular place where they are on the border between the world sectors. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
ocean Posted July 7, 2016 Author Share Posted July 7, 2016 Is there anything I could pay attention to to minimize it? Quote Ubuntu 14.04 / 64bit. Dell XPS430, Intel Core 2 Quad Q8300 @ 2.50GHz, 4Gb Ram, Radeon HD 6670, Leadwerks Pro edition (Steam). Link to comment Share on other sites More sharing options...
Josh Posted July 8, 2016 Share Posted July 8, 2016 If you shift your entire map over to another position this particular problem will likely go away, but my guess is AMD drivers are just slow on Linux. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
blueapples Posted July 12, 2016 Share Posted July 12, 2016 Does this stop happening in run mode instead of debug? The frame rate in debug mode is consistently 1/4 of what I get in run mode. Lower frame rate may prevent the culling caluluation from reacting fast enough. Quote Link to comment Share on other sites More sharing options...
ocean Posted July 12, 2016 Author Share Posted July 12, 2016 Does this stop happening in run mode instead of debug? The frame rate in debug mode is consistently 1/4 of what I get in run mode. Lower frame rate may prevent the culling caluluation from reacting fast enough. Unfortunately, no... It makes no difference. I've made a model of a room in blender which I've imported and placed just behind that disappearing csg wall and it shows through when it happens. I'm not sure how the culling system works, and if perhaps my GPU is having trouble handling it. Of course, it could be the Linux drivers as well. Quote Ubuntu 14.04 / 64bit. Dell XPS430, Intel Core 2 Quad Q8300 @ 2.50GHz, 4Gb Ram, Radeon HD 6670, Leadwerks Pro edition (Steam). Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.