error with winediag (nodrv_CreateWindow)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jb_usmb
Level 1
Level 1
Posts: 6
Joined: Wed Sep 15, 2021 9:14 am

error with winediag (nodrv_CreateWindow)

Post by jb_usmb »

Hello,

I am using wine to run a windows software on a Linux (Ubuntu 20.04) platform.
Since a few days, it stopped working.

An error message is displayed, related to winediag and a problem to load a driver:

Code: Select all

$ wine TerrameterToolbox_Setup.2.0.2.0.exe 
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d8:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
00d8:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d8:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d8:fixme:win:DisableProcessWindowsGhosting : stub
00d8:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d8:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing"): stub
00d8:fixme:rstrtmgr:RmStartSession 0049F3FC, 0, 0049F400 stub!
00d8:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d8:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing Terrameter LS Toolbox."): stub
00d8:fixme:rstrtmgr:RmEndSession 3735928559 stub!
00d8:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
I could not find any solution after searching for these error messages in existing forums.
The version of wine installed on my machine is wine-7.0.

Could you provide me some help or tips to solve this issue?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: error with winediag (nodrv_CreateWindow)

Post by jkfloris »

Does a clean wineprefix work?

Code: Select all

WINEPREFIX=${HOME}/wine-test wine notepad.exe
What graphics card(s) do you have?

Code: Select all

inxi -G
jb_usmb
Level 1
Level 1
Posts: 6
Joined: Wed Sep 15, 2021 9:14 am

Re: error with winediag (nodrv_CreateWindow)

Post by jb_usmb »

jkfloris wrote: Sat Jan 29, 2022 7:12 am Does a clean wineprefix work?

Code: Select all

WINEPREFIX=${HOME}/wine-test wine notepad.exe
Yes it works (with a number of err and fixme messages, though)

Code: Select all

$ WINEPREFIX=${HOME}/wine-test wine notepad.exe
wine: created the configuration directory '/home/josue/wine-test'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0048:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0050:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0080:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0080:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0048:err:ole:start_rpcss Failed to open RpcSs service
0048:err:ole:start_rpcss Failed to open RpcSs service
0050:err:ole:start_rpcss Failed to open RpcSs service
0050:err:ole:start_rpcss Failed to open RpcSs service
0088:fixme:file:NtLockFile I/O completion on lock not implemented yet
0088:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
0088:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:fixme:file:NtLockFile I/O completion on lock not implemented yet
00a8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00a8:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:err:mscoree:LoadLibraryShim error reading registry key for installroot
00a8:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
00a8:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0088:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
00d0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d0:err:winediag:nodrv_CreateWindow The explorer process failed to start.
wine: configuration in L"/home/josue/wine-test" has been updated.
011c:fixme:imm:ImeSetActiveContext (0x24a2f8, 1): stub
011c:fixme:imm:ImmReleaseContext (00010056, 0024A2F8): stub
0124:fixme:imm:ImeSetActiveContext (0x3dc80, 0): stub
0124:fixme:imm:ImmReleaseContext (0000000000020026, 000000000003DC80): stub
jkfloris wrote: Sat Jan 29, 2022 7:12 am What graphics card(s) do you have?

Code: Select all

inxi -G
Nvidia Quadro T1000

Code: Select all

$ inxi -G
Graphics:  Device-1: Intel UHD Graphics driver: i915 v: kernel 
           Device-2: NVIDIA TU117GLM [Quadro T1000 Mobile] driver: nvidia v: 470.86 
           Display: x11 server: X.Org 1.20.13 driver: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: Quadro T1000/PCIe/SSE2 v: 4.6.0 NVIDIA 470.86
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: error with winediag (nodrv_CreateWindow)

Post by jkfloris »

Although I'm not entirely sure, it looks like bug 51210
Can you try:

Code: Select all

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine TerrameterToolbox_Setup.2.0.2.0.exe
jb_usmb
Level 1
Level 1
Posts: 6
Joined: Wed Sep 15, 2021 9:14 am

Re: error with winediag (nodrv_CreateWindow)

Post by jb_usmb »

jkfloris wrote: Sun Jan 30, 2022 6:29 pm Although I'm not entirely sure, it looks like bug 51210
Can you try:
Thank you for your help, unfortunately it does not work:

Code: Select all

$ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine TerrameterToolbox_Setup.2.0.2.0.exe
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:win:DisableProcessWindowsGhosting : stub
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing"): stub
00d4:fixme:rstrtmgr:RmStartSession 0049F3FC, 0, 0049F400 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing Terrameter LS Toolbox."): stub
00d4:fixme:rstrtmgr:RmEndSession 3735928559 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
I also tried to use the fresh wine-test prefix, but it is exactly the same:

Code: Select all

$ WINEPREFIX=${HOME}/wine-test VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json wine TerrameterToolbox_Setup.2.0.2.0.exe
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
00d4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00d4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
00d4:fixme:win:DisableProcessWindowsGhosting : stub
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing"): stub
00d4:fixme:rstrtmgr:RmStartSession 0049F3FC, 0, 0049F400 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
00d4:fixme:graphics:ShutdownBlockReasonCreate (00000000, L"Installing Terrameter LS Toolbox."): stub
00d4:fixme:rstrtmgr:RmEndSession 3735928559 stub!
00d4:fixme:graphics:ShutdownBlockReasonDestroy (00000000): stub
Should I try to downgrade wine? It was updated on the 24th Jnuary from 6.0.2 (not completely sure of this) to 7.0.0, and I strongly suspect this is the reason of the current problem.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: error with winediag (nodrv_CreateWindow)

Post by jkfloris »

Try to find the latest, working version of Wine by installing older winehq-devel packages.
For example
Try version 6.12 first.
If that version works then the problem is between 6.12 and 7.0.
Then try version 6.18. If that version no longer works, then the problem is between 6.12 and 6.18.
Repeat this until you have found the last version that works.

Code: Select all

# You can install a wine version with:
sudo apt install winehq-devel=6.12~focal-1 wine-devel=6.12~focal-1 wine-devel-amd64=6.12~focal-1 wine-devel-i386:i386=6.12~focal-1
# You can display the available versions with:
apt policy winehq-devel
Create a bug report: https://bugs.winehq.org/
This allows the developers to look at the problem.
jb_usmb
Level 1
Level 1
Posts: 6
Joined: Wed Sep 15, 2021 9:14 am

Re: error with winediag (nodrv_CreateWindow)

Post by jb_usmb »

Thank you very much for your detailed help.

It works with version 6.12, 6.18, and 6.22
It fails with version 6.23.
jkfloris wrote: Mon Jan 31, 2022 5:41 am Create a bug report: https://bugs.winehq.org/
This allows the developers to look at the problem.
I created the bug report here, hope this is ok: https://bugs.winehq.org/show_bug.cgi?id=52500
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: error with winediag (nodrv_CreateWindow)

Post by jkfloris »

Looks good. Hopefully a developer will know what's going wrong.
Locked