King of Dragon Pass remaster doesn't start

Questions about Wine on Linux
Post Reply
b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

King of Dragon Pass remaster doesn't start

Post by b1ckw » Thu Jun 20, 2019 11:06 pm

Hello, I'm currently trying to run King of Dragon Pass remastered 1.0.7(27032) version, from GoG.
The old version works fine, but this new one doesn't.
I'm using wine 4.9 with vcrun2012 and vcrun2013, no matter what I try the log always end up the same.

Code: Select all

0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33ed18,0x00000000), stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x14ab18, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x33f3f8, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x14ab18, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x33f3f8, modes 0x99c170 partial stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33ed18,0x00000000), stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16b070, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x33f3ec, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16b070, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x33f3ec, modes 0x99cb60 partial stub!
0029:fixme:win:RegisterTouchWindow (0x30056 00000000): stub
0029:fixme:win:RegisterTouchWindow (0x1005e 00000000): stub
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xcaebf8,0x00000000), stub!
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x21113cc, 0x2141e70, 0x2141e88) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x213ca50, 43) stub
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xcaeb68,0x00000000), stub!
0009:fixme:dbghelp:elf_search_auxv can't find symbol in module
Any help will be appreciated, I've tried a lot of plugins but still had no success.

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Fri Jun 21, 2019 9:51 am

Installed dbghelp using winetricks, one of the errors went away but the problem still persists.
Forgot to say earlier, I'm using Manjaro.

Code: Select all

0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x34ed18,0x00000000), stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x166e70, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f3f8, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x166e70, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f3f8, modes 0x99c528 partial stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x34ed18,0x00000000), stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x15f2e8, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f3ec, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x15f2e8, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f3ec, modes 0x99c528 partial stub!
0029:fixme:win:RegisterTouchWindow (0x30056 00000000): stub
0029:fixme:win:RegisterTouchWindow (0x1005e 00000000): stub
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xcaebf8,0x00000000), stub!
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x21113cc, 0x2141e70, 0x2141e88) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x213ca50, 43) stub
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xcaeb68,0x00000000), stub!

User avatar
Bob Wya
Level 12
Level 12
Posts: 2778
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: King of Dragon Pass remaster doesn't start

Post by Bob Wya » Fri Jun 21, 2019 8:58 pm

b1ckw wrote:Installed dbghelp using winetricks, one of the errors went away but the problem still persists.
Forgot to say earlier, I'm using Manjaro.

Code: Select all

...
Can you re-test the game with the following Wine debug channels enabled:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll,+module
Please also include the full Wine command string you are using, to launch the game, along with your Wine terminal log.

I'd also suggest retesting with Wine Staging 4.10 (or 4.11 - when it is released, ETA this weekend).

Thanks
Bob

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Fri Jun 21, 2019 10:41 pm

Thanks for the help.
I will try the tests again when the newer version is availble.
For now, here are the tests with wine 4.9.

I'm starting with

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine wine wineboot
Enabling the debug channels as suggested

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll,+module
Than. The setup will show me some errors during vcredist 2012 step, but it finishes normally. Since I can execute the game afterwards I don't believe this is the source of the problem.

Code: Select all

wine Downloads/setup_king_of_dragon_pass_1.0.7_\(27032\).exe 2>&1 | tee kodpr.setup.log
Finally

Code: Select all

wine King\ of\ Dragon\ Pass.exe 2>&1 | tee ~/kodpr.vanillarun.log
I did a "vanilla" run this time. The logs are huge and I didn't want to include thing that might make it worse.
Thanks for help! I will try to check the logs too.

PS: Had to compress the logs, the setup log has 2+mb and the runlog 11+mb.
Attachments
kodpr.vanillarun.log.7z
game log - wine 4.9 - vanilla
(128.57 KiB) Downloaded 34 times
kodpr.setup.log.7z
setup log - wine 4.9
(75.8 KiB) Downloaded 32 times

User avatar
Bob Wya
Level 12
Level 12
Posts: 2778
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: King of Dragon Pass remaster doesn't start

Post by Bob Wya » Sat Jun 22, 2019 6:38 pm

@b1ckw

Code: Select all

79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version             : 3.0 Mesa 19.0.6.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer            : Mesa DRI Intel(R) Haswell Mobile x86/MMX/SSE2.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version            : 1.4.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version     : 1.4.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor:     : SGI.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version     : 1.4.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor:     : Mesa Project and SGI.
79955.482:0009:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: Tru
I think you might be better of installing the Intel graphics driver - rather than using Mesa modesetting.
I did that on my craptop (which also has a very old Intel graphics card).
My OpenGL support level went up to 4.3. OpenGL 3.0 will cause some issues with DirectX 9.0c (or newer) games...

You might want to install a web browser to WINEPREFIX - since something is desperately trying to open a web page:

Code: Select all

winetricks ie8
Alternatively Wine should launch a native Linux version of Firefox (via winebrowser.exe) - if you have this installed.

Bob

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Sun Jun 23, 2019 12:27 am

Unfortunately it still does not work.
On the bright side you made me realized I have been using the wrong graphic card.
Thanks again @bob !

So I updated to the correct drivers, reinstalled everything and

Code: Select all

winetricks ie8
optirun wine King\ of\ Dragon\ Pass.exe 2>&1 | tee ~/kodpr.ie8.log 
The log shrank a little bit too, so I believe we took a step in the right direction.
Also tried to run it later with vcrun2012, vcrun2013, dbghelp. It didn't work either.
Attachments
kodpr.ie8.log.7z
ie8.log - wine 4.9
(132.88 KiB) Downloaded 34 times

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Sun Jun 23, 2019 7:29 am

Running, using winxp the log got reduced again.
On GOG page it says the game needs win7 so I don't know if this will be a problem for wine.

Code: Select all

winetricks dbghelp ie8
wine King\ of\ Dragon\ Pass.exe
output:

Code: Select all

0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x34ed38,0x00000000), stub!
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x34ed28,0x00000000), stub!
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xdbebf8,0x00000000), stub!
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x22213cc, 0x2251e70, 0x2251e88) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x224ca50, 43) stub
0029:fixme:win:EnumDisplayDevicesW ((null),0,0xdbeb68,0x00000000), stub!
Full log uploaded.
Edit: Sent the wrong log, deleted it and sent the correct winxp one.
Attachments
kodpr.xpfull.log.7z
Wine 4.9 - winxp dbghelp ie8
(127.34 KiB) Downloaded 33 times

User avatar
Bob Wya
Level 12
Level 12
Posts: 2778
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: King of Dragon Pass remaster doesn't start

Post by Bob Wya » Sun Jun 23, 2019 8:09 am

@b1ckw,

Hmmm.... Tricky issue. :cry:
The logs have no indication of what is going wrong, what-so-ever.

Your Nvidia driver is very old... But I can't see that being an issue with a pure DirectX 9.0a game.

At this point I'd recommend filing a bug - on the WineHQ Bugzilla.
You can attach all the logs (since they are helpfully labelled).

It's recommended to file a bug against the current release of Wine (or Wine Staging)...
The current release being 4.11 ...

Sorry I couldn't help further!
Bob

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Sun Jun 23, 2019 9:02 am

It's all right.
When I update to the newest version I will file the bug report.
Thanks for all the help @bob, I mean it :D.

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Tue Jul 02, 2019 4:55 pm

Updated to Wine 4.11 . Unfortunately the game still doesn't work.
On the bright side, it no longer crashes, but still get's frozen in a black screen and I have to ctrl + c on terminal to close it.
The errors log also changed. Simple log will be here on post, full log is attached file.

Code: Select all

optirun wine King\ of\ Dragon\ Pass.exe 2>&1 | tee ~/kodpr.simple.log 
export WINEDEBUG=+timestamp,+tid,+wgl,+loaddll,+module
optirun wine King\ of\ Dragon\ Pass.exe 2>&1 | tee ~/kodpr.full.log 
This is the simple log :

Code: Select all

0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16e768, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f458, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16e768, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f458, modes 0xaabd38 partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16f140, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f44c, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16f140, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x34f44c, modes 0xaabd38 partial stub!
0029:fixme:win:RegisterTouchWindow (0x30056 00000000): stub
0029:fixme:win:RegisterTouchWindow (0x1005e 00000000): stub
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x22213cc, 0x2251e70, 0x2251e88) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x224ca50, 43) stub
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x37fe30d, 0x3b70cf0, 0x3b70d08) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x3b11a99, 43) stub
nt main() started
0029:fixme:msvcp:locale_operator_equal (00DBF318 76833AD4) stub
0029:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00DBF0AC 1 C) semi-stub
0029:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00DBF188 1 C) semi-stub
0029:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (00DBEE6C 1 C) semi-stub
0029:fixme:msvcp:locale_operator_equal (00DBEEE8 76833AD4) stub
Screen size at run = 1024 x 768
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x20f7c8, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0xe99fe20, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x20f7c8, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0xe99fe20, modes 0xabc718 partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16ef88, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0xe99fe20, modes (nil) partial stub!
0009:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x16ef88, format DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0xe99fe20, modes 0xabc718 partial stub!
Screen resize to 1024 x 768
0009:fixme:d3d9:D3DPERF_GetStatus (void) : stub
0029:fixme:win:RegisterTouchWindow (0x80060 00000000): stub
0009:fixme:dwmapi:DwmIsCompositionEnabled 0E99FDD8
0009:fixme:d3d9:D3DPERF_GetStatus (void) : stub
0009:fixme:d3d9:Direct3DShaderValidatorCreate9 stub
<Screen> 1024x768 96dpi detect diagonal: 13.3"
!!! USING 1024 texture!
0039:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0039:fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet
0039:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #3:
0039:fixme:d3d_shader:print_glsl_info_log     Vertex info
0039:fixme:d3d_shader:print_glsl_info_log     -----------
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[1].zw" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[2]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[3]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[4]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[5]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[6]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[7]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[8]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[9]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[10]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[11]" might be used before being initialized
WIDTH = 1024, HEIGHT = 768 || WIDTH = 1024, HEIGHT = 768
[HCSDK] OpenGL version: 2.0 
kdsch 1.3.0-12-96 
kdsch aid 330 
kdsch did WIN-S-1-5-21-0-0-0-1000 
[GOG] GetUserPath - ram://profiles/0/
[GOG] GetUserPath - ram://profiles/0/
[GOG] GetUserPath - ram://profiles/0/
0029:fixme:quartz:MediaSeeking_SetTimeFormat Unhandled time format {7b785570-8c82-11cf-bc0c-00aa00ac74f6}
0029:err:ole:CoGetClassObject class {187463a0-5bb7-11d3-acbe-0080c75e246e} not registered
0029:err:ole:CoGetClassObject no class object {187463a0-5bb7-11d3-acbe-0080c75e246e} could be created for context 0x1
0039:fixme:d3d_shader:print_glsl_info_log Info log received from GLSL shader #10:
0039:fixme:d3d_shader:print_glsl_info_log     Vertex info
0039:fixme:d3d_shader:print_glsl_info_log     -----------
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[2].zw" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[3]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[4]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[5]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[6]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[7]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[8]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[9]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[10]" might be used before being initialized
0039:fixme:d3d_shader:print_glsl_info_log     0(22) : warning C7050: "vs_out[11]" might be used before being initialized
CUIController::addSubview
transitionToAft befor destr
Click “Info” to learn how to play this unique storytelling game., BCCRenderToTexture::Render
CRenderToTexture::Render END 
CRenderToTexture::Render
CRenderToTexture::Render END 
Attachments
kodpr.full.log.7z
kodpr.full.log
(215.01 KiB) Downloaded 14 times

User avatar
Bob Wya
Level 12
Level 12
Posts: 2778
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: King of Dragon Pass remaster doesn't start

Post by Bob Wya » Thu Jul 04, 2019 2:46 pm

b1ckw wrote:Updated to Wine 4.11 . Unfortunately the game still doesn't work.
On the bright side, it no longer crashes, but still get's frozen in a black screen and I have to ctrl + c on terminal to close it.
The errors log also changed. Simple log will be here on post, full log is attached file.
...
I've had a good look at those 2 logs.
I'm puzzled as to why the game is reporting an OpenGL version - yet only loading DirectX 9.0 libraries...

I have to be honest... I know how flaky Nvidia Prime can be - from reading other peoples complaints online!
So that would probably be my first thought. Your symptoms do read like a text book example of this sort of issue.

Another angle, of approach, might be to compare Wine terminal logs from the old (non-remastered?) and 1.0.7 (27032) versions of King of Dragon Pass.

At this point I'd probably file a WineHQ bug...
I'd perhaps expand the Wine debug channels to:

Code: Select all

export WINEDEBUG=+timestamp,+tid,+wgl,+d3d,+d3d9,+opengl,+seh,+loaddll,+module
The log file would need to be highly compressed, e.g.:

Code: Select all

xz -9 -e wine_4.11_kodpr_log.txt
- as the WineHQ Bugzilla only supports attachments up to 5000 Kbytes.

If you file a bug, please link to it from this forum thread.

Sorry, I couldn't help much with this issue... :cry:

Bob

b1ckw
Level 1
Level 1
Posts: 8
Joined: Thu Jun 20, 2019 10:52 pm

Re: King of Dragon Pass remaster doesn't start

Post by b1ckw » Fri Jul 05, 2019 2:50 pm

Bug reported
https://bugs.winehq.org/show_bug.cgi?id=47460

Thanks again @Bob, your help was much appreciated. :D

User avatar
Bob Wya
Level 12
Level 12
Posts: 2778
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: King of Dragon Pass remaster doesn't start

Post by Bob Wya » Fri Jul 05, 2019 2:59 pm

b1ckw wrote:Bug reported
https://bugs.winehq.org/show_bug.cgi?id=47460

Thanks again @Bob, your help was much appreciated. :D
That's a good quality bug report. Hopefully someone will pick it up (soon)!! 8)

Thanks and good luck!
Bob

Post Reply