-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows, Intel(R) HD Graphics and Fly Mode: Bad GPU performance #2369
Comments
Is the performance any different on 2.0.6? |
I can't reproduce this behavior on macOS. I'll try again later on Windows, but I doubt that I will be able to reproduce it there either. I'm afraid this might be a case of "works for me"... |
I tested on an Intel 4400. I can get 90% GPU utilization just moving the mouse over the default map with 1 brush. It seems tied to the viewport size, if I make it ~100px wide the gpu use only goes up to 30 or 40%. Flying around ad_sepulcher.map on this laptop is sometimes smooth but it gets choppy after a few seconds of flying. If I leave it alone for 10 seconds it's smooth again.. might be thermal throttling? I'm not sure what this means, unless the fragment shader to draw the void is really expensive. |
I can confirm what @ericwa told about 3D viewport size vs. GPU performance. |
I think this is it: TB is not getting VSync on my Win10/Intel 4400 test system, and renders at around 200fps when moving the mouse over the window or right-click-drag looking around. On nvidia / Windows 10, it uses VSync and is capped at 60fps. Looking into enabling vsync explicitly.. |
@jonathanlinat if you want to confirm, try this build where I added logging: This is what I get when moving the mouse around on my Nvidia system; it's clearly using vsync |
Ok, just adding Here is a build with the fix if you want to try it (still has the debug logging from the previous comment): |
@jonathanlinat or just try to force vsync in your driver settings and see if that fixes the issue (for testing), as per https://www.intel.com/content/www/us/en/support/articles/000005552/graphics-drivers.html?_ga=2.186360801.990319321.1540704476-1338956147.1540673977 |
@kduske Nevermind, I found the option and I activated it. It works. |
@ericwa it looks like your vsync build also doesn't have any effect even if the driver is set to "application defined" |
@jonathanlinat Thanks for trying. Just want to confirm, it was the b2f54e1 build that still had nearly 100% cpu? The previous one I posted g64e676a wasn't enabling vsync. That's annoying because it worked on my Intel system, but I was testing on slightly older hardware (4400 vs 5500). |
|
System Information
TrenchBroom V2.1.0-RC1 on Windows 10
When I use the Right-Click + WASD or the Fly Mode, my GPU is saturated.
The text was updated successfully, but these errors were encountered: