View Issue Details

IDProjectCategoryView StatusLast Update
0000411madVRbugpublic2018-01-14 15:40
ReporterZyxas Assigned Tomadshi  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Summary0000411: Fullscreen mode cripples upscaling.
DescriptionFullscreen mode (normal and exclusive) uses only Image Doubling. In Windowed mode you can normally use both. For example, normally in Windowed mode I can combine SoftCubic 100 to smooth out edges and NNEDI3 to sharpen the overall image. But in Fullscreen mode only NNEDI3 is used. This results in a sharp but aliased picture. Ctrl + J for stats reflects this.
Steps To ReproduceSet Image Upscaling to SoftCubic 100.
Set Image Doubling (always) to NNEDI3 (any).
Additional InformationDoesn't happen in all videos. I tried 3840x2160, 1920x1080, and 1280x720. The all had the problem. But a 720x480 video didn't. For that video. Ctrl + J's stats had the line "scale 0,0,720,480 -> 208,0,3632,1927" in Windowed mode and "scale 0,0,720,480 -> 1,0,3840,2160" in Fullscreen modes. I was planning on tracking down what that first variable "1" did until I realized MadVR isn't open source.
TagsNo tags attached.
madVR Version0.90.21
Media Player (with version info)MPC-HC 1.7.236
Splitter (with version info)LAV Splitter 0.68.1.23-git
Decoder (with version info)LAV Video Decoder 0.68.1.23-git
DecodingSoftware
Deinterlacingnone (progressive)
DXVA2 Scaling Activeno
Aero / Desktop CompositionOff
Problem occurs with modeall modes
GPU ManufacturerNVidia
GPU ModelGTX 1080
GPU Driver Version368.39

Activities

madshi

2016-07-01 09:04

administrator   ~0001360

Can you attach a "windowed" vs "fullscreen" screenshot of a video which shows this problem? In order to make a screenshot in fullscreen mode, you'll probably have to temporarily disable "automatic fullscreen exclusive mode" in the madVR settings.

Zyxas

2016-07-01 20:00

reporter   ~0001361

Last edited: 2016-07-02 02:54

Windowed:
chroma > SoftCubic100
image > Nnedi32 < SoftCubic100

Fullscreen:
chroma > SoftCubic100
image > Nnedi32

I rapidly switched between the two (PNG) screenshots (made using MPC-HC's File -> Save Image), and there was no discernible difference (on a 1920x1080 file). Huh, did I make a mistake somewhere? Or is the fact that SoftCubic 100 disappears from the stats screen purely cosmetic?

Also, I'm not sure if I was just mistaken before or if I actually managed to change it. But now it seems the problem (as indicated above) only occurs with 1920x1080 files. With smaller resolutions, when I go into Fullscreen mode, SoftCubic 100 doesn't disappear from the Ctrl + J stats. I'm using a 4K* screen and no automatic display switching modes.

*Err, speaking of 4K, it would help tremendously if I could pick something like "only if scaling factor is more than 4.0x" for doubling and 8.0 for quadrupling.

huhn

2016-07-02 02:23

reporter   ~0001362

when you scale 1080p with nnedi3 x2 the result is 2160p so softcubic isn't used because the target resolution is already reached.

using image doubling x4 on 480p would result in 1920p.

it is possible to use higher scaling factors than x4 but this only works together with checking octuple luma/chroma resolution and upscale refinement.

Zyxas

2016-07-02 02:52

reporter   ~0001363

Last edited: 2016-07-02 02:54

I'd still like to scale 1080p to 2160p by combining SoftCubic and NNEDI3, as it looks better. Is there a way to do that?

madshi

2016-07-02 11:15

administrator   ~0001364

You can increase/decrease the zoom factor in MPC-HC manually by pressing NumBlock 9/1.

Zyxas

2016-07-02 21:28

reporter   ~0001365

That works but of course it creates a black box around the picture. If SoftCubic is being disabled since the 1080p image is quadrupled to 4K, then how come it doesn't happen for 720p videos and below? Even with octuple on, I mean.

huhn

2016-07-02 22:48

reporter   ~0001366

because 720p x2 = 1440p that needs to be scaled to 2160p using "image upscaling".
you can't double or quadruple a 720p video to 2160p without using an additional image scaler.
and 1080p only needs doubling to be 2160p.

image doubling is always scaling by a factor of x2 everything else has to be done with image up or downscaling.

Zyxas

2016-07-02 22:53

reporter   ~0001367

Wait so what are the quadruple and octuple ones doing?

huhn

2016-07-02 23:07

reporter   ~0001368

for 1920x1080p quad would scale to 7680x4320p.

maybe you should start here: http://forum.doom9.org/showthread.php?t=171787

Zyxas

2016-07-02 23:09

reporter   ~0001369

Last edited: 2016-07-02 23:41

I've read that and I understand how it works, but what you're telling me isn't what's happening. I have double, quadruple, and octuple on, and the problem only happens for 1080p videos, not 720p or 480p videos.

huhn

2016-07-02 23:30

reporter   ~0001370

you should really post screenshoots with the OSD (control+j).

the screenshoot function in mpc-hc is useless for that. this function only creates a screen at native resolution without OSD.

Zyxas

2016-07-02 23:48

reporter   ~0001371

Last edited: 2016-07-02 23:50

My printscreens are 15MB on my 4K screen, so I had to save them as JPG (it wouldn't let me upload otherwise). Also just opening it and saving it for use caused it to save so the screenshots I uploaded are compressed twice and in JPG rather than say, PNG. It shouldn't matter too much because the quality difference is minimal regardless unless you're looking at a moving screen.

Zyxas

2016-07-02 23:50

reporter  

Windowed.jpg (919,128 bytes)

Zyxas

2016-07-02 23:50

reporter  

Fullscreen.jpg (1,035,652 bytes)

huhn

2016-07-03 00:02

reporter   ~0001372

fullscreen is 1080p nnedi3 to 2160p
window is 1080p nnedi3 to 2160p down to "something" using softcubic.

so softcubic is simply not used because it is not needed.

Zyxas

2016-07-03 00:25

reporter   ~0001373

Last edited: 2016-07-03 00:27

You already said that, and I understand, but I'd still like it to be used as it smoothes out dark lines. And what about 720p videos? It doesn't happen with them.

huhn

2016-07-03 00:49

reporter   ~0001374

is is used with 720p videos because they are either scaled to 1440 can than scaled with softcubic up to 2160 or are scaled to 2880p and downscaled to 2160 using softcubic.

you can't double 720p directly to 2160p so an image up or downscale is needed. that's all.

softcubic is not an image smoother/blurrier it is a scaler.

Zyxas

2016-07-03 00:59

reporter   ~0001375

Oh I see, yeah I'm pretty sure it's being scaled to 2880p and then down to 2160.

In that case is there a way to do what madshi recommended but cleaner? Like scaling 0.1% rather than 2% so the crop is minimal?

huhn

2016-07-03 01:20

reporter   ~0001376

i don't know.

if nnedi3 is to sharp for you than think about something soft as super XBR AB or super XBR 25-50.

madshi

2016-07-03 10:22

administrator   ~0001377

You can zoom in instead of zoom out, that way you don't get a black box. Instead you'll lose a couple of pixels at the border of the video frame.

Atm there's no other way to "force" SoftCubic to be used in addition to image doubling. That's not a bug. It's as intended. You're the only user who's ever asked for having a SoftCubic pass on top of image doubling, even when it's not needed to change resolution. So it seems your wish is rather unusual.

As huhn already suggested, maybe NNEDI3 is simply too sharp for your taste. In that case try something else, either super-xbr, or maybe Jinc.

Zyxas

2016-07-04 01:37

reporter   ~0001379

Ah, I understand. It also looks like zooming in doubles my render time, so no matter what I choose, I'll have to compromise somewhere. Thanks again for the clarification.

Issue History

Date Modified Username Field Change
2016-07-01 06:59 Zyxas New Issue
2016-07-01 09:04 madshi Note Added: 0001360
2016-07-01 20:00 Zyxas Note Added: 0001361
2016-07-01 20:06 Zyxas Note Edited: 0001361
2016-07-01 20:09 Zyxas Note Edited: 0001361
2016-07-01 20:11 Zyxas Note Edited: 0001361
2016-07-01 20:14 Zyxas Note Edited: 0001361
2016-07-02 02:23 huhn Note Added: 0001362
2016-07-02 02:52 Zyxas Note Added: 0001363
2016-07-02 02:54 Zyxas Note Edited: 0001361
2016-07-02 02:54 Zyxas Note Edited: 0001363
2016-07-02 11:15 madshi Note Added: 0001364
2016-07-02 21:28 Zyxas Note Added: 0001365
2016-07-02 22:48 huhn Note Added: 0001366
2016-07-02 22:53 Zyxas Note Added: 0001367
2016-07-02 23:07 huhn Note Added: 0001368
2016-07-02 23:09 Zyxas Note Added: 0001369
2016-07-02 23:30 huhn Note Added: 0001370
2016-07-02 23:41 Zyxas Note Edited: 0001369
2016-07-02 23:48 Zyxas Note Added: 0001371
2016-07-02 23:50 Zyxas Note Edited: 0001371
2016-07-02 23:50 Zyxas File Added: Windowed.jpg
2016-07-02 23:50 Zyxas File Added: Fullscreen.jpg
2016-07-03 00:02 huhn Note Added: 0001372
2016-07-03 00:25 Zyxas Note Added: 0001373
2016-07-03 00:25 Zyxas Note Edited: 0001373
2016-07-03 00:27 Zyxas Note Edited: 0001373
2016-07-03 00:49 huhn Note Added: 0001374
2016-07-03 00:59 Zyxas Note Added: 0001375
2016-07-03 01:20 huhn Note Added: 0001376
2016-07-03 10:22 madshi Note Added: 0001377
2016-07-04 01:37 Zyxas Note Added: 0001379
2018-01-14 15:40 madshi Status new => closed
2018-01-14 15:40 madshi Assigned To => madshi
2018-01-14 15:40 madshi Resolution open => no change required