ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
629 stars 73 forks source link

Team Fortress 2 Graphically Freezes on Launch Under Wayland #3678

Closed zachcheatham closed 3 days ago

zachcheatham commented 2 years ago

Your system information

Additional Information

Please describe your issue in as much detail as possible:

When TF2 attempts to load the menu after launch under Wayland, the rendering output freezes but the game is still responding underneath (I can hear button sounds as I click around the window.) I've had TF2 working on this system in the past, so I'm not sure what broke. I attempted verifying the installation, re-installing the game (deleted under steamapps), launching under a different Steam user and system user to eliminate any user configuration issue, launching windowed, using and not using the beta Steam client, and also using the steam-native package. Other Source titles such as CS:GO, Portal, HL2 are all launching just fine and are playable. When I finally logged in with Gnome on X11, TF2 launches fine and is playable.

Full Steam output on Wayland: tf2_output_wayland.log

Full Steam output on X11: tf2_output_x11.log

Steps for reproducing this issue:

  1. Login to Gnome Wayland.
  2. Launch TF2.
  3. Wait for Source video to play.
  4. Experience graphical freeze when menu loads and notification sound plays.

Video of the issue: https://user-images.githubusercontent.com/1832709/136672191-accb331c-91a9-4787-aacc-6c58f0434558.mp4

Please let me know if more information is needed!

kisak-valve commented 2 years ago

Hello @zachcheatham, it should be noted that the nVidia proprietary driver only started supporting GPU-accelerated OpenGL with Xwayland with their 470.42.01 driver release and Xwayland 21.1.2. Relatively speaking, support for this render path hasn't been around for very long with nVidia's driver and this reads like a video driver or Xwayland issue.

Your issue should also be mentioned to your video driver vendor.

fenrave commented 2 years ago

Still can confirm this is happening with the latest version of Xwayland and nvidia 495, which now supports gbm. Most of the other dependencies have been updated to support the GBM API with nvidia 495 amongst other things, and as such, a lot of issues should be resolved with Xwayland, and they are for the most part. Source 1 games just seem to be the odd one out in this regard, not too sure what causes it but if someone smarter than me could figure it out, it could be something that nvidia can only fix.

Tiagoquix commented 1 month ago

OP, does this still happen?

Also, currently, NVIDIA driver 555 is on the beta phase, with better support for Wayland.

kisak-valve commented 3 days ago

Closing as outdated.