Skip to content

Instantly share code, notes, and snippets.

View srlemke's full-sized avatar

Sergio Rafael Lemke srlemke

View GitHub Profile
@srlemke
srlemke / LMU Linux Triples
Last active June 7, 2026 10:58
Triples kde/X11 + free(v)sync and TearFree : 6900XT 7680x1440120fps
My setup runs 7680x1440 at 120hz/fps on a Radeon 6900XT
I did try KDE/Plasma 6 with wayland and gamescope (a lot) but there is always something going on, like
super smooth on normal testing, then on online sittuations random frametime 'ticks' which I could not solve.
Also, smooth frames for 2 laps then staring to lose sync.
So KDE/X11 with X11 TearFree enabled it is.
### KDE Settings: ###
KDE Window Manager needed setting:
systemsettings -> Window Management -> Kwin Scripts -> Video Wall
@srlemke
srlemke / OBS Recording tweaks
Last active May 25, 2026 13:39
Make high quality recording with OBS on Linux
On OBS advanced recording settings, you should have listed Navi 21 VAAPI
device (for 6900XT)
Rescaling should be off.
Don't forget to cut (with alt)!! the not recorded/streamed parts of the
screen when cropping the capture size to 1080.
For decent local recording and not to big file sizes, a good setting is:
Rate Control: CQP with QP at 30 (dynamic, avoids cornering stutters.)
0 impact on gaming.
(Decreasing this number increments quality but also file size)
@srlemke
srlemke / returns raceroom car brand icons
Created November 30, 2025 10:40
Raceroom: Returns brand name to use car brand icons on simhub dashes.
///You still need to add the icons to the dash images.
car = lcase($prop('CarModel'))
if (car.includes('bmw')) {
return 'BMW';
}
if (car.includes('mercedes')) {
return 'mercedes';
@srlemke
srlemke / Raceroom adjust external cam FOV
Last active May 3, 2026 10:27
Raceroom adjust FOV for all cameras inclusive External ones
vim ~/.local/share/Steam/steamapps/compatdata/211500/pfx/drive_c/users/steamuser/Documents/My\ Games/SimBin/RaceRoom\ Racing\ Experience/UserData/graphics_options.xml
In my case:
<fovScale type="float32">0.50999999</fovScale>
Some more detailed info:
https://forum.kw-studios.com/index.php?threads/is-there-a-way-to-change-chase-hood-and-bumper-camera-fov.21162/#post-260356
Video Device: 6900XT - you also want to underwolt this one or possible other AMDs.
My case: 7680x1440@120hz on X11 (6900XT with Ryzen 9800X3D) (GPU offset -81 via LACT app)
Steam launch: mangohud gamemoderun %command%
You want a 9800X3D for LMU, it is a beast, I upgraded from a 5800X3D - It's like 50% better, LMU is Single-Core CPU bound
most the time.
Before Starting the game, get the proper frametime for your resolution and desired FPS with cvt (7680x1440@120fps my case):
slemke@gamesmachine:~> cvt 7680 1400 120
# 7680x1400 119.92 Hz (CVT) hsync: 180.24 kHz; pclk: 1929.25 MHz
@srlemke
srlemke / LMU Triple Screen rendering on Samsung G9 - 5118x1440 Custom resolution Wayland
Last active June 9, 2025 17:20
LMU Triple Screen rendering on Samsung G9 - 5118x1440
The tutorial works, but in most of my test on simracing this leads to some kind of stutter.
In general its better to use the default resolutions for simracing at least in my monitor.
If your customm resolution is not for simracing then this totally works.
Needed to find current monitor, Install:
edid-decode
Find your monitor, thats annoying, I know mine is this, yours is probably somewhere in this path to:
edid-decode /sys/class/drm/card1-DP-1/edid
@srlemke
srlemke / TinyPedal on OpenSUSE for Le Mans Ultimate
Last active April 8, 2026 08:52
TinyPedal on OpenSUSE for Le Mans Ultimate
Note, to be able to move widgets in wayland check: "Enable X11 Platform Plugin Override" on tinypedal
compatibility settings and restart it.
-> Now to install && run:
zypper in python313-pyside6 python313-pyxdg python313-psutil
Clone it recursivelly:
git clone --recursive https://github.com/s-victor/TinyPedal.git
Linux uses a specific Shared Memory:
@srlemke
srlemke / 6900XT Underwolt via gamemode
Last active June 12, 2026 07:57
6900XT gamemode settings
This is not so much needed anymore, lact does a great job of applying this same settings!
Install lact, set ofset -81 and should be all done.
on lact, also set fan to curve instead auto.
mangohud and gamemode are still good stuff, so I suggest those to be installed.
## Original Manual way bellow: ###
#You need to unlock the card for over/under-clocking work, add this as grub boot kernel argument: (lact can do this)
amdgpu.ppfeaturemask=0xffffffff
@srlemke
srlemke / SimHub on Linux
Last active April 27, 2026 07:55
SimHub on Linux
Update 02.Apr.2026:
I made a script that will do all the needed checks and install SimHub:
https://github.com/srlemke/SimHub_on_Linux
There is also a V2 in the works that also can install CrewChief:
https://github.com/srlemke/SimHub_on_Linux/tree/With-Crewchief
Automatically adds and configures plugins for LMU, it also detects custom Proton.
Automatically adds dash.exe when Raceroom.
Fixes common issues, like removal of dotnet4 Steam stub
@srlemke
srlemke / Automobilista2 Content Manager on Linux
Last active February 21, 2026 04:12
Automobilista 2 Content Manager Linux
winetricks -q dotnetdesktop6
#Download AMSCM from:
https://www.overtake.gg/downloads/automobilista-2-content-manager.59727/
wine AMS2CM.msi (Do not forget to install CLI that you have to select in the AMS2CM installer)
#Double check the path on the bellow file, this is the most important:
vim /home/slemke/.wine/drive_c/Program\ Files/AMS2CM/Config.yaml
Path: Z:\home\slemke\.steam\steam\steamapps\common\Automobilista 2