You are not logged in.
Some games freeze permanently after I alt-tab out of them or change the workspace with only sound playing, can only terminate the games afterwards. I'm using i3wm, the games I've had this issue with are Dark Souls II, Atlyss and Tekken 7, all of them were run with proton. I'm using 6.12.10.arch1-1 and Proton Hotfix. I've also tried using awesome wm but the issue remained there as well.
Last edited by l1ivi1l (2025-02-09 18:21:37)
Offline
I've also found out that it is probably not the issue of tiling wms, as the problem gets even worse in Plasma with KWin on x11, where some games freeze randomly before I alt-tab out of them. Also, I forgot to say that it isn't present for all of the games, I can run minecraft java and touhou (using wine) just fine and alt-tab as much as I want.
Last edited by l1ivi1l (2025-01-22 14:29:09)
Offline
What GPU? get rid of xf86-video-intel if anything intel, xf86-video-amdgpu as well for that matter.
Offline
Nvidia GeForce 1050 Mobile, using proprietary drivers and prime offloading, xf86-video-intel not installed
Offline
* do the games run fullscreen when tabbint out of them? Some in windowed mode?
* do you also run a compositor (picom etc.) next to i3/awesome?
* do you get the same when forcing the GL mode, https://wiki.archlinux.org/title/Steam/ … _emulation ?
Online
This happens both in fullscreen and in floating windows, in the latter this gets even more annoying as the game can freeze after you just move the window. This also happens both with and without a compositor.
While running with "PROTON_USE_WINED3D=1 %command%", the problem steal appears after alt-tabbing for a while, however in this case it isn't as fatal, the games continue running and respond to inputs but all I see is a white screen.
Also I've found out that the problem isn't present when running games in wayland, although I'd still like to figure it out in x11.
Last edited by l1ivi1l (2025-01-23 11:09:30)
Offline
Games don't run in wayland, steam for now exclusively runs on xwayland.
Do you use the other GPU on wayland?
Do you actually prime-run those games? Does it make a difference?
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Online
Sorry it takes me a while to respond, I'm not feeling well lately. For some reason I now can't run steam games on my integrated gpu (the nvidia one is used, no matter if I prime-run them or not) although I could before and prime-run works for me when I test it on glxgears. Anyways, here's the log. https://pastebin.com/raw/WxUWZG00
Offline
[ 16.110] (**) |-->Screen "Screen0" (0)
[ 16.110] (**) | |-->Monitor "<default monitor>"
[ 16.111] (**) | |-->Device "Device0"
[ 16.111] (**) | |-->GPUDevice "Intel Graphics"
[ 16.111] (**) | |-->GPUDevice "NVIDIA Card"
[ 16.111] (**) | |-->GPUDevice "Device1"Remove that configuration file.
Also the card order is reversed, add "nvidia_drm.modeset=1" to the https://wiki.archlinux.org/title/Kernel_parameters (no, the modprobe.conf entry won't do)
Online
I've done it, but the issue is still present and I still can't launch games on my integrated gpu. Also, I've followed https://bbs.archlinux.org/viewtopic.php … 7#p2181317 , but I still have this output:
❯ cat /proc/driver/nvidia/gpus/0000:01:00.0/power
Runtime D3 status: Not supported
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Not Supported
Video Memory Off: Not Supported
S0ix Power Management:
Platform Support: Not Supported
Status: DisabledHere is my modprobe.d:
❯ cat /etc/modprobe.d/nvidia.conf
options nvidia "NVreg_EnableGpuFirmware=0"
~
❯ cat /etc/modprobe.d/nvidia-pm.conf
options nvidia "NVreg_DynamicPowerManagement=0x02"and the driver I use:
❯ nvidia-smi
Sat Jan 25 21:29:09 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1050 On | 00000000:01:00.0 Off | N/A |
| N/A 41C P8 N/A / 5001W | 13MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2245 G /usr/lib/Xorg 4MiB |
| 0 N/A N/A 4074 C+G ....local/share/Steam/logs/cef_log.txt 4MiB |
+-----------------------------------------------------------------------------------------+Offline
no, the modprobe.conf entry won't do
Please post an updated xorg log and the outputs of
glxinfo -B
prime-run glxinfo -B
printenvOnline
xorg log: https://pastebin.com/raw/GA1JjLzY
the output: https://pastebin.com/raw/E2k4bC6q
Offline
[ 16.642] (**) |-->Screen "Default Screen Section" (0)
[ 16.642] (**) | |-->Monitor "<default monitor>"
[ 16.642] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 16.642] (**) | |-->Device "Intel Graphics"
[ 16.642] (**) | |-->GPUDevice "Device0"
[ 16.642] (**) | |-->GPUDevice "Device1"grep -r Device0 /{etc,usr/share}/X11/xorg.conf*Second patebin is 403,
(glxinfo -B; prime-run glxinfo -B;printenv) | curl -F 'file=@-' 0x0.stOnline
❯ grep -r Device0 /{etc,usr/share}/X11/xorg.conf*
/etc/X11/xorg.conf.d/80-igpu-primary-egpu-offload.conf: Identifier "Device0"Offline
I guess that's https://wiki.archlinux.org/title/Extern … ad_to_eGPU but you don't have na eGPU, do you?
Remove that file, but according to the glxinfo outputs you're defaulting to the intel GPU and the nvidia one can be invoked via prime-run.
I kinda missed the
prime-run works for me when I test it on glxgears
part…
How do you assess that steam insists on runnign on the nvidia GPU? nvidia-smi? Or the game telling you itself?
Do you just alter the environment in the launcher?
https://wiki.archlinux.org/title/PRIME# … _using_GPU
Online
How do you assess that steam insists on runnign on the nvidia GPU? nvidia-smi? Or the game telling you itself?
In mangohud it says that the nvidia GPU is used.
Glxgears: https://imgur.com/a/l2qAbLL https://imgur.com/a/OjpriVg
Do you just alter the environment in the launcher?
In steam I do "prime-run %command%" for each game.
Offline
Games run via proton and thus DXVK/VKD3D have code to automatically select the dGPU on their own, if you wanted to change that use e.g. https://wiki.archlinux.org/title/Vulkan … en_devices with mesa-vulkan-layers installed to guarantee that the iGPU is being picked up.
Offline
I've removed some things, mainly the /etc/X11/nvidia-xorg.conf.d/30-nvidia.conf used by nvidia-xrun, which I tried earlier, as in the wiki it says that I should've removed it before trying other optimus options. Now my config is a total mess and xorg doesn't even start sometimes, so I guess I'll have to configure it from scratch...
Offline
You should™ not have to apply any custom config at all.
ls -lR /{etc,usr/share}/X11/xorg.conf*Now my config is a total mess and xorg doesn't even start sometimes
Do you have the xorg log for such startup failure?
Online
❯ ls -lR /{etc,usr/share}/X11/xorg.conf*
-rw-r--r-- 1 root root 3899 янв 26 03:36 /etc/X11/xorg.conf
/etc/X11/xorg.conf.d:
итого 12
-rw-r--r-- 1 root root 156 дек 30 00:13 00-keyboard.conf
-rw-r--r-- 1 root root 113 янв 20 20:02 20-intel-gpu.conf
-rw-r--r-- 1 root root 154 янв 1 18:17 30-touchpad.conf
/usr/share/X11/xorg.conf.d:
итого 16
-rw-r--r-- 1 root root 227 дек 31 19:19 10-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1659 дек 17 22:10 10-quirks.conf
-rw-r--r-- 1 root root 1429 окт 15 15:44 40-libinput.conf
-rw-r--r-- 1 root root 2482 янв 23 16:19 70-wacom.confAlso, I can't prime-run and my D3 status looks like this:
❯ cat /proc/driver/nvidia/gpus/0000:01:00.0/power
Runtime D3 status: ?
Video Memory: ?
GPU Hardware Support:
Video Memory Self Refresh: ?
Video Memory Off: ?
S0ix Power Management:
Platform Support: Not Supported
Status: ?Offline
Move away /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/20-intel-gpu.conf
Post an updated xorg log.
What *exactly* do you mean by "can't prime-run", please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Pascal chips don't support RTD3.
Online
After a few reboots prime-run works again...
Games still use nvidia GPU even without prime-run
https://0x0.st/8X3M.txt
Offline
remove xf86-video-nouveau and see #17 for the steam-specific behavior.
Online
I've switched to using EnvyControl for optimus and it works better for me. Anyways, when I run games using iGPU, it appears to be harder to come over the problem and I can fix it by reloading i3 with mod+shift+r. However, with dGPU, reloading i3 doesn't help.
I've removed xf86-video-nouveau as you suggested. Should I also change anything about the following packages?
❯ pacman -Qs nouveau
local/lib32-vulkan-nouveau 1:24.3.4-1
Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/vulkan-nouveau 1:24.3.4-1
Open-source Vulkan driver for Nvidia GPUs
~
❯ pacman -Qs vulkan
local/goverlay 1.2-1
A GUI to help manage Vulkan/OpenGL overlays
local/lib32-nvidia-utils 565.77-1
NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.4.303-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-intel 1:24.3.4-1
Open-source Vulkan driver for Intel GPUs - 32-bit
local/lib32-vulkan-nouveau 1:24.3.4-1
Open-source Vulkan driver for Nvidia GPUs - 32-bit
local/mangohud 0.7.2-2
A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-utils 565.77-3
NVIDIA drivers utilities
local/qt6-shadertools 6.8.1-1 (qt6)
Provides functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL
local/spirv-tools 2024.4.rc2-1 (vulkan-devel)
API and commands for processing SPIR-V modules
local/vulkan-headers 1:1.4.303-1 (vulkan-devel)
Vulkan header files
local/vulkan-icd-loader 1.4.303-1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-intel 1:24.3.4-1
Open-source Vulkan driver for Intel GPUs
local/vulkan-mesa-layers 1:24.3.4-1
Mesa's Vulkan layers
local/vulkan-nouveau 1:24.3.4-1
Open-source Vulkan driver for Nvidia GPUs
local/vulkan-tools 1.4.303-2 (vulkan-devel)
Vulkan Utilities and ToolsOffline
Certainly the nouveau vulkan stuff.
Envycontrol what? GPU only? IGP only? Hybrid mode (is equivalent to standard prime)?
Please post an updated xorg log - the previous one had all outputs on the IGP, so might be an issue around https://wiki.archlinux.org/title/PRIME# … ronization
But restartin a (uncomposited!) WM to get yourself out of such sounds wild - it will at most un/remap windows and maybe resize them.
Speaking of which: same w/ a non-tiling WM like openbox?
Online