-
Notifications
You must be signed in to change notification settings - Fork 1
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
Halved fps on mouse move in fullscreen mode issue #372
Comments
I don't believe we've ever deleted a github issue. |
The original issue was disappears for some unknown reason so I cannot find it in history. May be it was linked with some repository which was deleted, but it is completely disappears. As I remember, the patch was for Mesa. According to the discussion, the issue occurs because some resource is reserved to support two 4K display config. However, as a side effect, this leads to issues with any other display configuration. The patch was implemented in such a way that it reserves this resource only when the system actually uses two 4K displays. In other cases, it avoids slowing down the display update. Something like that. I tried to install the patch and it worked good. If I remember correctly it was discussed with @ghollingworth |
I found last discussion, here is the patch: labwc/labwc#2290 (comment) Could you please apply it to the main branch? |
There is a bump to mesa 24.2.4 in testing in the beta forums. |
https://github.com/issues should show all of the issues you created. |
I know, but original issue (the first one) is missing from issues. I carefully check full list of my issues, both -open and closed, it is just disappears, I have no idea why. The same thing happens with second issue. The third one is still there, it just has collapsed block and this is why I didn't find it. |
I know this forum and was participated in this beta. But there was some moderator on this forum who decided to joke on me and unfortunately administrators didn't responded on my messages for a long time. After all they responded, but it was too late, I decided to leave it. I promised myself to not return. It was before the administrators contacted me. Later they contacted with me and the issue was settled, so to speak, but since I promised to myself to not return, now this forum is taboo for me. I won't respect myself if I go back there. This is issue with halved fps is very old, it is in test stage more than one year. It seems too much, isn't it? Hope it will be rolled out with update soon... |
When I get a chance, I'll try your test program with the beta mesa version. |
Cannot reproduce with my system using beta repo:
I only see (narrow) spikes in the test app when pressing F11. No effect from moving mouse in either windowed or fullscreen mode. |
When this version will be rolled out to the main branch? |
The usual answer is "when it's ready". |
As expected, it's "when it's ready". |
There is an issue which leads to drop down fps to a half value of display refresh rate, it happens when you move mouse in fullscreen mode.
First I reported this issue about 2 years ago. It was analyzed and the patch was made, but not published and didn't applied to the code, then the issue was deleted and completely disappears.
Then I opened the issue again and it was deleted with no response.
About a year ago I reported it again. And again the patch was made for private testing in some separate branch and it was possible to install it for test. But now I cannot see this issue. It looks that again it was deleted and all info disappears.
But the bug is still there and still not fixed in Raspberry Pi OS Bookworm with all latest updates. And it is very annoying as it leads to a low fps in games which happens when you move mouse in fullscreen mode.
Please fix this halved fps issue.
Steps to reproduce:
test-vblank4.c
file and copy/paste code (see below)gcc -o test-vblank4 test-vblank4.c -Wall -lGL -lSDL2 -lSDL2_ttf -lSDL2_image
./test-vblank4
. This test app shows realtime graph with time interval between buffer swaps. It should be stable and equals to display refresh rate.Expected result: buffer swap time interval is stable
Actual result: buffer swap time interval raise up and leads to drop down application frames per second update. As result app fps drops down to a half value of display refresh rate and app/game become laggy and slow.
The issue happens only when app running in fullscreen mode. Which makes it even more annoying, because fullscreen mode is intended to use display exclusive for the game to get better fps, but on the contrary it leads to a halved fps when you move mouse...
Since the patch is already available in private branches and tested, please just apply that patch to fix the issue.
Test code
test-vblank4.c
The text was updated successfully, but these errors were encountered: