You are not logged in.
Pages: 1
I am newbie of archlinux and start dual boot win11 and arch on my pc. I try to play elden ring and street fighter6 on arch but the fps drop hard for both game. In elden ring the fps is around 35~60 in boss fight. In street fighter6, fps is stable 120 in the menu but when the game start, it drop to ~30.
my pc:
OS: Arch Linux x86_64
Kernel: 6.11.9-arch1-1
Uptime: 26 mins
Packages: 827 (pacman)
Shell: bash 5.2.37
Resolution: 1920x1080
DE: Plasma 6.2.3
WM: kwin
Theme: Breeze-Dark [GTK2], Breeze [GTK3]
Icons: breeze-dark [GTK2/3]
Terminal: konsole
CPU: 13th Gen Intel i5-13400F (16) @ 4.600GHz
GPU: NVIDIA GeForce RTX 4070 SUPER
Memory: 3494MiB / 31906MiB
lspci -k | grep -A 2 -E "(VGA|3D)":
01:00.0 VGA compatible controller: NVIDIA Corporation AD104 [GeForce RTX 4070 SUPER] (rev a1)
Subsystem: NVIDIA Corporation Device 18ca
Kernel driver in use: nvidia
The gpu driver that I have installed:
sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils nvidia-settings lib32-opencl-nvidia opencl-nvidia libvdpau libxnvctrl vulkan-icd-loader lib32-vulkan-icd-loader.
I also download gamemode. I have enable it and set this in steam game launch option:
LD_PRELOAD=$LD_PRELOAD:/usr/lib/x86_64-linux-gnu/libgamemodeauto.so.0 %command%
I have tried GE-proton9-20, and all default proton version on steam. I have tried both plasma(wayland) and plasma(X11) in login session. But still nothing changed.
Last edited by uty (2024-11-24 03:51:00)
Offline
Sounds like your fancy card isn't being used for games. My AMD laptop with AMD graphics switches automagically with no configuration required, it's really nice
Anyway, I think the wiki has some pages for you NVIDIA heathens:
https://wiki.archlinux.org/title/PRIME
EDIT: open another thread for your connection issues.
Last edited by Head_on_a_Stick (2024-11-23 13:19:34)
Para todos todo, para nosotros nada
Offline
i try to add this in /etc/X11/xorg.conf.d/10-gpu.conf:
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
and this in /etc/X11/xorg.conf.d/20-nvidia.conf screen section:
Option "ForceFullCompositionPipeline" "on"
Option "AllowIndirectGLXProtocol" "off"
Option "TripleBuffer" "on"
but still nothing happen, I also install Mangohud in game to check. It display my nvidia card on it. Is that mean my card is already using on gaming? If so what other possible problem that may cause this low performance?
Last edited by uty (2024-11-24 04:00:33)
Offline
Generally yes, the vulkan translation layers in place in proton will automatically opt for a dedicated card if one is present in vulkan listings (easiest queried yourself with a "vulkaninfo --summary")
That nvidia.conf will generally create lower FPS, you don't want triple buffering or force composition pipeline active while your nvidia card isn't even the rendering card in the first place. Have you had this issue without any config at all, which should generally work fine?
Something you can try for the wayland session is exporting the https://invent.kde.org/plasma/kwin/-/wi … _gl_finish environment variable before starting the session by adding
#!/bin/sh
export KWIN_DRM_FORCE_MGPU_GL_FINISH=1
to ~/.config/plasma-workspace/env/mgpufinish.sh and making it read/executable.
Another thing you could try is disabling the GSP firmware that sometimes leads to weird issues with the kernel parameter:
nvidia.NVreg_EnableGpuFirmware=0
Last edited by V1del (2024-11-24 11:35:12)
Offline
Pages: 1