protonscr

LWJGL/libGDX games fail to start with new xorg

steamclosed reviewed3rd party gameruntime
ValveSoftware/steam-for-linux#4471 · opened 2016-05-31 by isage · updated 2019-06-21 · 6 comments · github
Iisage 2016-05-31 github

Your system information

  • Steam client version: any
  • Distribution (e.g. Ubuntu): Fedora 23/24 / Ubuntu 16.04 / Any other distro with xorg 1.18
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Steps for reproducing this issue:

  1. Run any libgdx/lwjgl game ( The Way, for example)
  2. Game crashes
PPlagman 2016-05-31 github

Narrowed scope a bit, we'll look into it. X protocol should be compatible even with older client libraries.

Iisage 2016-05-31 github

Newer xrandr uses newer libXrandr and new api - XRRGetProviderInfo
For now, you can just provide relevant version of xrandr binary in runtime.
But seriously, consider doing things, that you cut from my post.

PPlagman 2016-05-31 github

The runtime is required to effectively being able to support games sold through Steam; we can't require users to have to install an unspecified amount of distribution packages before the game they bought will start running. There are issues with the runtime and we'll work on fixing them, but suggesting to rip it out altogether is not helpful.

Iisage 2016-05-31 github

I'm not suggesting to rip it all out, I'm suggesting to rip out only
system-essential ones. Ones, that are present on every system, just because
it won't work without them. If you worried about i386 libs on x86_64
systems - there's package-manager dependencies for this.

Providing stuff like libsdl/glew/cg/etc. is fine, however

Kkisak-valve maintainer 2019-05-17 github

Hello @isage, since this issue report, Steam's handling of the Steam runtime has changed to prefer host libraries before the steam runtime variants. Are you still experiencing this issue on an up to date system?

Kkisak-valve maintainer 2019-06-21 github

Closing pending feedback.

Nothing extracted yet.