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
Slowdowns when scrolling with OpenGL video drivers with AMD graphics cards #8790
Comments
Throwing in some more information: I had a go with Arch Linux for a bit on my laptop (Vega 6 iGPU) and downloaded the 1.11.0-beta2 Linux general binaries. Afterwards, I started a game and could not replicate the issue using the
|
Given the other reports we are getting, this is specific to certain GPUs only. Which means we need someone to drill down in OpenGL to figure out what is going on exactly that is causing these slowdowns. None of the devs can currently reproduce it on their hardware. For now we will mitigate the issue a bit by giving the user the option to disable hardware acceleration (#8812 or #8816). It is not a solution, but at least it means you could play the game normally. This just to give a small update on the current state of this issue :) |
Just tested as suggested in #8890 with 1.11 RC1 portable:
Same with hardware acceleration disabled, panning works smoothly:
The workaround with disabled hardware acceleration thus seems to work, thank you for pointing this out. |
Potentially also fixed by #8876, but needs confirmation from AMD users. |
We've prepared some binaries for the change in #8876 that we hope improves or fixes things for people experiencing these scrolling issues. Can people try them out and report back? https://www.openttd.org/downloads/openttd-branches/pr8876/latest.html |
Just tried out new binaries, panning now seems smooth, while it wasn't before. |
It appears the issue has been fixed (at least for me). Tested it with my RX 5700 desktop and everything is performing as expected.
|
Same for me: test with
|
Version of OpenTTD
1.11.0-beta2 | Windows 10
Expected result
Graphics frame rate should remain a constant when scrolling across the map either with the arrow keys or the mouse. In the below .gif, I used the arrow keys to showcase a stable scrolling speed in the stable release 1.10.3.
When forcing the
win32
driver in 1.11.0-beta2, the scrolling also performs as expected and is represented below.For reference, here is the log output when
-ddriver=4
is appended to the executable (1.10.3 and 1.11.0-beta2 logs are identical).Actual result
The graphics frame rate dips heavily when scrolling across the map with either the mouse or arrow keys when using the default
win32-opengl
video driver.Here is the log using
-ddriver=4
again.Results were the same on both my laptop and desktop. The results and logs above were from my laptop which contains an AMD Vega 6 iGPU. My desktop contains an AMD RX 5700 GPU. Both machines run Windows 10 Build 19042 and Radeon Software Version 20.11.2. Unfortunately, I do not have an Intel or Nvidia machine to test with.
I presume that this is an issue with AMD devices only, but I would like results from others before making that assumption.
This issue happens with any save game. This includes the flat map in the scenario editor. In the examples above, a brand new 256x256 map was used along with a new config file generated by 1.11.0-beta2.
Steps to reproduce
win32-opengl
video driverThe text was updated successfully, but these errors were encountered: