docker-mtgo icon indicating copy to clipboard operation
docker-mtgo copied to clipboard

Update wine to 9.7-wow64

Open pauleve opened this issue 1 year ago • 1 comments

Updates wine to 9.7-wow64 using Docker image from https://github.com/pauleve/docker-wine-wow64

./run-mtgo --update --test panard/mtgo:pr<#ID>

pauleve avatar Apr 06 '24 12:04 pauleve

This branch seems to solve a problem I had with emulating virtual desktops in the previous one, but now seems to introduce a new issue:

wine: Unhandled exception 0xe0434352 in thread 17c at address 00006FFFFFC23E67 (thread 017c), starting debugger...
01a8:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a0:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01b4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01b4:err:vulkan:vulkan_init Failed to load libvulkan.so.1
01b4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
====== MTGO.exe has started.
01c4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01c4:err:vulkan:vulkan_init Failed to load libvulkan.so.1
01c4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01d4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01d4:err:vulkan:vulkan_init Failed to load libvulkan.so.1
01d4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
0050:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a0:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01e4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01e4:err:vulkan:vulkan_init Failed to load libvulkan.so.1
01e4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
0050:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a0:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a8:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01f4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01f4:err:vulkan:vulkan_init Failed to load libvulkan.so.1
01f4:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
0050:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a0:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a8:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
01a0:err:dbghelp:pe_load_msc_debug_info -Debug info stripped, but no .DBG file in module L"kernelbase"
0208:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
0208:err:vulkan:vulkan_init Failed to load libvulkan.so.1
0208:err:system:find_monitor_from_path Failed to find monitor with path "DISPLAY\\DELA124\\0000&0000"
====== shutting down

Note that the Failed to load libvulkan.so.1 happens when the game successfully runs, so seems to be unrelated to these new issues.

This only happens when using the emulate virtual desktop option in winecfg.

dorianbrown avatar Apr 28 '24 10:04 dorianbrown

Thanks for your feedback! Vulkan-related messages are harmless. Is it still working nevertheless, or is it crashing? If so, let's wait for 9.8, hopefully it will fix the monitor identification issue.

pauleve avatar Apr 29 '24 14:04 pauleve

This is what happens when I run this PR using an emulated virtual desktop:

image

Running without the virtual desktop starts normally, so seems specific to this version. Past PRs launched fine in a virtual desktop.

EDIT: I'll try running it with the --reset flag, and see if that changes anything.

EDIT2: No help, but did manage to get the crash details this time:

Unhandled exception: 0xe0434352 in 64-bit code (0x006fffffc23e67).
Register dump:
 rip:00006fffffc23e67 rsp:00007ffffe1f1c20 rbp:00007ffffe1fee90 eflags:00000202 (   - --  I   - - - )
 rax:00007ffffe1f1c80 rbx:00000000e0434352 rcx:00007ffffe1f1c40 rdx:0000000000000000
 rsi:0000000000000001 rdi:0000000000000005  r8:00006ffffd370000  r9:00007ffffe1f1dc8 r10:0000000000000001
 r11:00007ffffe1f1da8 r12:0000000000004000 r13:00007ffffe35b768 r14:00007ffffe1f1da8 r15:00007ffffe1f3df8
Stack dump:
0x007ffffe1f1c20:  00007ffffe1f1c40 0000000000000000
0x007ffffe1f1c30:  fffffffffffffffe 0000000000000000
0x007ffffe1f1c40:  00000001e0434352 0000000000000000
0x007ffffe1f1c50:  00006fffffc23e67 00006fff00000005
0x007ffffe1f1c60:  ffffffff80131501 0000000000000000
0x007ffffe1f1c70:  0000000000000000 0000000000000000
0x007ffffe1f1c80:  00006ffffd370000 00007ffffe38f010
0x007ffffe1f1c90:  0000000000000001 000040ac0eac5921
0x007ffffe1f1ca0:  00006ffffdb457d8 00007ffffe1f3df8
0x007ffffe1f1cb0:  00007ffffe1f1f18 00006ffffd513f70
0x007ffffe1f1cc0:  0000000000000000 00007ffffe38f010
0x007ffffe1f1cd0:  00007ffffe1f1e78 0000000000000001
Backtrace:
=>0 0x006fffffc23e67 in kernelbase (+0x13e67) (0x007ffffe1fee90)
  1 0x006ffffd513f51 in clr (+0x1a3f51) (0x007ffffe1fee90)
  2 0x006ffffd517d07 in clr (+0x1a7d07) (0x007ffffe1fee90)
0x006fffffc23e67 kernelbase+0x13e67: add $0xc8, %rsp
Modules:
Module  Address                                 Debug info      Name (21 modules, 105 for wow64 not listed)
PE                400000-          e90000       Deferred        mtgo
PE          7f1a68a00000-    7f1a694fc000       Deferred        wotc.mtgo.client.model.play
PE          7f1a69600000-    7f1a69de6000       Deferred        sharedresources
PE          7f1a69e00000-    7f1a6a70e000       Deferred        themeresources
PE          7f1a6a800000-    7f1a6aa86000       Deferred        system.xml
PE          7f1a6ac00000-    7f1a6ae20000       Deferred        wotc.mtgo.client.model.core
PE          7f1a6b000000-    7f1a6b5fc000       Deferred        presentationframework
PE          7f1a6ba80000-    7f1a6bbfc000       Deferred        system.core
PE          7f1a700f0000-    7f1a70156000       Deferred        system.configuration
PE          7f1a70160000-    7f1a701fc000       Deferred        system.xaml
PE          7f1a70390000-    7f1a703f6000       Deferred        system.management
PE          7f1a70400000-    7f1a7067e000       Deferred        mtgomessage
PE          7f1a706e0000-    7f1a7076c000       Deferred        gamedetails
PE          7f1a70770000-    7f1a70798000       Deferred        core
PE          7f1a707a0000-    7f1a707e0000       Deferred        wotc.mtgo.client.model.reference
PE          7f1a707f0000-    7f1a70828000       Deferred        uiautomationtypes
PE          7f1a708a0000-    7f1a70a26000       Deferred        system.deployment
PE          7f1a70a30000-    7f1a70b70000       Deferred        windowsbase
PE          7f1a71020000-    7f1a71048000       Deferred        serilog
PE          7fffffc90000-    7fffffcb0000       Deferred        wotc.mtgo.client.common.diagnostics
PE          7fffffcf0000-    7fffffcfc000       Deferred        wotc.mtgo.client.common
Threads:
process  tid      prio    name (all IDs are in hex)
00000038 services.exe
	0000003c    0     
	00000040    0     wine_rpcrt4_server
	0000004c    0     wine_rpcrt4_io
	00000064    0     wine_rpcrt4_io
	00000084    0     wine_rpcrt4_io
	000000b0    0     wine_rpcrt4_io
	000000c8    0     wine_threadpool_timerqueue
	000000cc    0     
	00000100    0     wine_rpcrt4_io
	00000104    0     wine_threadpool_worker
00000044 svchost.exe
	00000048    0     
	00000054    0     
	00000058    0     wine_sechost_service
0000005c winedevice.exe
	00000060    0     
	00000068    0     
	0000006c    0     wine_sechost_service
	00000070    0     
	00000074    0     
	000000c0    0     
	000000c4    0     
	0000016c    0     wine_threadpool_worker
0000007c winedevice.exe
	00000080    0     
	00000088    0     
	0000008c    0     wine_sechost_service
	00000090    0     
	00000094    0     
	00000098    0     
	0000009c    0     
	000000a0    0     
000000a8 plugplay.exe
	000000ac    0     
	000000b4    0     
	000000b8    0     wine_sechost_service
	000000bc    0     wine_rpcrt4_server
000000e0 explorer.exe
	000000e4    0     
	000000e8    0     
	000000ec    0     
	000000f0    0     wine_rpcrt4_server
000000f8 rpcss.exe
	000000fc    0     
	00000108    0     
	0000010c    0     wine_sechost_service
	00000110    0     wine_rpcrt4_server
	00000114    0     wine_rpcrt4_server
	00000118    0     wine_rpcrt4_io
	0000011c    0     wine_threadpool_worker
	00000140    0     wine_rpcrt4_io
0000012c dfsvc.exe
	00000130    0     
	00000134    0     
	00000138    2     
	0000013c    0     wine_rpcrt4_server
	00000144    0     
	0000014c    0     wine_threadpool_worker
	0000015c    0     
	00000164    0     
	00000170    0     
	00000174    0     
00000178 (D) C:\users\wine\AppData\Local\Apps\2.0\R60GD63B.AZ5\TZ3L0B19.84P\mtgo..tion_dbac2845cba5280e_0003.0004_a6e449a0ba0ca91e\MTGO.exe
	0000017c    0 <== 
	00000180    0     
	00000184    2     
	0000018c    0     
	000001ac    0     
000001a4 conhost.exe
	000001a8    0     
System information:
    Wine build: wine-9.7
    Platform: x86_64 (guest: i386)
    Version: Windows 7
    Host system: Linux
    Host version: 6.8.7-200.fc39.x86_64

dorianbrown avatar Apr 30 '24 15:04 dorianbrown

That seemed to fix it! The virtual desktop is working for me again

dorianbrown avatar May 05 '24 21:05 dorianbrown

Great, thank you very much for the testing. I'm making it the default image.

pauleve avatar May 06 '24 15:05 pauleve