Aleksoid1978 / VideoRenderer

Внешний видео-рендерер
GNU General Public License v3.0
1.06k stars 119 forks source link

Green screen at empty spaces when play HDR videos #74

Closed poonnawit closed 1 year ago

poonnawit commented 1 year ago

I'm a MPC-HC user. It happens only when play every HDR videos. If I play 16:9 video and toggle to Fullscreen, there still no green because my monitor has 16:9 (1920x1080) same as the video. But the green screen will appear at the empty space of the player (It should be black) when the video not a 16:9. Also, in window mode when try to resize window that video does not fill the player space.

Screenshot (7) Default size after open video

Screenshot (4) When resize window width

Screenshot (6) non-16:9 Video with full screen

Video still play smoothly and no problem with video. But the screen has some over-brightness sometimes and become normal brightness when toggle full screen a few times. (Only in HDR videos)

Windows 10 22H2 CPU: Intel Core i5-4570 GPU: AMD Radeon RX 6600 XT (22.11.2) Monitor: BenQ EX2510S (1920x1080) (HDR10 Support)

clsid2 commented 1 year ago

Press Ctrl+J to show the renderer debug overlay. Make a screenshot of that as well.

Test if changing the hardware decoder setting in LAV Video Decoder has any effect on this problem.

Aleksoid1978 commented 1 year ago

Test in MPC-BE. Test without HW decoding. Show screen with statistics(Ctrl+J).

poonnawit commented 1 year ago

I think I have found the answer. When try to uncheck "Use for resizing" the green screen have disappeared. Maybe scaling is the problem. I guess. Screenshot (13)

Screenshot (14)

Screenshot (15)

Screenshot (16)

Screenshot (17)

Screenshot (18)

Aleksoid1978 commented 1 year ago

Look's like driver issue.

poonnawit commented 1 year ago

I tried switch to use madVR and there is no green screen. But when I resize the window. It's look like a bit more delay than MPC VR. Windows only auto switch to HDR mode when full screen. Maybe this try has some clue. Screenshot (19)

Aleksoid1978 commented 1 year ago

madVR use Direct3D9 internal and Direct3D11 only for output. As i said - it's some driver issue.

Aleksoid1978 commented 1 year ago

Check test build. But I warn you - sometimes it may not produce a picture on HDR at all, in which case we simply reopen the file (maybe even several times). MpcVideoRenderer-0.6.4.1966_git2023.01.04-e90179d.zip

poonnawit commented 1 year ago

No changes. And still produce pictures as well. No need to reopen. I have reported this issue to AMD. If next drivers have arrived, I will update the issue on there. Thank you.

Screenshot (20)

poonnawit commented 1 year ago

Update: The issue has been fixed on Adrenalin 23.2.1 (WHQL) driver. No more green space.