installing dependency
due to the wine-wow64 is still in the experimental stage at the time, we not use it, so we'll need to enable multilib.
the following packages are required for my current configuration, you may adjust for yours:
paru -S wine wine-mono winetricks lib32-pipewire lib32-libpulse lib32-mesa lib32-vulkan-radeon
optional, if you've dual monitor setup:
pacman -S lib32-libxinerama lib32-libxrandr
change default wine prefix to 32-bit mode:
rm -rf ~/.wine
WINEARCH=win32 winecfg
needed to solve rendering problem:
winetricks dinput8 dxvk d3dx9
known limitation on DWM
- can't move the wine window into other connected monitor.
- problem on dual monitor setup, the cursor is somehow stuck when running nfsu2 and not visible on top of winecfg's window.
- switching from one tag to another cause the glitch on the nfsu2 window.
point 2 and 3 can be solved by enable Emulate a virtual desktop
option on winecfg
, thanks to reddit comment:
Did you try the "Emulate a virtual desktop" option? Wine is generally pretty bad on dwm for many reasons, but mostly because it tries to be a window manager on its own.
screenshot of discussion on IRC:
You might have no problem using a desktop environment or using automation scripts like lutris provides, but my philosophy is to be minimalist, so maybe I'll find a solution somehow to fix this and update the content of this article.
uninstall
remove the previously installed pacman package, and remove the default wine prefix (~/.wine) directory, and other wine prefix if any
reference
- download NFSU2
- download patch to fix some bug
- feel free to consult the arch wiki for the rest of things that didn't cover in this post.