CrealityScan not working after updating from 22.04 to 24.04

Questions about Wine on Linux
Locked
frmdstryr
Level 1
Level 1
Posts: 5
Joined: Mon Aug 19, 2024 4:30 pm

CrealityScan not working after updating from 22.04 to 24.04

Post by frmdstryr »

I was previously able to run CrealityScan with wine 9.12 on KDE Neon 22.04 and edit scans. After updating to 24.04 and wine 9.20 the application no longer starts. It installs fine and opens but then exits. I believe it is an chromium based electrion app.

The log shows a few errors and warnings, unfortunately I don't have an old log to compare with.

Code: Select all

018c:err:ole:com_get_class_object class {7ab36653-1796-484b-bdfa-e74f1db7c1dc} not registered
018c:err:ole:create_server class {7ab36653-1796-484b-bdfa-e74f1db7c1dc} not registered
018c:err:ole:com_get_class_object no class object {7ab36653-1796-484b-bdfa-e74f1db7c1dc} could be created for context 0x5
0120:err:ole:com_get_class_object class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered
0120:err:ole:com_get_class_object class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered
0120:err:ole:create_server class {aa509086-5ca9-4c25-8f95-589d3c07b48a} not registered
0120:fixme:ole:com_get_class_object CLSCTX_REMOTE_SERVER not supported
0120:err:ole:com_get_class_object no class object {aa509086-5ca9-4c25-8f95-589d3c07b48a} could be created for context 0x17
MESA-INTEL: warning: cannot initialize blitter engine
0244:err:d3d:wined3d_context_gl_set_pixel_format wglSetPixelFormatWINE failed to set pixel format 1 on device context 0000000012010057.
I don't think it is a graphics driver issue because I can play games (Battlefield 3 & 4) using proton fine. I also followed wine's guide for d3d and it shows Direct rendering enabled with Mesa. My computer has an 12th gen Intel cpu with an Intel Arc dgpu.

Full log
winegui.tar.gz
winegui llog
(3.44 KiB) Downloaded 1218 times
Any help is appreciated.
frmdstryr
Level 1
Level 1
Posts: 5
Joined: Mon Aug 19, 2024 4:30 pm

Re: CrealityScan not working after updating from 22.04 to 24.04

Post by frmdstryr »

I used winegui to install DirectX v9/v10v/11 (Vulkan) and now it gets further and I no longer see the following error

Code: Select all

0244:err:d3d:wined3d_context_gl_set_pixel_format wglSetPixelFormatWINE failed to set pixel format 1 on device context 0000000012010057
however it still does not start but shows different errors and still does not start.

Code: Select all

err:   D3D11VideoDevice::GetVideoDecoderProfileCount: Stub
0180:err:vulkan:X11DRV_vulkan_surface_create Failed to allocate client window for hwnd=0x1007a
err:   D3D11SwapChain: Failed to recreate surface: VK_ERROR_OUT_OF_HOST_MEMORY
err:   DXGI: CreateSwapChainForHwnd: Failed to create swap chain, hr -2147467259
Full log
winegui-2.tar.gz
(5.09 KiB) Downloaded 1287 times
Not sure why it says out of memory, the system has 64GB ram and the card has 4GB VRAM.
frmdstryr
Level 1
Level 1
Posts: 5
Joined: Mon Aug 19, 2024 4:30 pm

Re: CrealityScan not working after updating from 22.04 to 24.04

Post by frmdstryr »

I used protontricks to install it into the same prefix as one of the Battlefield apps and now it works. Not sure what is different between that and one created with winegui..
frmdstryr
Level 1
Level 1
Posts: 5
Joined: Mon Aug 19, 2024 4:30 pm

Re: CrealityScan not working after updating from 22.04 to 24.04

Post by frmdstryr »

It seems the problem was I needed to "Install core fonts" with winetricks/winegui, none of the other packages matter.

Edit: Installing the vulkan DirectX package fixes an warning popup about an old graphics driver in the application.
Locked