-
-
Notifications
You must be signed in to change notification settings - Fork 322
Description
Describe the bug
When changing "Settings" for a Bottle, if the "Post-Processing Effects" are not available, the app will promote the user to install them via flatpak.
The command however, is wrong.
Current wrong command: flatpak install --user org.freedesktop.Platform.VulkanLayer.vkBasalt
The output:
kitty@kittys-Linux:~$ flatpak install --user org.freedesktop.Platform.VulkanLayer.vkBasalt
Looking for matches…
error: No remote refs found for ‘org.freedesktop.Platform.VulkanLayer.vkBasalt’
Correct command: flatpak install flathub org.freedesktop.Platform.VulkanLayer.vkBasalt
The output:
kitty@kittys-Linux:~$ flatpak install flathub org.freedesktop.Platform.VulkanLayer.vkBasalt
Looking for matches…
Similar refs found for ‘org.freedesktop.Platform.VulkanLayer.vkBasalt’ in remote ‘flathub’ (system):
1) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/21.08
2) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/22.08
3) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/23.08
4) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/24.08
5) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/25.08
6) runtime/org.freedesktop.Platform.VulkanLayer.vkBasalt/x86_64/stable
Which do you want to use (0 to abort)? [0-6]:
To Reproduce
- Click on a bottle to go to the "Details" tab.
- Click on "Settings" in "Options" section.
- See missing dependency in "Post-Processing Effects" at the "Display" settings.
- Prompted to install the package via a command.
- The command fails.
Package
Flatpak from Flathub
Distribution
Linux Mint 22.2 Cinnamon
Debugging Information
Official Package: true
Version: '60.1'
DE/WM: cinnamon
Display:
X.org: true
X.org (port): :0
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/share/vulkan/icd.d/nvidia_icd.json
nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-580-95-05/lib/nvidia/wine
amd: &id001
vendor: amd
envs:
DRI_PRIME: '1'
icd: /usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/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.14.0-36-generic
Disk:
Total: 7953313792
Free: 7950192640
RAM:
MemTotal: 14.8GiB
MemAvailable: 10.3GiB
Bottles_envs: nullTroubleshooting Logs
Additional context
Referencing: https://github.com/bottlesdevs/Bottles/blob/main/bottles/frontend/views/bottle_preferences.py
From the lines 159 until 162 may be wrong in this scenario. I suppose the correct install command would be flatpak install flathub xxx. Also notice that it may present the user multiple choices such as above, the user needs clarification which to install.