Clean install of wine-stable 8.0 fails to start explorer

Questions about Wine on Linux
Locked
werty
Newbie
Newbie
Posts: 3
Joined: Sat Feb 04, 2023 5:38 am

Clean install of wine-stable 8.0 fails to start explorer

Post by werty »

Installed version: wine-stable 8.0.0.0~jammy-1 amd64
winecfg output:

Code: Select all

0158:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0158:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
I do not know what other information to provide, please ask for it so I can add it
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Clean install of wine-stable 8.0 fails to start explorer

Post by jkfloris »

Perhaps one of the following commands will provide more information:

Code: Select all

dpkg -l | grep wine

glxinfo -B

inxi -Gxx
werty
Newbie
Newbie
Posts: 3
Joined: Sat Feb 04, 2023 5:38 am

Re: Clean install of wine-stable 8.0 fails to start explorer

Post by werty »

dpkg -l | grep wine
returned

Code: Select all

ii  wine-stable                                                 8.0.0.0~jammy-1                             amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-amd64                                           8.0.0.0~jammy-1                             amd64        WINE Is Not An Emulator - runs MS Windows programs
ii  wine-stable-i386:i386                                       8.0.0.0~jammy-1                             i386         WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging                                                7.6~jammy-1                                 amd64        WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging-amd64                                          7.6~jammy-1                                 amd64        WINE Is Not An Emulator - runs MS Windows programs
rc  wine-staging-i386:i386                                      7.6~jammy-1                                 i386         WINE Is Not An Emulator - runs MS Windows programs
ii  winehq-stable                                               8.0.0.0~jammy-1                             amd64        WINE Is Not An Emulator - runs MS Windows programs
glxinfo -B
returned

Code: Select all

name of display: :1
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics (CML GT2) (0x9bc4)
    Version: 22.2.5
    Accelerated: yes
    Video memory: 63969MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.2.5
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.2.5
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.2.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

inxi -Gxx
returned

Code: Select all

Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Lenovo driver: i915
    v: kernel ports: active: eDP-1 empty: DP-1, DP-2, DP-3, HDMI-A-1, HDMI-A-2
    bus-ID: 00:02.0 chip-ID: 8086:9bc4
  Device-2: NVIDIA TU106GLM [Quadro RTX 3000 Mobile / Max-Q] vendor: Lenovo
    driver: nvidia v: 525.78.01 pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.0
    chip-ID: 10de:1f36
  Device-3: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-8:2
    chip-ID: 5986:9106
  Display: x11 server: X.Org v: 1.21.1.3 compositor: gnome-shell v: 42.5
    driver: X: loaded: modesetting unloaded: fbdev,vesa gpu: i915
    display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 98
  Monitor-1: eDP-1 res: 3840x2160 dpi: 284 diag: 395mm (15.5")
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 22.2.5
    direct render: Yes
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Clean install of wine-stable 8.0 fails to start explorer

Post by jkfloris »

Looks like bug 51210.
Could you start winecfg with:

Code: Select all

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json winecfg
Keep in mind only your Intel GPU is used.

To use the NVIDIA GPU, something like NVIDIA Prime have to be used. Probably something like:

Code: Select all

export __NV_PRIME_RENDER_OFFLOAD=1
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
winecfg
werty
Newbie
Newbie
Posts: 3
Joined: Sat Feb 04, 2023 5:38 am

Re: Clean install of wine-stable 8.0 fails to start explorer

Post by werty »

Thank you
winecfg works with

Code: Select all

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json winecfg
but does not work with the second method.
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Clean install of wine-stable 8.0 fails to start explorer

Post by jkfloris »

but does not work with the second method.
Unfortunately, I have no experience with Nvidia Prime/ Optimus on Ubuntu,
so I can't say if Ubuntu's instructions will work.

Make sure the Nvidia card is shown when you run glxinfo -B.

Code: Select all

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia glxinfo -B
Locked