Cannot run any apps, including native ones, on Ubuntu 22.04. (Wine 7.01)

Questions about Wine on Linux
Locked
Whooser
Newbie
Newbie
Posts: 2
Joined: Tue Nov 08, 2022 10:25 am

Cannot run any apps, including native ones, on Ubuntu 22.04. (Wine 7.01)

Post by Whooser »

Hi, I am unable to run any apps on Wine 7.01 after both a fresh install or reboot. Any time I run any command or try to run any app, I get the following error, in this example winecfg:

Code: Select all

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0154:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0154:err:winediag:nodrv_CreateWindow The explorer process failed to start.
The same errors occur on version 6.02 and on 7.20. Please help me with this issue, I have searched extensively on the internet and on this forum and nobody seems to have a solution. I can provide any additional information if necessary.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot run any apps, including native ones, on Ubuntu 22.04. (Wine 7.01)

Post by jkfloris »

Unfortunately, I can't reproduce the problem on an Ubuntu 22.04 installation in Virtualbox.
Does the following command give more information?

Code: Select all

WINEDEBUG=fixme+all WINEPREFIX=~/test wine winecfg
# and
inxi -G
Whooser
Newbie
Newbie
Posts: 2
Joined: Tue Nov 08, 2022 10:25 am

Re: Cannot run any apps, including native ones, on Ubuntu 22.04. (Wine 7.01)

Post by Whooser »

jkfloris wrote: Fri Nov 11, 2022 12:16 pm Unfortunately, I can't reproduce the problem on an Ubuntu 22.04 installation in Virtualbox.
Does the following command give more information?

Code: Select all

WINEDEBUG=fixme+all WINEPREFIX=~/test wine winecfg
# and
inxi -G
As for the first debug command:

Code: Select all

ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: created the configuration directory '/home/gabe/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)
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.
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.
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.
0088:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0088:err:winediag:nodrv_CreateWindow The explorer process failed to start.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
00a0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00a0:err:winediag:nodrv_CreateWindow The explorer process failed to start.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
wine: configuration in L"/home/gabe/test" has been updated.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
00f4:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00f4:err:winediag:nodrv_CreateWindow The explorer process failed to start.
And for my graphics information:

Code: Select all

Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] driver: nvidia
    v: 515.65.01
  Device-3: Chicony USB2.0 Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~144Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 22.0.5
Last edited by Whooser on Sat Nov 12, 2022 11:14 am, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot run any apps, including native ones, on Ubuntu 22.04. (Wine 7.01)

Post by jkfloris »

Does Wine work on the nvidia card?
I'm not sure how to use exactly the other gpu, 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
WINEDEBUG=fixme+all WINEPREFIX=~/test wine winecfg
Locked