bottlesdevs / Bottles

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

[Bug]: Bottles Freeze when loading and when adding a program #1456

Closed cnicodeme closed 2 years ago

cnicodeme commented 2 years ago

Describe the bug

When loading Bottles, it takes about one minute to really load (via flatpak):

$> flatpak run com.usebottles.bottles 
Gtk-Message: 18:10:15.771: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:10:15.771: Failed to load module "pk-gtk-module"
(18:11:32) INFO Performing Bottles checks... 

As you can see, it takes 75s between the last gtk-message error and the Info

Later on, if I go on "Programs" and click on the "+" icon, the app stops working for too long (I'm writing this and waiting for something to happen)

To Reproduce

As explained previously

Package

Flatpak from Flathub

Distribution

Fedora 32

Health Check

Display:
    X.org: true
    X.org (port): :99.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/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
        intel: &id001
            vendor: intel
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/intel_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/intel_icd.i686.json
    prime:
        integrated: *id001
        discrete: *id002
Kernel:
    Type: Linux
    Version: 5.11.22-100.fc32.x86_64
Distro:
    Name: GNOME
    Version: '"42 (Flatpak runtime)"'
Disk:
    Total: 16686632960
    Free: 16686477312
RAM:
    MemTotal: 31.1GiB
    MemAvailable: 11.9GiB
Tools:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.33'
Bottles_envs: null

Display Protocol

X11

Display Backend used by Bottles

X11

Additional context

No response

mirkobrombin commented 2 years ago

Share your bottle.yml please

cnicodeme commented 2 years ago

I'm using flatpack, do you know where the bottle.yml is located ?

cnicodeme commented 2 years ago

I did :

$> flatpak info -l com.usebottles.bottles
/var/lib/flatpak/app/com.usebottles.bottles/x86_64/stable/bc90af75c3d949e7439d24496b516fbb4bcfd0772455102fe3d6d9f769370030
$> cd /var/lib/flatpak/app/com.usebottles.bottles/x86_64/stable/bc90af75c3d949e7439d24496b516fbb4bcfd0772455102fe3d6d9f769370030
$> find . -name "bottles.yml"
# Nothing
mirkobrombin commented 2 years ago

Your bottle -> Menu -> Export configuration image

cnicodeme commented 2 years ago

Thank you.

Unfortunately, trying to click on Export configuration makes the app freeze ...

Is there a way to access it from the file system ?

mirkobrombin commented 2 years ago

Definitely a system-related issue 😅 The location is ~/.var/app/com.usebottles.bottles/data/bottles/bottles/yourbottle/bottle.yml

cnicodeme commented 2 years ago

Yep, probably (Fedora 12, 64b) :

Arch: win64
Creation_Date: '2022-05-12 17:32:10.309436'
Custom_Path: false
DLL_Overrides: {}
DXVK: dxvk-1.10.1
Environment: Gaming
Environment_Variables: {}
External_Programs: {}
Installed_Dependencies:
- d3dx9
- msls31
- arial32
- times32
- courie32
- d3dcompiler_43
- d3dcompiler_47
LatencyFleX: latencyflex-v0.1.0
Latest_Executables: []
NVAPI: dxvk-nvapi-v0.5.4
Name: Gaming Center
Parameters:
    custom_dpi: 96
    discrete_gpu: true
    dxvk: true
    dxvk_hud: false
    dxvk_nvapi: false
    fixme_logs: false
    fsr: false
    fsr_level: 5
    fullscreen_capture: false
    gamemode: false
    gamescope: false
    gamescope_borderless: false
    gamescope_fps: 0
    gamescope_fps_no_focus: 0
    gamescope_fullscreen: true
    gamescope_game_height: 0
    gamescope_game_width: 0
    gamescope_scaling: false
    gamescope_window_height: 0
    gamescope_window_width: 0
    latencyflex: false
    mangohud: false
    obsvkc: false
    pulseaudio_latency: true
    renderer: gl
    sync: esync
    take_focus: false
    use_runtime: false
    use_steam_runtime: false
    virtual_desktop: false
    virtual_desktop_res: 1280x720
    vkbasalt: false
    vkd3d: false
Path: Gaming-Center
Runner: caffe-7.8
State: 0
Uninstallers:
    arial32: false
    courie32: false
    d3dcompiler_43: false
    d3dcompiler_47: false
    d3dx9: false
    msls31: false
    times32: false
Update_Date: '2022-05-13 15:09:33.637796'
VKD3D: vkd3d-proton-2.6
Versioning: false
Windows: win10
WorkingDir: ''
32bitx64bit commented 2 years ago

Yea im getting the same issue

mirkobrombin commented 2 years ago

Runner: caffe-7.8

Try switching to 7.5 please

mirkobrombin commented 2 years ago

Gtk4 update will fix this (2022.6.14)