Running computer without DWM --> videplayers artifacts

Everything about displays and monitors. 120Hz, 144Hz, 240Hz, 4K, 1440p, input lag, display shopping, monitor purchase decisions, compare, versus, debate, and more. Questions? Just ask!
Post Reply
travolter
Posts: 3
Joined: 07 Jun 2024, 15:35

Running computer without DWM --> videplayers artifacts

Post by travolter » 07 Jun 2024, 15:50

Hi guys!

I use computer (win10-1607) without DWM because I love the smoothness of mouse movements.

In general all 2D apps are running OK .. but when I watch a movie.. I see jitter effects, no sync etc... so I have to reenable DWM to watch movies properly.

I think that the problem comes because videoplayers should rely on DWM in certain way. Probably the vsync feature of DWM... and I dont know if videoplayers can be configured in certain way to be used without DWM and maintain smoothness. I use MPV or POTPLAYER cause can be configured heavily .. but I dont find a proper setting to do that.
Last edited by travolter on 09 Jun 2024, 04:27, edited 1 time in total.

User avatar
RealNC
Site Admin
Posts: 4422
Joined: 24 Dec 2013, 18:32
Contact:

Re: Running computer with DWM --> videplayers artifacts

Post by RealNC » 08 Jun 2024, 04:29

travolter wrote:
07 Jun 2024, 15:50
Hi guys!

I use computer (win10-1607) without DWM because I love the smoothness of mouse movements.

In general all 2D apps are running OK .. but when I watch a movie.. I see jitter effects, no sync etc... so I have to reenable DWM to watch movies properly.

I think that the problem comes because videoplayers should rely on DWM in certain way. Probably the vsync feature of DWM... and I dont know if videoplayers can be configured in certain way to be used without DWM and maintain smoothness. I use MPV or POTPLAYER cause can be configured heavily .. but I dont find a proper setting to do that.
MPV uses d3d11-flip by default, which assumes DWM takes care of frame presentation. Do disable it, use:

d3d11-flip=no

In your mpv.conf file. If you also want exclusive fullscreen (when you switch MPV to fullscreen mode), then also add:

d3d11-exclusive-fs=yes

Full documentation:

https://mpv.io/manual/stable/
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

travolter
Posts: 3
Joined: 07 Jun 2024, 15:35

Re: Running computer without DWM --> videplayers artifacts

Post by travolter » 09 Jun 2024, 04:51

MPV uses d3d11-flip by default, which assumes DWM takes care of frame presentation. Do disable it, use:

d3d11-flip=no

In your mpv.conf file. If you also want exclusive fullscreen (when you switch MPV to fullscreen mode), then also add:

d3d11-exclusive-fs=yes
None of these settings works. :(

I was testing with all video poutputs (vo=) and hardware decoders (hwdec=) available and I cannt find a solution.
I start to think that MPV needs DWM to do v-sync, or maybe hardware decoders does not performs properly without DWM.

User avatar
RealNC
Site Admin
Posts: 4422
Joined: 24 Dec 2013, 18:32
Contact:

Re: Running computer without DWM --> videplayers artifacts

Post by RealNC » 09 Jun 2024, 06:28

travolter wrote:
09 Jun 2024, 04:51
None of these settings works. :(

I was testing with all video poutputs (vo=) and hardware decoders (hwdec=) available and I cannt find a solution.
I start to think that MPV needs DWM to do v-sync, or maybe hardware decoders does not performs properly without DWM.
Have you tried the "-copy" versions of hwdec and "video-sync=display-resample"?

Code: Select all

vo=gpu
profile=high-quality
hwdec=auto-copy-safe
video-sync=display-resample
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.

travolter
Posts: 3
Joined: 07 Jun 2024, 15:35

Re: Running computer without DWM --> videplayers artifacts

Post by travolter » 10 Jun 2024, 05:33

None of these settings solve the problem in MPV
I also tested with mplayer (mplayerhq = the old MPV).. and again same problems


But I found something.

Potplayer work using following video renderers:
- Overlay mixer (video at original size and cannt be resized)
- VMR7 windowed (video at original size and cannt be resized)

The rest of video renders produce again troubles in the image.... for example VMR7 renderless/direct3D9 direct3D11/openGL produce samme problems as MPV

Any clue?

I would like to use MPV but I dont know if there is a way to force overlay mixer. That would be perfect

Post Reply