Last active
May 12, 2025 11:44
-
-
Save danilw/2960e1ebd164bc4ba69f58cd9bdf3821 to your computer and use it in GitHub Desktop.
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
just notes to not lose: | |
https://gitlab.freedesktop.org/drm/amd/-/issues | |
https://gitlab.freedesktop.org/mesa/mesa/-/issues/?label_name%5B%5D=RADV | |
https://gitlab.freedesktop.org/mesa/mesa/-/issues/12213 | |
https://gitlab.freedesktop.org/mesa/mesa/-/issues/?sort=created_date&state=opened&search=ring%20timeout | |
amd ring timeout | |
sudo journalctl -b -1 -o cat --no-pager | grep "amdgpu: ring gfx" | |
disable GPU recovery by adding amdgpu.gpu_recovery=0 to your kernel boot options (you can verify it's correctly set after a reboot using dmesg) | |
when the GPU hang happens, invoke 'umr -RS gfx_0.0.0 &> umr_rings.log' (needs to install umr first) and attach umr_rings.log to this ticket | |
-6. pipewire audio crackling (first good instruction) | |
https://www.reddit.com/r/linux_gaming/comments/1d1ef61/pipewire_audio_distortion_and_crackling_fix/ | |
https://www.reddit.com/r/linux_gaming/comments/1d1ef61/comment/m3tifo2/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button | |
https://forum.manjaro.org/t/howto-troubleshoot-crackling-in-pipewire/82442/27 | |
~/.config/pipewire/pipewire-pulse.conf | |
pulse.min.req = 1024/48000 | |
pulse.min.frag = 1024/48000 | |
pulse.min.quantum = 1024/48000 | |
-5. gamescope | |
https://superuser.com/questions/1862559/render-windows-on-inactive-workspace-in-kde-plasma-wayland/ | |
gamescope -f -W 1920 -H 1080 -r 60 -- vkcube | |
gamescope -b -W 1920 -H 1080 -r 60 -- vkcube | |
gamescope -b -W 1280 -H 720 -w 1280 -h 720 -r 60 -- baka-mplayer . | |
DXVK_FRAME_RATE=30 | |
VKD3D_FRAME_RATE | |
MANGOHUD_CONFIG=fps_limit=40,no_display | |
you can even set multiple values comma-seperated. That way you can set it once and forget about it. | |
fps_limit = 165,60 | |
Then you just hit F1 after starting the game to switch to 60. I recommend to also set show_fps_limit, so you can see what it is currently set at. With no_display you can hit F12 to check it. | |
VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_wait | |
-4. | |
to pass "link from webbrowser to wine-app" | |
like webbrowser login link from Ankama launcher: | |
wine-ankama.desktop in ~/.local/share/applications | |
[Desktop Entry] | |
Type=Application | |
Name=Ankama-launcher wine | |
MimeType=x-scheme-handler/zaap; | |
Exec=sh /home/danil/data2/games/run_a.sh %u | |
NoDisplay=true | |
StartupNotify=false | |
in terminal: | |
xdg-mime default wine-ankama.desktop x-scheme-handler/zaap | |
to check: | |
xdg-mime query default x-scheme-handler/magnet | |
~/.config/mimeapp.list | |
in run_a.sh: | |
#!/bin/sh | |
export WINEPREFIX=/mydata/data2/games/wineprefix/wine | |
cd "/mydata/data2/games/wineprefix/wine/drive_c/Program Files/Ankama/Ankama Launcher/" | |
LANG=en_US.utf8 wine start "Ankama Launcher.exe" $1 | |
-3. | |
Firefox in linux Nvidia video acceleration still does not work: | |
https://askubuntu.com/questions/1477892/firefox-refuse-to-use-gpu-hardware-acceleration-with-nvidia-gpu-how-to-fix | |
https://ubuntuhandbook.org/index.php/2024/01/firefox-vaapi-nvidia/?unapproved=3756710&moderation-hash=5ba924136e4ae51ba503f522df67499e#comment-3756710 | |
-2. | |
block youtube recomended | |
https://greasyfork.org/en/scripts/475942-youtube-recommendations-be-gone-cleaner-youtube | |
-1. | |
do not wakeup on keyboard | |
echo PTXH | sudo tee /proc/acpi/wakeup | |
0. | |
kernel boot option HPET "hight precision event timer" | |
https://www.reddit.com/r/linux_gaming/comments/j5fepu/psa_for_ue4_games_over_wineproton_use/ | |
`cat /sys/devices/system/clocksource/clocksource0/current_clocksource` | |
if it show hpet - add grub/kernel boot options `clocksource=tsc tsc=reliable` | |
`clocksource=hpet` - revert | |
1. | |
Annoying Nvidia: | |
For OpenGL apps: | |
``` | |
export __NV_PRIME_RENDER_OFFLOAD=1 | |
export __GLX_VENDOR_LIBRARY_NAME=nvidia | |
``` | |
Vulkan - drivers turn off Vulkan 1.1+ after using CUDA once: | |
DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 3060" | |
Launch Vulkan 1.0 alication, my vulkan shader launcher | |
command to launch game adding to launch | |
VK_ICD_FILENAMES=nvidia_icd.json | |
where nvidia_icd.json must located in folder with exe and in linux-user-home dir /home/user/nvidia_icd.json | |
nvidia_icd.json file text: | |
{ | |
"file_format_version" : "1.0.0", | |
"ICD": { | |
"library_path": "/usr/lib64/libGLX_nvidia.so.0", | |
"api_version" : "1.3.211" | |
} | |
} | |
2. | |
kernel AMD-GPU boot | |
https://gitlab.freedesktop.org/drm/amd/-/issues/3943 | |
amdgpu.ppfeaturemask=0xfff07fff | |
amdgpu.ppfeaturemask=0xfffd3fff | |
amdgpu.ppfeaturemask=0xffffffff amdgpu.noretry=0 clocksource=hpet amdgpu.mcbp=0 | |
https://bugzilla.kernel.org/show_bug.cgi?id=201957 | |
https://gitlab.freedesktop.org/drm/amd/-/issues/2848#note_2093172 | |
3. | |
Fix for Halo achievements, delete EAC https://fearlessrevolution.com/viewtopic.php?f=10&t=11818 | |
from https://github.com/ValveSoftware/Proton/issues/2907#issuecomment-839934840 | |
2023 summer+ - NOT NEEDED anymore, EAC work in Linux out of box in Halo MCC | |
4. | |
Genshin - https://www.notabug.org/yagocl/GI-on-Linux | |
https://www.notabug.org/Krock/dawn | |
to fix keyboard focus in wine | |
winetricks usetakefocus=n | |
reverse 1999 | |
https://www.notabug.org/Krock/dawn/issues/454 | |
void *GetProcAddress(void *module, char *name); | |
void *LoadLibraryA(char *name); | |
int wWinMain(void *instance, void *prevInstance, void *cmdLine, int showCmd) { | |
return ((int (*)())GetProcAddress(LoadLibraryA("UnityPlayer.dll"), "UnityMain"))(instance, prevInstance, cmdLine, showCmd); | |
} | |
5. | |
Borderlands 3 and Wonderlands UE4 games - use Windows 7 only because it force DX12 on never windows version and it wont work. | |
Save file problem - link to "My Document" folder in Wine MUST be ENGLISH-only, name of folder destination of link. | |
6. | |
wine set desktop from console | |
delete/add registry key | |
wine reg delete "HKEY_CURRENT_USER\Software\Wine\Explorer" /v Desktop /f | |
wine reg add "HKEY_CURRENT_USER\Software\Wine\Explorer" /v Desktop /t REG_SZ /d Default | |
7. | |
proton opengl wine | |
PROTON_USE_WINED3D=1 %command% | |
zink | |
https://wiki.archlinux.org/title/OpenGL#OpenGL_over_Vulkan_(Zink) | |
MESA_LOADER_DRIVER_OVERRIDE=zink | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment