You are not logged in.

#1 2021-08-12 02:25:04

b0ss_
Member
Registered: 2021-01-16
Posts: 30

[SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Hello fellas. I've been having this issue with Wine since one or two months ago. Everytime I try to open something with Wine (only Wine, Proton works fine) I throws one of this two error:

 $ wine encryptor.exe
wine: created the configuration directory '/home/b0ss/.wine'
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)
0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0048:err:winediag:nodrv_CreateWindow Unknown error (998).
0048:err:systray:initialize_systray Could not create tray window
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002

or...

wine: could not load kernel32.dll, status c0000135

I'm using an Optimus setup with an Intel i7-7500 HD Graphics 620 and Nvidia 930MX.

I've read this post and followed the steps that the OP followed, but nothing.
I'm using dwm, starting X with startx.
Output of

loginctl show-session $XDG_VTNR
Id=1
User=1000
Name=b0ss
Timestamp=Sun 2021-08-08 23:34:51 -04
TimestampMonotonic=42285615
VTNr=1
Seat=seat0
TTY=tty1
Remote=no
Service=login
Scope=session-1.scope
Leader=477
Audit=1
Type=tty
Class=user
Active=yes
State=active
IdleHint=yes
IdleSinceHint=1628480100433057
IdleSinceHintMonotonic=0
LockedHint=no

Output of

lspci -k
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: i915
	Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 201f
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
	Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
	Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: ASUSTeK Computer Inc. Device 1320
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 930MX] (rev a2)
	Subsystem: ASUSTeK Computer Inc. Device 125e
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 200f
	Kernel driver in use: r8169
	Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
	Subsystem: Lite-On Communications Inc Device 1724
	Kernel driver in use: rtl8723be
	Kernel modules: rtl8723be

Output of

glxinfo -B

Intel output:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
    Version: 21.1.6
    Accelerated: yes
    Video memory: 3072MB
    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) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.6
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 21.1.6
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 21.1.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

From the Nvidia card:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1997 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce 930MX/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.57.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 470.57.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.57.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Output of

glxinfo32 -B

Intel output:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
    Version: 21.1.6
    Accelerated: yes
    Video memory: 3072MB
    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) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.6
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 21.1.6
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 21.1.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Output from the Nvidia card:

ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
    Version: 21.1.6
    Accelerated: yes
    Video memory: 3072MB
    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) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.1.6
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 21.1.6
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 21.1.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

My .xinitr:

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then

    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then


    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

wal -R &
picom &
setxkbmap latam &
dwmblocks &
#exec dbus-launch --exit-with-session dwm
exec dwm

That's all for now. Thank you guys in advance.

Last edited by b0ss_ (2021-08-19 17:58:48)

Offline

#2 2021-08-12 09:34:36

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,814

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

glxinfo output indicates you are using xf86-video-intel.

Try removing it (and any *.conf files you created for it)
Does it work then ?

Are wine-gecko and wine-mono present ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-08-12 18:10:58

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

I do indeed have xf86-video-intel. I removed it with

sudo pacman -Rnsc xf86-video-intel

.

Again, I tried to open a program I wrote in .NET back in the day (when I started using Arch, this program worked 100% of the time).

 $ wine encryptor.exe
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
wine: could not load kernel32.dll, status c0000135

And it crashes. I tried to create a new prefix with

WINEARCH=win32 WINEPREFIX=~/clean_win32 winecfg

. This is the output:

wine: created the configuration directory '/home/b0ss/clean_win32'
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)
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Unknown error (998).
0050:err:systray:initialize_systray Could not create tray window
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0050:err:ole:apartment_get_local_server_stream Failed: 0x80004002

Same errors as before.

Output of

pacman -Qs nvidia
local/bumblebee 3.2.1-21
    NVIDIA Optimus support for Linux through VirtualGL
local/egl-wayland 1.1.7-1
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 470.57.02-1
    NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 470.57.02-1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/nvidia 470.57.02-9
    NVIDIA drivers for linux
local/nvidia-dkms 470.57.02-3
    NVIDIA drivers - module sources
local/nvidia-lts 1:470.57.02-7
    NVIDIA drivers for linux-lts
local/nvidia-utils 470.57.02-3
    NVIDIA drivers utilities
local/opencl-nvidia 470.57.02-3
    OpenCL implemention for NVIDIA

Output of

pacman -Qs wine
local/lib32-vkd3d 1.2-2
    Direct3D 12 to Vulkan translation library By WineHQ
local/vkd3d 1.2-1
    Direct3D 12 to Vulkan translation library By WineHQ
local/wine 6.14-1
    A compatibility layer for running Windows programs
local/winetricks 20210206-1
    Script to install various redistributable runtime libraries in Wine.

If anything else is needed, ask me and I'll give the information. Thanks in advance.

Offline

#4 2021-08-12 18:41:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,037

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Any change to xf86-video-intel will only be relevant on xorg restart fwiw.

That said this doesn't necessarily have to be a graphics issue. And the sudden rise of these threads sound like a potential wine 6.14 regression. Maybe give wine-staging a shot?

Offline

#5 2021-08-12 19:48:58

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

I restarted X (killed the X session and startx'd again). I'll install wine-staging and try it out.

Uninstalled wine with

pacman -Rnsc wine

and installed wine-staging from multilib.

 $ wine --version
wine-6.14 (Staging)
 $ wine encryptor.exe
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
0040: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 Unknown error (998).
0040:err:systray:initialize_systray Could not create tray window
0040:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0040:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0040:err:ole:apartment_get_local_server_stream Failed: 0x80004002

Creating a prefix with the same command

 WINEARCH=win32 WINEPREFIX=~/clean_win32 winecfg 
 $ WINEARCH=win32 WINEPREFIX=~/clean_win32 winecfg
wine: created the configuration directory '/home/b0ss/clean_win32'
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:LdrInitializeThunk wine-staging 6.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
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)
0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0048:err:winediag:nodrv_CreateWindow Unknown error (998).
0048:err:systray:initialize_systray Could not create tray window
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002

I tried wine-staging when this problem started to appear months ago. DIdn't work.

Will give any info if asked. Thanks guys!

Offline

#6 2021-08-13 12:36:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,814

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

The output of pacman -Qs wine in #3 indicates you don't have wine-gecko and wine-mono installed .

Normally wine detects wine-gecko is not present and shows a prompt on screen asking if you want to download wine-gecko but on your system this prompt doesn't show for some reason .

This is the same situation as occurrred in the other thread.
Try installing wine-gecko , then check if you get further and if you do also install wine-mono .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2021-08-13 15:27:35

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

I installed wine-mono and wine-gecko and tried to open my program:

 $ wine encryptor.exe
wine: created the configuration directory '/home/b0ss/.wine'
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)
0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0048:err:winediag:nodrv_CreateWindow Unknown error (998).
0048:err:systray:initialize_systray Could not create tray window
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002

Tried to open my KOToR installer:

 $ wine setup_star_wars_-_knights_of_the_old_republic_1.03_\(29871\).exe
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
wine: could not load kernel32.dll, status c0000135

Tried creating a wine prefix with

WINEARCH=win32 WINEPREFIX=~/clean_win32 winecfg
 $ WINEARCH=win32 WINEPREFIX=~/clean_win32 winecfg
wine: created the configuration directory '/home/b0ss/clean_win32'
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)
0048:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0048:err:winediag:nodrv_CreateWindow Unknown error (998).
0048:err:systray:initialize_systray Could not create tray window
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002

It didn't work. As always, if any info is needed, I'll bring it to you guys. Thanks in advance!

Offline

#8 2021-08-18 05:56:19

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

I made a quick discovery. Turns out that if I try to execute a ported game from Windows via a shell script, 8/10 times it'll work. I got this russian ported game for Linux. The game worked with the start script that came with it, so I tried copying the contents of the windows folder inside the prefix. It didn't work and it crashed my laptop. It's weird, a wineboot.exe process seems to replicate itself a lot of times and it consumes all my memory and the laptop friezes. I deleted the prefix which I copied the windows folder from the russian game. I don't know why it does that, but at least I know that the issue is on some env var? I don't know guys, and I'd like to receive some help.

Thanks.

EDIT: I tried installing wine, wine-mono, and winetricks in a server I have running besides my laptop. Used startx to get a X dwm session and tried to open my .NET program. It worked flawlessly. At this point, I believe there's something wrong with my laptop install, but I don't know what it might be. I need help sad

Last edited by b0ss_ (2021-08-18 06:23:19)

Offline

#9 2021-08-18 22:17:10

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

I removed and reinstalled Wine at least three times with different pacman -R() options.

-Rsc > -Rsccu > -Rsscc

. Now it's working. Don't ask me why, I don't really know. But it's working again.

Solved? EDIT: No.

I had updated my system with pacman -Syu and it wasn't loading some drivers (since there was a kernel upgrade). While I was playing Knights of The Republic, I tried to use Bumblebee to run games with my nvidia card (I have an Optimus setup). The optirun command said that there was no driver loaded, so I tried to load the nvidia driver. I couldn't load it, so I figured I had to reboot.

I rebooted and Wine is dead again. I'm thinking about reinstalling Arch...

Last edited by b0ss_ (2021-08-19 01:08:00)

Offline

#10 2021-08-19 10:48:40

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,814

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Since we don't know the cause , this could come back after reinstall .

Bumblebee was never offically supported by nvidia and is often the cause of problems.

I suggest you remove bumblebee and if present also bbswitch temporarily and try the prime render method which has been offically supported by nvidia since 435.xx driver .


reboot to ensure there's no trace of those left, then try to create 2 new wineprefixes.

$ env WINEPREFIX=~/.customprefix wineboot -u
$ prime-run env WINEPREFIX=~/.customprefix-prime wineboot -u

The first will use the intel card, the 2nd command will tell wine to use the nvidia card.

Last edited by Lone_Wolf (2021-08-19 10:49:00)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#11 2021-08-19 17:56:02

b0ss_
Member
Registered: 2021-01-16
Posts: 30

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Lone_Wolf wrote:

Since we don't know the cause , this could come back after reinstall .

Bumblebee was never offically supported by nvidia and is often the cause of problems.

I suggest you remove bumblebee and if present also bbswitch temporarily and try the prime render method which has been offically supported by nvidia since 435.xx driver .


reboot to ensure there's no trace of those left, then try to create 2 new wineprefixes.

$ env WINEPREFIX=~/.customprefix wineboot -u
$ prime-run env WINEPREFIX=~/.customprefix-prime wineboot -u

The first will use the intel card, the 2nd command will tell wine to use the nvidia card.

Yeah, last night I realized the problem were the nvidia drivers. I blacklisted them and started using Nouveau drivers. But now that I uninstalled Bumblebee and started using Prime-run, I can now use Wine with my NVIDIA GPU and with the propietary drivers. Thanks man!

Offline

#12 2023-09-08 20:31:04

xerostomus
Member
Registered: 2023-09-08
Posts: 1

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Dear Sirs,
I found an answer that helped me:
https://forum.manjaro.org/t/wine-could- … 35/69811/2
My problem was that I reused the old ~/.wine directory.
So I had to first rename the old .wine directory,
wineboot --init
it made a new .wine
and then I moved my old programs into new .wine.
I hope this will help somebody too. :-)
jk

Offline

#13 2023-09-08 22:20:25

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,635

Re: [SOLVED-DRIVER ISSUE] Wine Kernel32.dll issue (not a double)

Closing this old solved topic.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB