Giter Club home page Giter Club logo

Comments (24)

Marius101 avatar Marius101 commented on July 18, 2024 7

So after doing a little bit of digging, anyone who is experiencing this problem on Windows just add the steam folder to your AVs exceptions list. In my case it was Bitdefender that was messing with the steamwebhelper.

You are a legend! I had the same problem just out of the blue, tried everything...Read your comment just now, I also have Bitdefender...added steam as an exception...and BAM I didn't even click on steam and it launched no problem!
So yeah solution if you have this problem on Windows 10 and you have Bitdefender:
Add your steam folder as an exception in Bitdefender's threat protection section.

Once again you are a life saver man... aslo I hate Bitdefender.

from com.valvesoftware.steam.

ZlordHUN avatar ZlordHUN commented on July 18, 2024 4

So after doing a little bit of digging, anyone who is experiencing this problem on Windows just add the steam folder to your AVs exceptions list. In my case it was Bitdefender that was messing with the steamwebhelper.

from com.valvesoftware.steam.

intrepholio avatar intrepholio commented on July 18, 2024 4

For those of you on Windows 10/11, please open an issue on the official Valve Steam Github for your issue. This thread and this repository is specific to folks using Steam on Linux using Flatpak. While I'm glad this thread helped, the focus here is for Steam users who are on Linux. Thanks!

from com.valvesoftware.steam.

0AwsD0 avatar 0AwsD0 commented on July 18, 2024 2

So after a bit of digging, anyone experiencing this issue on Windows simply adds the Steam folder to the AV exceptions list. In my case, Bitdefender was messing around with steamwebhelper.

It worked for me too. I also did some additional tests. I can say that if you haven't updated your Steam, everything works fine. My other Steam computer was working offline until I installed an update. Malwarebytes, on the other hand, didn't cause any problems. Turning it off didn't change anything so it's probably Bitdefender fault.

Exclude booth Steam.exe and steamwebhelper.exe from %STEAM_INSTALL%Steam\bin\cef\cef.win7x64 from your Bitdefender application, use the default exclusion settings.
!!!Never add an entire folder to an exclusion! This may lead to launching malicious applications that are installed in your Steam directory! Some Steam games can be malicious, so don't exclude the entire Steam folder.

Remember to check the exclusion later on, and disable it when Bitdefender or Steam itself fixes the issue to stay secure.

from com.valvesoftware.steam.

begota98 avatar begota98 commented on July 18, 2024 2

For me (steam flatpak), steam only opens either by running flatpak run com.valvesoftware.Steam, or by going into gnome software, finding steam app page, and then clicking "open". Really weird, it's not working only when searching steam in the app menu and then opening it.

from com.valvesoftware.steam.

intrepholio avatar intrepholio commented on July 18, 2024 1

Strangely, if I run this from the command line it seems to run fine. Using the icon in Gnome fails every time.
Location of the .desktop file I used to get the command line: /var/lib/flatpak/exports/share/applications/com.valvesoftware.Steam.desktop
Command line used which works: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/steam-wrapper --file-forwarding com.valvesoftware.Steam @@U %U @@

from com.valvesoftware.steam.

gurgelio avatar gurgelio commented on July 18, 2024 1

I'm also not able to open Steam through the desktop icon, but running flatpak run com.valvesoftware.Steam works (???)

from com.valvesoftware.steam.

chinoto avatar chinoto commented on July 18, 2024 1

@winchjr If you're not using flathub, then participating in "New steam UI does not open if run with DRI_PRIME=1" might make more sense, although you're using primusrun rather than DRI_PRIME=1. I originally commented here by mistake.

from com.valvesoftware.steam.

gurgelio avatar gurgelio commented on July 18, 2024

Those are the logs I found that mention any error

~/.var/app/com.valvesoftware.Steam/data/Steam/logs/steamwebhelper.log

setup.sh[2300]: Steam runtime environment up-to-date! [0615/171412.340441:INFO:crash_reporting.cc(248)] Crash reporting enabled for process: browser [0615/171412.359220:WARNING:crash_reporting.cc(287)] Failed to set crash key: UserID with value: 76561198066750843 [0615/171412.359219:WARNING:crash_reporting.cc(287)] Failed to set crash key: UserID with value: 76561198066750843 [0615/171412.359276:WARNING:crash_reporting.cc(287)] Failed to set crash key: BuildID with value: 1686779606 [0615/171412.359281:WARNING:crash_reporting.cc(287)] Failed to set crash key: BuildID with value: 1686779606 [0615/171412.359282:WARNING:crash_reporting.cc(287)] Failed to set crash key: SteamUniverse with value: Public [0615/171412.359286:WARNING:crash_reporting.cc(287)] Failed to set crash key: SteamUniverse with value: Public [0615/171412.359287:WARNING:crash_reporting.cc(287)] Failed to set crash key: Vendor with value: Valve [0615/171412.359289:WARNING:crash_reporting.cc(287)] Failed to set crash key: Vendor with value: Valve [0615/171412.380290:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: gpu-process [0615/171412.420696:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process. [0615/171412.462972:WARNING:crash_reporting.cc(287)] Failed to set crash key: UserID with value: 76561198066750843 [0615/171412.463024:WARNING:crash_reporting.cc(287)] Failed to set crash key: BuildID with value: 1686779606 [0615/171412.463028:WARNING:crash_reporting.cc(287)] Failed to set crash key: SteamUniverse with value: Public [0615/171412.463031:WARNING:crash_reporting.cc(287)] Failed to set crash key: Vendor with value: Valve [0615/171412.463507:INFO:crash_reporting.cc(248)] Crash reporting enabled for process: utility [0615/171413.360834:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.362160:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.362965:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.363642:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.410975:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.411817:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.412750:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.413693:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer [0615/171413.415001:INFO:crash_reporting.cc(271)] Crash reporting enabled for process: renderer src/webhelper/html_chrome.cpp (3267) : CefCurrentlyOn( TID_UI ) failed to create drawable [0] Downloading 'https://crash.steampowered.com/submit' ...

Unexpected crash report id length
Failed to get crash dump id.
Report Id:

~/.var/app/com.valvesoftware.Steam/data/Steam/logs/webhelper.txt

[1969-12-31 21:00:00] Client version: no bootstrapper found [1969-12-31 21:00:00] Startup - webhelper launched with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper -lang=pt_BR -cachedir=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/config/htmlcache -steampid=152 -buildid=1686779606 -steamid=76561198066750843 -logdir=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs -uimode=7 -startcount=4 -steamuniverse=Public -realm=Global -clientui=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/clientui -steampath=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam --enable-media-stream --enable-smooth-scrolling --no-sandbox --password-store=basic --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --disable-quick-menu --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging [1969-12-31 21:00:00] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --no-zygote-sandbox --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1686779606 --steamid=76561198066750843 [1969-12-31 21:00:00] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1686779606 --steamid=76561198066750843 [1969-12-31 21:00:00] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=gpu-process --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --lang=pt-BR --service-sandbox-type=network --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --lang=en_US.UTF-8 --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] CreateBrowser 1598973508 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973507 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973506 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973505 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] UB-65536: AfterCreated handle:65536 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-131073: AfterCreated handle:131073 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-196610: AfterCreated handle:196610 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-262147: AfterCreated handle:262147 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] CreateBrowser 1598973510 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973509 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973511 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973512 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] CreateBrowser 1598973513 type:12 flags:0 (-2147483648, -2147483648) 0x0 [2023-06-15 17:14:12] UB-327684: AfterCreated handle:327684 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-393221: AfterCreated handle:393221 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-458758: AfterCreated handle:458758 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-524295: AfterCreated handle:524295 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] UB-589832: AfterCreated handle:589832 type:12: (0, 0) 0x0 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:12] Browser - launching child process with: /home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --field-trial-handle=14458788555570760628,10918765275098434191,131072 --enable-features=CastMediaRouteProvider --disable-features=SameSiteByDefaultCookies --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --disable-blink-features=Badging --lang=pt-BR --log-file=/home/gurja/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam Client --buildid=1686779606 --steamid=76561198066750843 [2023-06-15 17:14:13] SharedJSContext-'SharedJSCo': CreatingPopup name:SP Desktop_uid0 browser:65536 pid:152 type:4 flags:274: (3210.00, 330.00) 1280.00x800.00: url:about:blank?createflags=274&minwidth=1010&minheight=600&pid=0&browser=-1&browserType=4&restoredetails=1&x=3210&y=330&w=1280&h=800&useragent=Valve Steam Client/default [2023-06-15 17:14:13] CreateOutputWindow: Creating browser window at: 3210,330 size: 1280x800 [2023-06-15 17:14:13] Loaded GL 4.6 [2023-06-15 17:14:13] SP Desktop_uid0: Created window: size: 1280,800 pos: 3210,330 mode: OpenGL window: 0x1200008 [2023-06-15 17:14:13] SP Desktop_uid0: AfterCreated handle:655369 type:4: (0, 0) 1280x800 [2023-06-15 17:14:13] Error: AcquirePixmap: failed to create glx pixmap for window: 0xe00004 [2023-06-15 17:14:14] SharedJSContext-'SharedJSCo': CreatingPopup name:broadcaststatus_uid0 browser:65536 pid:152 type:4 flags:1335914: (-2147483648.00, -2147483648.00) 1.00x1.00: url:about:blank?createflags=1335818&pid=0&browser=-1 [2023-06-15 17:14:14] CreateOutputWindow: Creating browser window at: 805240832,805240832 size: 1x1 [2023-06-15 17:14:14] broadcaststatus_uid0: Created window: size: 1,1 pos: 805240832,805240832 mode: System window: 0x1200013 [2023-06-15 17:14:14] broadcaststatus_uid0: AfterCreated handle:720906 type:4: (0, 0) 1x1 [2023-06-15 17:14:14] SharedJSContext-'SharedJSCo': CreatingPopup name:contextmenu_1 browser:65536 pid:152 type:4 flags:344170: (3328.00, 332.00) 2.00x1.00: url:about:blank?createflags=344074&openerid=10 [2023-06-15 17:14:14] CreateOutputWindow: Creating browser window at: 3328,332 size: 2x1 [2023-06-15 17:14:14] contextmenu_1: Created window: size: 2,1 pos: 3328,332 mode: System window: 0x120001b [2023-06-15 17:14:14] contextmenu_1: AfterCreated handle:786443 type:4: (0, 0) 2x1 [2023-06-15 17:14:14] SharedJSContext-'SharedJSCo': CreatingPopup name:contextmenu_2 browser:65536 pid:152 type:4 flags:344170: (3284.00, 332.00) 2.00x1.00: url:about:blank?createflags=344074&openerid=10 [2023-06-15 17:14:14] CreateOutputWindow: Creating browser window at: 3284,332 size: 2x1

from com.valvesoftware.steam.

intrepholio avatar intrepholio commented on July 18, 2024

webhelper.txt
steamwebhelper.txt
Redacted log files attached.

from com.valvesoftware.steam.

madhogs avatar madhogs commented on July 18, 2024

For me it depends on whether I launch Steam using the Integrated or Discrete graphics card.

If I run a terminal using the integrated graphics card and run flatpak run com.valvesoftware.Steam it launches correctly.
If I run a terminal using the discrete graphics card and run flatpak run com.valvesoftware.Steam it gets stuck in a loop and doesn't run. Clicking on the gnome icon uses the discrete by default.

This is on Fedora Silverblue, on a laptop with dual amd cpu/gpu.

It was also working fine before todays update.

from com.valvesoftware.steam.

intrepholio avatar intrepholio commented on July 18, 2024

For me it depends on whether I launch Steam using the Integrated or Discrete graphics card.

If I run a terminal using the integrated graphics card and run flatpak run com.valvesoftware.Steam it launches correctly. If I run a terminal using the discrete graphics card and run flatpak run com.valvesoftware.Steam it gets stuck in a loop and doesn't run. Clicking on the gnome icon uses the discrete by default.

This is on Fedora Silverblue, on a laptop with dual amd cpu/gpu.

It was also working fine before todays update.

I get the same thing. Very interesting catch.

  1. I have an integrated GPU, but my monitor is only connected to my discrete GPU. If I right click the Steam icon in Gnome it gives me the option to "Launch using Integrated Graphics Card", which I believe means it uses discrete by default. This goes into the loop.

  2. If I right-click the Steam icon in Gnome and select "Launch using Integrated Graphics Card" then Steam launches fine.

  3. If I launch gnome-terminal and specify the discrete graphics card I also get the loop.

  4. The default launch of the gnome-terminal, which I believe it thinks is the integrated graphics card, then Steam launches from the command line just fine.

from com.valvesoftware.steam.

chinoto avatar chinoto commented on July 18, 2024

I had the same issue and I just did a bit more digging today, turns out that launching it normally* works fine, but breaks when I run it with env DRI_PRIME=1 steam to have it run on my laptop's dedicated GPU.

*What I mean by normally is by running the Steam binary acquired from a mirror of openSUSE Tumbleweed's Non-OSS repository via this wrapper script I made to make Steam and all of its games use my dedicated GPU, prefer a newer version of OpenGL, and filter out log messages that are too prevalent.

#!/bin/zsh
SCRIPTPATH=`dirname $0`
LOGPATH=$SCRIPTPATH/steam_logs
mkdir -p $LOGPATH
export DRI_PRIME=1 &&\
export MESA_GL_VERSION_OVERRIDE=4.6 &&\
steam | grep -vE \
"^$"\
"|breakpad"\
"|Crash reporting enabled for process:"\
"|Failed to set crash key:"\
"|JS method"\
"|LIBDBUSMENU-GLIB-WARNING"\
"|locate theme engine"\
"|wrong ELF"
#> $LOGPATH/`date -Im`

neofetch output to help with debugging:

OS: openSUSE Tumbleweed x86_64 
Host: ROG Strix G513QY_G513QY 1.0 
Kernel: 6.3.7-1-default 
Uptime: 37 mins 
Packages: 3589 (rpm), 15 (flatpak) 
Shell: fish 3.6.1 
Resolution: 1920x1080 
DE: Plasma 5.27.5 
WM: KWin 
Theme: Breeze [Plasma], Adwaita [GTK2/3] 
Icons: breeze [Plasma], breeze [GTK2/3] 
Terminal: konsole 
Terminal Font: DejaVu Sans Mono 8 
CPU: AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 3.300GHz 
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series 
GPU: AMD ATI Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT 
Memory: 5062MiB / 15376MiB

Edit: Sorry, didn't realize this was the flathub version, no wonder you guys are talking about flatpak so much... But the problem we're all having is probably DRI_PRIME not being handled properly.

from com.valvesoftware.steam.

winchjr avatar winchjr commented on July 18, 2024

Similar issue, only happened in the past day or so. I am not using Flathub. Core output of inxi -Fxz:

System: Kernel: 5.10.0-23-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 4.8.6
Distro: Debian GNU/Linux 11 (bullseye)
Machine: Type: Portable System: Alienware product: Alienware 17 v: A17 serial:
Mobo: Alienware model: 068R5X v: A00 serial: UEFI: Alienware v: A17
date: 07/22/2019
CPU: Info: Quad Core model: Intel Core i7-4700MQ bits: 64 type: MT MCP arch: Haswell rev: 3
L2 cache: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 38311
Speed: 3303 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 3303 2: 3381 3: 3218 4: 3266
5: 3267 6: 3268 7: 3226 8: 3280
Graphics: Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Dell driver: i915
v: kernel bus ID: 00:02.0
Device-2: NVIDIA GK106M [GeForce GTX 765M] vendor: Dell driver: nvidia v: 470.182.03
bus ID: 01:00.0
Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 20.3.5
direct render: Yes

I've had issues with Bumblebee before, but this doesn't seem to be related to Bumblebee. Core symptoms:

  • Have to start any steam application with primusrun like usual
  • Doing so will run the application like usual, but every 5-10 seconds, the center of the screen will freeze (approximately where the Steam desktop UI should be, if it were open) briefly, and interrupt whatever task I am doing for a split second
  • Since I have to run everything from terminal, I can see the output that repeats every 5-10 seconds:

/bin/bash: /home/user/miniconda3/lib/libtinfo.so.6: no version information available (required by /bin/bash)
steamwebhelper.sh[234335]: Runtime for steamwebhelper: defaulting to /home/user/.steam/debian-installation/ubuntu12_64/steam-runtime-heavy
/bin/bash: /home/user/miniconda3/lib/libtinfo.so.6: no version information available (required by /bin/bash)
steamwebhelper.sh[234335]: Using CEF sandbox (try with -no-cef-sandbox if this fails)
BuildCompleteAppOverviewChange: 166 apps
RegisterForAppOverview 1: 4ms
RegisterForAppOverview 2: 4ms

  • I've tried using -no-cef-sandbox and it merely changes that line to saying "cef sandbox already disabled", but still freezes the screen/system periodically
  • System monitor shows spikes in cpu usage when the screen freezes, as well as numerous (going from 1 to 10,20,30 etc) steamwebhelper processes appearing briefly when the cpu spikes, then returning back to 1 steamwebhelper process
  • Opening Steam by "running with dedicated gpu" option on start menu, or running via terminal without primus will not open the application correctly (this was the case before as well; always have to open with primusrun )
  • the libtinfo line was there before this problem, and probably unrelated
  • Even if I minimize the Steam UI, it will still interrupt. The only thing that prevents the interruption is shutting down Steam entirely.
  • Judging by the other threads I've found, this seems to be a linux issue in general. Possibly a library update that came with the new GUI update?
  • The GUI itself loads fine, and I can access it as long as I don't open Steam with primusrun, and instead open it without primus (yet of course I can't open any application without primus)

Here are other related threads that I've found that seem to be related:
#1104
https://bbs.archlinux.org/viewtopic.php?id=286571
https://forums.linuxmint.com/viewtopic.php?p=2339619

Let me know which logs might be useful.

from com.valvesoftware.steam.

winchjr avatar winchjr commented on July 18, 2024

@chinoto Thanks and yes, I will post there as well

from com.valvesoftware.steam.

winchjr avatar winchjr commented on July 18, 2024

@chinoto recommended a solution that worked for me.

For others using Bumblebee/Primus like me, if running from terminal doesn't work, put

primusrun %command%

in the game launch option commands.

from com.valvesoftware.steam.

chinoto avatar chinoto commented on July 18, 2024

env DRI_PRIME=1 %command% if you're using that instead of primusrun, as mentioned here.

from com.valvesoftware.steam.

WilliamHarrisonGB avatar WilliamHarrisonGB commented on July 18, 2024

this didn't happen to me before (even with the UI update) but now on fedora latest version it keeps crashing, didn't crash before and just started crashing after the restart of a system update, and it keep flooding notifications with 'steamwebhelper quit unexpecetfly'
I can launch it with flatpak run com.valvesoftware.Steam

from com.valvesoftware.steam.

fearandesire avatar fearandesire commented on July 18, 2024

I'm having a very similar issue.

Error: steamwebhelper.exe, a critical Steam component, is not responding. The Steam UI will not be usable. Click here for more information.

Windows 11

It was working fine yesterday, and now today, it seems unable to open at all.
I've tried:

  • Uninstalling completely, removing any leftover folders & reinstalling
  • Set parameters to -no-cef-sandbox -no-browser +open steam://open/minigameslist
  • Windows Run (CTRL+R): steam://flushconfig

I see some solutions worked here for folks on Linux. I'd appreciate any similar workarounds for the Windows version.

from com.valvesoftware.steam.

ZlordHUN avatar ZlordHUN commented on July 18, 2024

Same problem as fearandesire. Worked fine yesterday. Also on Windows 11

from com.valvesoftware.steam.

0AwsD0 avatar 0AwsD0 commented on July 18, 2024

I'm on Windows 10, and today got this: steam window appears and becomes black with white borders - popup window says - steamwebhelper.exe uncaught exception program terminated immediately | yeah reinstall didn't work

from com.valvesoftware.steam.

Predragunn avatar Predragunn commented on July 18, 2024

I had the same issue. Couldn't figure out what the heck it was. For me it was my anti-virus bitdefender. this might not work but hopefully it does for some people. Turn off your anti-virus for the folder that your steam is in

from com.valvesoftware.steam.

PorcelainMouse avatar PorcelainMouse commented on July 18, 2024

Hmm, I'm experiencing this now, too. But, I'm sure it wasn't the first UI update; I'm sure that worked fine because I remember noticing the new spash/loading/startup image a week or so ago. Since then, however, I've got a few weekly updates from my distro, newer minor-minor kernel version, etc.

Have there been additional UI updates since the major one?

I tried disabling all the graphics acceleration in Settings > Interface, as recommended here: https://help.steampowered.com/en/faqs/view/6C3E-9504-CC20-AF49
and that doesn't make any difference. And, as has been reported above, webhelper works when Steam is started from command line. That makes it seem like an ENV issue, but I don't know what that would be.

from com.valvesoftware.steam.

chinoto avatar chinoto commented on July 18, 2024

@begota98 That is likely because somewhere along the way PrefersNonDefaultGPU=true and/or DRI_PRIME=1 were set by clicking the icon, whereas launching directly from the terminal avoids that.

from com.valvesoftware.steam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.