hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.72k stars 900 forks source link

Steam windows-native games won't launch. #6668

Open wolzly opened 4 months ago

wolzly commented 4 months ago

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: B650-PLUS Release: 6.9.5-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Wed, 19 Jun 2024 19:56:40 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [1002:73ef] (rev c1) (prog-if 00 [VGA controller]) os-release: NAME="Artix Linux" PRETTY_NAME="Artix Linux" ID=artix BUILD_ID=rolling ANSI_COLOR="0;36" HOME_URL="https://www.artixlinux.org/" DOCUMENTATION_URL="https://wiki.artixlinux.org/" SUPPORT_URL="https://forum.artixlinux.org/" BUG_REPORT_URL="https://bugs.artixlinux.org/" PRIVACY_POLICY_URL="https://terms.artixlinux.org/docs/privacy-policy/" LOGO=artixlinux-logo plugins: ```

Description

Considering I don't see anyone else with this issue, I am assuming that I've done something wrong somehow and don't realize it, but anyway...

With the 0.41 update all my steam games crash/freeze upon launch. The games splash screen is frozen (often before it fully loads in, so for example it is still faded before coming in fully). These are all launched using proton-ge and gamescope. I'm using proton-ge-custom-bin 1:GE_Proton9_7-1 and gamescope-git 3.14.22.r1.g5ee5959-1 from the aur.

Sorry my "System Info and Version" is with 0.40 hyprland installed since I just finished downgrading hyprland, wlroots, and libdisplay-info.

Sorry if this bug report is horrible/unacceptable I'm new to github.

How to reproduce

Launch a windows-native game in steam using proton-ge 9_7-1 and gamescope 3.14.22.r1.g5ee5959-1.

Crash reports, logs, images, videos

No response

zakk4223 commented 4 months ago

Add --backend sdl to your gamescope arguments

jaschutte commented 4 months ago

I've noticed this on several games without having to use gamescope, as gamescope in it's entirity is broken for me.

A lot of games freeze until I switch workspaces with them, then they update for a few seconds before freezing again. I've noticed this with Genshin Impact using Heroic launcher and Payday 2 via Steam. Both ran normally until v0.40.x.

I have absolutely nothing to base this off aside for that the xwayland rewrite got merged into v0.40.0. But I feel like the xwayland rewrite has something to do with it all.

My system info:

Hyprland, built from branch  at commit 918d8340afd652b011b937d29d5eea0be08467f5  ().
Date: 2024-06-25
Tag: , commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information:
System name: Linux
Node name: pc
Release: 6.9.6
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Jun 21 12:40:40 UTC 2024

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])
0e:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240625.cfb89a9"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"