Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Steamwebhelper crashes on startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Kaitain
n00b
n00b


Joined: 31 Jan 2004
Posts: 57

PostPosted: Tue Mar 25, 2025 8:17 pm    Post subject: [SOLVED] Steamwebhelper crashes on startup Reply with quote

Hi all, after a couple of days of messing, I've reached the limits of my knowledge with steam. This is a brand new install, as vanilla as possible (so that I could maximise the use of binpkgs and get up and running in an afternoon). I'm using KDE Plasma/Wayland with nvidia-drivers (closed source), OpenRC, and current stable distkernel, unmodified. The profile is default/linux/amd64/23.0/desktop/plasma (stable). / and /home are on separate xfs partitions. At the end I've linked pastebin output for everything I can think of that might be useful.

Setup and prep:
This bit's also a bit of an aide-memoir for me for next time.
1) Built Gentoo following the handbook
2) Remembered to add nvidia_drm.modeset=1 and nvidia_drm.fbdev=1 to the kernel command line, otherwise Wayland failed in all sorts of creative ways (this really needs to be added to the wiki).
3) Built the 32bit libraries recommended in the wiki, as well as steam launcher from the overlay.
4) Amended fstab to allow exec and suid on /home (ref 7.2
-- The error "Couldn't set up steam data - please contact support" was caused by this.


Steam:
5) Tried to run steam - after about 10 seconds, a dialogue pops up notifying me that steamwebhelper has crashed. None of the alternative actions improve the situation.
6) ERROR: MESA-LOADER: failed to open dri: /usr/lib64/gbm/dri_gbm.so: cannot open shared object file: No such file or directory (search paths /usr/lib64/gbm, suffix _gbm)
-- the file existed
-- re--emerged libdrm, mesa, llvm - no impact
-- emerge -aDU --with-bdeps=y @world - this pulled in more 32 bit libraries, but resolved the error.
7) Warning: GLib-GIO-WARNING **: 18:05:04.379: Can't find module 'dconf' specified in GSETTINGS_BACKEND
-- however, dconf has been merged. I don't know how to resolve this warning.
8) Despite all this, steamwebhelper crashes every single time with:
Code:
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 3615
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
src/steamUI/steamuisharedjscontroller.cpp (669) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (669) : Failed creating offscreen shared JS context
03/25 18:05:29 Init: Installing breakpad exception handler for appid(steam)/version(1741737356)/tid(3531)
assert_20250325180529_30.dmp[3671]: Uploading dump (out-of-process)
/tmp/dumps/assert_20250325180529_30.dmp
assert_20250325180529_30.dmp[3671]: Finished uploading minidump (out-of-process): success = yes
assert_20250325180529_30.dmp[3671]: response: CrashID=bp-4322058a-1bba-4e9b-b20b-d0f502250325
assert_20250325180529_30.dmp[3671]: file ''/tmp/dumps/assert_20250325180529_30.dmp'', upload yes: ''CrashID=bp-4322058a-1bba-4e9b-b20b-d0f502250325''
[2025-03-25 18:05:43] Shutdown

9) I have tried starting with -no-cef-sandbox, -cef-disable-gpu-compositing, -cef-disable-gpu, -vgui based on various guides. The console output is identical. After 10 seconds, the same dialogue box pops up informing me that Steam will go no further.
10) I've also tried starting from within Plasma/X11 - same result.
11) Tried deleting /tmp/dumps (ref) to no avail.
12) Tried deleting the nvidia cache (will update with ref when I find it again).

dmesg, /var/log/messages, /var/log/syslog, /var/log/Xorg.0.log all do not have any output relating to steam

The selection of logs in .share/steam/logs all seem to indicate that Steam is healthy and working - the only meaningful output I get is the console snippet above.


In summary, I have all the necessary files, libraries, working drivers, and other 3D stuff works fine. Steam still fails to launch. What am I missing?



Pastebins:
[1] Console output of Steam: https://pastebin.com/Xqjd8ykw
[2] emerge --info: https://pastebin.com/bumJZN5E
[3] glxinfo: https://pastebin.com/RyTmv8e9
[4] eglinfo: https://pastebin.com/QXpBnvg7
[5] vulkaninfo: https://pastebin.com/9KCLZCfT


Last edited by Kaitain on Sun Mar 30, 2025 4:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Kaitain
n00b
n00b


Joined: 31 Jan 2004
Posts: 57

PostPosted: Wed Mar 26, 2025 1:03 pm    Post subject: Reply with quote

Just to eliminate nvidia-drivers completely, I enabled the laptop's hybrid graphics (AMDGPU - renoir). If I can figure out a couple of nuisances with suspend/resume and multiple display handling, I might leave it this way. Anyway...

Steam identified both GPUs and set the primary device to AMD, and still failed to launch. I'll keep fiddling, but any advice appreciated.


Code:
Steam logging initialized: directory: /home/kaitain/.local/share/Steam/logs


(process:4503): GLib-GIO-WARNING **: 12:48:22.138: Can't find module 'dconf' specified in GSETTINGS_BACKEND
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf74aa5e0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf74a8f80
03/26 12:48:24 minidumps folder is set to /tmp/dumps
03/26 12:48:24 Init: Installing breakpad exception handler for appid(steamsysinfo)/version(1741737356)/tid(4528)
Running query: 1 - GpuTopology
Response: gpu_topology {
  gpus {
    id: 1
    name: "AMD Radeon Graphics (RADV RENOIR)"
    vram_size_bytes: 12615704576
    driver_id: k_EGpuDriverId_MesaRadv
    driver_version_major: 24
    driver_version_minor: 3
    driver_version_patch: 4
  }
  gpus {
    id: 2
    name: "NVIDIA GeForce RTX 3060 Laptop GPU"
    vram_size_bytes: 6442450944
    driver_id: k_EGpuDriverId_NvidiaProprietary
    driver_version_major: 570
    driver_version_minor: 124
    driver_version_patch: 4
  }
  default_gpu_id: 1
}

Exit code: 0
Saving response to: /tmp/steamgdCKjG - 112 bytes
steamwebhelper.sh[4542]: Using supervisor /home/kaitain/.steam/root/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-supervisor
steamwebhelper.sh[4542]: Starting steamwebhelper under bootstrap sniper steam runtime via /home/kaitain/.local/share/Steam/ubuntu12_64/steam-runtime-sniper.sh
steamwebhelper.sh[4542]: Using CEF sandbox \(try with -no-cef-sandbox if this fails\)
steamwebhelper.sh[4542]: Starting steamwebhelper with Sniper steam runtime at /home/kaitain/.local/share/Steam/ubuntu12_64/steam-runtime-sniper/_v2-entry-point
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 4626
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
src/steamUI/steamuisharedjscontroller.cpp (669) : Failed creating offscreen shared JS context
src/steamUI/steamuisharedjscontroller.cpp (669) : Failed creating offscreen shared JS context
03/26 12:48:49 Init: Installing breakpad exception handler for appid(steam)/version(1741737356)/tid(4503)
assert_20250326124849_29.dmp[4708]: Uploading dump (out-of-process)
/tmp/dumps/assert_20250326124849_29.dmp
assert_20250326124849_29.dmp[4708]: Finished uploading minidump (out-of-process): success = yes
assert_20250326124849_29.dmp[4708]: response: CrashID=bp-70a62043-fa84-4440-9221-c7b992250326
assert_20250326124849_29.dmp[4708]: file ''/tmp/dumps/assert_20250326124849_29.dmp'', upload yes: ''CrashID=bp-70a62043-fa84-4440-9221-c7b992250326''
[2025-03-26 12:48:57] Shutdown
Back to top
View user's profile Send private message
Kaitain
n00b
n00b


Joined: 31 Jan 2004
Posts: 57

PostPosted: Sat Mar 29, 2025 5:38 pm    Post subject: Reply with quote

Still playing - this is definitely something within this Gentoo setup (so something I've done/not done/should be able to fix). On another partition I installed OpenSuSE Tumbleweed - they tried their best but $deity help any new Linux users if that's their first experience of it. Anyway, steam works fine on that platform... I just don't like it. Plus, solving a puzzle's half the fun.

Within this installation:
Upgrading Mesa (25.0.0, 25.0.1, 25.0.2) and downgrading Mesa both had no effect
Neither upgrading the nvidia-drivers, nor downgrading them to 550-series had any effect.
Using the kernel-open build had no effect.

Calling steam with -textclient no longer works, as apparently the textclient is no longer installed as part of the Steam package.

I've also installed via Flatpak. In all cases, the only console or logfile output anywhere that records an error is:
Code:
src/steamUI/steamuisharedjscontroller.cpp (669) : Failed creating offscreen shared JS context


Anyone have any ideas what to try next?
_________________
然后呢?
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Sun Mar 30, 2025 12:11 pm    Post subject: Reply with quote

Hello Kaitain,

I had a similar issue several months ago. There is a known problem with steamwebhelper on linux and mac.

I resolved it via downgrading steam and prohibiting its updates. I don't have now at hand all the links that helped me, this one is definitely of them:

https://github.com/Whisky-App/Whisky/issues/1199#issuecomment-2460454741

(I launch steam with exactly these options)
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
Kaitain
n00b
n00b


Joined: 31 Jan 2004
Posts: 57

PostPosted: Sun Mar 30, 2025 4:50 pm    Post subject: Reply with quote

Hi halcon,

Thank you for this - the linked thread didn't quite work but gave me the right things to search for, which led me to this post, key steps being:
1) Install steam from the overlay - let it fail to start.
2) Create a steam.cfg file with:
Code:
printf 'BootStrapperInhibitAll=enable                                                                                                                   
BootStrapperForceSelfUpdate=disable
' > ~/.local/share/Steam/steam.cfg

3) Install the July 2023 version of steam, which has both the old -vgui option and the new authentication system using:
Code:
steam -forcesteamupdate -forcepackagedownload -overridepackageurl https://web.archive.org/web/20230702125953if_/media.steampowered.com/client -exitsteam

4) Run steam with
Code:
/usr/bin/steam -noverifyfiles -nobootstrapupdate -skipinitialbootstrap -norepairfiles -overridepackageurl -vgui
and admire the streams of error messages in the console. After a moment, the Steam login window opens, I log in, and I can download games.

The final hiccup was that I had video, but no sound. Re-emerging pipewire with the pipewire-alsa use flag fixed that.

Thanks again - I'm as happy as a dog with two, er, tails!
_________________
然后呢?
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Sun Mar 30, 2025 6:04 pm    Post subject: Reply with quote

Kaitain,

I am glad to be of help.

So, you want to become the Elden Lord, do you? :)
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
misanthropos
n00b
n00b


Joined: 17 Apr 2025
Posts: 5

PostPosted: Thu Apr 17, 2025 4:14 pm    Post subject: Reply with quote

This helped indeed to get steam running.
I followed this thread to play a specific game: dota2
which will require a newer steam version running.

updating steam of course led to before mentions problems of steamwebhelper crashing.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Thu Apr 17, 2025 4:56 pm    Post subject: Reply with quote

Hi misanthropos,

misanthropos wrote:
I followed this thread to play a specific game: dota2
which will require a newer steam version running.

Newer than May 2024, as in my link, or newer than July 2023, as Kaitain suggested?
Which Steam version suits Dota2?

misanthropos wrote:
updating steam of course led to before mentions problems of steamwebhelper crashing.

Right now I am running December 2024 version of Steam on one of my Gentoo machines, no issues with webhelper.
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
misanthropos
n00b
n00b


Joined: 17 Apr 2025
Posts: 5

PostPosted: Fri Apr 18, 2025 10:18 am    Post subject: Reply with quote

halcon wrote:
Hi misanthropos,

Hi! Thank you for picking thisup.

misanthropos wrote:
I followed this thread to play a specific game: dota2
which will require a newer steam version running.

Newer than May 2024, as in my link, or newer than July 2023, as Kaitain suggested?
Which Steam version suits Dota2?

Steam started with the July 2023 version which is too old for dota2.
After your post I followed your link and installed the May 2024 but steamwebhelper would crash.

misanthropos wrote:
updating steam of course led to before mentions problems of steamwebhelper crashing.

Right now I am running December 2024 version of Steam on one of my Gentoo machines, no issues with webhelper.


If you could supply me the December 2024 link I will try it.

Cheers
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Fri Apr 18, 2025 3:33 pm    Post subject: Reply with quote

misanthropos wrote:
If you could supply me the December 2024 link I will try it.

According to 2024 snapshots list, the snapshot closest to my working version is 20241206222306.
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
misanthropos
n00b
n00b


Joined: 17 Apr 2025
Posts: 5

PostPosted: Sat Apr 19, 2025 6:59 am    Post subject: Reply with quote

halcon wrote:
misanthropos wrote:
If you could supply me the December 2024 link I will try it.

According to 2024 snapshots list, the snapshot closest to my working version is 20241206222306.


Thank you. I tried that with no luck.

At least "The long dark" works with steam from 2023 - what makes me wonder:

Why does it work for you?
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Sat Apr 19, 2025 10:35 am    Post subject: Reply with quote

misanthropos wrote:
Why does it work for you?

Steam was not designed as a Linux (UNIX) application should be designed. It was ported from Windows. So, it is very unstable.

Please share your configuration:

GPU model
GPU firmware, if any added to the kernel
GPU drivers installed
The output of your steam launch in terminal (with the launching command)
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
misanthropos
n00b
n00b


Joined: 17 Apr 2025
Posts: 5

PostPosted: Sat Apr 19, 2025 10:35 am    Post subject: Reply with quote

I was able to pinpoint the last (for me) working steam version: its from 20240221

There is a quite large difference from 20240221 to 2024022. The former update has about 266MB whereas all later versions are over 400MB in size.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Sat Apr 19, 2025 2:24 pm    Post subject: Reply with quote

misanthropos wrote:
I was able to pinpoint the last (for me) working steam version: its from 20240221

Congratulations. It is always good to bisect the offending change.

What's about your configuration? (Didn't you miss my message as we posted almost simultaneously? :) )
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
misanthropos
n00b
n00b


Joined: 17 Apr 2025
Posts: 5

PostPosted: Sat Apr 19, 2025 2:45 pm    Post subject: Reply with quote

halcon wrote:
misanthropos wrote:
Why does it work for you?

Steam was not designed as a Linux (UNIX) application should be designed. It was ported from Windows. So, it is very unstable.

Please share your configuration:


GPU model: [AMD/ATI] Rembrandt [Radeon 680M] (rev c8)
GPU firmware, if any added to the kernel: AMD ACP ASOC Rembrandt Support (Module)

Device Name : [AMD Radeon 680M]
PCI (domain:bus:dev.func): 0000:e5:00.0
DeviceID.RevID : 0x1681.0xC8
gfx_target_version : gfx1035

GPU Type : APU
Family : Yellow Carp (YC)
ASIC Name : Yellow Carp/Rembrandt
Chip Class: GFX10_3

GPU drivers installed: x11-drivers/xf86-video-ati
media-libs/mesa-25.0.1 X llvm opengl proprietary-codecs vaapi vulkan wayland zstd

Quote:
The output of your steam launch in terminal (with the launching command)


Hmm... I now have the last steam release 20250401 installed and the window with different restart method pops up because it claims steamwebhelper crashed.
I can just cancel that window now and steam will start and I am able to run dota2.

weird.
Back to top
View user's profile Send private message
halcon
l33t
l33t


Joined: 15 Dec 2019
Posts: 659

PostPosted: Sat Apr 19, 2025 3:04 pm    Post subject: Reply with quote

misanthropos wrote:
I can just cancel that window now and steam will start and I am able to run dota2.

weird.

For ported applications, it's normal :)

Congrats again.

misanthropos wrote:
GPU firmware, if any added to the kernel: AMD ACP ASOC Rembrandt Support (Module)

This is not firmware. Firmware is like this (CONFIG_EXTRA_FIRMWARE)
_________________
A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
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