Steamuxulation redux

Tried to play with Steam again, but no game works anymore. Here is the example of Half Life 2 Death Match, which always used to work:

Code:
chdir "/usr/home/steam/.steam/steam/steamapps/common/Half-Life 2 Deathmatch"
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Game Recording - would start recording game 320, but recording for this game is disabled
Adding process 5960 for gameID 320
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
reaper: prctl() failed!
Game Recording - game stopped [gameid=320]
Removing process 5960 for gameID 320
chdir "/usr/home/steam/.steam/steam/steamapps/common/Half-Life 2 Deathmatch"
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
reaper: prctl() failed!
Game Recording - would start recording game 320, but recording for this game is disabled
Adding process 5970 for gameID 320
Game Recording - game stopped [gameid=320]
Removing process 5970 for gameID 320
[2024-12-05 13:25:18] uninstalled manifest found in /usr/home/steam/.steam/steam/package/steam_client_ubuntu12 (1).

Using FreeBSD amd64.local 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
 
Tried to play with Steam again, but no game works anymore. Here is the example of Half Life 2 Death Match, which always used to work:

Code:
chdir "/usr/home/steam/.steam/steam/steamapps/common/Half-Life 2 Deathmatch"
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
Game Recording - would start recording game 320, but recording for this game is disabled
Adding process 5960 for gameID 320
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
reaper: prctl() failed!
Game Recording - game stopped [gameid=320]
Removing process 5960 for gameID 320
chdir "/usr/home/steam/.steam/steam/steamapps/common/Half-Life 2 Deathmatch"
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/home/steam/.steam/steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.
reaper: prctl() failed!
Game Recording - would start recording game 320, but recording for this game is disabled
Adding process 5970 for gameID 320
Game Recording - game stopped [gameid=320]
Removing process 5970 for gameID 320
[2024-12-05 13:25:18] uninstalled manifest found in /usr/home/steam/.steam/steam/package/steam_client_ubuntu12 (1).

Using FreeBSD amd64.local 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
I only see errors related to recording.
 
I only see errors related to recording.
So what does that mean? The thing is that the game won't start. When I press the green "Play" button, something seems to happen, it changes to the pause symbol (II) for a second and then it goes back to the play symbol (white triangle) again.
 
Hi,

I just did

portsnap fetch update
cd /usr/ports/games/linux-steam-utils
make deinstall
make reinstall clean

After several attemts of starting
steam
the client finally started running, but still the same problem, sorry.
 
Cool, thanks for testing. I pulled the latest changes from Git last week and also having the same issue; log similar to the one you posted. I guess the fix is not working or incomplete. Hopefully shklhn will find some time to revisit this and push another fix.
 
If Steam launches bwrap for you, override it in compatibility settings.
What is bwrap? How do I know it is lauched? And how do I override it in compatibility settings? I don't see any menu entry " compatibility settings" anywhere?. So what is the menu path, to find it? Is it Steam -> Settings -> and then what?
 
By override compatibility settings, do you mean select or de-select proton? It's happening for Linux native games, I don't have anything selected in compatibility. Selecting Steam Runtime does not help. Also, I get bwrap: Can't read /proc/sys/kernel/overflowuid when steam is starting too (proc is mounted), before even launching any games...and get the same error when launching games as well.

Is there an env var we can to set to override it?
 
lsu-chroot-fs8.png
 
Thanks shkhln, that works! Well, works as in the games are launching now...I tried both legacy and sniper 3 runtimes, but performance is very bad. Is a performance hit expected with LSU chroot or is this something specific to my system with the nvidia fermi graphics?

Performance wasn't great before, but now it's just not playable in most games I used to play before (Super Night Riders, Classic Sport Driving, Horizon Chase Turbo; all three are Unity games). Between then and now I've also updated to FreeBSD 14.2, so not sure if something in that update maybe be contributing to the performance hit. Anyway, I'll poke around to see if I can find the cause for this if it's not LSU chroot related.

Thanks again for your help!
 
When I try to set up the test chroot from that link, it fails here:

Code:
Downloading zlib1g_1.2.11.dfsg-2ubuntu9.2_amd64.deb from http://archive.ubuntu.com/ubuntu/...
/usr/home/scratchi/Documents/linux-chroot-test         235 kB 2237 kBps    00s
/usr/home/scratchi/Documents/linux-chroot-test          57 kB  809 kBps    00s
/usr/home/scratchi/Documents/linux-chroot-test        1039 kB  739 kBps    02s
/usr/home/scratchi/Documents/linux-chroot-test          10 MB 5012 kBps    02s
mount -o nocover -t tmpfs tmpfs /usr/home/scratchi/Documents/linux-chroot-test/umnt
mount -t devfs devfs /usr/home/scratchi/Documents/linux-chroot-test/umnt/dev
mount -t linprocfs linprocfs /usr/home/scratchi/Documents/linux-chroot-test/umnt/proc
mount -t nullfs /tmp /usr/home/scratchi/Documents/linux-chroot-test/umnt/tmp
mount -t nullfs /var/run /usr/home/scratchi/Documents/linux-chroot-test/umnt/var/run
mount -t linsysfs linsysfs /usr/home/scratchi/Documents/linux-chroot-test/umnt/sys/.sys
sysctl: unknown oid 'dev.drm'
mount -t nullfs /tmp/xauth_LWPrRi /usr/home/scratchi/Documents/linux-chroot-test/umnt/tmp/xauth_LWPrRi
mount_nullfs: /usr/home/scratchi/Documents/linux-chroot-test/umnt/tmp/xauth_LWPrRi: Resource deadlock avoided
./linux-chroot:136:in `mount': unable to mount "/tmp/xauth_LWPrRi" to "/usr/home/scratchi/Documents/linux-chroot-test/umnt/tmp/xauth_LWPrRi" (MountError)
        from ./linux-chroot:300:in `set_up_chroot'
        from ./linux-chroot:377:in `<main>'


sysctl: unknown oid 'dev.drm' , old nvidia driver issue? I need to leave now and probably won't get back to this for another couple of weeks until next year. thanks for all your help, will see if I can at least get this test running when I'm back. Happy New Year!
 
Wanted to report that Borderlands 1 GOTY Enhanced seems to work well, audio, performance etc. with an Nvidia card.

Edit: Using wine-proton in compatibility settings
 
Last edited:
Adding to this, Grim Dawn using DX 9 mode technically works but using portals tends to crash the game.
Again using wine-proton.
 
cannot start after upgrading to 15.0

Code:
MESA-LOADER: failed to retrieve device information
MESA-LOADER: glx: failed to open i915: driver not built
failed to load driver: i915

T480 Intel GPU
 
I'm struggling to get started with Steam on FreeBSD15.

Starting from scratch, so far I have:
  • Fresh install of FreeBSD15 on ZFS filesystem, including "lib32" optional base package
  • Installed xorg, xfce, drm-kmod, etc.
  • Cloned FreeBSD ports repo, specifically "release/15.0.0" branch
  • Applied patch from FreeBSD bug PR 288475
  • Managed to build patched wine-proton-10
  • Installed linux-rl9-dbus-libs/devtools/nss and ca_root_nss and ruby
  • Set security.bsd.unprivileged_chroot and vfs.usermount sysctls to 1
  • Cloned linuxulator-steam-utils, performed make and make install
  • Created new 'steam' user and switched to it
  • Run /opt/steam-utils/bin/lsu-bootstrap - this completed successfully
When I first tried /opt/steam-utils/bin/steam it errors out like this:
Code:
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
 100%  
/opt/steam-utils/bin/lsu-upgrade-steam-runtime:8:in `safe_system': Command failed: "/opt/steam-utils/bin/lsu-freebsd-to-linux-env /compat/linux/bin/bash ./steam-runtime/setup.sh" (RuntimeError)
    from /opt/steam-utils/bin/lsu-upgrade-steam-runtime:43:in `block in <main>'
    from /opt/steam-utils/bin/lsu-upgrade-steam-runtime:11:in `chdir'
    from /opt/steam-utils/bin/lsu-upgrade-steam-runtime:11:in `<main>'
/opt/steam-utils/bin/steam:90:in `safe_system': Command failed: "/opt/steam-utils/bin/lsu-upgrade-steam-runtime" (RuntimeError)
    from /opt/steam-utils/bin/steam:248:in `block in <main>'
    from <internal:kernel>:187:in `loop'
    from /opt/steam-utils/bin/steam:246:in `<main>'
[steam@lumpy ~]$

Subsequent run looks like this:
Code:
[steam@lumpy ~]$ /opt/steam-utils/bin/steam
/usr/home/steam/.steam/steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[8138]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
tid(8154) burning pthread_key_t == 0 so we never use it
[2026-01-11 13:51:39] Startup - updater built Jan 13 2024 00:51:43
[2026-01-11 13:51:39] Startup - Steam Client launched with: '/usr/home/steam/.steam/steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
01/11 13:51:39 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(8154)
src/steamexe/updateui_xwin.cpp (339) : Could not open connection to X
src/steamexe/updateui_xwin.cpp (339) : Could not open connection to X
01/11 13:51:39 Init: Installing breakpad exception handler for appid(steam)/version(1.0)/tid(8154)
ExceptionHandler::GenerateDump waitpid failed:No child processes
01/11 13:51:39 Failed writing minidump, nothing to upload.
src/steamexe/main.cpp (1223) : failed to initialize update status ui, or create initial window
src/steamexe/main.cpp (1223) : failed to initialize update status ui, or create initial window
lsu-linux-to-freebsd-env: execvp(zenity): No such file or directory
lsu-kill: Steam is not running
[steam@lumpy ~]$

Fixing up DISPLAY and xauth:
Code:
[steam@lumpy ~]$ /opt/steam-utils/bin/steam
/usr/home/steam/.steam/steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[8391]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
tid(8407) burning pthread_key_t == 0 so we never use it
[2026-01-11 14:29:08] Startup - updater built Jan 13 2024 00:51:43
[2026-01-11 14:29:08] Startup - Steam Client launched with: '/usr/home/steam/.steam/steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
/tmp/dumps is not owned by us - delete and recreate
01/11 14:29:08 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(8407)
munmap_chunk(): invalid pointer
lsu-kill: Steam is not running
[steam@lumpy ~]$

Seems I've missed something or done something wrong somewhere?
 
When I first tried /opt/steam-utils/bin/steam it errors out like this:
It's a known issue, but I'm unable to reproduce it.

Fixing up DISPLAY and xauth:
Code:
[steam@lumpy ~]$ /opt/steam-utils/bin/steam
/usr/home/steam/.steam/steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[8391]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
tid(8407) burning pthread_key_t == 0 so we never use it
[2026-01-11 14:29:08] Startup - updater built Jan 13 2024 00:51:43
[2026-01-11 14:29:08] Startup - Steam Client launched with: '/usr/home/steam/.steam/steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
/tmp/dumps is not owned by us - delete and recreate
01/11 14:29:08 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(8407)
munmap_chunk(): invalid pointer
lsu-kill: Steam is not running
[steam@lumpy ~]$
Haven't seen "munmap_chunk(): invalid pointer" before. Do any other Linux apps run? (You can try
running glxgears from linux-rl9-glx-utils for a test.)
 
Back
Top