Hey.
I am trying to get MagicaVoxel running on the Chromebook (with Debian 10 linux container activated) of my daugther. Already spend a few days with the wine package from the distro's repo and ended up in installing the wine 7.0 from the winehq repo. But without sucess yet. As far as I know the tool needs .NET framework and the c++ redistributable's - therefore I installed those via winetricks. As the tool has a win32 + win64 version available, I tried both of them via definition of WINEPREFIX + WINEARCH upfront. Environment itself seems to work as I can use Irfanview for example ...But now I am stuck. What does the following backtrace tell ? Any support is welcome.
Thx in advance.
Oli
$ WINEPREFIX="/home/audischrauber/.wine-clean" wine MagicaVoxel.exe
wine: Unhandled page fault on execute access to 004F7000 at address 004F6FFF (thread 0024), starting debugger...
0118:fixme:imm:ImeSetActiveContext (0x5a0750, 1): stub
0118:fixme:imm:ImmReleaseContext (00010062, 005A0750): stub
0104:fixme:imm:ImeSetActiveContext (0x4b2ec8, 0): stub
0104:fixme:imm:ImmReleaseContext (00020032, 004B2EC8): stub
Unhandled exception: page fault on execute access to 0x004f7000 in 32-bit code (0x004f6fff).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:004f6fff ESP:0021ff34 EBP:0021ff48 EFLAGS:00010246( R- -- I Z- -P- )
EAX:7ffd1000 EBX:7ffd1000 ECX:00000000 EDX:004dc4cd
ESI:00000000 EDI:00000000
Stack dump:
0x0021ff34: 7b62db20 7ffd1000 7bc56f77 7bc56f77
0x0021ff44: 7ffd1000 0021ff5c 7bc56f77 7ffd1000
0x0021ff54: 7ffd1000 00000000 0021ffec 7bc57630
0x0021ff64: 7b62db10 004dc4cd 7ffd1000 7bc7287c
0x0021ff74: 004dc4cd 7ffd1000 00000000 00000000
0x0021ff84: 00000000 00000000 ffffffff 7bc62430
Backtrace:
=>0 0x004f6fff in magicavoxel (+0xf6fff) (0x0021ff48)
1 0x7bc56f77 RtlWakeConditionVariable+0x57(variable=7B62DB10) [Z:\usr\src\packages\BUILD\dlls\ntdll\sync.c:766] in ntdll (0x0021
ff5c)
2 0x7bc57630 RtlCreateUserThread(entry=004DC4CD, arg=7FFD1000) [Z:\usr\src\packages\BUILD\dlls\ntdll\thread.c:261] in ntdll (0x0
021ffec)
0x004f6fff magicavoxel+0xf6fff: addb %dh,0x1a(%eax)
Modules:
Module Address Debug info Name (25 modules)
PE 00400000-005d6000 Export magicavoxel
PE 005e0000-00839000 Deferred comdlg32
PE 00840000-00cbf000 Deferred ole32
PE 00cc0000-00e0e000 Deferred combase
PE 61740000-6182a000 Deferred advapi32
PE 62fc0000-631f0000 Deferred rpcrt4
PE 63480000-6349c000 Deferred version
PE 63bc0000-63c05000 Deferred shcore
PE 64a40000-64b5c000 Deferred shlwapi
PE 663c0000-66483000 Deferred winspool
PE 66b00000-66b5c000 Deferred win32u
PE 67ec0000-68ca4000 Deferred shell32
PE 6a280000-6a4e6000 Deferred msvcrt
PE 6bc00000-6bca4000 Deferred sechost
PE 6bcc0000-6bea0000 Deferred setupapi
PE 6c9c0000-6cbaa000 Deferred gdi32
PE 6cc40000-6d0aa000 Deferred comctl32
PE 6ed00000-6f4d1000 Deferred user32
PE 70b40000-70dfe000 Deferred ucrtbase
PE 71200000-7124c000 Deferred imm32
PE 7a840000-7a844000 Deferred opengl32
PE 7b000000-7b2f7000 Deferred kernelbase
PE 7b600000-7b91d000 Deferred kernel32
PE 7bc00000-7be83000 Dwarf-4 ntdll
PE 7e720000-7e724000 Deferred winex11
Threads:
process tid prio (all id:s are in hex)
00000020 (D) Z:\mnt\chromeos\MyFiles\linux\MagicaVoxel-0.99.4.2-alpha-win32\MagicaVoxel.exe
00000024 0 <==
0000011c 0
00000038 services.exe
0000003c 0
00000040 0
0000004c 0
0000006c 0
00000078 0
000000a8 0
000000c4 0
000000dc 0
00000044 winedevice.exe
00000048 0
00000054 0
00000058 0
0000005c 0
00000060 0
000000d0 0
00000064 winedevice.exe
00000068 0
00000070 0
00000074 0
0000007c 0
00000088 0
0000008c 0
00000090 0
00000094 plugplay.exe
00000098 0
000000b0 0
000000b4 0
000000b8 0
000000bc svchost.exe
000000c0 0
000000c8 0
000000cc 0
000000d4 rpcss.exe
000000d8 0
000000e0 0
000000e4 0
000000e8 0
000000ec 0
00000110 0
000000f8 conhost.exe
000000fc 0
00000100 explorer.exe
00000104 0
00000108 0
0000010c 0
System information:
Wine build: wine-7.0
Platform: i386
Version: Windows 7
Host system: Linux
Host version: 5.10.106-15270-g0b4f789ff65e
audischrauber@penguin:/mnt/chromeos/MyFiles/linux/MagicaVoxel-0.99.4.2-alpha-win32$ WINEPREFIX="/home/audischrauber/.wine-clean" wine start /unix MagicaVoxel.exe
audischrauber@penguin:/mnt/chromeos/MyFiles/linux/MagicaVoxel-0.99.4.2-alpha-win32$ wine: Unhandled page fault on execute access to 004F7000 at address 004F6FFF (thread 0108), starting debugger...
0128:fixme:imm:ImeSetActiveContext (0x5a0790, 1): stub
0128:fixme:imm:ImmReleaseContext (00010062, 005A0790): stub
0110:fixme:imm:ImeSetActiveContext (0x4b2f00, 0): stub
0110:fixme:imm:ImmReleaseContext (00020032, 004B2F00): stub
Regarding the GPU ... The chromebook has an Intel Graphics UHD 600 ... and I have an wine / MagicVoxel instance running on a ACEPC mini-pc with Intel HD Grahics 500 build-in. Therefore should not be the issue / trigger.
Is there any indication in the log ? Not sure what the dump itself is stating ...
Unfortunately, I can't tell from the output what exactly is going wrong.
The fact that you can run the program on another computer makes me suspect that the solution must be found in the Chromebook settings. Did you enable GPU acceleration for the Debian container?