-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Frame limiter change has no effect #2952
Comments
Try running the emulator as admin. |
Well, there's no "admin" on Linux, but I've just tested as root. |
Now that you mention it, I've had the same problem. Works fine on Windows, but compiled from source under Devuan the frame limiter does nothing. |
Is turbo mode working ? |
Maybe the compositor is forcing vsync? Try a PAL game and see if it locks at 60 fps as well. |
You mean the frame skipping I guess? Just enabled it (Turbo with TAB), and yes, this works. |
Does it work when you disable framelimit via the config dialog? (config -> GS) Do you have vsync enabled? |
I have an EU BIOS, sorry :/ Edit: My games are PAL (EU), but the're locked at 50FPS. |
Doesn't make a difference if enable in the Dialog or toggle with F4, Wait for Vsync is disabled |
Ahh, that solves it, cool, thanks! I need to start PCSX2 with However, not sure if I should close this issue (Probably PCSX2 should handle this itself?) |
Indeed. There must be some problem between pcsx2 and mesa driver. |
I'm not sure if that's a proper solution, but if I add the line "export vblank_mode=0" at the beginning of the file /usr/games/PCSX2-linux.sh (Which is created by default anyway if you install pcsx2-unstable), the Frame limiter is working if you start it over this script, without need to set it up in the terminal manually. However, the entry from the startmenu (which is created by default, aswell) is not starting using this script (Why is it created then?), it's launching the command "env GDK_BACKEND=x11 __GL_THREADED_OPTIMIZATIONS=1 mesa_glthread=true MESA_NO_ERROR=1 PCSX2". IMHO it would make sense to add all these Parameters to the .sh script and just launch "/usr/games/PCSX2-linux.sh" in the start menu, or what do you think? |
That "externally" forcing the driver is no solution. |
Which GPU and which driver? |
GPU: R9 290X I don't really want to perform a downgrade if not necessary, might break my system xD |
https://gitlab.freedesktop.org/xorg/xserver/issues/629 |
Hm, I don't really know if it's affected in general, in Half Life 1 (OpenGL aswell), I can enable/disable VSYNC ingame, and it works (50->100FPS). The first issue you refer to doesn't apply for me, because for me setting vblank_mode=0 DOES have an effect, as mentioned above. The VSYNC value for me is 50 FPS/Hz, because I have connected a TV on HDMI (As a mirrored screen to my main monitor), which is its max. refresh rate, and VSYNC can't vary between these 2 (Guess that's a driver issue/limitation, but that's another story). For your 2nd link, the suggested command in a response ("LIBGL_DEBUG=verbose vblank_mode=0 glxgears -info") prints out this for me: |
NVM, then we are broken. |
Is this problem solved on the latest master? |
@F0bes |
Thanks for testing. This issue is quite old and no one has reported this issue for some time so I'll close this. |
For any poor soul that ends up here from a google search after having problems with the pcsx2 frame limiter not reaching above 60fps no matter the setting on steam deck, there's a built in option for limiting frames to 60 that also affects pcsx2. Before diving into more debugging, make sure to press the quick menu button while the game is running (the three dots button . . . ) and change the cap from 60 fps to off. Sorry that I'm re-opening this issue, but if that helps somebody in the future then it was worth it as this is one of the first results for this issue on the steam deck. |
PCSX2 version:
PCSX2 1.5.0-0 - compiled on May 2 2019 (Linux Version, from PPA) on Linux Mint 19.1, 64-bit (see below for more infos)
PCSX2 options:
Plugins used:
GS:
Description of the issue:
If I enable/disable the frame limiter, the Emulator always stays at 100% of its speed.
I've tested this in a menu, where the Usage is pretty low, so it should go up to probably 400% when the frame limiter is disabled.
I've tried this with 2 different games, both are affected (I guess the game doesn't matter for this issue).
On the same machine, but on Windows, the frame limiter does work as expected.
How to reproduce the issue:
For me, it's 100% reproducible:
Last known version to work:
Unknown, stable seems to have the same issue
PC specifications:
https://gist.github.com/XXXBold/007546b9d2e8020dec84795f09e63a30
Log Output while running:
https://gist.github.com/XXXBold/d0a9277c0ee9e6819d94c355fb47788b
The text was updated successfully, but these errors were encountered: