Blinue / Magpie

An all-purpose window upscaler for Windows 10/11.
GNU General Public License v3.0
8.53k stars 465 forks source link

HDR support #55

Open thomas7428 opened 3 years ago

thomas7428 commented 3 years ago

Currently MagPie can not be used with HDR enabled content. I suppose that this is due to a lack of support from WinRT and GDI so it would be awesome to add the support of HDR to one of those. Cyberpunk 2077 with HDR (FSR and WinRT): image

Cyberpunk 2077 without HDR (FSR and WinRT): image

Vermintide 2 with auto HDR (windows 11 feature) (FSR and WinRT): image

Vermintide 2 without HDR (FSR and WinRT): image

Blinue commented 3 years ago

Magpie does not support HDR, and this feature may not be added for a long time.

aaronth07 commented 2 years ago

As an alternative, Lossless Scaling on Steam has worked for me pretty well. Hope i'm not breaking any rules recommending an alternative considering the dev has said that support will not be added, and so the program is completely unusable for many people and games.

Blinue commented 2 years ago

LS is a great program, I would recommend it if Magpie's FSR doesn't meet your needs.

Contributions are very welcome as my monitor doesn't support HDR.

bloc97 commented 2 years ago

I also don't have a HDR monitor, but I think it might be cool to add inverse-tonemapping methods if HDR was to be supported. This way you could play SDR games on HDR screens using Magpie. For instance, it is possible to train high quality inverse tonemapping neural networks.

Blinue commented 2 years ago

I'm not familiar with HDR, but it would be really cool if Magpie could add HDR support for games that don't support it natively.

bloc97 commented 2 years ago

Apparently windows has Auto-HDR which automatically transforms SDR/LDR content into HDR content. I can't say how good it is though.

mirh commented 2 years ago

Autohdr hooks into the rendering pipeline to convert it (SpecialK is also another tool that can do the same) the games becoming legit native HDR then.

But even to do tonemapping yourself you'd have to somewhat tinker with the application process.. because in order not to have windows apply its own dumb one, I suppose the only way is to report to the system that the window is HDR-aware/ready.

aaronth07 commented 2 years ago

No it doesn't. Auto HDR just takes the SDR output and uses an AI conversion to tonemap to HDR. It doesn't hook into the game any more than it needs to (which is, it needs to be DX11+ for the game window to output HDR). Technically Auto HDR could be activated system wide, but I guess Microsoft doesn't do that because they fear it won't look good in all games.

On Mon, Nov 1, 2021 at 10:42 AM mirh @.***> wrote:

Autohdr hooks into the rendering pipeline to convert it (SpecialK is also another tool that can do the same) the games becoming legit native HDR then.

But even to do tonemapping yourself you'd have to somewhat tinker with the application process.. because in order not to have windows apply its own dumb one, I suppose the only way is to report to the system that the window is HDR-aware/ready.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Blinue/Magpie/issues/55#issuecomment-956343925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMPHLCKGRWNU3G3ARMRGNDUJ2YNTANCNFSM5B4HVZ3A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mirh commented 2 years ago

Damn, I always forget that, sorry. Anyhow, SpecialK still does what I said.

Cutano commented 1 month ago

FYI, I found a useful article about Windows HDR standard and how to capture HDR content. high-dynamic-range/capturing-hdr-and-wcg-screen-content