Page 1 of 1
Running computer without DWM --> videplayers artifacts
Posted: 07 Jun 2024, 15:50
by travolter
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.
Re: Running computer with DWM --> videplayers artifacts
Posted: 08 Jun 2024, 04:29
by RealNC
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/
Re: Running computer without DWM --> videplayers artifacts
Posted: 09 Jun 2024, 04:51
by travolter
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.
Re: Running computer without DWM --> videplayers artifacts
Posted: 09 Jun 2024, 06:28
by RealNC
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
Re: Running computer without DWM --> videplayers artifacts
Posted: 10 Jun 2024, 05:33
by travolter
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