GithubHelp home page GithubHelp logo

Comments (11)

ultrafunk avatar ultrafunk commented on September 27, 2024 1

I tested a bit more and I narrowed it down even further:

  • 1.7.13.32 (x64 nightly) - Works fine.

  • 1.7.13.60 (x64 nightly) - The bug / issue is present in this and all later / newer releases.

All testing was done with LAV Filters 0.70.2.1

from mpc-hc.

ultrafunk avatar ultrafunk commented on September 27, 2024 1

After quite a lot of testing and research over the years to get perfectly smooth video playback with 100% correct analog audio sync for all kinds of media, I found out that enabling both settings is required.

My setup is quite simple: A PC hooked up to a primary 1920x1200 60Hz monitor via DVI and a Full HD TV with variable refresh rates connected via HDMI for media playback driven by a GTX 970 card.

Before Windows 10, "D3D Fullscreen" was still needed for smooth playback of all video frame rates, after Windows 10, "Disable fullscreen optimizations" was also required since Microsoft decided that fullscreen exclusive mode wasn't exclusive anymore.

Without both of those settings enabled, there are still situations where playback will glitch or stutter on some video frame rates, which is mostly caused by having two monitors with different refresh rates running at the same time, a known issue that Microsoft seems unable or unwilling to fix that others also struggle with, both for gaming and media playback.

After getting MPC-HC to work great with all media, I just want to keep that setup running smoothly, but it would be nice to be able to update MPC-HC if possible.

from mpc-hc.

Rikk avatar Rikk commented on September 27, 2024 1

I think output from graphics card to mirrored monitors is traditionally handled by the graphics driver, which can cause these synchronization problems, depending also on the choices of renderer method, whether the program is using DirectX or opengl (both implemented by graphics driver), some surprise factor, etc.
Some configurations work well for AMD cards, but will glitch on Nvidia or Intel (or vice-versa), for example.

from mpc-hc.

alessiot89 avatar alessiot89 commented on September 27, 2024 1

Some fullscreen issues can be caused by freesync or gsync if they are enabled by default in the graphics card control panel. A solution is disable freesync/gsync or simply create a profile excluding MPCHC .

from mpc-hc.

clsid2 avatar clsid2 commented on September 27, 2024 1

Glitch free playback is possible without exclusive mode as well.

MadVR has the ability to create an optimized custom refresh rate to perfectly match the audio clock. Should give better results then when trying to do it manually.
It also utilizes decode/render/present queues to minimize chance of glitches. Plus it has better quality scaling. Only downside is that it needs more time to configure.

from mpc-hc.

clsid2 avatar clsid2 commented on September 27, 2024

Exclusive mode is just unreliable on Windows 10 due to all changes that Microsoft made. It also affects other renderers like Madvr. It also depends on the driver, so you may have better luck with a different version.

This is not something I can fix.

There haven't been any changes to the renderer since last official nightly (1.7.13.112).

from mpc-hc.

Rikk avatar Rikk commented on September 27, 2024

Could be LAV filters issue?
@ultrafunk have you tried LAV from old version?

from mpc-hc.

ultrafunk avatar ultrafunk commented on September 27, 2024

Thank you for the quick responses, I have narrowed it down to the following:

So something was probably changed in the Exclusive mode rendering code between those two versions (1.7.13.0 -> 1.7.13.112) that is causing this issue.

I also tried using the LAV filters from MPC-HC 1.7.13.0 on your latest release (1.8.2.0), but the issue was still present, so it does not seem to be related to the LAV filters as far as I can tell.

from mpc-hc.

clsid2 avatar clsid2 commented on September 27, 2024

There haven't been any functional changes to the renderers between those versions. Only big change is that a newer version of the Visual Studio toolset (compiler) and Windows SDK is used.

I consider this to be a bug in Windows 10. Maybe it will work better again in next Windows 10 version, that will be available next month.

from mpc-hc.

ultrafunk avatar ultrafunk commented on September 27, 2024

OK. Thanks for the feedback, and again, thanks for the work you do to keep MPC-HC up to date.

The easiest solution for me is to keep using the last official release of MPC-HC (1.7.13). I'll see how things work out on the next Windows release, and I'll also see if this might be related to graphics drivers or some other reasons if I have the time.

from mpc-hc.

clsid2 avatar clsid2 commented on September 27, 2024

Any reason why you are using "disable fullscreen optimizations"? Since it works ok without that. Or just don't use exclusive mode at all.

from mpc-hc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.