Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not support new windows 24H2 #60

Open
Morindill opened this issue Sep 6, 2024 · 74 comments
Open

do not support new windows 24H2 #60

Morindill opened this issue Sep 6, 2024 · 74 comments
Assignees
Labels
working the issue is in progress

Comments

@Morindill
Copy link

it seems like the new ACM system crashed the APP

@june-mg
Copy link

june-mg commented Sep 6, 2024

i noticed after windows updated i could no longer get dwm_lut to work. only after i restored the prev version did it start working again

@lauralex
Copy link
Owner

It won't support 24h2 until it is generally available

@lirtm
Copy link

lirtm commented Oct 1, 2024

It won't support 24h2 until it is generally available

That's how it became public today.

@notimp
Copy link

notimp commented Oct 3, 2024

It won't support 24h2 until it is generally available

Ran into the same problem. 24h2 went public today.

@YuzuChii
Copy link

YuzuChii commented Oct 4, 2024

im having the same issue so what can i do guys ?
Screenshot 2024-10-05 003257

@lirtm
Copy link

lirtm commented Oct 5, 2024

im having the same issue so what can i do guys ? Screenshot 2024-10-05 003257

waiting for an update from the developer.

@lauralex
Copy link
Owner

lauralex commented Oct 9, 2024

Ok, gonna start updating the offsets. Let's hope it's the only thing that changes

@lirtm
Copy link

lirtm commented Oct 9, 2024

Ok, gonna start updating the offsets. Let's hope it's the only thing that changes

It will be great. Thank you very much!

@lauralex
Copy link
Owner

Ok, I finished reversing 24h2 offsets. I'll provide a release very soon

@lirtm
Copy link

lirtm commented Oct 20, 2024

Ok, I finished reversing 24h2 offsets. I'll provide a release very soon

Yay! Really looking forward to it!

@lauralex
Copy link
Owner

lauralex commented Oct 23, 2024

Support for 24H2 added. Looking for some real users testing. Unfortunately I tested with a VM, so I cannot actually see if the filter is applied (E.C. 1), but I don't have any errors. If you can give me feedback, I appreciate.
ERRATA CORRIGE 1: I can see the color filter with the VM.

@a3660537
Copy link

I used Release24h2 on 24H2. However, after this message , nothing happens.
スクリーンショット 2024-10-23 130257

@lirtm
Copy link

lirtm commented Oct 23, 2024

Confirmed. After pressing Apply - the monitor goes out, but turns on faster than on 23H2, but the profiles are not applied. If you put it in autostart - because of the messages, probably, the system just hangs when probably starting the program, even Ctrl-Alt-Del does not work. Just the cursor, and nothing is applied.

@lauralex
Copy link
Owner

Did you install all C++ runtime dependencies? I think I'm gonna write it in the description, because they're needed

@lirtm
Copy link

lirtm commented Oct 23, 2024

Did you install all C++ runtime dependencies? I think I'm gonna write it in the description, because they're needed

Are there any add-ons for 24H2 that were not required for 23H2? I've been using it since June. I update OC all the time. Or are we talking about some additional plugins?

@a3660537
Copy link

Did you install all C++ runtime dependencies? I think I'm gonna write it in the description, because they're needed

I installed https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/
and I retried Release24h2 but the same message appeared

@lauralex
Copy link
Owner

lauralex commented Oct 23, 2024

bb3a540
Ok I fixed the bug. I tested with the VM and I see the color filter applied.
btw, those are just debug messages I leaved for testing

@a3660537
Copy link

It worked ,thank you!

@lauralex
Copy link
Owner

lauralex commented Oct 23, 2024

I'll leave the issue open for a couple of days.

@a3660537
Copy link

It worked ,thank you!

Strangely, It no longer works. Status is Active but actually inactive.
I tried rebooting and deleting config.xml but it does not work.

And, on another 24h2 pc, when I click apply, display turns black for a moment and Status is still inactive.

Visual-C-Runtimes-All-in-One-Oct-2024 is installed on both.

@KubaT1987
Copy link

Occasionally, the loaded LUT simply stops working with no error message. Restarting DWM LUT doesn't help.

@notimp
Copy link

notimp commented Oct 23, 2024

For me on 24H2 the cursor just freezes for a bit, then the screen goes blank and comes in again (graphics driver resetting?), and the LUT status always stays on inactive. I'm trying to apply a SDR lut (attached), and my windows language version is german (unsure if that matters).

GPU is a GTX970 with current drivers (566.03).
27GL850SDR.zip

Visual C runtimes installed.

edit: The old version worked for me on previous windows builds, with the same lut.

I'm willing to test, or provide logs, if you need any.

edit: Same issue as this here:

And, on another 24h2 pc, when I click apply, display turns black for a moment and Status is still inactive.

@lirtm
Copy link

lirtm commented Oct 23, 2024

Both 4.0.0 and 4.0.1 still don't work. I specify the LUT, press Apply - the screen blinks once, and the status remains Inactive. I tried both the one downloaded only and the one launched without configuration at system startup

@lauralex
Copy link
Owner

You probably are using some kind of overlay tool, did you try disabling all possible programs that hijack the dwm?

@a3660537
Copy link

You probably are using some kind of overlay tool, did you try disabling all possible programs that hijack the dwm?

I tried clean boot but dwmlut does not work.

@lauralex
Copy link
Owner

lauralex commented Oct 24, 2024

You probably are using some kind of overlay tool, did you try disabling all possible programs that hijack the dwm?

I tried clean boot but dwmlut does not work.

@a3660537 I think I may know the reason. Microsoft released another Windows 11 24H2 update exactly today. In fact, now the build number is 26100.2161. Previously it was 26100.2033. If DWM changes even with minor updates, it's gonna be a hell of a pain. Gonna find another sig scan strategy.

@lirtm
Copy link

lirtm commented Oct 24, 2024

You probably are using some kind of overlay tool, did you try disabling all possible programs that hijack the dwm?

Not a new program was added to the set of programs with which 3.9.6 worked.

@lirtm
Copy link

lirtm commented Oct 24, 2024

26100.2033

I just have 26100.2033 - and it doesn't work.

@notimp
Copy link

notimp commented Oct 29, 2024

Here have my dwmcore.dll file as well:

SHA256-Hash of dwmcore.dll:
62f8c07003e15dfe02716f0a4a65d2a87cc0eb6770382a0813aae80a0340ea92
dwmcore.zip

In case you havent seen this one either.

EDIT by author:
this one is for build 2033.

@lauralex
Copy link
Owner

lauralex commented Oct 29, 2024

Can you pass me the dwmcore.dll file? You can find it in the system32 directory. It seems that the swapchain that it gets is not valid.

SHA256 hash of C:\Windows\System32\dwmcore.dll: 47eb01376561715145e3af652d661ceaec8b0fabc4d0eef670ce28a78792eba6

dwmcore.zip

It's the same file I have in my VM. Very strange. I also tested right now and it works, with latest 24h2 build and latest updates.

image

@lauralex
Copy link
Owner

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.
Here is an example:
image

@notimp
Copy link

notimp commented Oct 29, 2024

Status still inactive using 4.0.2 after trying to apply my lut (uploaded in here as a zip file before).

My OS Build is different (didnt install the optional octobre update yet (as most people would not, because it remains optional)) so there is a small chance, that all just starts working, once I'm on your build number or later.

osbuild

Here is the required screenshot of the session ID column in system informer (downloaded and used the portable version unsure if that matters).

sessionid

@lauralex
Copy link
Owner

lauralex commented Oct 29, 2024

Status still inactive using 4.0.2 after trying to apply my lut (uploaded in here as a zip file before).

My OS Build is different (didnt install the optional octobre update yet (as most people would not, because it remains optional)) so there is a small chance, that all just starts working, once I'm on your build number or later.

osbuild

Here is the required screenshot of the session ID column in system informer (downloaded and used the portable version unsure if that matters).

sessionid

Yeah, unfortunately I'm not gonna add support for previous minor build numbers. So, you'll have to stick with latest build number 2161. I hope that DWM doesn't change very often between minor updates, but we got unlucky this time.

@notimp
Copy link

notimp commented Oct 29, 2024

Makes sense. I'll respond back once the update rolled out "normally". :)

@lauralex
Copy link
Owner

lauralex commented Oct 29, 2024

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

@neverabyss
Copy link

neverabyss commented Oct 29, 2024

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
Copy link
Author

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
Copy link

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](https://github.com/user-attachments/files/17533529/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
Copy link

neverabyss commented Oct 29, 2024

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
Copy link

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
Copy link

lirtm commented Oct 29, 2024

driver 552.44 works

Confirmed! Everything works on this version of drivers.

@a3660537
Copy link

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

@Morindill
Copy link
Author

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

@Tatted-Gamer93
Copy link

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
Copy link
Author

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
Copy link

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
Copy link
Owner

lauralex commented Oct 30, 2024

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

@yuchi1989
Copy link

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
Copy link

lirtm commented Oct 31, 2024

black screen flash in Chrome browser

Unfortunately, I've noticed that too(

@KubaT1987
Copy link

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.

@Morindill
Copy link
Author

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
Copy link

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
Copy link

KubaT1987 commented Oct 31, 2024

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
Copy link

notimp commented Nov 1, 2024

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
Copy link

a3660537 commented Nov 1, 2024

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

@notimp
Copy link

notimp commented Nov 1, 2024

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
Copy link

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

@george-2022
Copy link

well using windows 11 26120.4015 build and v4.0.2 it works with old 552.544 drivers, with latest drivers when hitting apply it stays inactive after black screen, so there's probably WDDM 3.2 support problem, MPC-HC+madvr also working using latest nvidia drivers, i used display cal 3dlut maker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working the issue is in progress
Projects
None yet
Development

No branches or pull requests

15 participants