ValveSoftware / steam-for-linux

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

Steam crashes after selecting new drive for apps #11164

Closed prufaraSS closed 1 week ago

prufaraSS commented 1 month ago

Your system information

Please describe your issue in as much detail as possible:

i'm trying to add new directory for installed games above /home/ folder (/steamdata/ to be precise) and when I press SELECT in popup it crashes steam after a short delay. i've tried to chmod both /steamdata directory and directories where steam is installed (recursively), nothing helped. Just to mention - /home/ directory is located in HDD while other part of the system located in SSD

Steps for reproducing this issue:

  1. Open Steam settings
  2. Locate to Storage category
  3. Open dropdown list located at the top of the window and select "Add Drive"
  4. In popup select any path not located at /home/ directory
  5. Press select and wait for crash
prufaraSS commented 1 month ago

Update: tried to do some things mentioned in official Arch wiki such as: modify /etc/fstab file to make required filesystem contain 'exec' parameter, add 'steamapps' folder to new library directory. Still nothing changed.

TTimo commented 4 weeks ago

Hello,

Unfortunately we are not able to reproduce. I looked at the crash report information from your logs but it doesn't carry much information as to what is happening. It is unlikely we will make much progress on this until we have a reproduction or other users come forward with more information.

TTimo commented 1 week ago

You are crashing with the Steam builtin file dialog though, you may want to install https://wiki.archlinux.org/title/XDG_Desktop_Portal and use your OS file dialogs instead.

TTimo commented 1 week ago

I was able to reproduce. This will be fixed in an upcoming beta client update.

prufaraSS commented 1 week ago

wait it was actually fixed? i've just made some changes and thought it worked (i've got really surprised) here's all things i've done:

  1. add "exec" parameter for drive for /home directory
  2. chown /steamdata/ (folder that being used for new place for apps) to have user group instead of root (group: root -> max)
TTimo commented 1 week ago

The crash was due to a race condition in the Steam client. Not something you could have fixed, other than by using xdg-desktop-portal which uses a different path not affected by the bug.

Most folks (including me) do have xdg-desktop-portal as it's a standard piece of a kde or gnome desktop environment.

prufaraSS commented 1 week ago

The crash was due to a race condition in the Steam client. Not something you could have fixed, other than by using xdg-desktop-portal which uses a different path not affected by the bug.

Most folks (including me) do have xdg-desktop-portal as it's a standard piece of a kde or gnome desktop environment.

that must be the case then, since i'm using Hyprland which invents it's own version of desktop integration portals, if i'm correct