Skip to content

Instantly share code, notes, and snippets.

View strzlee's full-sized avatar

Straussn strzlee

View GitHub Profile
@strzlee
strzlee / setup-geforcenow-linux.md
Created June 19, 2025 23:28 — forked from Edu4rdSHL/setup-geforcenow-linux.md
How to setup official GeforceNow app on Linux

If you want to setup the official GeforceNow app on Linux for gaming, use:

  • flatpak install -y --user flathub org.freedesktop.Sdk//24.08 org.freedesktop.Platform//24.08
  • flatpak remote-add --user --if-not-exists GeForceNOW https://international.download.nvidia.com/GFNLinux/flatpak/geforcenow.flatpakrepo
  • flatpak install -y --user GeForceNOW com.nvidia.geforcenow
  • flatpak run com.nvidia.geforcenow
  • If you are on Wayland and the Window doesn't open: flatpak override --user --nosocket=wayland com.nvidia.geforcenow, then launch again.

Alternatively:

@strzlee
strzlee / piaservers.json
Created October 1, 2024 17:34 — forked from satori99/piaservers.json
PIA VPN Servers
{
"groups": {
"ikev2": [
{
"name": "ikev2",
"ports": [
500,
4500
]
}
@strzlee
strzlee / firetv_firmware.md
Created August 6, 2024 20:18 — forked from JulyIghor/firetv_firmware.md
Amazon Fire TV Stick 4K Firmware and apps. Official Cloud Front direct links only

FireTV 2nd gen Cube Firmware
github.com/Pro-me3us/raven_firmware

Fire TV Stick 4K Firmware

Date Version Download MD5
2019-08-20 Fire OS 6.2.6.5 (NS6265/2157) update-kindle-mantis-NS6265_user_2157_0002852679044.bin 09289b141c8339fe675cb0204689071f
2019-10-09 Fire OS 6.2.6.6 (NS6266/2292) update-kindle-mantis-NS6266_user_2292_0003054040196.bin 253162813010472bb8d54fc8b8eb7b80
2019-11-02 Fire OS 6.2.6.8 (NS6268/2315) [update-kindle-mantis-NS6268_user_2315_0003255372676.bin](https://d1s31zyz7dcc2d.cloudfront.net/5188853d0c8dd0c460b31b985065e071/update-kindle-mantis-NS6268_user_2315_0003255372676
@strzlee
strzlee / bash_strict_mode.md
Created July 11, 2024 08:31 — forked from rizerzero/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@strzlee
strzlee / _mesa-low-latency.md
Created June 28, 2024 10:30 — forked from gschintgen/_mesa-low-latency.md
AMD: Patching Mesa on Ubuntu for low-latency VA-API encoding

AMD VA-API encoding latency

As of this writing (2024-05), VA-API has no support for AMD's low-latency encoding mode. This is problematic for ultra low-latency applications like realtime game-streaming as implemented by Sunshine.

As a temporary fix, Mesa can be patched to unconditionally use the low-latency optimizations. This entails a higher power consumption and may not be suitable for all applications.

Patching Mesa for Ubuntu

I'm providing a basic shell script to re-build Ubuntu's Mesa from the official source .debs with the necessary patch. It has only seen some light testing (22.04 only) and is provided without support. For my own usage I'm executing this script in a throw-away Incus container based on Ubuntu 22.04. The script does not clean up after itself (i.e. no purging of build dependencies etc.). **Make sure to valid

#!/bin/bash
# Fix intel color corruption
# might come with some performance degradation but is better than a corrupted
# color image
export INTEL_DEBUG=norbc
# Some environment variables by default (taken from Deck session)
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
#!/bin/bash
##
## Session globals
##
# unset DISPLAY
export XDG_CURRENT_DESKTOP=gamescope # necessary for ryujinx to render properly
export SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS=0
Setting, DefaultValue, INIValue, CurrentValue, Origin
sScreenShotBaseName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI
sScreenShotFolderName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI
sRuntimeLODDatabasePath:LODManager, <unimplemented>, <unimplemented>, <unimplemented>, INI
strPluginsFileHeader:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
sLanguage:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
sFailureMessage:LANGUAGE, <unimplemented>, <unimplemented>, <unimplemented>, INI
sResourcePrefixList:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI
sDLCDefaultVoiceSuffix:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI
sLocalMasterPath:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
Setting, DefaultValue, INIValue, CurrentValue, Origin
fSpatialGraphSpaceCollectionGridDistance:Pathfinding, 15000.000000, 15000.000000, 15000.000000, INI
fSpatialGraphSpaceCollectionGridUpdateDistance:Pathfinding, 500.000000, 500.000000, 500.000000, INI
bMergeInstStatCol:Packin, True, True, True, INI
bSkipFurnitureMarkerVisualization:AI, False, False, False, INI
bShowFurnitureEntryMarkers:AI, True, True, True, INI
bShowFurnitureExitMarkers:AI, True, True, True, INI
bShowFurnitureMarkersForSelectedOnly:AI, False, False, False, INI
bPlanetContentLogDiffing:Planet, False, False, False, INI
bDebugCombatCoverReservations:Combat, False, False, False, INI