libstrangle
gamescope
libstrangle | gamescope | |
---|---|---|
16 | 56 | |
85 | 2,710 | |
- | 4.5% | |
0.0 | 9.7 | |
about 4 years ago | about 23 hours ago | |
C | C++ | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
libstrangle
-
Force V-Sync or limit fps in proton games
Mangohud (GOverlay), libstrangle, gamescope. Pick your poison.
- Can libstrangle, mangohub, or other tools *globally* reduce frame rates?
- Upgraded from GTX 1070 to RX 6750 XT: how to force VSync for all games?
-
I need help with a problem with the FPS
#!/bin/bash PREFIXES="$HOME/.local/share/wineprefixes" mkdir -p "$PREFIXES" export WINEARCH=win32 export WINEPREFIX="$PREFIXES/World of Horror" #rm -rf "$WINEPREFIX";exit hash xmlstarlet 2>/dev/null || { echo >&2 "Program requires xmlstarlet but it's not installed. Aborting."; exit 1; } hash strangle 2>/dev/null || { echo >&2 "Program requires libstrangle but it's not installed. Aborting."; exit 1; } [[ -f ~/.config/monitors.xml ]] || { echo >&2 "Program requires running in Gnome (to get the resolution in a compatible way with both x11 and wayland). Aborting."; exit 1; } RES_X=$(xmlstarlet sel -t -v '//logicalmonitor[primary="yes"]//width' ~/.config/monitors.xml) RES_Y=$(xmlstarlet sel -t -v '//logicalmonitor[primary="yes"]//height' ~/.config/monitors.xml) #cd to the script dir if executed from outside GAME_PATH=$(dirname "$(readlink -f "$0")") cd "$GAME_PATH/WOH" wine reg add "HKCU\\Software\\Wine\\X11 Driver" /v "GrabFullscreen" /t REG_SZ /d "Y" /f wine reg add "HKCU\\Software\\Wine\\X11 Driver" /v "Decorated" /t REG_SZ /d "N" /f wine reg add "HKCU\\Software\\Wine\\Explorer" /v "Desktop" /t REG_SZ /d "World of Horror" /f wine reg add "HKCU\\Software\\Wine\\Explorer\\Desktops" /v "Default" /t REG_SZ /d "$RES_X"x"$RES_Y" /f hash strangle 2>/dev/null && { echo >&2 "Vsync on."; strangle 30 -v 1 wine worldofhorror.exe; } hash strangle 2>/dev/null || { echo >&2 "Libstrangle (https://gitlab.com/torkel104/libstrangle) is not installed, cpu might run too hot."; wine worldofhorror.exe; }
-
Win32 Is The Only Stable ABI on Linux
libstrangle got broken too and it's fully open source.
-
Fallout 4 How to cap FPS
As written, your suggestion is unhelpful. The name of the project that provides the strangle command is libstrangle. Without that full name (or better yet, a link) it would be darn near impossible to find.
- Framerate limiting on linux with nvidia gpu
-
pc remaster collection, fps limit?
If you're comfortable with terminal use you could also try https://gitlab.com/torkel104/libstrangle
-
Any differences between DXVK_FRAME_RATE, mangohud's fps_limit, libstrangle, and gamescope's -r, especially in regards to input lag and frame stability?
Libstrangle. The options for it, at least for vsync, seem extremely similar to Mangohud's settings in GOverlay, so this may be doing the exact same thing.
-
Lock frames to, say, 45fps and downclock the screen to 45hz?
https://github.com/milaq/libstrangle with this you can limit the gpu to run an easy 45 fps. The monitors Hertz rate you can set in Linux, depending on what the screen will be capable of.
gamescope
-
The Linux graphics stack in a nutshell, part 1
I think your information is quite outdated. The HWC overlay planes are heavily used, you can see this trivially just doing a 'dumpsys SurfaceFlinger' or grabbing a systrace/perfetto trace. When it falls back to GPU composition it's very obvious as there's a significant hit to latency and more GPU contention.
The overlay capabilities of the modern Snapdragons are also quite absurd. They support like upwards of a dozen overlays now and even have FP16 extended sRGB support. Some HWCs (like the one in the steam deck) even have per plane 3D LUTs for HDR tone mapping (ex https://github.com/ValveSoftware/gamescope/blob/master/src/d... )
The composition is bandwidth heavy of course, but for static scenes there's a cache after the HWC in the form of panel self refresh.
- Gamescope -- How do I get this to work on Endeavouros?
-
Firefox Is Going to Try and Ship with Wayland Enabled by Default
One of the unfortunate things about Wayland is every compositor will have its own quality of implementation affecting things like latency.
With XOrg, especially in the pre-compositing days, you could choose whatever WM you want and it wouldn't have any impact on the rendering performance of X clients. Once the Composite extension was added and everyone started running composited X desktops, that started to change, and the increased latency already started appearing - in an arguably worse architecture than Wayland because there were often three processes involved with lots of IPC per draw: X-Client->X-Server->X-Compositor->X-Server->CRTC. At least in Wayland it's more like Wayland-Client->Wayland-Compositor->CRTC.
If you're unhappy with the rendering latency of your Wayland sessions, it may be worth trying alternative compositors... they likely vary significantly. The Valve/Steam folks have made a minimal one specifically optimized for games/low-latency [0]. I doubt the SteamDeck would be seeing as much success as it is if Wayland were so problematic in this department.
[0]: https://github.com/ValveSoftware/gamescope
-
BG3 splitscreen on two monitors?
Use gamescope.
-
Help needed to confirm two 3.5 bugs
While streaming from the Deck to another device (phone with Steam Link app or another PC running steam), taking a screenshot on the Deck (hold the steam or ... button, and press R1) crashes the session (https://github.com/ValveSoftware/gamescope/issues/961). This one also impacts Decky Recorder. If you're recording the screen or have replay mode on and take a screenshot, you'll have a crash.
- I haven't seen much posted about it here, so I wanted to point out Valve's gamescope micro-compositor (Linux Gaming)
- Gamescope adds support for Reshade effects
-
Force V-Sync or limit fps in proton games
Mangohud (GOverlay), libstrangle, gamescope. Pick your poison.
-
FYI on video corruption in cmd and terminal windows
Hey folks. I've got a 11900H motherboard and use the iGPU and stock Intel graphics drivers that I keep current. Even at baseline (so without overclocking of any kind, with good Corsair memory sticks configured without XMP and regardless of voltage), I would be able to use Windows 11 and the CMD or Terminal programs without issue but after some time they would be corrupt and unreadable. The fix was in Terminal, go into Settings, then Render, and turn on Software Rendering. I hope this helps someone else. FYI the corruption was very much like other Intel UHD graphics samples reported in this link: https://github.com/ValveSoftware/gamescope/issues/356
What are some alternatives?
goverlay - GOverlay is an opensource project that aims to create a Graphical UI to help manage Linux overlays.
gamescope-session - ChimeraOS session on Gamescope - Own personal repository, issues and forks should be made on ChimeraOS/gamescope-session
MangoHud - A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
gamemode - Optimise Linux system performance on demand
goverlay - DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game
holoiso - SteamOS 3 (Holo) archiso configuration
LatencyFleX - Vendor agnostic latency reduction middleware. An alternative to NVIDIA Reflex.
sway - i3-compatible Wayland compositor
corectrl