protonscr

Missing xrandr binary in Steam runtime breaks Slay the Spire

steamclosed
ValveSoftware/steam-for-linux#11437 · opened 2024-11-08 by kkurczewski · updated 2024-11-13 · 2 comments · github
Kkkurczewski 2024-11-08 github

Your system information

  • Steam client version (build number or date): 1730853027
  • Distribution (e.g. Ubuntu): Ubuntu
  • Opted into Steam client beta?: [Yes/No] no
  • Have you checked for system updates?: [Yes/No] yes
  • Steam Logs: N/A
  • GPU: Nvidia

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).

Kkisak-valve maintainer 2024-11-08 github

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

Ssmcv 2024-11-13 github

Fixed in yesterday's beta, details here