Open dxalp3 opened 1 year ago
Hello @dxalp3, please add PROTON_LOG=1 %command%
to some affected game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.)
from proton log:
16818.704:016c:0170:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FEB0 16820.652:00d0:00d4:err:xrandr:xrandr14_get_adapters Failed to get adapters 16820.671:00d0:00d4:err:xrandr:xrandr14_get_adapters Failed to get adapters
from xorg log:
[ 802.377] (WW) NVIDIA(G0): Failed to set the display configuration [ 802.377] (WW) NVIDIA(G0): - Setting a mode on head 0 failed: Insufficient permissions [ 802.377] (WW) NVIDIA(G0): - Setting a mode on head 1 failed: Insufficient permissions [ 802.377] (WW) NVIDIA(G0): - Setting a mode on head 2 failed: Insufficient permissions [ 802.377] (WW) NVIDIA(G0): - Setting a mode on head 3 failed: Insufficient permissions
Ok so I inferred my xserver is unable to use my dedicated gpu for a second display(?), but tries to to (system76-power graphics prints nvidia). What I don't get it why it doesn't work specifically for steam proton (considering there are no missing 32 bit packages) and not other wine binaries, or even desktop, and specifically on X11. And my integrated graphics support vulkan anyway
My GPU driver has been automatically using my dedicated GPU for games up to this point (It's called prime render offload i think?) and updates occassionaly broke wine on x11, but reinstalling wine have fixed that. Is this an error on steam's end? Or kernel version maybe?
Edit: Tried enabling prime render offload because apparently my power profile was set to exclusively use nvidia, but it didn't work. I still get the same error log.
I uninstalled and reinstalled wallpaper engine, and this kde plugin restored its cache. So the apps are working briefly, but cannot display and crash after a while. I'm out of ideas at this point
EDIT: Inputting the launch command 'VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json %command%' worked. It also fixed the brief desktop stutter when launching wine on X11. But I don't want to have to do this for each game. How do I implement this globally?
Hello @dxalp3, you've described the issue being tracked at https://github.com/ValveSoftware/steam-for-linux/issues/8179. Closing as a duplicate.
Hello there, unfortunately the issue persists following the instructions on that thread.
I confirm the problem. Using wayland fixes it for me (the irony knowing wayland works initially bad with nvidia). Any other program that uses wine (including unity-based stuff) without proton runs fine on X11.
@dxalp3 I also had the wine related igpu optimus related "Application tried to create a window, but no driver could be loaded" issue. Your solution worked, and then I looked around to find out how to run proton without needing to add that command everytime. You can see all the vulkan devices using vulkaninfo | grep deviceName
. I had Intel UHD integrated graphics, LLVM llvmpipe, and my NVIDIA GTX 2070. I deleted everything in /usr/share/vuikan/icd.d
except the nvidia_icd.json
(moved them to a backup folder actually). Now I can run games without needing to set VK_ICD_FILENAMES everytime
I have had this issue with wine overall before, but this time around happens only with Steam Proton. I'm running on a dual GPU(Nvidia/Intel) laptop with Pop!OS 22.04.
The terminal output: steamproton.txt EDIT: steam-1449850.log
What I've tried so far: 1.Reinstalling NVIDIA drivers
3.Installing the repository and flatpak versions
xorg log: xorglog.txt
Steam System Info: systeminfo.txt