bottlesdevs / Bottles

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

[Bug]: Bottles is always using flatpak wine #3379

Closed TheEpicNoobZilla closed 4 weeks ago

TheEpicNoobZilla commented 1 month ago

Describe the bug

When i create new bottles it is always creating it with "sys-wine" despite having alternatives runners installed. I tried with having only newest soda/cafffe/ge installed and it will always use sys-wine when creating bottle despite stating it will uses other runner. The only bottle type that is not affected by this is "Custom"

To Reproduce

  1. Open bottles
  2. Click "create bottle"
  3. set config to either "Application" or "Gaming"
  4. see what version of runner is used i.e "wine-ge-8.26"
  5. after bottle is created check if it used correct runner

Package

Flatpak from Flathub

Distribution

Fedora 40 KDE

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
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.8.10-300.fc40.x86_64
Disk:
    Total: 16779214848
    Free: 16779051008
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 20.0GiB
Bottles_envs: null

Troubleshooting Logs

No response

Additional context

No response

xioren commented 4 weeks ago

Please use flatpak run --verbose com.usebottles.bottles and try to create a bottle. If there are any errors please post them here.

TheEpicNoobZilla commented 4 weeks ago

i get this

F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/theepicnoob/.local/share/flatpak
F: Opening user flatpak installation at path /home/theepicnoob/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Skipping parental controls check for app/com.usebottles.bottles/x86_64/stable since parental controls are disabled globally
F: Opening user flatpak installation at path /home/theepicnoob/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.gnome.Platform/x86_64/45/99d562071771cdcfe51f9afa912f262cfb8eb83258d83d827f4caeedd4f273ea/files/lib32 does not exist
F: Cleaning up unused container id 1456849631
F: Cleaning up per-app-ID state for com.usebottles.bottles
F: Allocated instance id 783774622
F: Add defaults in dir /com/usebottles/bottles/
F: Add locks in dir /com/usebottles/bottles/
F: Allowing wayland access
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/theepicnoob/.config/pulse/client.conf': Błąd podczas otwierania pliku /home/theepicnoob/.config/pulse/client.conf: Nie ma takiego pliku ani katalogu
F: Running '/usr/bin/bwrap --args 45 -- /usr/bin/xdg-dbus-proxy --args=44'
F: Running '/usr/bin/bwrap --args 43 -- bottles'
11:16:47 (INFO) Bottles Started! 
11:16:48 (INFO) Performing Bottles checks… 
11:16:48 (INFO) Dxvks found:
         - dxvk-2.3.1

11:16:48 (INFO) Vkd3ds found:
         - vkd3d-proton-2.12

11:16:48 (INFO) Nvapis found:
         - dxvk-nvapi-v0.7.0

11:16:48 (INFO) Latencyflexs found:
         - latencyflex-v0.1.1

11:16:48 (INFO) Runners found:
         - kron4ek-wine-9.9-staging-tkg-amd64
         - sys-wine-9.0

         LIST OF MY BOTTLES
         11:16:48 (INFO) Catalog installers loaded 
11:16:48 (INFO) Catalog dependencies loaded 
11:16:49 (INFO) Catalog components loaded 
11:16:54 (INFO) Generating bottle configuration… 
11:16:54 (INFO) Unpacking template: 668ad537-dcee-4232-b1cb-c280b223b5c6 
11:16:57 (INFO) Template unpacked successfully! 
11:16:57 (INFO) Using Wine Runtime tool -- send_status(-i) 
wine: configuration in L"/home/theepicnoob/.var/app/com.usebottles.bottles/data/bottles/bottles/Test" has been updated.
11:17:05 (INFO) Applying environment: [gaming]… 
11:17:05 (INFO) New bottle created: Test 
11:17:05 (INFO) Using Wine Runtime tool -- send_status(-u) 
wine: configuration in L"/home/theepicnoob/.var/app/com.usebottles.bottles/data/bottles/bottles/Test" has been updated.

LIST OF MY BOTTLES
11:17:09 (INFO) Setting Key sync=fsync for bottle Test… 
11:17:10 (INFO) Using Wine Runtime tool -- send_status(-k) 
11:17:26 (INFO) Stopping bottle… 
11:17:26 (INFO) There is no running wineserver. 
11:17:26 (INFO) Removing applications installed with the bottle… 
11:17:26 (INFO) Removing library entries associated with this bottle… 
11:17:26 (INFO) Removing the bottle… 
11:17:26 (INFO) Deleted the bottle in: /home/theepicnoob/.var/app/com.usebottles.bottles/data/bottles/bottles/Test 

Uno Duo

xioren commented 4 weeks ago

First of all try downloading the latest Soda runner as that is the normal default runner and should be installed automatically. Second you selected a Gaming bottle which will use the default runner, which since Soda is not installed is sys-wine. If you want to create a bottle with your choice of runner, for example kron4ek-wine-9.9-staging-tkg-amd64, it has to be a custom bottle environment. Otherwise you can create an application or gaming bottle and then switch to your preferred runner after creation.