bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.2k stars 258 forks source link

[Bug]: Missing Steam prefixes for "add a non-steam game" games added to Steam #2927

Open foundObjects opened 1 year ago

foundObjects commented 1 year ago

Describe the bug

Bottles picks up my official Steam game prefixes just fine, but it misses any prefixes for games added to Steam manually. Steam does create prefixes for these and I've poked about in them by hand but Bottles doesn't detect nor present them in the UI with the other Steam game prefixes.

I'm not sure if this is intentional? I expected to be able to manage all of Steam's prefixes from Bottles with the 'manage Steam prefixes' option on.

To Reproduce

Configure Steam to launch everything with a compatibility tool, in my case Proton-GE

In Steam add a "non steam game" so that Steam can launch it. Launch it and verify that it runs.

(Note: behind the scenes Steam transparently creates a prefix for this application.)

Open Bottles and tick the 'manage steam prefixes' option and restart if needed.

Note that prefixes for programs added to Steam manually are unavailable in Bottles.

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

Official Package: true
Version: '51.6'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :1
    Wayland: false
Graphics:
    vendors:
        nvidia: &id002
            vendor: nvidia
            envs:
                __NV_PRIME_RENDER_OFFLOAD: '1'
                __GLX_VENDOR_LIBRARY_NAME: nvidia
                __VK_LAYER_NV_optimus: NVIDIA_only
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
            nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-520-56-06/extra/nvidia/wine
        amd: &id001
            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: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 6.3.7-x64v3-xanmod1-rog-1
Disk:
    Total: 20635971584
    Free: 20635803648
RAM:
    MemTotal: 38.4GiB
    MemAvailable: 22.5GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

This would be a very useful feature, I'd like to run some of these without Steam open all the time and the prefixes are fully configured and ready to be used.

onyto commented 6 months ago

I'm facing the same issue and would also like to know if this is intentional or a bug?

Diudid commented 5 months ago

Same problem, on steam desktop. It create the prefix on steamdeck though i got the problem with protontrick, i guess that it is a Valve bug