steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

[Crash] Kernel 5.19 Breaks SteamWebHelper

Open ThisNekoGuy opened this issue 2 years ago • 5 comments

Your system information

  • Steam client version (build number or date): Jul 26 2022 at 18:54:18 (1658944613)
  • Distribution (e.g. Ubuntu): Arch Linux
  • Kernel: Linux 5.19.1-268-tkg-pds
  • CPU: Ryzen 3700X (znver2)
  • GPU: RTX 2080 Ti
  • GPU Driver: 515.65.01 (open-source kernel driver)
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Launching Steam causes SteamWebHelper to constantly crash; the only thing I did different was update to kernel 5.19 and update glibc, as this didn't occur with kernel 5.17 just prior to rebooting

Steps for reproducing this issue:

  1. Install kernel 5.19
  2. Reboot to kernel 5.19
  3. Login to desktop
  4. Launch Steam

Related:

My kernel config file: kernelconfig.new.zip Related Linux-tkg config file for reproduction: linux-tkg.cfg.zip

ThisNekoGuy avatar Aug 13 '22 20:08 ThisNekoGuy

Hello @ThisNekoGuy, does steamwebhelper.log, webhelper.log, or cef_log.txt in ~/.local/share/Steam/logs have any hints?

kisak-valve avatar Aug 13 '22 21:08 kisak-valve

It seems none of those logs were generated :/

~  .local  share  Steam  $  ls
appcache              d3ddriverquery64.dxvk-cache    legacycompat  ssfn9145403474479088615                        steam_subscriber_agreement.txt  ThirdPartyLegalNotices.doc
Backups               debian-installation            linux32       standalone_installscript_progress_228980.vdf   steamapps                       ThirdPartyLegalNotices.html
bin                   depotcache                     linux64       standalone_installscript_progress_430960.vdf   steamchina                      ubuntu12_32
bin_steamdeps.py      evaluatorscript_1196590.vdf    logs          standalone_installscript_progress_438130.vdf   steamclient.dll                 ubuntu12_64
bootstrap.tar.xz      fossilize_engine_filters.json  music         standalone_installscript_progress_801630.vdf   steamclient64.dll               update_hosts_cached.vdf
clientui              friends                        package       standalone_installscript_progress_1048390.vdf  steamdeps.txt                   userdata
compatibilitytools.d  GameOverlayRenderer64.dll      public        steam                                          steamui                         WINDOWSTEMPDIR_FONTCONFIG_CACHE
config                graphics                       resource      steam.sh                                       tenfoot                         
controller_base       installscriptevalutor_log.txt  servers       steam_msg.sh                                   ThirdPartyLegalNotices.css      
 ~  .local  share  Steam  $ 

ThisNekoGuy avatar Aug 13 '22 22:08 ThisNekoGuy

Same story on my end (under the native client variant (can't use the runtime cause it has its own issues where proton games dont launch so))

[bob@archlinux ~]$ cat ~/.local/share/Steam/logs/steamwebhelper.log 
./steamwebhelper: error while loading shared libraries: libibus-1.0.so.5: cannot open shared object file: No such file or directory

There's the bugger, pacman -S libibus did the job for me

big-lip-bob avatar Aug 19 '22 09:08 big-lip-bob

Unfortunately, the native-runtime isn't officially supported because it can potentially cause problems; I'm not using that though, I'm using the official steam-runtime

ThisNekoGuy avatar Aug 22 '22 02:08 ThisNekoGuy

It seems none of those logs were generated :/

~  .local  share  Steam  $  ls
appcache              d3ddriverquery64.dxvk-cache    legacycompat  ssfn9145403474479088615                        steam_subscriber_agreement.txt  ThirdPartyLegalNotices.doc
Backups               debian-installation            linux32       standalone_installscript_progress_228980.vdf   steamapps                       ThirdPartyLegalNotices.html
bin                   depotcache                     linux64       standalone_installscript_progress_430960.vdf   steamchina                      ubuntu12_32
bin_steamdeps.py      evaluatorscript_1196590.vdf    logs          standalone_installscript_progress_438130.vdf   steamclient.dll                 ubuntu12_64
bootstrap.tar.xz      fossilize_engine_filters.json  music         standalone_installscript_progress_801630.vdf   steamclient64.dll               update_hosts_cached.vdf
clientui              friends                        package       standalone_installscript_progress_1048390.vdf  steamdeps.txt                   userdata
compatibilitytools.d  GameOverlayRenderer64.dll      public        steam                                          steamui                         WINDOWSTEMPDIR_FONTCONFIG_CACHE
config                graphics                       resource      steam.sh                                       tenfoot                         
controller_base       installscriptevalutor_log.txt  servers       steam_msg.sh                                   ThirdPartyLegalNotices.css      
 ~  .local  share  Steam  $ 

You seem to have missed cd:ing into the logs folder. Have a look in there.

Rosentti avatar Aug 29 '22 19:08 Rosentti

Here's the log: steamwebhelper.log

This also happens with kernel 6.0.1: kernelconfig.new.txt

Related Linux-tkg config file for reproduction: linux-tkg.zip

Current system info: Steam client version (build number or date): Jul 26 2022 at 18:54:18 (1658944613) Distribution (e.g. Ubuntu): Arch Linux Kernel: Linux 6.0.1-270-tkg-pds CPU: Ryzen 3700X (znver2) GPU: RTX 2080 Ti GPU Driver: 515.76 (Open-GPU kernel driver) Opted into Steam client beta?: No Have you checked for system updates?: Yes

ThisNekoGuy avatar Oct 12 '22 22:10 ThisNekoGuy

On re-examination, I rebuilt the 6.0.1 kernel with a different configuration (most things enabled; only really removed industrial-related modules, touchscreen modules, Intel CPU support, some obscure hardware almost no one uses, and anything Google and Apple-related)

With this configuration, Steam works fine; as per the steamwebhelper.log claiming there was "no sandboxing" available before, I don't know what module is responsible for that, but having a more permissive setup seems to satisfy whatever it is that steamwebhelper keeps complaining about:

kernelconfig.new.zip

ThisNekoGuy avatar Oct 13 '22 22:10 ThisNekoGuy

For what it's worth, I've been seeing the same thing with my custom-built kernels, until today. The only changes I made between the last build which didn't work, and the current build which did, were upgrading kernel 6.1.0 to 6.1.4, and setting CONFIG_USER_NS=y.

dschepler avatar Jan 10 '23 08:01 dschepler

Steam needs user namespaces to work, yes, but in my case: I already had that enabled; but yeah, I had a similar experience in which (besides that) nothing relevant was changed and Steam just suddenly decided to stop working at the time (before I moved on to using a new 6.0.x kernel; I haven't moved on to a 6.1 kernel yet, so I can't speak to testing that).

ThisNekoGuy avatar Jan 10 '23 17:01 ThisNekoGuy