ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Steam store web portal error code: -105 with systemd-resolved #10550

Closed nexussapphire closed 6 months ago

nexussapphire commented 6 months ago

Your system information

Please describe your issue in as much detail as possible:

The builtin web browser shows Error code: -105 when clicking on any tab other than library. Sometimes clicking store, community, or username causes the application to crash taking the desktop with it. The library tab works like it should and with the stayfocused the options bar at the top works.

I have iwd in standalone mode with systemd-resolved as the nss resolver.

Steps for reproducing this issue:

  1. open app
  2. click store(or have it load as default) get -105 error or have it hang while loading.
  3. click another web portal tab potentially causing a hang or a full crash.
RyuzakiKK commented 6 months ago

One interesting piece of information from your logs seems to be this one:

[0228/174011.441119:ERROR:angle_platform_impl.cc(43)] Display.cpp:1021 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1404.
[0228/174011.441178:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/RendererVk.cpp, initialize:1404.
[0228/174011.441213:ERROR:gl_display.cc(932)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0228/174011.441242:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed.
[0228/174011.442017:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0228/174011.446601:INFO:crash_reporting.cc(262)] Crash reporting enabled for process: gpu-process
[0228/174011.448246:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is
nexussapphire commented 6 months ago

I commented out env ELECTRON_OZONE_PLATFORM_HINT=wayland and then rebooted my computer but that didnt work. I saw [0228/174011.441242:ERROR:gl_ozone_egl.cc(23)] GLDisplayEGL::Initialize failed so it was worth a try.

I have an environment variables forcing gbm backend but it's necessary for wlroots compositor to work from what I understand. GBM_BACKEND=nvidia-drm __GLX_VENDOR_LIBRARY_NAME=nvidia

Here's vulkaninfo if you need it vulkaninfo.log

nexussapphire commented 6 months ago

Systemd-resolved was the problem. I don't know what exactly caused it but disabling built in network configuration in iwd, disabling systemd-resolved, and installing dhcpcd for the back end of iwd fixed the problem.

I discovered it while trying to get the printer setup working. Apparently systemd-resolved causes issues for avahi too.

smcv commented 6 months ago

[0228/174011.441213:ERROR:gl_display.cc(932)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED

@RyuzakiKK, as a triaging note, this looks really bad at first glance but appears to be harmless - working steamwebhelpers get this too.

nexussapphire commented 6 months ago

Yeah most desktop environment moved from EGL streams to GBM on Nvidia at some point. Support was almost non-existent when Nvidia didn't support GBM.

MichalKolasinski commented 6 months ago

Hi there.

Is there some way to make this work without replacing systemd-resolved?

For me too steam started showing the 105 error after a system update. But name resolution is working as expected everywhere, so it seems that this is steam related. I think it would be great to know the exact reason for this problem so it can be solved without replacing the name resolution service?

Please help!

nexussapphire commented 6 months ago

Hi there.

Is there some way to make this work without replacing systemd-resolved?

For me too steam started showing the 105 error after a system update. But name resolution is working as expected everywhere, so it seems that this is steam related. I think it would be great to know the exact reason for this problem so it can be solved without replacing the name resolution service?

Please help!

Not my issue anymore, good luck @MichalKolasinski

janhradek commented 6 months ago

Had the same problem on Archlinux. https://wiki.archlinux.org/title/Systemd-resolved#DNS helped with it, i.e. symlinking /run/systemd/resolve/stub-resolv.conf to /etc/resolv.conf. Although /etc/resolv.conf existed on my system (from the filesystem package), it was basically empty, which breaks DNS resolution for applications that seem to "still?" use it (directly), like steam. Linking to the stub (as described on the link) fixed it.

MichalKolasinski commented 6 months ago

Yess, i can confirm this solved the problem. (I'm on arch too)

Thank you!!

GhostDog98 commented 1 month ago

Had the same problem on Archlinux. https://wiki.archlinux.org/title/Systemd-resolved#DNS helped with it, i.e. symlinking /run/systemd/resolve/stub-resolv.conf to /etc/resolv.conf. Although /etc/resolv.conf existed on my system (from the filesystem package), it was basically empty, which breaks DNS resolution for applications that seem to "still?" use it (directly), like steam. Linking to the stub (as described on the link) fixed it.

TYSM, ridiculous that this is still an issue months later, just encountered it myself. For me, it also knocked out all game networking (multiplayer stopped working on DRG entirely).