shkhln / linuxulator-steam-utils

Steam launcher for FreeBSD
MIT License
128 stars 12 forks source link

Steam start up issue #9

Closed shuryanc closed 4 years ago

shuryanc commented 4 years ago

Hi,

I got the below error below from GhostBSD today. May I know if its same as FreeBSD?

Log: 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: No such file or directory Traceback (most recent call last): 3: from /opt/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:20:in <main>' 2: from /opt/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:16:inwith_work_dir' 1: from /opt/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:53:in block in <main>' /opt/steam-utils/bin/../lxbin/upgrade-steam-runtime.rb:10:insafe_system': Command failed: "/compat/linux/bin/env PATH=\"/opt/steam-utils/lxbin:/compat/linux/bin\" steam-runtime/setup.sh" (RuntimeError) Traceback (most recent call last): 1: from /opt/steam-utils/bin/steam:114:in <main>' /opt/steam-utils/bin/steam:33:insafe_system': Command failed: "/opt/steam-utils/bin/../lxbin/upgrade-steam-runtime" (RuntimeError)

Thanks, Daniel

shkhln commented 4 years ago

On FreeBSD /dev/fd is normally visible to everyone:

dr-xr-xr-x  2 root  wheel   512B Jun  3 12:44 /dev/fd

I don't know why the steam-runtime setup script tries to access it though, it really shouldn't.

shuryanc commented 4 years ago

Apologize, me again. After some investigation, I stuck at the last line in the below log. Do you have anything can advise me?

ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored. /opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/shuryanc/.steam/steam/ubuntu12_32/chromehtml.so not found, nothing to patch /opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/shuryanc/.steam/steam/ubuntu12_64/steamwebhelper not found, nothing to patch /opt/steam-utils/bin/../lxbin/patch-steam.rb: /home/shuryanc/.steam/steam/ubuntu12_64/steamwebhelper.sh not found, nothing to patch ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored. [2020-06-04 16:47:25] Startup - updater built Apr 9 2019 22:48:20 ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt". Installing breakpad exception handler for appid(steam)/version(0) libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast SteamUpdateUI: An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation)

Thanks.

shkhln commented 4 years ago

How did you manage to get rid of the previous error?

libGL error: failed to load driver: swrast

That typically means the missing linux-nvidia-libs package.

shuryanc commented 4 years ago

Thanks Alex.

The nvidia issue is resolved (forgot to install it after reinstalling the OS). The first error pops up again. The issue happens after steam and the GhostBSD kernel was updated. I'll investigate a while to see if I can confirm the root cause.

shuryanc commented 4 years ago

Hi Alex,

For your information, I finally fixed the issue by doing these:

  1. Add fdesc /dev/fd fdescfs rw 0 0 to /etc/fstab file.
  2. Remove linux /dev/null by rm /compat/linux/dev/null in terminal
  3. Reboot the GhostBSD.

Daniel