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

MPC Video Renderer: Bug reports, feedback, and discussion #2870

Closed
clsid2 opened this issue Jun 24, 2024 · 26 comments
Closed

MPC Video Renderer: Bug reports, feedback, and discussion #2870

clsid2 opened this issue Jun 24, 2024 · 26 comments

Comments

@clsid2
Copy link
Owner

clsid2 commented Jun 24, 2024

In this topic you can discuss issues with MPC Video Renderer.

Answers to frequently asked questions

Read this first:
FAQ

Official bug tracker

https://github.com/Aleksoid1978/VideoRenderer/issues

That is also the place to make feature requests.

@MadokaAyukawa
Copy link

I have R set to Reload Subtitles. I produce and edit subtitles. After an edit I will tap R to reload the subtitles in MPC-HC to check that it looks correct. This worked fine for many years with EVR (Custom presenter) with either the internal subtitles handler or libass. This also works fine with MPCVR and the internal subtitle handler.

However, after a few reloads using MPCVR and libass, the video will freeze in full screen or windowed mode. The audio will still play. I will have to have Windows close the program. It can happen on the first reload or after one or two reloads.

image

@clsid2
Copy link
Owner Author

clsid2 commented Jul 2, 2024

It is due to call to ConnectionMediaType() in CMainFrame::UpdateSubtitleColorInfo(). Triggers a deadlock in MPCVR.
Also happens without libass.

Edit: fixed

@Raccffy
Copy link

Raccffy commented Jul 4, 2024

Playing a video with BT.2020 transfer primaries and BT.2020 non-constant matrix coefficients cause input format text go out of the background.

More specifically, second indented line in the "Input format" block is very long.

Zero is out of bounds.

@Dantrigger
Copy link

Quick question, does the renderer support Dolby Vision playback for BDMV rips? Or DV is only supported in MKV and MP4 formats?

@clsid2
Copy link
Owner Author

clsid2 commented Jul 22, 2024

Try it and find out.

It does not support DV variants that use extension layer.

@DumbIdiot
Copy link

When I use MPCVR with Hardware Device to use in LAV Video Decoder set to Automatic (Native), 4K 60 FPS videos only play at around 40 FPS and causes the video to get out of sync with the audio. If I set it to my specific graphics card (and forces copy-back) it seems do play fine. With madVR both of these settings perform the same. Is this expected behavior?

@Dantrigger
Copy link

Try it and find out.

It does not support DV variants that use extension layer.

Thanks for the reply, I hadn't realized that CTRL+J worked to show video statistics. And as I thought, BDMV rips with enhancement video layer only play the HDR10 layer. Looks like there is still no solution to get full DV Profile 7 support in PC, and by the looks of it, it will never happen.

@clsid2
Copy link
Owner Author

clsid2 commented Jul 23, 2024

When I use MPCVR with Hardware Device to use in LAV Video Decoder set to Automatic (Native), 4K 60 FPS videos only play at around 40 FPS and causes the video to get out of sync with the audio. If I set it to my specific graphics card (and forces copy-back) it seems do play fine. With madVR both of these settings perform the same. Is this expected behavior?

In Windows Settings App, in advanced display settings, you can specify the preferred GPU that should be used by MPC-HC (and other individual apps).
You did not mention which GPUs you have, so I can't comment on the problem itself. Likely your integrated one has poor performance.

@DumbIdiot
Copy link

In Windows Settings App, in advanced display settings, you can specify the preferred GPU that should be used by MPC-HC (and other individual apps). You did not mention which GPUs you have, so I can't comment on the problem itself. Likely your integrated one has poor performance.

I have an RTX 2070 Super and a Ryzen 3700X which doesn't have any integrated graphics so I only have the one 2070 Super to select as my device. In the Windows settings it only gives me "Power saving" and "High performance" options for the 2070 and they both perform as described with D3D11 Automatic (Native) selected in LAV. D3D11 Copy-Back works fine but I was under the impression that Native is supposed to perform better than Copy-Back.

@clsid2
Copy link
Owner Author

clsid2 commented Jul 23, 2024

That one should work fine with native mode. Maybe try different version of NVIDIA driver.

Press Ctrl+J and make a screenshot.

@DumbIdiot
Copy link

The first few seconds plays fine but then the frame rate drops and the sync offset shoots up.

Screenshot 2024-07-23 194527

I don't know much about video playback so maybe I have a misconfiguration somewhere.

Screenshot 2024-07-23 194622
Screenshot 2024-07-23 194638

I'm only 1 or 2 updates behind the latest Nvidia driver but I'll try updating and if it doesn't fix anything I can just use copy-back for the time being.

@Epidemilk
Copy link

I'm getting weird crashes in fullscreen mode. Windows 11, NVIDIA 4060. Displays completely cut out, unresponsive to mouse/keys, sometimes the audio will keep playing, and I have to force power down.

Even out of fullscreen, sometimes the video will freeze and audio continues, but at least then I can just close it and try again.

It's been problematic for the last few versions- what settings should I tinker with?

@clsid2
Copy link
Owner Author

clsid2 commented Jul 29, 2024

If graphics driver crashes you need to try different version of the driver.

Win+Ctrl+Shift+B is Windows shortcut for restarting driver.

@Epidemilk
Copy link

I'm on the most current NVIDIA driver, not sure what else I should be trying?

@clsid2
Copy link
Owner Author

clsid2 commented Jul 30, 2024

Most current driver is not necessarily the best one. NVIDIA drivers are full of bugs. There are literally dozens of previous drivers that you can try.

@Epidemilk
Copy link

I sniffed around a little, went in my display settings, changed some power management setting I know forget and turned off vertical sync, seems okay now!

@Joe2500
Copy link

Joe2500 commented Aug 2, 2024

how do i hide the file name that appears for several seconds when opening a video? i can't find anything related to it in the settings.

@clsid2
Copy link
Owner Author

clsid2 commented Aug 2, 2024

options > player > user interface > uncheck show OSD

@fcueto
Copy link

fcueto commented Aug 9, 2024

When I play DV content using mpc-hc 2.3.4 it is working and improves image quality considerably, but... it stops working in full-screen mode unless the seekbar is showing.

  • Prefer DV over PQ and HLG is unchecked
  • Passthrough to display is checked
  • Convert to SDR unchecked
  • Windows HD is "Allow turn on/off"

@clsid2
Copy link
Owner Author

clsid2 commented Aug 9, 2024

Convert to SDR should never be unchecked. It only converts when passthrough is not possible.

For problem:
Make screenshot with Ctrl+J overlay enabled.
Post issue here:
https://github.com/Aleksoid1978/VideoRenderer/issues

@xenrohachi
Copy link

I recently ran into a similar issue and it ended up being image scaling in the nvidia 3d settings. Even if it’s only enabled on one game/profile and not universally, it’ll still cause HDR to work only when the seek bar is active.

Repository owner deleted a comment from APoL0xx Sep 2, 2024
@IIIelKot
Copy link

IIIelKot commented Sep 6, 2024

I have a question about HDR playback. I have HDR in Windows enabled permanenty, monitor report that it's in HDR mode, games in HDR run without "screen go black for a (few) second", HDR video in windowed mode does the same. But when i switch to fullscreen mode - "screen go black", when MPC ui is displayed over (osd, seekbar) - "screen go black", when it dissappears - "screen go black", when Windows displayed over (win+g, alt+tab) - "screen go black". And all that time Ctrl+J indicates that the videoframes are in HDR.
Can something be done with that behavior?

@clsid2
Copy link
Owner Author

clsid2 commented Sep 6, 2024

I can only suggest to complain to your graphics driver vendor about it.

Repository owner deleted a comment from User1X1 Sep 15, 2024
Repository owner deleted a comment from KayasamiX Sep 15, 2024
Repository owner deleted a comment from KayasamiX Sep 15, 2024
Repository owner deleted a comment from KayasamiX Sep 15, 2024
Repository owner deleted a comment from SSoM Oct 14, 2024
Repository owner deleted a comment from wojtulace Oct 14, 2024
@clsid2 clsid2 closed this as completed Oct 14, 2024
@Salem226
Copy link

Salem226 commented Oct 14, 2024

Press Ctrl+J to show debug overlay and make new screenshot.

Disable RTX HDR and SuperRes.
3

Screenshot 2024-10-14 152535

@clsid2
Copy link
Owner Author

clsid2 commented Oct 14, 2024

Look in Intel graphics settings. Maybe something is wrong there.

I can not help you any further.

If problem only happens with this specific video, then the file is probably just badly encoded.

Repository owner deleted a comment from Salem226 Oct 14, 2024
Repository owner deleted a comment from Salem226 Oct 14, 2024
Repository owner deleted a comment from Salem226 Oct 14, 2024
Repository owner deleted a comment from Salem226 Oct 14, 2024
Repository owner deleted a comment from maratnugmanov Oct 14, 2024
@Salem226
Copy link

Look in Intel graphics settings. Maybe something is wrong there.

I can not help you any further.

If problem only happens with this specific video, then the file is probably just badly encoded.

who can help me?

Repository owner deleted a comment from fcueto Oct 14, 2024
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