bottlesdevs / Bottles

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

[Bug]: Nothing launching when in Steam #3244

Open m3anmug opened 10 months ago

m3anmug commented 10 months ago

Describe the bug

I am on Steam Deck and usually everything works fine but for the past few weeks or so anything that uses bottles through steam will not open. Everything works fine in bottles itself so im not sure what is wrong. I even tried on my kids Steam Deck and have the same issue.

To Reproduce

Add anything from bottles to steam

Package

Flatpak from Flathub

Distribution

Steam Deck

Debugging Information

Official Package: true
Version: '51.10'
DE/WM: plasma-steamos-oneshot
Display:
    X.org: true
    X.org (port): :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: 6.1.52-valve9-1-neptune-61
Disk:
    Total: 6181584896
    Free: 6181421056
RAM:
    MemTotal: 11.5GiB
    MemAvailable: 7.2GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

boobthecat commented 10 months ago

Also happening to me

jim-coffey commented 10 months ago

Also happening to me - Bottles used to work fine and was great on Steam Deck for running GoG games. Then a few weeks ago, just stopped working.

When trying to launch - the mouse cursor shows busy for a second or two - then nothing. No error messages. Bottles does not run.

davidmartos96 commented 10 months ago

Probably related to: https://github.com/bottlesdevs/Bottles/pull/3211

m3anmug commented 10 months ago

Does anyone know of a way to rollback to the version before the last update or just reinstall an old version?

DragonKumera commented 9 months ago

Does anyone know of a way to rollback to the version before the last update or just reinstall an old version?

I might try and copy my install from my og steam deck that still has the old version and see how the transfer goes on my oled sd

boobthecat commented 9 months ago

Is this just perma broken?

DragonKumera commented 9 months ago

Is this just perma broken?

feels that way as literally no one is responding and cant find a fix online. Major sadness

boobthecat commented 9 months ago

Screenshot_20240218_041716 So I found out with the help of koplo199 that if you add --args-replace after the second run in the launch options it should work fine. Still annoying but it's a solution

DragonKumera commented 9 months ago

Screenshot_20240218_041716 So I found out with the help of koplo199 that if you add --args-replace after the second run in the launch options it should work fine. Still annoying but it's a solution

tried that awhile ago and still did not work.

boobthecat commented 9 months ago

You sure you did that correctly? I'm using BoilR to make the shortcuts to Steam btw

DragonKumera commented 9 months ago

You sure you did that correctly? I'm using BoilR to make the shortcuts to Steam btw

just tried again and it just circles then crashes back as if it never launched. I can run the steam shortcut perfectly fine in desktop mode. But gaming mode no luck.

boobthecat commented 9 months ago

Very weird...

DragonKumera commented 9 months ago

Very weird...

i am at a complete loss. New version is on github but it has not updated to the flatpak store version

tweitzel commented 8 months ago

Assuming you installed from flat hub (the default on steam deck discover store):

this command will show version history: flatpak remote-info --log flathub com.usebottles.bottles

this command will downgrade to the December build before steam launches stopped working: sudo flatpak update --commit=34fd84393ff5717222995783ae052c4da78ab0e15bfeb9649b1bdf3f72592235 com.usebottles.bottles

you must use sudo when downgrading.

If it works you may wish to run: flatpak mask com.usebottles.bottles to prevent accidental upgrades.

The above worked on my steam deck and restored launching bottled executables from steam, although I was already using a shell script to do flatpak run instead of xdg-open.

mirkobrombin commented 6 months ago

Does this bug happen for apps installed before this PR?

tweitzel commented 6 months ago

It does not seem to matter when the app was installed, only the version of Bottles that is presently installed has an effect.

rytt0001 commented 6 months ago

Assuming you installed from flat hub (the default on steam deck discover store):

this command will show version history: flatpak remote-info --log flathub com.usebottles.bottles

this command will downgrade to the December build before steam launches stopped working: sudo flatpak update --commit=34fd84393ff5717222995783ae052c4da78ab0e15bfeb9649b1bdf3f72592235 com.usebottles.bottles

you must use sudo when downgrading.

If it works you may wish to run: flatpak mask com.usebottles.bottles to prevent accidental upgrades.

The above worked on my steam deck and restored launching bottled executables from steam, although I was already using a shell script to do flatpak run instead of xdg-open.

Thanks This worked for me when before it would try to launch the game , show the steam logo circle and then silently shut down.

Though the issue for me first randomly appeared today when updating the runner to try and make a game work.

LemonPAKA commented 6 months ago

I tried to run XDefiant today,It works very well on desktop mode, but launch backgroud on gamemode(I can heard the game sound but stuck at steam logo), tried to lauch ubisoft connect on gamemode and it stuck at steam logo..pretty sure it is launched but stuck background

CannGramps commented 3 months ago

This fix worked for me. Don't enter the quotes in my example.

Open the properties for the program in steam and under target change "xdg-open" to "flatpak", and under Launch options change " bottles:run/'bottle_name'/'Game_Name' " to " run --command=bottles-cli com.usebottles.bottles run -b 'bottle_name' -p 'Game_Name' ". This has worked for me just fine.

CannGramps commented 1 month ago

This fix worked for me. Don't enter the quotes in my example.

Open the properties for the program in steam and under target change "xdg-open" to "flatpak", and under Launch options change " bottles:run/'bottle_name'/'Game_Name' " to " run --command=bottles-cli com.usebottles.bottles run -b 'bottle_name' -p 'Game_Name' ". This has worked for me just fine.

Some programs I installed this way weren't working. But when if I went in to Bottles and clicked the options next to a program and added it to library, they started working again.

twrightsman commented 1 month ago

I can confirm that adding the program to the library allows the program to launch in gaming mode on the Steam Deck, even if it is later removed from the library. Something that occurs when adding a program to the library fixes this issue. Seems related to https://github.com/bottlesdevs/Bottles/issues/2650 and https://github.com/bottlesdevs/Bottles/issues/2020