Skip to content

[Bug]: unable to launch programs in Steam Deck gaming mode, but can launch from script pointing to executable #2020

Closed
@alpha-tango-kilo

Description

@alpha-tango-kilo

Describe the bug

Programs installed into a bottle can't be found by program name when in the Steam Deck's gaming mode, per reproduction steps

I spent a fair while digging at this, and this is what I found:

  • Bottles launched within gaming mode showed only manually added programs, not auto-detected ones
  • Creating a script that called flatpak run --command=bottles-cli com.usebottles.bottles run -b <bottle name> -e <path> and adding it to Steam could launch the game
  • Using the above script approach but with -p <program name> only worked with manually added programs

To Reproduce

  1. Create (gaming) bottle
  2. Install game
  3. Add game to Programs if not present
  4. Add program to Steam (at this point the program will launch fine from Bottles, or from Steam while still in desktop mode)
  5. Switch to gaming mode
  6. Launch game
  7. (either stays on Steam spinner or gives up and goes back to game info)

Package

Flatpak from Flathub

Distribution

Steam Deck

Troubleshooting Logs

Version: 2022.8.28-brescia-2
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 5.13.0-valve21.1-1-neptune-02211-gc54cda5a36f3
Distro:
    Name: GNOME
    Version: '"42 (Flatpak runtime)"'
Disk:
    Total: 7778668544
    Free: 7778525184
RAM:
    MemTotal: 14.5GiB
    MemAvailable: 11.4GiB
Bottles_envs: null

Display Protocol

X11, Wayland

Display Backend used by Bottles

No response

Additional context

Flatseal non-default setttings:

image

image

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions