bottlesdevs / Bottles

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

[Bug]: Failing to create new bottle #3137

Open roworu opened 9 months ago

roworu commented 9 months ago

Describe the bug

When I click "Create new bottle" button, it stuck on "creating Bottle" message for infinite.

To Reproduce

1) Click create new bottle 2) Leave everything as by default and type some random name 3) Click "Create" 4) "Creating Bottle" message stuck forever...

Package

Flatpak from Flathub

Distribution

Fedora 39

Debugging Information

Official Package: true
Version: '51.9'
DE/WM: gnome-xorg
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        nvidia:
            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-535-113-01/extra/nvidia/wine
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.5.7-200.fc38.x86_64
Disk:
    Total: 16777895936
    Free: 16777728000
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 23.4GiB
Bottles_envs: null

Troubleshooting Logs

roworu@fedora:~$ flatpak run com.usebottles.bottles
19:41:08 (INFO) Bottles Started! 
19:41:09 (INFO) Performing Bottles checks… 
19:41:09 (INFO) Vkd3ds found:
     - vkd3d-proton-2.10

19:41:09 (INFO) Nvapis found:
     - dxvk-nvapi-v0.6.4

19:41:09 (INFO) Latencyflexs found:
     - latencyflex-v0.1.1

19:41:09 (INFO) Runners found:
     - soda-7.0-9
     - sys-wine-8.0.2

19:41:09 (INFO) Catalog installers loaded 
19:41:09 (INFO) Catalog dependencies loaded 
19:41:09 (INFO) Catalog components loaded 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/frontend/views/new.py", line 190, in create_bottle
    dxvk=self.manager.dxvk_available[0],
IndexError: list index out of range


### Additional context

_No response_
zUltimaPG3D commented 8 months ago

in preferences, download dxvk, it should fix it

zUltimaPG3D commented 8 months ago

in more detail, open Preferences (should be Ctrl+, by default), go in the DLL Components tab and install the latest dxvk (or whatever version you want)

resiehnnes commented 8 months ago

@zUltimaPG3D , thanks, that fixed my issue

chi-xigua commented 7 months ago

zUltimaPG3D's comment indeed fixes the issue.

Not sure in what way it would be implemented, but adding this as a suggestion to the error message would be nice. Or maybe this is a bug? Seems like something that would be automatically fetched if there's a hard dependency on it.