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

Dwm lut and stuttering #47

Open
KingCrazyC opened this issue Jan 14, 2024 · 18 comments
Open

Dwm lut and stuttering #47

KingCrazyC opened this issue Jan 14, 2024 · 18 comments

Comments

@KingCrazyC
Copy link

This DWM lut does not just reduce performance! I have done several tests and it gives 99% usage spikes on my 4090 and my 3080 TI.. and it causes weird stuttering every few seconds in ALL games with or without G sync.. and if i turn of the DWM lut i get a smooth experience without the spikes i get every few seconds.. wish it was better :( i would even pay some if it could work good with games without these issues.. have a friend who has Calman software and he has no performance hits with games..

@JTGaming
Copy link

Could you provide some ways to replicate this? I'm interested in seeing if i encounter this issue.
Maybe you have some frame graph data from with it on vs off? Have you tried running 3dmark to see if there's any noticable difference in performance?

@KingCrazyC
Copy link
Author

Me and 3 other friends of mine has the same problem.. we lose up to 20 fps in most games but some open world games is even worse.. but the fps loss is really not so important since i have a high end PC, But the weird stuttering makes the mouse feel like its in sand when you move around.. and it happens every 4-5 seconds... reinstalled windows because i thought it was something wrong there until i figured out that it was the DWM lut doing this... ledoge the maker of this has stated that you can lose some performance using this but he did not say anything about this stutter problem :(

@KingCrazyC
Copy link
Author

I have done further testing, people was saying that the DWM LUT turns off G-sync.. but that is not the case... I turned off G-Sync and i had the DWM LUT disabled to do some testing on games with both off and guess what? no stuttering or screen tear even without having G-Sync enabled... but when i enable the DWM the stuttering begins... so it has nothing to do with the DWM turning off G-Sync.. i understand that you could lose performance but this is NOT because of the performance loss you get.. the DWM as long as it is enabled you will get screen tear and stutters... please try to fix it @lauralex? or at least try and see what is causing this..

@JTGaming
Copy link

so you're saying you get screen tearing and stuttering? and also "99% usage spikes"? I'm guessing the last one is GPU 3D utilization in task manager?
Would be nice to see some data, like a frametime graph.
Also, nvidia drivers have some bugs at the moment, so make sure you have vsync off in the control panel, and Afterburner/HWInfo/GPUz/etc are closed or else you might get massive stuttering and frametime variability from those instead.

@KingCrazyC
Copy link
Author

Here you have the graph with the DWM disabled
Graph without dwmlut

@KingCrazyC
Copy link
Author

And this one is with it enabled
Graph with dwmlut

@KingCrazyC
Copy link
Author

And this was tested on Cyberpunk and the same happens to all games i try.. it even happens when the fps is rock solid..

@casef
Copy link

casef commented Jan 22, 2024

The graphs are not very useful, because we don't know what the framerate and frametime values actually were, we don't know what your GPU and CPU usage was, we essentially only know that your framerate dropped by unknown amount and your frametimes went up by unknown amount. The only thing we know is that you tested it on one of the most demanding games out there, but we don't even know how you had it set up.

Plus it could easily be something specific to your system. And also let's not forget the fact the app is kind of an unofficial hack in the first place and is bound to cause performance drop and various issues.

@KingCrazyC
Copy link
Author

I have a locked framerate... it never drops below 60.. as i said my fps is rock solid but the stuttering still happens.. and it is not just me that this happens to... i have friends and the same happens to them.. and like i said this happens to ALL games.. even Dragon Age Origins! when i have it off the stuttering and weird screen tear is gone.

@zheng3z
Copy link

zheng3z commented Jan 23, 2024

Can confirm the issue happens on win11 22631.3007 on Vega 56, 3090 and 12700k.
Usually the stuttering starts after I opened certain apps, my case was MS Edge or MSI Center. To end the stutter, the only way was to disable DWM, closing the apps won't work.
The weird thing is the stuttering was NOT reflected on the frametime graph, which is perfectly flat, indicating game rendering was smooth.
Upon further tweaking I feel freesync can be the problem here, as I found the stutter mostly happen near the lower freesync range(~40fps). If I disable freesync in the driver, stuttering no longer happens
I think microsoft updates broke some funcs of freesync b/c this problem was never noticed until recently.

@KingCrazyC
Copy link
Author

Gonna check this out! but you are probably right!

@KingCrazyC
Copy link
Author

Btw what do you mean about when you disable freesync in the driver?

@zheng3z
Copy link

zheng3z commented Jan 23, 2024

Btw what do you mean about when you disable freesync in the driver?

Uncheck NVIDIA Control Panel->G-sync->G-sync compatible, or simply in your monitor's OSD disable freesync/adaptive sync

@KingCrazyC
Copy link
Author

Then i did it the right way! thank you :)

@lauralex
Copy link
Owner

I have done further testing, people was saying that the DWM LUT turns off G-sync.. but that is not the case... I turned off G-Sync and i had the DWM LUT disabled to do some testing on games with both off and guess what? no stuttering or screen tear even without having G-Sync enabled... but when i enable the DWM the stuttering begins... so it has nothing to do with the DWM turning off G-Sync.. i understand that you could lose performance but this is NOT because of the performance loss you get.. the DWM as long as it is enabled you will get screen tear and stutters... please try to fix it @lauralex? or at least try and see what is causing this..

Unfortunately, it's not an easy task (not for me at least), it would require some graphics debugging using specialized tools (like Nvidia Nsights, etc.) to backtrack the root of the issue

@KingCrazyC
Copy link
Author

So annoying that you can't use HDR on the Novideosrgb tool... is there a fix for that then?

@casef
Copy link

casef commented Jan 27, 2024

When you enable HDR in Windows, SDR content is already presented in sRGB, so there's no point to use novideo_sRGB on top anyway. If that's what you meant by that.

@KingCrazyC
Copy link
Author

Fixed it! after some time i managed to create a HDR 3D LUT! it looks amazing in all games i try!

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

No branches or pull requests

5 participants