madshi bug tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000485madVRbugpublic2017-07-07 11:222017-08-31 11:48
ReporterDewde 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
PlatformWindowsOSWindows 10 Pro x64OS Version1703 b15063.447
Summary0000485: Black screen playing an HDR file in fullscreen non-exclusive on nVidia GPU
DescriptionTrying to play any 4k HDR file on the latest madVR/MPC-BE/nVidia drivers in fullscreen non-exclusive (since HDR is broken on FSE) results in a black screen. Not even the stats (Ctrl+J) or mouse cursor are displayed. I then need to blindly double click in the black display to restore the window to non-fullscreen and then the display's background is visible again.

10-bit HEVC and normal 8-bit files are unaffected. It doesn't matter which HW decoding I use (I tried CUVID, DXVA-CB and DXVA-native), the screen is still black.

"HDR and advanced color" is On in Windows. If I set it to Off, then the display shows the HDR logo but the clip is washed out and non-HDR.
TagsNo tags attached.
madVR Versionv0.91.11
Media Player (with version info)MBC-BE x64 v1.5.1 (build 2548)
Splitter (with version info)LAV 0.70.1
Decoder (with version info)LAV 0.70.1
DecodingDXVA2 Copyback
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOff
Problem occurs with modewindowed mode
GPU ManufacturerNVidia
GPU ModelGTX1060 3GB
GPU Driver Version384.76
Attached Files

- Relationships

-  Notes
(0001704)
madshi (administrator)
2017-07-07 11:34

> 10-bit HEVC and normal 8-bit files are unaffected

Which files are affected, then? I thought you were talking about 10-bit HEVC?

Have you tried resetting madVR to default settings? Does that change anything?

Does your TV support HDR? Normally, the best config for an Nvidia GPU is to turn "HDR and advanced color" off.
(0001705)
Dewde (reporter)
2017-07-07 11:41
edited on: 2017-07-07 11:45

Sorry for the confusion.

10-bit HEVC with HDR: not working
10-bit HEVC without HDR: working
8-bit: working

Yes, my TV is an LG 55C6V OLED, it supports HDR and I'm playing it fine with other sources such as the TV's internal player or via DLNA.

I've been following the doom9 thread closely and I'm aware of the recent problems with nvidia drivers newer than 380.xx. Thus, trying to play an HDR file requires "HDR and advanced color" to be On, else I get a non-HDR visual on the screen while trying to play an HDR file (washed out colors).

(0001706)
madshi (administrator)
2017-07-07 11:47

No, "HDR and advanced color" should be off, not on. If you set it on, your OLED will *always* be driven in HDR mode, which is not good for SDR playback. With "HDR and advanced color" off, madVR will dynamically switch your display into HDR mode when you play an HDR movie.

One possible reason why it doesn't seem to work for you might be if you have ffdshow raw video filter in your chain?

Does the madVR OSD report the file to be HDR?
(0001707)
Dewde (reporter)
2017-07-07 12:04

Yes, the file is HDR and it does display fine (with the correct colors and all) if "HDR and advanced color" is off, but the display mode is set to 8-bit. I've attached a screenshot below (the colors are off, but only for the screenshot, they show fine on the TV). I know that you implemented 10-bit support in this last build in windowed fullscreen non-exclusive and that's what's not working for me.

https://snag.gy/sDPa3q.jpg [^]

I don't seem to seem to have ffdshow in the chain. MPC-BE -> Play -> Filters reports during playback:

Default DirectSound Device
madVR Renderer
Audio Switcher >
LAV Video Decoder
LAV Audio Decoder
LAV Splitter >
File Source (Async.)
(0001708)
madshi (administrator)
2017-07-07 12:07

Now you're saying it does display fine. Earlier you said you got washed out colors. Now what is it?

Anyway. If you want 10bit, you need FSE mode. And for dynamic switching to work in FSE mode, you need older drivers, something between 376.xx and 380.xx.

10bit windowed support is not available by Microsoft with "HDR and advanced color" turned off.
(0001709)
Dewde (reporter)
2017-07-07 12:24
edited on: 2017-07-07 12:26

You're right, it's washed out only when FSE is activated. But windowed-FS displays fine.

Anyway, I'm fine with the panel always being in HDR mode as long as I can watch HDR in 10bit in window-FS, but the screen turns black as soon as I set it to FS.

(0001710)
madshi (administrator)
2017-07-07 12:34

Well, I don't know why, I can't reproduce that here, it works fine on my PC. It could be a bug in madVR, or in the GPU drivers or in the OS. No way to tell. You seem to be the only one who has this specific problem, so it could be something specific to your PC.

Anyway, GPU drivers still have many bugs related to HDR, so let's just wait and see how it plays out. For now, you can try different GPU driver versions to see if any of them works. Or alternatively you'll have to use one of the configs I've suggested/recommended, with "HDR and advanced color" off.
(0001711)
Dewde (reporter)
2017-07-07 12:42

The thing is HDR-10bit was working the other day on the same drivers, but in my quest to fix other problems (like wrong colors, HDR image being very dim, which I've tracked down to DXVA scaling in Trade quality...), something got broken. Do you think it's worth resetting madVR and starting fresh? It seems to be the only thing I can try since there's not much I can do about the GPU drivers or the OS..
(0001712)
madshi (administrator)
2017-07-07 13:51

I don't know. Could also be some Nvidia GPU control panel settings. Haven't got a clue.
(0001800)
frank (reporter)
2017-08-31 05:43
edited on: 2017-08-31 07:02

I can have 10bit in windowed mode with "HDR and advanced color" on but not in full screen.
In full screen it will give a black screen after 3 seconds. I have nvidia 1060 connected to a TV via hdmi2.0. and BTW, I tried LAVdecoder daily build, the new D3D11 hardware decorder greatly improves frame rate with madvr, it used to be a pain to play some 4k HDR. it now runs very fast.

and I have to restart TV after the blackout as there are some noise on screen even after I quit mpc-hc.

(0001801)
madshi (administrator)
2017-08-31 11:48

Is it the kind of blackout that means that your display can't sync to the signal that your GPU outputs? If so, that might indicate that either the HDMI cable is defective/unstable/too-slow, or it could indicate that the GPU uses timings that the display doesn't like or understand, for some reason.

Did you use any kind of custom mode / custom timing?

- Issue History
Date Modified Username Field Change
2017-07-07 11:22 Dewde New Issue
2017-07-07 11:34 madshi Note Added: 0001704
2017-07-07 11:41 Dewde Note Added: 0001705
2017-07-07 11:45 Dewde Note Edited: 0001705 View Revisions
2017-07-07 11:47 madshi Note Added: 0001706
2017-07-07 12:04 Dewde Note Added: 0001707
2017-07-07 12:07 madshi Note Added: 0001708
2017-07-07 12:24 Dewde Note Added: 0001709
2017-07-07 12:25 Dewde Note Edited: 0001709 View Revisions
2017-07-07 12:26 Dewde Note Edited: 0001709 View Revisions
2017-07-07 12:34 madshi Note Added: 0001710
2017-07-07 12:42 Dewde Note Added: 0001711
2017-07-07 13:51 madshi Note Added: 0001712
2017-08-31 05:43 frank Note Added: 0001800
2017-08-31 06:08 frank Note Edited: 0001800 View Revisions
2017-08-31 07:02 frank Note Edited: 0001800 View Revisions
2017-08-31 11:48 madshi Note Added: 0001801


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker