Steamuxulation redux

OP
S

shkhln

Daemon

Reaction score: 575
Messages: 1,530

There is now yet another Steam sale with quite a few game demos listed: https://store.steampowered.com/sale/gamefestival. Demos are available outside of sales, of course, but they aren't exactly easy to find in the store UI.

A word of caution, though: don't go overboard with testing games, 3-5 titles per person is enough.
 

scratchi

New Member


Messages: 13

Hello,
When launching Soldat 2 and Vengeance demos, it hangs on a grey screen. Soldat 2 doesn't have any output when it hangs, Vengeance output is below:

Bash:
Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h0
Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h��s��i&
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to ShowLaunchOption with ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp waiting for user response to ShowLaunchOption ""
Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h��P)
Could not connect to X session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and h��.��i&
GameAction [AppID 1217980, ActionID 2] : LaunchApp continues with user response "1"
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
Opted-in Controller Mask for AppId 1217980: 0
Game update: AppID 1217980 "", ProcID 6198, IP 0.0.0.0:0
Starting app 1217980
>>> Adding process 6198 for game ID 1217980
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 1217980, ActionID 2] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/scratchi/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/scratchi/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
>>> Adding process 6224 for game ID 1217980
Found path: /usr/home/scratchi/.steam/steam/steamapps/common/Vengeance Demo/vengeanceDemo.x86_64
Installing breakpad exception handler for appid(gameoverlayui)/version(20200604055102)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
[0619/125020.612743:WARNING:crash_reporting.cc(286)] Failed to set crash key: UserID with value: 0
[0619/125020.612817:WARNING:crash_reporting.cc(286)] Failed to set crash key: BuildID with value: 1591249846
[0619/125020.612824:WARNING:crash_reporting.cc(286)] Failed to set crash key: SteamUniverse with value: Public
[0619/125020.612829:WARNING:crash_reporting.cc(286)] Failed to set crash key: Vendor with value: Valve
[0619/125020.621197:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: renderer
[0619/125020.918927:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.
Any idea what may cause this and if there is any work around?

Thank you
 
OP
S

shkhln

Daemon

Reaction score: 575
Messages: 1,530

Unity games typically log errors into ~/.config/unity3d/<company>/<game>/Player.log.
 

scratchi

New Member


Messages: 13

Cool, thanks for the tip where to find the Unity logs! I've attached Player.log from Soldat2 and Vengeance demos and Major Mayhem (I love this game, would be real nice to have it working!). Not sure if it's helpful, but if you spot something that might be just a missing package or has a workaround, please let me know and I'll test it.

Thank you
 

Attachments

trasz@

Active Member
Developer

Reaction score: 66
Messages: 222

If that is true, what can be done to improve the Linuxulator? Would it not even be better to have an up-to-date Ubuntu-implementation of the Linuxulator rather than a CentOS-implementation which is on top of that lacking behind in the version?
FWIW, thanks to FreeBSD Foundation I'm now working on it - the plan is to get the existing sysutils/debootstrap port to work correctly with up to date Ubuntu versions, so you could easily create an Ubuntu jail, as an alternative to the existing CentOS based ports.
 
OP
S

shkhln

Daemon

Reaction score: 575
Messages: 1,530

  1. Existing CentOS ports are mostly fine, what we want is newer libstdc++.so and, probably, Mesa libs. Judging by our tested games list, newer libstdc++.so will help 3 games out of 126. And that's only because those games are built against Steam's guidelines, which require developers to use https://github.com/ValveSoftware/steam-runtime.
  2. Valve is actually now working on its own container runtime: https:// www. reddit.com/r/linux_gaming/comments/dun1kk/notes_on_the_new_containerized_steam_runtime/.
 

trasz@

Active Member
Developer

Reaction score: 66
Messages: 222

  1. Existing CentOS ports are mostly fine, what we want is newer libstdc++.so and, probably, Mesa libs. Judging by our tested games list, newer libstdc++.so will help 3 games out of 126. And that's only because those games are built against Steam's guidelines, which require developers to use https://github.com/ValveSoftware/steam-runtime.
  2. Valve is actually now working on its own container runtime: https:// www. reddit.com/r/linux_gaming/comments/dun1kk/notes_on_the_new_containerized_steam_runtime/.
The CentOS ports are mostly fine, I agree - from the end user point of view. The problem is, when you need something they don't provide, you're kind of stuck. Working deboostrap makes it trivially easy to install stuff that isn't available in ports, which is handy if you're a developer. (Also Linux jails, although that's not quite relevant to Steam.)

As for Valve - thanks, good to know. That might make things even easier for us, once it ships.
 

kpedersen

Daemon

Reaction score: 848
Messages: 1,843

Working deboostrap makes it trivially easy to install stuff that isn't available in ports
I can attest to that. I have an old Red Hat Enterprise 6 install on one of my test workstations. I rarely ever add software to it via yum anymore. I instead have a Debian (Stretch) chroot set up with debootstrap and it seems to work well with everything. Even Gtk3 and the latest firefox. Best of both worlds, Gnome 2 *and* up-to-date packages ;)
 

cabriofahrer

Active Member

Reaction score: 10
Messages: 223

I'd like to point out another problem here which affects linux gaming: While there was never a problem with nvidia-driver (any version) it seems to be impossible to play ANY linux game with a Radeon GPU. I have both tried with old Radeon HD 3000 and Radeon HD 4850 on two different computers and while on both setups native games run fine (darkplaces, supertuxkart, warzone), linux games (linux-doom3-demo, linux-quake4-demo, linux-enemyterritory) all give a black screen which I only get out of switching to another console. I remember that years ago (before radeonkms) linux-doom3-demo did run with xf86-video-ati on the HD 4850. I heard from someone else that there is the same problem with a more modern amdgpu also.
 

skeletonboss12

Member

Reaction score: 4
Messages: 61

I can only get as far as a segfault. Does this currently work?

Code:
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
Pins potentially out-of-date, rebuilding...
steam-runtime/setup.sh: line 80: /dev/fd/62: Permission denied
Traceback (most recent call last):
        3: from /usr/local/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:20:in `<main>'
        2: from /usr/local/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:16:in `with_work_dir'
        1: from /usr/local/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:53:in `block in <main>'
/usr/local/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:10:in `safe_system': Command failed: "/compat/linux/bin/env PATH=\"/usr/local/steam-utils/lxbin:/compat/linux/bin\" steam-runtime/setup.sh" (RuntimeError)
Traceback (most recent call last):
        1: from /usr/local/bin/steam:114:in `<main>'
/usr/local/bin/steam:33:in `safe_system': Command failed: "/usr/local/steam-utils/bin/../lxbin/upgrade-steam-runtime" (RuntimeError)
I do have my /etc/fstab set up for use with a linux compatibility environment, and linux compatibility modules loaded.

Wine on steam has been a nightmare ever since that atrocious new UI became a thing, I hope this works out.
 

scratchi

New Member


Messages: 13

That error looks familiar, I think I ran into it too. Do you have this line in your /etc/fstab:

Code:
fdesc   /dev/fd fdescfs rw      0       0
I think this fixed it for me...

To answer your initial question, it definitely does work.

Also, just a heads up, I needed to install /usr/ports/x11-fonts/webfonts/ port to have legible text in the steam client.
 

skeletonboss12

Member

Reaction score: 4
Messages: 61

That error looks familiar, I think I ran into it too. Do you have this line in your /etc/fstab:

Code:
fdesc   /dev/fd fdescfs rw      0       0
I think this fixed it for me...

To answer your initial question, it definitely does work.

Also, just a heads up, I needed to install /usr/ports/x11-fonts/webfonts/ port to have legible text in the steam client.
Whoops. You were right, it was commented out, I have corrected it and gotten further this time, but I am at another segfault now.

Code:
RROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
Pins potentially out-of-date, rebuilding...
Forced use of runtime version for 32-bit libdbus-1.so.3. Host: 3.14.14 Runtime: 3.5.8
Found newer runtime version for 32-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004
Found newer runtime version for 32-bit libgmp.so.10. Host: 10.2.0 Runtime: 10.3.0
Forced use of runtime version for 32-bit libgtk-x11-2.0.so.0. Host: 0.2400.31 Runtime: 0.2400.10
Found newer runtime version for 32-bit libidn.so.11. Host: 11.6.11 Runtime: 11.6.15
Found newer runtime version for 32-bit libstdc++.so.6. Host: 6.0.19 Runtime: 6.0.21
Found newer runtime version for 64-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004
Found newer runtime version for 64-bit libgmp.so.10. Host: 10.2.0 Runtime: 10.3.0
Found newer runtime version for 64-bit libidn.so.11. Host: 11.6.11 Runtime: 11.6.15
Found newer runtime version for 64-bit libstdc++.so.6. Host: 6.0.19 Runtime: 6.0.21
 100%   
[2020-07-08 23:11:39] Startup - updater built Jun  4 2020 05:50:42
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
[2020-07-08 23:11:39] Verifying installation...
[2020-07-08 23:11:39] Verification complete
Loaded SDL version 2.0.13-5893924
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
sh: lspci: command not found
[[LD_PRELOAD=webfix.so '/usr/home/inertial/.steam/steam/ubuntu12_64/steamwebhelper.sh.patched' '-lang=en_US' '-cachedir=/usr/home/inertial/.steam/steam/config/htmlcache' '-steampid=8226' '-buildid=1591251555' '-steamid=0' '-steamuniverse=Public' '-clientui=/usr/home/inertial/.steam/steam/clientui' --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --enable-media-stream --enable-smooth-scrolling --password-store=basic '--log-file=/usr/home/inertial/.steam/steam/logs/cef_log.txt' --no-sandbox --no-zygote --in-process-gpu]]
Installing breakpad exception handler for appid(steam)/version(1591251555)
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
[[CEF version = 79.0.0.2142, Chrome version = 79.0.3945.117]]
[0708/231140.685979:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0708/231140.838889:ERROR:proxy_config_service_linux.cc(591)] inotify_init failed: Function not implemented (38)
[0708/231140.851380:ERROR:file_path_watcher_linux.cc(313)] inotify_init() failed: Function not implemented (38)
[0708/231140.851418:ERROR:address_tracker_linux.cc(152)] Could not create NETLINK socket: Address family not supported by protocol (97)
libudev: udev_monitor_new_from_netlink_fd: error getting socket: Address family not supported by protocol
[0708/231140.864272:ERROR:udev_watcher.cc(48)] Failed to initialize a udev monitor.
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
Installing breakpad exception handler for appid(steam)/version(1591251555)
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1591251555)
ExceptionHandler::GenerateDump waitpid failed:ExceptionHandler::WaitForContinueSignal sys_read failed:No child processes
No minidump written, nothing to upload.
Bad file descriptor
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
Warning: failed to init scheduler: failed to get rlimit
Warning: failed to set thread priority: per-thread setup failed
Warning: failed to init scheduler: failed to get rlimit
Warning: failed to set thread priority: set failed for priority 8
Warning: failed to set thread priority: per-thread setup failed
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
Warning: failed to init scheduler: failed to get rlimit
Warning: failed to set thread priority: per-thread setup failed
Installing breakpad exception handler for appid(steam)/version(1591251555)
Warning: failed to init scheduler: failed to get rlimit
Warning: failed to set thread priority: per-thread setup failed
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
/data/src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1591251555)
Installing breakpad exception handler for appid(steam)/version(1591251555)
*** Segmentation fault
Register dump:

 EAX: 00000080   EBX: 22a6d000   ECX: 016c0d58   EDX: 00000000
 ESI: 01b26818   EDI: 01513c98   EBP: ffff4f78   ESP: ffff4ecc

 EIP: 224f232e   EFLAGS: 00010202

 CS: 0033   DS: 003b   ES: 003b   FS: 0013   GS: 001b   SS: 003b

 Trap: 00000006   Error: 00000004   OldMask: 00010000
 ESP/signal: ffff4ecc   CR2: 00000090

Backtrace:
/usr/lib/dri/i965_dri.so(+0x4f232e)[0x224f232e]
/usr/lib/dri/i965_dri.so(+0x4f01e5)[0x224f01e5]
/usr/lib/dri/i965_dri.so(+0x4bae22)[0x224bae22]
/usr/lib/dri/i965_dri.so(+0x63a9b)[0x22063a9b]
/lib/libglapi.so.0(+0x9c25)[0x21ea2c25]
/usr/home/inertial/.steam/steam/ubuntu12_32/vgui2_s.so(+0x56103)[0x26471103]
/usr/home/inertial/.steam/steam/ubuntu12_32/vgui2_s.so(+0x64f4d)[0x2647ff4d]
/home/inertial/.steam/steam/ubuntu12_32/steamui.so(+0x4e87a5)[0x23ee87a5]
/home/inertial/.steam/steam/ubuntu12_32/steamui.so(+0x4eaa05)[0x23eeaa05]
/home/inertial/.steam/steam/ubuntu12_32/steam(+0x3bd80)[0x103cd80]
/home/inertial/.steam/steam/ubuntu12_32/steam(+0x3cd03)[0x103dd03]
/home/inertial/.steam/steam/ubuntu12_32/steam(+0x24a2c)[0x1025a2c]
/lib/libc.so.6(__libc_start_main+0xf3)[0x217392a3]
/home/inertial/.steam/steam/ubuntu12_32/steam(+0x29139)[0x102a139]

Memory map:

Segmentation fault (core dumped)
 
OP
S

shkhln

Daemon

Reaction score: 575
Messages: 1,530

Without fdescfs:
Code:
% /compat/linux/bin/bash -c "mapfile -t out < <(echo 123)"
/compat/linux/bin/bash: /dev/fd/62: No such file or directory
I didn't realize bash requires fdescfs (as opposed to /dev/fd managed by devd itself). I'll put a check into the launch script, as usual.
 

cabriofahrer

Active Member

Reaction score: 10
Messages: 223

Meanwhile any thoughts about my comment #212 regarding black screen with radeonkms with Linuxulator? Or should I post this as a separate question in this forum?
 

skeletonboss12

Member

Reaction score: 4
Messages: 61

Thanks, got it launching now. Downloading as much as my disk can carry for testing.

First test is Garry's Mod (app id 4000) a source engine game, ran with no steam overlay and workshop api disabled completely

crashes when loading into singleplayer, multiplayer or when creating/hosting a server, just for the record, will continue to try games..

One I am hoping will work is metro because that would be cool but it's such a complex game I doubt it will, any advice on what to try for metro when it comes to that?
 

skeletonboss12

Member

Reaction score: 4
Messages: 61

I have borrowed a steam account with about 600 games, will test as many as I can.
Too bad the nvidia driver has not worked for me in a while would like to do this on a better computer
 

shuryanc

New Member

Reaction score: 5
Messages: 11

Got Mount and Blade Warband from non working to working (For configuration tool, there was missing xcb plugin issue).
Games run perfectly smooth. But cannot find room for multiplayer (may be deal to VAC).

Need to input DBUS_SESSION_BUS_ADDRESS=nope LD_PRELOAD=${LD_PRELOAD}:fmodfix.so %command% for launch option.
Then copy the libGLEW.so.2.1, libcurl-gnutls.so.4, libsteam_api.so in /SteamLibrary/steamapps/common/MountBlade Waband to /compat/linux/usr/lib/ and install the missing libraries to get it work.
1594625160331.jpeg
 
OP
S

shkhln

Daemon

Reaction score: 575
Messages: 1,530

Then copy the libGLEW.so.2.1, libcurl-gnutls.so.4, libsteam_api.so in /SteamLibrary/steamapps/common/MountBlade Waband to /compat/linux/usr/lib/ and install the missing libraries to get it work.
Please, don't copy random stuff to /compat/linux, especially not libsteam_api.so. You should rather adjust LD_LIBRARY_PATH instead. Something like LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:. should do it.
 
Top