ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.26k stars 175 forks source link

Missing xrandr binary in Steam runtime breaks Slay the Spire #11437

Closed kkurczewski closed 1 week ago

kkurczewski commented 1 week ago

Your system information

Please describe your issue in as much detail as possible:

After recent Steam runtime update Slay the Spire fails to start due to missing xrandr binary. Multiple people reported this problem in last few days:

https://steamcommunity.com/app/646570/discussions/1/4626979420667653742/ https://steamcommunity.com/app/646570/discussions/1/4626979420667648411/ https://steamcommunity.com/app/646570/discussions/1/4628104871029020787/

Steps for reproducing this issue:

  1. Start game via Steam
  2. Game fails with following exception:
    09:33:33.530 INFO desktop.DesktopLauncher> Launching application...
    Exception in thread "LWJGL Application" java.lang.ExceptionInInitializerError
    at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setVSync(LwjglGraphics.java:558)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:954)
    at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:738)
    at org.lwjgl.opengl.Display.<clinit>(Display.java:138)
    ... 2 more

Which can be traced to this line and further to this command.

Running it manually from jar (it is based on Java engine) works without issue (granted binary is installed).

kisak-valve commented 1 week ago

Hello @kkurczewski, this issue is already being tracked at https://github.com/ValveSoftware/steam-runtime/issues/702. Closing as a duplicate.

smcv commented 1 week ago

Fixed in yesterday's beta, details here