lauralex / dwm_lut

Apply 3D LUTs to the Windows desktop for system-wide color correction/calibration
GNU General Public License v3.0
252 stars 17 forks source link

do not support new windows 24H2 #60

Open Morindill opened 2 months ago

Morindill commented 2 months ago

it seems like the new ACM system crashed the APP

lauralex commented 2 weeks ago

Anyway, I can see from your screenshot that everything is "in its place" (except for the build version) and as expected.

neverabyss commented 2 weeks ago

Can you install System Informer and send a screenshot of the results by searching "dwm" in the search bar? I need to check the "Session ID" column, so ensure that you added it in the selected columns.

Befo apply: image

After apply: image

image

Morindill commented 2 weeks ago

For those who don't have dwm working, do a clean NVIDIA GPU driver installation of 552 or older version, it doesn't work with any newer driver, at least this solution works for me.

Buliwyf-Stonehand commented 2 weeks ago
image

When I click OK, the program freezes for a few seconds, and then the screen turns black for a moment, as if the dwm.exe process had terminated and then automatically restarted. I used certutil -hashfile C:\Windows\System32\dwm.exe SHA256 to check dwm.exe hash sum and and got: f4351ca54628b830afa5accbf6e24a9cb89f0912187c7e1651f6130e5d84e920. My windows build: 26100.2161. dwm_lut.dll is built from the win24h2 branch in debug mode. dwm.log

Same problem. After clicking "Apply" the screen freezes for a second, then turns black, before turning back to normal. During that time dwm.exe get's restarted.

image

image

image

dwm.log

dwmcore.zip

SHA-256: 47EB01376561715145E3AF652D661CEAEC8B0FABC4D0EEF670CE28A78792EBA6

For those who don't have dwm working, do a clean NVIDIA GPU driver installation of 552 or older version, it doesn't work with any newer driver, at least this solution works for me.

Thanks. I'll give it a try.

neverabyss commented 2 weeks ago

For those who don't have dwm working, do a clean NVIDIA GPU driver installation of 552 or older version, it doesn't work with any newer driver, at least this solution works for me.

Thanks. This worked for me. I used a normal (no clear) 552.12 installation. Before this I had 565.90.

UPD: Tested with different driver versions, 552.44 works for me. Starting from 555.85 I have the previously described problem. 555.85 implemented WDDM 3.2 support for 24H2, perhaps this is the cause of the problems. With 552.44 dxdiag.exe shows WDDM 3.1, while with 555.85 it shows WDDM 3.2.

Tatted-Gamer93 commented 2 weeks ago

For those who don't have dwm working, do a clean NVIDIA GPU driver installation of 552 or older version, it doesn't work with any newer driver, at least this solution works for me.

Finally I could say this does work doing a clean and install of driver 552.44 works when applying the dwm filter thanks 😊

lirtm commented 2 weeks ago

driver 552.44 works

Confirmed! Everything works on this version of drivers.

a3660537 commented 2 weeks ago

4.0.2 works on Intel Arc Graphics 31.0.101.5522 but does not work on 32.0.101.5978.

Morindill commented 2 weeks ago

It might be the new physx driver intoduced in the 555 release

Tatted-Gamer93 commented 2 weeks ago

Since I downgraded the GPU driver crashing a lot on Call of Duty Black Ops 6 after I installed the recent driver for NVIDIA GameStop crashing this the only downfall of using the DMW is you have to download driver but it causes Black Ops 6 to crash

Morindill commented 2 weeks ago

So it basically does not campatible with the new WDDM3.2, thst's why 552 or older drivers that only support WDDM3.1 can work.

KubaT1987 commented 2 weeks ago

I have an Asus laptop with a Radeon iGPU (R9 5900HX) - to which the display is directly connected - and an RTX 3050Ti dGPU.

The iGPU driver is from 03/2023 (Asus hasn't updated it since).

DWM LUT works for the most part but, as indicated in my bug reports, it breaks the GPU acceleration in web browsers and Photoshop 2025 (29.0).

Making a clean install of the GPU and chipset drivers didn't help. Moreover, it made it nigh-impossible to start DWM LUT.

lauralex commented 2 weeks ago

I have to check if I can emulate this behaviour inside my VM. I don't have high hopes though.

yuchi1989 commented 2 weeks ago

I also have this issue, the black screen flash in Chrome browser when dwm lut enabled. But when I disable the gpu acceleration in Chrome setting, then everything goes normal, but the dgpu will never be used. dgpu(Vega 64)

lirtm commented 2 weeks ago

black screen flash in Chrome browser

Unfortunately, I've noticed that too(

KubaT1987 commented 2 weeks ago

To be more specific:

1) Photoshop 2025 (29.0): When I try to move the canvas - by pressing the spacebar and the left mouse button - it gets black:

https://postlmg.cc/ZvJS4rxy

Moreover, the loaded LUT doesn't work in Photoshop's full screen mode.

Disabling GPU acceleration solves both problems but at the cost of tearing and decreased performance.

2) All web browsers: No video in YT videos.

In the case of Chromium-based browsers the problem can be solved by changing the ANGLE backend to D3D9, which causes a decrease in performance on some websites, or disabling GPU acceleration altogether.

3) Microsoft Edge: The browser window keeps flashing to black.

Again, changing the ANGLE backend to D3D9 or completely disabling GPU acceleration solves the problem.

Morindill commented 2 weeks ago

To be more specific:

  1. Photoshop 2025 (29.0): When I try to move the canvas - by pressing the spacebar and the left mouse button - it gets black:

https://postlmg.cc/ZvJS4rxy

Moreover, the loaded LUT doesn't work in Photoshop's full screen mode.

Disabling GPU acceleration solves both problems but at the cost of tearing and decreased performance.

  1. All web browsers: No video in YT videos.

In the case of Chromium-based browsers the problem can be solved by changing the ANGLE backend to D3D9, which causes a decrease in performance on some websites, or disabling GPU acceleration altogether.

  1. Microsoft Edge: The browser window keeps flashing to black.

Again, changing the ANGLE backend to D3D9 or completely disabling GPU acceleration solves the problem.

Try this driver if you are using Nvidia GPU: https://developer.nvidia.com/downloads/vulkan-beta-55331-windows ; or you can try to reinstall driver every restart, both approaches might solve the problem for now.

neverabyss commented 2 weeks ago

Moreover, the loaded LUT doesn't work in Photoshop's full screen mode.

This is not just for Photoshop, it is for all fullscreen applications (including fullscreen borderless window) that use DXGI spawchain...

As far as I understand, this is a new DXGI feature in 24H2. The top window, if its dimensions match the screen dimensions, is passed directly to the GPU (or at least bypasses the place in the chain where dwm_lut works).

A workaround is to keep an invisible window on top of all windows. For this, I use Desktop Overlay Host from RTSS with the following settings: image

KubaT1987 commented 2 weeks ago

Try this driver if you are using Nvidia GPU: https://developer.nvidia.com/downloads/vulkan-beta-55331-windows ; or you can try to reinstall driver every restart, both approaches might solve the problem for now.

My laptop has two GPUs: a Radeon iGPU and an RTX 3050Ti dGPU with the display being directly connected to the former.

Moreover, the loaded LUT doesn't work in Photoshop's full screen mode.

This is not just for Photoshop, it is for all fullscreen applications (including fullscreen borderless window) that use DXGI spawchain...

As far as I understand, this is a new DXGI feature in 24H2. The top window, if its dimensions match the screen dimensions, is passed directly to the GPU (or at least bypasses the place in the chain where dwm_lut works).

A workaround is to keep an invisible window on top of all windows. For this, I use Desktop Overlay Host from RTSS with the following settings:

Thanks. I tried it today but unfortunately it didn't help.

notimp commented 2 weeks ago

driver 552.44 works

I can confirm that this NVIDIA driver version solved the issue for me as well (using dwm_lut 4.0.2), so it wasnt the windows version 26100.2033 that caused the issue.

Clean install wasnt needed. Just did a normal express one.

a3660537 commented 2 weeks ago

On NVIDIA GPU driver 552, if I apply lut and launch Genshin, Windows restarts.

notimp commented 2 weeks ago

Just launched Yakuza Kiwami 2 and The Testament of Sherlock Holmes which I had installed and no such issue. So its not a general DirectX 11 issue.

Screenshot 2024-11-01 152635

Just FYI.

yuchi1989 commented 1 week ago

the black screen flash in Chrome browser when using dgpu and dwm lut enabled. Any update on this issue?