bottlesdevs / Bottles

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

[Bug]: The application always been closed if I turn off monitor or lock the screen. #2569

Open laichiaheng opened 1 year ago

laichiaheng commented 1 year ago

Describe the bug

The application is closed if I turn off the monitor or lock the screen, my monitor has to be turned on.

To Reproduce

  1. Open application.
  2. Turn off the monitor or lock the screen.
  3. Log in again.
  4. The application has been closed.

Package

Package from AUR

Distribution

Arch Linux

Troubleshooting Logs

Official Package: false
Version: '50.1'
DE/WM: gnome
Display:
    X.org: true
    X.org (port): :0
    Wayland: true
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/share/vulkan/icd.d/amd_icd64.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json:/usr/share/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.1.6-zen1-2-zen
Disk:
    Total: 53687091200
    Free: 11501879296
RAM:
    MemTotal: 31.2GiB
    MemAvailable: 24.0GiB
Bottles_envs: null
Tools and Libraries:
    cabextract: true
    p7zip: true
    patool: true
    glibc_min: '2.36'
    icoextract: true
    pefile: true
    orjson: true
    markdown: true
    ImageMagick: true
    FVS: true
    xdpyinfo: true

Additional context

No response

Kinsteen commented 1 year ago

Hi, is there a way you could launch Bottles from the command line, reproduce this bug and send the logs please?

laichiaheng commented 1 year ago

@Kinsteen

20:19:21 (INFO) Bottles Started! 
20:19:24 (INFO) Performing Bottles checks… 
20:19:24 (INFO) Dxvks found:
     - dxvk-1.10.3
     - x64
     - x32

20:19:24 (INFO) Vkd3ds found:
     - vkd3d-proton-2.6-1-5b73139

20:19:24 (INFO) Nvapis found:
     - dxvk-nvapi-v0.5.4

20:19:24 (INFO) Latencyflexs found:
     - latencyflex-v0.1.0

20:19:24 (INFO) Runners found:
     - sys-wine-7.22
     - soda-7.0-4
     - soda-7.0-7
     - GE-Proton7-42

20:19:24 (INFO) Bottles found:
     - Bitcomet

(bottles:20228): Gtk-CRITICAL **: 20:19:24.401: gtk_widget_set_parent: assertion '_gtk_widget_get_parent (widget) == NULL' failed
20:19:24 (INFO) Library saved 
20:19:25 (INFO) Catalog installers loaded 
20:19:25 (INFO) Catalog dependencies loaded 
20:19:25 (INFO) Catalog components loaded 
20:19:34 (INFO) Launching an executable… 
20:19:34 (WARNING) Windows path detected. Avoiding validation. 
20:19:34 (INFO) Using Wine Starter -- run 
wineserver: using server-side synchronization.
wine: Using setpriority to control niceness in the [-10,10] range
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -r" (2).
wine: Unhandled stack overflow at address 000000007B07E8AB (thread 011c), starting debugger...
02b0:err:ole:com_get_class_object class {e2085f28-feb7-404a-b8e7-e659bdeaaa02} not registered
02b0:err:ole:com_get_class_object no class object {e2085f28-feb7-404a-b8e7-e659bdeaaa02} could be created for context 0x1
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  28 (X_GetDeviceButtonMapping)
  Serial number of failed request:  684
  Current serial number in output stream:  684
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  131 (XInputExtension)
  Minor opcode of failed request:  28 (X_GetDeviceButtonMapping)
  Serial number of failed request:  191
  Current serial number in output stream:  191
Kinsteen commented 1 year ago

Hey, this seems to not be related to Bottles. Does the same thing happens under normal Wine/Lutris?

laichiaheng commented 1 year ago

@Kinsteen It seems to be.