View previous topic :: View next topic |
Author |
Message |
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 82
|
Posted: Thu Jun 22, 2023 10:48 am Post subject: steam not launching possibly crashing |
|
|
Crash observation: While steam is doing something in terminal /var/log/kern.log is reporting below:
Code: | Jun 22 15:53:24 <hostname> kernel: traps: Composite Threa[10767] trap invalid opcode ip:7fe45273c794 sp:7fe43c33eaa0 error:0 in libcef.so[7fe44fe50000+7770000]
|
Other observations:
1. "libcef" does not seem to be a gentoo package @gentoo repository as confirmed by "emerge --search libcef".
2. steam has a flag "-no-cef-sandbox"; but this does not help.
3. the steam terminal prints below in a loop:
Code: |
steam.sh[17990]: Running Steam on gentoo 1.0.0.76-r1 64-bit
steam.sh[17990]: STEAM_RUNTIME is enabled by the user
setup.sh[18075]: Steam runtime environment up-to-date!
steam.sh[17990]: Steam client's requirements are satisfied
[2023-06-22 16:02:21] Startup - updater built Jun 21 2023 21:17:38
[2023-06-22 16:02:21] Startup - Steam Client launched with: '/home/<user>/.local/share/Steam/ubuntu12_32/steam'
06/22 16:02:21 Init: Installing breakpad exception handler for appid(steam)/version(1687386907)/tid(18254)
[2023-06-22 16:02:21] Loading cached metrics from disk (/home/<user>/.local/share/Steam/package/steam_client_metrics.bin)
[2023-06-22 16:02:21] Using the following download hosts for Public, Realm steamglobal
[2023-06-22 16:02:21] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-06-22 16:02:21] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-06-22 16:02:21] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2023-06-22 16:02:21] Verifying installation...
[2023-06-22 16:02:21] Verification complete
(process:18254): GLib-GObject-CRITICAL **: 16:02:22.004: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(process:18254): GLib-GObject-CRITICAL **: 16:02:22.004: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(process:18254): GLib-GIO-WARNING **: 16:02:22.004: Can't find module 'dconf' specified in GSETTINGS_BACKEND
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xefde2750
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xefde10b0
GetWin32Stats: display was not open yet, good
Loaded SDL version 3.0.0-1782-g214d5daa3
GetWin32Stats: display was not open yet, good
steamwebhelper.sh[18326]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[18326]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
CAppInfoCacheReadFromDiskThread took 59 milliseconds to initialize
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for priority 8
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Warning: failed to set thread priority: set failed for 8: -1: setpriority() failed
Failed to init SteamVR because it isn't installed
steamwebhelper.sh[19346]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[19346]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
(steam:18254): Gtk-WARNING **: 16:02:33.664: gtk_disable_setlocale() must be called before gtk_init()
local (potentially out of sync) copy of roaming config loaded - 165 bytes.
BRefreshApplicationsInLibrary 1: 0ms
roaming config store loaded successfully - 165 bytes.
migrating temporary roaming config store
(steam:18254): GLib-GObject-CRITICAL **: 16:02:36.456: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(steam:18254): GLib-GObject-CRITICAL **: 16:02:36.456: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
(steam:18254): GLib-GObject-CRITICAL **: 16:02:36.523: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(steam:18254): GLib-GObject-CRITICAL **: 16:02:36.523: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
System startup time: 14.85 seconds
steamwebhelper.sh[20449]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[20449]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 264 apps
(steam:18254): Gtk-WARNING **: 16:02:45.326: gtk_disable_setlocale() must be called before gtk_init()
(steam:18254): Gtk-WARNING **: 16:02:45.329: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 17ms
RegisterForAppOverview 2: 17ms
(steam:18254): GLib-GObject-CRITICAL **: 16:02:46.204: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
(steam:18254): GLib-GObject-CRITICAL **: 16:02:46.204: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
steamwebhelper.sh[21490]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[21490]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 264 apps
(steam:18254): Gtk-WARNING **: 16:02:55.500: gtk_disable_setlocale() must be called before gtk_init()
(steam:18254): Gtk-WARNING **: 16:02:55.501: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 8ms
RegisterForAppOverview 2: 9ms
steamwebhelper.sh[21797]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[21797]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 264 apps
(steam:18254): Gtk-WARNING **: 16:03:12.566: gtk_disable_setlocale() must be called before gtk_init()
(steam:18254): Gtk-WARNING **: 16:03:12.566: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 9ms
RegisterForAppOverview 2: 9ms
steamwebhelper.sh[22483]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[22483]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 264 apps
(steam:18254): Gtk-WARNING **: 16:03:23.018: gtk_disable_setlocale() must be called before gtk_init()
(steam:18254): Gtk-WARNING **: 16:03:23.018: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 7ms
RegisterForAppOverview 2: 7ms
|
Part that loops:
Code: |
(steam:18254): Gtk-WARNING **: 16:05:37.391: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 8ms
RegisterForAppOverview 2: 8ms
steamwebhelper.sh[12975]: Runtime for steamwebhelper: defaulting to /home/<user>/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[12975]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
BuildCompleteAppOverviewChange: 264 apps
|
Steam was running fine and I was playing games until I restarted.
Before restarting, I might have intalled a package or two; but I was definitely up for less than 12 hours.
No --depclean or update was done.
After restarting I plugged in an extra monitor which was working fine with my dwm.
I have re-checked by unplugging the monitor but no luck; I thought it might be an issue.
About 32-bit binaries or library linking...I don't know how to reset it all.
I vague remember running libtool --update /usr/lib64 or something like that but google didn't help me
with exact command.
My steam acceptkeyword copied from gentoo steam page:
Code: |
games-util/steam-launcher ~amd64
x11-libs/libX11 abi_x86_32
x11-libs/libXau abi_x86_32
x11-libs/libxcb abi_x86_32
x11-libs/libXdmcp abi_x86_32
virtual/opengl abi_x86_32
media-libs/mesa abi_x86_32
dev-libs/expat abi_x86_32
media-libs/libglvnd abi_x86_32
sys-libs/zlib abi_x86_32
x11-libs/libdrm abi_x86_32
x11-libs/libxshmfence abi_x86_32
x11-libs/libXext abi_x86_32
x11-libs/libXxf86vm abi_x86_32
x11-libs/libXfixes abi_x86_32
app-arch/zstd abi_x86_32
sys-devel/llvm abi_x86_32
x11-libs/libXrandr abi_x86_32
x11-libs/libXrender abi_x86_32
dev-libs/libffi abi_x86_32
sys-libs/ncurses abi_x86_32
dev-libs/libxml2 abi_x86_32
dev-libs/icu abi_x86_32
sys-libs/gpm abi_x86_32
virtual/libelf abi_x86_32
dev-libs/elfutils abi_x86_32
app-arch/bzip2 abi_x86_32
*/*::steam-overlay
|
If anyone has working steam on gentoo you could cross check with my steam terminal output with yours and it might give some
hints.
Kernel: 6.1.31-gentoo[/b] |
|
Back to top |
|
|
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 82
|
Posted: Thu Jun 22, 2023 10:55 am Post subject: |
|
|
Another observation:
I picked a dependency: dev-libs/icu from the above list and did emerge --info:
Code: |
dev-libs/icu-73.1-r2::gentoo was built with the following:
USE="-debug -doc -examples -static-libs -test -verify-sig" ABI_X86="32 (64) (-x32)"
CXXFLAGS="-O2 -march=znver2 -pipe -fno-expensive-optimizations --std=c++17 -std=c++14"
FEATURES="protect-owned usersandbox strict parallel-fetch pid-sandbox ebuild-locks assume-digests unknown-features-warn userfetch qa-unresolved-soname-deps buildpkg-live network-sandbox unmerge-orphans userpriv distlocks merge-sync multilib-strict sfperms binpkg-logs fixlafiles config-protect-if-modified unmerge-logs xattr binpkg-docompress binpkg-dostrip news ipc-sandbox usersync preserve-libs sandbox"
|
It mentions 32 and (64) binaries but no -x32.
Could this be a problem? If so, I am confused as to why it was running before the restart. |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Jun 22, 2023 11:14 am Post subject: |
|
|
Is steam built with USE="runtime"?
I have had a problem which printed similar messages due to missing symbols in libudev.
That time steam was starting, but nothing worked. You can see the thread here.
Maybe this is a similar issue, not necessarily with libudev, but this is only speculation. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 82
|
Posted: Thu Jun 22, 2023 12:05 pm Post subject: |
|
|
stefan11111 wrote: | Is steam built with USE="runtime"? |
Yes my steam-launcher is built using runtime USE flag.
Code: |
games-util/steam-launcher-1.0.0.76-r1::steam-overlay was built with the following:
USE="joystick steamruntime udev" ABI_X86="(64)"
|
Quote: |
I have had a problem which printed similar messages due to missing symbols in libudev.
That time steam was starting, but nothing worked. You can see the thread here.
Maybe this is a similar issue, not necessarily with libudev, but this is only speculation. |
Right now there are series of steam bugs reported at github/valve.
For instance this: https://github.com/ValveSoftware/steam-for-linux/issues/9383
and,
this: https://github.com/ValveSoftware/steam-for-linux/issues/9692
I was able to temporarily run steam using these two methods:
First method:
do steam --reset
restart
steam runs ok
but games don't run and complains about wrong elf class
Second method:
run steam with -vgui flag
steam runs, but friends tab and game properties do not load and
games don't run as well. Same error: wrong elf class
You could try those.
Looks like valve pushed something that is crashing steam for some of linux distors/users.
Hopefully they fix it.
I am still looking through gentoo angle.
Let's hope for the best. |
|
Back to top |
|
|
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 82
|
Posted: Thu Jun 22, 2023 12:08 pm Post subject: |
|
|
While updating nvidia-drivers I found this message:
Code: |
Detected potential configuration issues with used kernel:
* CONFIG_FB_SIMPLE: is set, recommended to disable and switch to FB_EFI or
* FB_VESA as it currently may be broken with >=kernel-5.18.13 + NVIDIA:
* https://github.com/NVIDIA/open-gpu-kernel-modules/issues/341
* (feel free to ignore this if it works for you)
|
I am compiling kernel with above recommendation to see if it changes anything. |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9532 Location: beyond the rim
|
Posted: Thu Jun 22, 2023 12:12 pm Post subject: |
|
|
Just for reference, maybe it provides some ideas about what is happening: CEF stands for Chromium Embedded Framework, which is used by Steam and other applications to have a capable browser engine available in their user interface. That you see the same output repeated multiple times doesn't necessarily mean anything, as CEF usually runs in its own thread and an application may use quite a few of those.
The "invalid opcode" in the kernel logs means that the CEF thread is trying to execute an instruction not supported by your CPU, typical cases in the past were missing AVX instructions. Unfortunately the kernel doesn't tell us what the invalid opcode was. But knowing the exact CPU model of the system might be relevant. |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Jun 22, 2023 12:15 pm Post subject: |
|
|
ritzmax72 wrote: | Same error: wrong elf class
|
Afaik that is normal. They bundle both 32-bit and 64-bit libs and only those for your arch are loaded. _________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
ritzmax72 Tux's lil' helper
Joined: 10 Aug 2014 Posts: 82
|
Posted: Thu Jun 22, 2023 12:48 pm Post subject: |
|
|
Error log from ~/.local/share/Steam/logs/webhelper.txt
Code: |
i[2023-06-22 15:41:05] Browser - launching child process with: /home/<user>/.local/share/Steam/ubuntu12_64/steamwebhelper --type=rende rer --disable-seccomp-filter-sandbox --log-file=/home/<user>/.local/share/Steam/logs/cef_log.txt --field-trial-handle=747179825331408 9781,2621391914863929424,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --disable-gpu-compo siting --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=en-US --log-file=/home/ritzma x72/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1687386907 --steamid=76561198022371945
37 [2023-06-22 15:41:05] Disabling GPU acceleration due to --disable-gpu-compositing (renderer)
38 [2023-06-22 15:41:05] Disabling GPU acceleration due to --disable-gpu-compositing (renderer)
39 [2023-06-22 15:41:05] CreateBrowser 1372878381 type:12 flags:0 (-2147483648, -2147483648) 0x0
40 [2023-06-22 15:41:05] UB-2752553: AfterCreated handle:2752553 type:12: (0, 0) 0x0
41 [2023-06-22 15:41:06] Browser - launching child process with: /home/<user>/.local/share/Steam/ubuntu12_64/steamwebhelper --type=rende rer --disable-seccomp-filter-sandbox --log-file=/home/<user>/.local/share/Steam/logs/cef_log.txt --field-trial-handle=747179825331408 9781,2621391914863929424,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --disable-gpu-compo siting --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=en-US --log-file=/home/ritzma x72/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1687386907 --steamid=76561198022371945
42 [2023-06-22 15:41:06] Disabling GPU acceleration due to --disable-gpu-compositing (renderer)
43 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': ERROR: https://steamloopback.host/chunk~2dcc5aaf7.js?contenthash=958fd11a600b90a1ab8 8:1: WebSocket connection to 'ws://127.0.0.1:35947/transportsocket/' failed: Error during WebSocket handshake: Unexpected response code: 403
44 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': ERROR: https://steamloopback.host/chunk~2dcc5aaf7.js?contenthash=958fd11a600b90a1ab8 8:1: %cWebUITransport%c: color: white; background: rgb(0,0,0); padding: 0 1ch color: transparent; margin-right: -1ch WebSocked error: [o bject Event]
45 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': ERROR: https://steamloopback.host/chunk~2dcc5aaf7.js?contenthash=958fd11a600b90a1ab8 8:1: %cWebUITransport%c: color: white; background: rgb(0,0,0); padding: 0 1ch color: transparent; margin-right: -1ch MakeReady: failed t o connect to SteamUI
46 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': ERROR: https://steamloopback.host/chunk~2dcc5aaf7.js?contenthash=958fd11a600b90a1ab8 8:1: Failed to initialize webui transport
47 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': CreatingPopup name:SP Desktop_uid0 browser:1769498 pid:31263 type:4 flags:274: (0.00 , 23.00) 2558.00x1415.00: url:about:blank?createflags=274&minwidth=1010&minheight=600&pid=0&browser=-1&browserType=4&restoredetails=1&x= 0&y=23&w=2558&h=1415&useragent=Valve Steam Client/default
48 [2023-06-22 15:41:06] CreateOutputWindow: Creating browser window at: 0,23 size: 2558x1415
49 [2023-06-22 15:41:06] Loaded GL 4.3
50 [2023-06-22 15:41:06] SP Desktop_uid0: Created window: size: 2558,1415 pos: 0,23 mode: OpenGL window: 0x2000005
51 [2023-06-22 15:41:06] SP Desktop_uid0: AfterCreated handle:2818090 type:4: (0, 0) 2558x1415
52 [2023-06-22 15:41:07] SharedJSContext-'SharedJSCo': CreatingPopup name:broadcaststatus_uid0 browser:1769498 pid:31263 type:4 flags:13359 14: (-2147483648.00, -2147483648.00) 1.00x1.00: url:about:blank?createflags=1335818&pid=0&browser=-1
53 [2023-06-22 15:41:07] CreateOutputWindow: Creating browser window at: 805240832,805240832 size: 1x1
|
Here:
Code: |
46 [2023-06-22 15:41:06] SharedJSContext-'SharedJSCo': ERROR: https://steamloopback.host/chunk~2dcc5aaf7.js?contenthash=958fd11a600b90a1ab8 8:1: Failed to initialize webui transport
|
Not sure why this is happening.
Also, My monitor resolution is 2560x1440 not sure why it is taking 2558x1415. May be because of dwm.
stefan11111 wrote: | ritzmax72 wrote: | Same error: wrong elf class
|
Afaik that is normal. They bundle both 32-bit and 64-bit libs and only those for your arch are loaded. |
Did you try to run steam with -vgui flag and running a game? |
|
Back to top |
|
|
stefan11111 l33t
Joined: 29 Jan 2023 Posts: 922 Location: Romania
|
Posted: Thu Jun 22, 2023 1:00 pm Post subject: |
|
|
ritzmax72 wrote: |
stefan11111 wrote: | ritzmax72 wrote: | Same error: wrong elf class
|
Afaik that is normal. They bundle both 32-bit and 64-bit libs and only those for your arch are loaded. |
Did you try to run steam with -vgui flag and running a game? |
Tried it now both with and without -vgui flag.
Games work in both cases and I still get that error in both cases.
In the last run the error got truncated but it's still there:
Code: | annot be preloaded (wrong ELF class: ELFCLASS64): ignored. |
_________________ My overlay: https://github.com/stefan11111/stefan_overlay
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd /usr/lib/modules-load.d *udev* /usr/lib/tmpfiles.d *tmpfiles* /var/lib/dbus /usr/bin/gdbus /lib/udev" |
|
Back to top |
|
|
RayOfLight Tux's lil' helper
Joined: 27 Aug 2013 Posts: 108 Location: Catalunya
|
Posted: Mon Dec 18, 2023 10:28 am Post subject: |
|
|
I've been suffering from this for many months now, I'm still unable to start steam and valve on github is of no help.
I've installed steam on a liveUSB session and it worked fine, do you mind confirming?
This proves the hardware configuration is ok with the current steam release
Then we can look at packages, use flags, cflags and kernel modules and options...
Thank you. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|