INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: When Windows display scaling is above 100%, MC downscales video  (Read 3408 times)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887

I have my custom display modes to always play at 3840x2160 on the HTPC. However, for readability purposes we have the Windows display scaling set to 175% in the living room. When I look at MadVR stats, or the Zoom setting in the OSD, I see that MC is downscaling the image to 57%. This is obviously to compensate for the 175% Windows scaling. But is MC really downscaling and then letting Windows upscale, even when the native resolution of the video is 3840x2160p? Or is it just that this is what the software has to report, and the image I am seeing is untouched?

I don't seem to recall this always happening. I seem to recall that video would play (and report in MadVR) that it was playing at 3840x2160 regardless of the Windows scaling setting. But then again I seem to remember lots of things that didn't ever happen and forget those that did!
Happy to provide further information if needed.
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #1 on: March 04, 2021, 11:17:12 pm »

It was always like this ... MadVR will upscale by DPI setting (in your case by 175%) ... you can see this in MadVR OSD

Then something else (MC? ... Windows?) downscales befire output.

I dont think its just software reporting ... image is defenitely being scaled by MadVR - GPU utilization goes up by a lot.

This has been discussed before ... but most ppl say modern GPU is powerful enough to do this ... as i have walk around for this, i did not press on the issue ... at the time it was more important for me to get SSA/ASS subtitles implemented ... which it was :)

EDIT: not sure if this is jyst MC ... or other players using MadVR (MPCHC or VLC) are doing this too ... as i had no time to test

EDIT2: this might also be reason Theatre View is experiencing high GPU use for some users

On my system (nvidia 1070... with DPI bypassed for MC)  ... 2160p23 Theatre View is nornally using around 8% of gpu ... on 2160p60 use is around 9% ... in both cases ocassionally hitting around 24% use

EDIT3: tried turning off my DPI bypass for MC ... funny thing happens ... at 175% DPI , MadVR does not scale ... at 125% DPI, MadVR scales ... some funky logic here ... GPU dependant? ... driver dependant? ... MC dependant?
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #2 on: March 04, 2021, 11:58:29 pm »

Thanks Tij

I think you have it backwards. According to MadVR and MC OSD, MadVR is downscaling the image and Windows is then upscaling it. Thanks for confirming that this is going on.

My second comment for you is a question - how did you bypass MC from the Windows DPI settings?
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #3 on: March 05, 2021, 12:04:11 am »

Thanks Tij

I think you have it backwards. According to MadVR and MC OSD, MadVR is downscaling the image and Windows is then upscaling it. Thanks for confirming that this is going on.

My second comment for you is a question - how did you bypass MC from the Windows DPI settings?

sent you PM ... the developers don't like this mentioning as it can cause more trouble than it solve for average user
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #4 on: March 05, 2021, 12:09:12 am »

here is what happen to my system if I don't bypass DPI
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #5 on: March 05, 2021, 12:20:27 am »

What scaling is Windows set at for you?
Very interesting indeed, as I have mine set to 175% and it downscales the image.
When I just tried 200%, MadVR was scaling down to 1080p.

Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #6 on: March 05, 2021, 12:25:55 am »

That image i posted is 125% ... so it looks like our system work opposite ... mine scales up - yours scale down ... some funky stuff

As i mention before at 175% - no scaling happens ...

I can do more testing, if JRiver wants to fix the problem ... but its not critical to me since i can bypass it
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #7 on: March 05, 2021, 12:49:08 am »

So our differing results, plus my confirmation that many of the systems I build with integrated AMD or Intel graphics do not scale has got me intrigued. Would love to get to the bottom of this!
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #8 on: March 05, 2021, 04:10:23 am »

This works just fine if you have just one screen, or your primary screen is the one intended for video playback. If you mix screens with different DPI settings, such behavior can occur, as MC only handles one global DPI, not per screen changes.
Logged
~ nevcairiel
~ Author of LAV Filters

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #9 on: March 05, 2021, 04:42:07 am »

I only have one screen attached to 1070 ... onbord igpu is disabled in bios
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #10 on: March 05, 2021, 05:40:50 am »

This works just fine if you have just one screen, or your primary screen is the one intended for video playback. If you mix screens with different DPI settings, such behavior can occur, as MC only handles one global DPI, not per screen changes.
Imho ... when video is played in full screen, DPI should not be applied to it

Also DPI should not be applied to Theatre View too

Just my 2 cents :)
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10933
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #11 on: March 05, 2021, 06:21:37 am »

Imho ... when video is played in full screen, DPI should not be applied to it

Also DPI should not be applied to Theatre View too

Fullscreen or not is entirely irrelevant to that. Windows handles most of that, and you can't just turn it on or off. And if you have only a single screen and not messed with the DPI settings on the MC process, then it functions just fine here.

Oh, you are also not allowed to change resolution between different resolutions with different DPI, as for Windows that has the same effect as having multiple monitors. But actually changing resolution for video playback is IMHO the wrong thing to do in any circumstance. If you have one screen with one resolution (or all screens have the same resolution/dpi), or in other words, one value for DPI only, then it is handled entirely transparently.
Logged
~ nevcairiel
~ Author of LAV Filters

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #12 on: March 05, 2021, 07:21:41 am »

I stop changing resolution since i switched to top/bottom 3d ... so all my movies play at 2160p ... only thing get switched is fps.

But i can see ppl want to switch resolutions:
1. Ppl who still want to output 3D in frame pack and play 4k movies (3D framepack is only supported at 1080p)

2. Ppl who wants to use their expensive Envy or Lumagen to do scaling and want to output video in original resolution

Also ... this MadVR scaling per DPI - is transparent ... unless you turn OSD on - you would not know its happening (though it does consume GPU resources which could have been used for better scaling or post processing ... and quality of picture does seem to degrade fractionally with exra scaling up and scaling back down ... )

But this doesnt bother me ... so i will just drop it :)
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1563
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #13 on: March 05, 2021, 09:33:57 pm »

If you have one screen with one resolution (or all screens have the same resolution/dpi), or in other words, one value for DPI only, then it is handled entirely transparently.

That got me thinking ... as long time ago I had a second monitor attached to system for debugging that probably had a DPI setting different from my current TV.

Typical of Windows, it was likely that Windows stored DPI setting for that second monitor which screw up with my MadVR scaling.

As I cannot change DPI of that second monitor any longer to match my current TV (I dont even have it now), I tried this (this set DPI for all displays to same value ... i was hoping it will override value stored for that second monitor, which it did)

In Windows: [Display Setting]->[Scale and Layout]->[Advance Scaling Settings] ... I then entered my desired scaling into "Enter a custom scaling size..."

It required me to sign out for effect to take effect ... but after that no more unnecessary MadVR scaling

Hope this helps someone with similar problem
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

fitbrit

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 4887
Re: When Windows display scaling is above 100%, MC downscales video
« Reply #14 on: March 08, 2021, 11:16:24 pm »

Thanks for chiming in, Hendrik. I'm sorry, I lost track of this thread for a while.

I too never change resolutions, only refresh rate. However, my video card is connected to two different inputs on my AVR, and the "two displays" are set to be mirrored. THis was done so I could play two channel audio through a different, non-HDMI output, and still have the picture I was expecting to see in MC.
Both displays should show up as being identical. The only thing that is changing is the refresh rate.
Logged
Pages: [1]   Go Up