Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Request]: Tell the user to install optional components through flatpak

Open Heus-Sueh opened this issue 1 year ago • 13 comments

Tell us the problem or your need

Screenshot from 2022-08-31 15-20-47

Describe the solution you'd like

tell the user to install MangoHud from flatpak to enable MangoHud as an option

Other solutions?

flatpak install org.freedesktop.Platform.VulkanLayer.MangoHud

Additional context and references

MangoHud was not available to enable even though I installed the rpm package, I only found out that this option is available by installing it with flatpak.

Heus-Sueh avatar Aug 31 '22 18:08 Heus-Sueh

the same thing should be done for gamescope, I just found out that this option is available by installing with flatpak install com.valvesoftware.Steam.Utility.gamescope.

Heus-Sueh avatar Aug 31 '22 19:08 Heus-Sueh

This makes sense to me - it's really unfriendly to quietly block features without any obvious way to use them

jannuary avatar Sep 01 '22 02:09 jannuary

Honestly, I would prefer including these extensions by default.

TheEvilSkeleton avatar Sep 04 '22 00:09 TheEvilSkeleton

These are very much optional and the package is bloated as is already.

jannuary avatar Sep 04 '22 05:09 jannuary

They're optional but I prefer having them installed by default so users don't have to manually install them. As someone who is proficient with Flatpak's CLI, it is NOT user friendly, especially with these extensions. And now that vkBasalt and MangoHud flatpaks have two different branches, GNOME Software is quite unclear about it.

They don't take that much space either:

image image image

TheEvilSkeleton avatar Sep 04 '22 12:09 TheEvilSkeleton

Just a reminder since I saw this issue here: https://github.com/flathub/com.valvesoftware.Steam.Utility.gamescope/issues/58

Bottles currently uses the 21.08 runtime. Steam moved to the new 22.08 runtime. So all flatpak-Steam plugins you import through this probably won't work until Bottles is also on the new 22.08 runtime.

Pixelnarium avatar Sep 05 '22 14:09 Pixelnarium

Ouch, that's seriously bad, because Bottles and Lutris support Gamescope. Both use 21.08 and both rely on your Gamescope flatpak. Is there a chance you can move the extension under org.freedesktop.Platform.SOMETHING so we can separate branches, like how MangoHud does it? We'll probably need to talk to the freedesktop.org devs for that.

Edit: yup, just confirmed Lutris runs into the same issue https://github.com/flathub/net.lutris.Lutris/issues/271.

TheEvilSkeleton avatar Sep 05 '22 17:09 TheEvilSkeleton

Gamescope is not my package. I just send a PR for updating it so that it works with Steam.

Pixelnarium avatar Sep 05 '22 18:09 Pixelnarium

Oops, my bad. I misread Contributor as Collaborator...

TheEvilSkeleton avatar Sep 05 '22 18:09 TheEvilSkeleton

I opened https://github.com/flathub/com.valvesoftware.Steam.Utility.gamescope/issues/59.

TheEvilSkeleton avatar Sep 05 '22 18:09 TheEvilSkeleton

No problem. As far as I know GNOME 43 is planned for release in 3 weeks. The current in-dev Gnome 43 flatpak runtime is based on 22.08. So when you move to this new runtime it will be working again for another year. But yeah. Long term there needs to be another solution.

Pixelnarium avatar Sep 05 '22 18:09 Pixelnarium

1+ for this,i had to search a fair bit to install vkbasalt and mangohud and have it working with the flatpak version since both of these are not on flathub,this would have solved my issue out of the box and i also doubt most people would mind it being about 25mb more heavy considering the functionality it brings.

However the issue with gamescope is real,how about just implementing mangohud and vkbasalt first,and bringing gamescope later when this issue is fixed?

Noobao avatar Sep 07 '22 18:09 Noobao

This issue might be of some use: https://github.com/flatpak/flatpak/issues/5105

orowith2os avatar Sep 17 '22 04:09 orowith2os

Following https://github.com/flatpak/flatpak/issues/4046

mirkobrombin avatar Sep 25 '22 12:09 mirkobrombin