How to force dwmiscompositionenabled as disabled.

Questions about Wine on Linux
Locked
marcosfs93
Newbie
Newbie
Posts: 4
Joined: Sat Apr 23, 2022 11:42 pm

How to force dwmiscompositionenabled as disabled.

Post by marcosfs93 »

I'm trying to run a game using Wine, and the game launcher opens if Wine is running as Windows XP, but when I try to run the game as Windows 7 and Win 10, Wine shows the error:

Backtrace:
=>0 0x000000025d7419eb DwmIsCompositionEnabled+0x5b() in dwmapi (0x000000000335c050)
0x000000025d7419eb dwmapi+0x19eb: movl %eax,(%rbx)

After reading a little about these resources in Microsoft docs I understand that the DWM could not be disabled after Windows 8 and later, but at least a still want to know "how to disable the DWM in Windows 7 mode in Wine"

In Windows XP mode there is not a DWM component to be loaded, but started from Windows 7 and later the Wine has these issues with DwmIsCompositionEnabled.

Someone could explain how to fully remove the DWM in the wine source code so I can run my game without facing these issues, in Windows XP the game run at least without DWM issues, but I can't sign in because of CEF3 component is incompatible with Win XP mode.

Exist a way to disable DWM in Windows 7 mode?
Locked