Repository navigation
Release 26.11.3: FreeFG frame generation, SMU sampler, GE-Proton 11-12 - #133
Merged
Merged
Conversation
FreeFG (daniel-h-0, MIT) adds Intel's XeSS frame generation with shaders written for the BC-250, plus FSR 4, through OptiScaler, one game at a time. Measured on bc250-dev, Cyberpunk 1080p: 130-133 fps shown against a bench median of 90.7, 1% lows 30-34; the game's own rate stays near 65. sfcc/freefg.py (no Qt) does the work and is run as a separate process, as the desktop user, by the Games page, by the Remote Manager and by the new skillfish-freefg command: - the release is pinned (1.4.0) with its sha256 and unpacked with bsdtar into ~/.local/share/skillfish/freefg; libarchive-tools is recommended; - the game list is FreeFG's own scan (Steam, Heroic stores) plus Heroic's sideloaded games, each with FreeFG's verdict; - installing first sets PROTON_USE_OPTISCALER and PROTON_FSR4_UPGRADE to 0 in that game's launcher entry, keeping what was there: our FSR 4 switch sets them to 1 launcher-wide, and GE-Proton would then load its own OptiScaler as dxgi.dll over FreeFG's. GE reads them with nonzero(), and the entry wins over the flatpak override. Then FreeFG installs with its BC-250 FSR 4, the automatic input and never NVIDIA's DLL. Removing runs FreeFG's restore and puts the entry back as it was. The Games page gets a Frame generation card (download, game list with the verdict, install, remove); web/giochi.html gets the same panel. The daemon runs freefg.py through runuser as the desktop user and accepts a game only if it is in the list FreeFG returns, never a free path from the network. The Control Center dictionaries are merged into the shared ones with unisci-i18n.py: the FreeFG strings, the two from the GE-Proton fix (#132) that had not reached them, and one older AI string. Only additions; the tool sorts the files. Tested on bc250-dev: download and hash, list (5 games), install into Cyberpunk with GE FSR 4 on launcher-wide and in the game, one launch (GE stays out: PROTON_*=0 in the game's environment, FreeFG active), one bench run (132.1 fps), removal (Heroic entry byte-identical to before, no FreeFG file left, 0 GPU errors). The dashboard functions run as root: refusal of a path outside the list and of an unknown action, install and remove, files owned by the user. Card rendered offscreen. tests/test_cc_freefg.py covers the entry edits and the pinning.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
skillfish-freefg. FreeFG (daniel-h-0, MIT) adds Intel's XeSS frame generation with shaders written for the BC-250, plus FSR 4, one game at a time.How FreeFG is integrated
sfcc/freefg.py(no Qt) runs as a separate process, as the desktop user:~/.local/share/skillfish/freefg, unpacked withbsdtar(keeps exec bits;libarchive-toolsadded to Recommends). A new FreeFG release changes nothing until it is tried here and the pin moves.PROTON_USE_OPTISCALER=1/PROTON_FSR4_UPGRADE=1launcher-wide, and GE-Proton would load its own OptiScaler asdxgi.dll(viaWINE_OPTISCALER_NAME) over FreeFG's. Installing sets both to0in that game's launcher entry only (GE reads them withnonzero(), and the entry wins over the flatpak override), keeping the original values; removing runs FreeFG's restore and puts the entry back.--dlss-helper no(never NVIDIA's DLL). HelixSR's upscalers are not offered: they crash at load on our Proton.runuseras the desktop user and accepts a game only if it is in the list FreeFG returns.Tests
On bc250-dev (7.3.4, GE-Proton11-6, Heroic flatpak):
PROTON_*=0, no GE OptiScaler; FreeFG logs activeUnit tests:
tests/test_cc_freefg.py(entry edits, pinning, verdicts). The web page script passesnode --check; it was not opened in a browser.The Control Center dictionaries are merged into the shared ones with
unisci-i18n.py(only additions; the tool sorts the files), which also brings in the two strings of #132 that had not reached them.