Madvr with GeForce 30xx - can't play SDR content after playing HDR (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    I know that I have seen an Nvidia drivers tool kit hack to add possibility to install drivers when it not detects the current GPU but not sure if it will work for newer GPU !!!
     

    ThoW1982

    Portal Member
    November 6, 2010
    30
    16
    Home Country
    United Kingdom United Kingdom
    Country flag
    I know that I have seen an Nvidia drivers tool kit hack to add possibility to install drivers when it not detects the current GPU but not sure if it will work for newer GPU !!!

    Thanks for all your efforts.

    I think hacking the drivers is not a good option as I will loose all the benefits of 30xx line in gaming - I do game from time to time, that was a reason for upgrading it from Radeon 580.
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    Country flag
    I'm glad that this issue is finally on investigation. I have the exact same problem but with a Geforce 1050Ti.

    Have to restart MP after HDR content to get SDR colors back. Even the GUI colors are crushed until restart.

    I'll keep an eye on your thread, and of course guys, I can do some test on my side.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,475
    4,645
    46
    ::1
    Home Country
    Netherlands Netherlands
    Country flag
    I'm glad that this issue is finally on investigation. I have the exact same problem but with a Geforce 1050Ti.

    Have to restart MP after HDR content to get SDR colors back. Even the GUI colors are crushed until restart.

    I'll keep an eye on your thread, and of course guys, I can do some test on my side.
    I 'solved' my issue (for now) to go back to the 446.14 drivers.
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    Country flag
    I 'solved' my issue (for now) to go back to the 446.14 drivers.
    Ho my god !
    Guess what, I was on 456.71 and tested the 446.14 driver like you suggest... You solved my problem !!! Wow !!

    I was on 430.64 in 2019, 442.37 in 2020 then 456.71.

    And now, 446.14 for the rest of my life. Seriously Homey thanks a ton because I left MP on a shelf for more than a year because of this problem!

    You literally made my YEAR !! 2021, the year MP came back to my life again !
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    Country flag
    (this is a crosspost from the madVR thread, as the same issue is discussed there)

    It seems like the problem is specific to NVIDIA and has two causes:

    1. Some time ago (can't remember the exact version, but can probably be found when searching this thread: AMD, Intel and Nvidia driver issues and last recommended version - Doom9's Forum) NVIDIA changed the way their private HDR API works and now says the developers who were using the API the old way should change their code (source: madshi, from link in previous post).

    2. As a workaround of point 1 for apps that were using the private API "the old way" (like madVR), NVIDIA implemented a 'trick' in the driver that detects when those apps display HDR content, and makes it transparently switch to HDR (source: Considerations for Playing Games with HDR Enabled | NVIDIA). What seems to be happening, is that the driver is detecting when apps that use madVR start a HDR video and it switches to HDR mode, but it not always detects when HDR content is not displayed anymore. For example, with MPC-HC people have said that when they display any GUI element like seek bar or menu, the driver temporarily switches to SDR and then to HDR again when the GUI element goes away. The test by @HomeY where opening Task Manager over MP temporarily switched back to SDR would have the same explanation.
    This is just my intuition on what may be happening, but I think as MediaPortal uses a 3D GUI and not 2D Windows GUI elements like MPC, the NVIDIA driver doesn't correctly detect when the app is not showing HDR content anymore, and that's why it's stuck in HDR mode after madVR is used once to display HDR content (i.e. the driver probably thinks MediaPortal is acting more like a game where everything is in HDR, than a media player that switches back and forth depending on content).

    The definitive solution if you follow what NVIDIA recommends (source: madshi) would be for madVR to change its code to use the "new way" to switch to HDR, but madshi isn't sure it won't impact quality as he thinks this involves the OS HDR API and it might not be lossless.
    As long as there is no change to madVR, there may be no other solution with MediaPortal except using old NVIDIA drivers (so no compatibility with newest cards), except if MP devs find some way to make the NVIDIA driver 'guess' that HDR content is not displayed anymore and it should switch back to SDR.
     

    Users who are viewing this thread

    Similar threads

    I've been using MadVR for several versions now. DXVA2 (native) worked well for UHD/HDR but couldn't use the better image processing options. TV worked fine using EVR. Now with MP 1.20, I was trying new settings with DXVA11 trying to get better processing, and it worked great, (except for not being able to check the onscreen stats with...
    I've been using MadVR for several versions now. DXVA2 (native) worked well for UHD/HDR but couldn't use the better image processing...
    Hello everyone, the new MP 1.20 is in connection with MadVR with me not faultless. The previous version works perfectly. 1. LAV...
    Replies
    1
    Views
    922
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to the mediaportal executable [MP1-5051] - Music Playback fails with ReplayGain enabled and no ReplayGain Information in song [MP1-5053] - TV framerate is not parsed from tsbuffer Since Pre-Release ...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    We have just released MediaPortal 1.27 Highlights of this release Bugfixes: [MP1-5050] - GUIHome should not be copied next to...
    Replies
    0
    Views
    2K
    Thanks for this new release of MP. The link on the presentation page of the new version is incorrect. It goes on the MP 1.24 thread.
    Thanks for this new release of MP. The link on the presentation page of the new version is incorrect. It goes on the MP 1.24 thread.
    We have just released MediaPortal 1.25 Final - Summer 2020 Edition Highlights of this release Bugfixes: [MP1-4966] - Update...
    Replies
    1
    Views
    2K
    Updated one of my MP installations (from 1.15) to 1.24 Final recently. It went perfectly smoothly, and fixed a few problems I had been having with video playback. Updated my plugins and Streamed MP skin, and not a single issue. Thank you for all your hard work.
    Updated one of my MP installations (from 1.15) to 1.24 Final recently. It went perfectly smoothly, and fixed a few problems I had...
    We have just released MediaPortal 1.24 Final Highlights of this release Bugfixes: [MP1-4969] - Fix typo in MyMusic DB Index...
    Replies
    3
    Views
    3K
    Ok i can't test now and not sure if i will able too (Nvidia card on my side) but the windowed mode is maybe related to recent change to have a proper OSD and video size when starting 4K video etc. (bug discovered from @GeYe ) About the UI lazzy lol, MP is set to running @24Hz on my side so for me i have adapted my eyes surely lol. In...
    Ok i can't test now and not sure if i will able too (Nvidia card on my side) but the windowed mode is maybe related to recent...
    Hi I have upgraded to 1.16.0 Pre Relase recently and enabled madvr hoping I could play 3D Bluray .iso without a need to use...
    Replies
    4
    Views
    5K
    Top Bottom