Log in

View Full Version : madVR - high quality video renderer (GPU assisted)


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 [967] 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

Siso
14th January 2018, 11:33
D3D11 decoding is not supported on Windows 7. It requires Windows 8+.

I know, I was asking about dxva2 copy-back :)

varekai
14th January 2018, 11:33
This is because you aren't currently playing something, those show was is being actively used. LAV will fall back to software if the video isn't compatible with hardware decoding.

Played some videos and BD's and still get this:
Active Decoder: <inactive>
Active Hardware Accelerator to use: <none>

sneaker_ger
14th January 2018, 11:53
In MPC-HC go Play->Filters->LAV Video to get the active LAV instance.

Blackwalker
14th January 2018, 11:56
Originally Posted by Blackwalker View Post
i agree but i'm using a 1050 with 2gb and memory is always full
Maybe with high memory i can get better results
i need also to upgrade CPU and motherboard on my htpc, i have a i5 950 with a good asus motherboarth with 6GB of ram.

anyway thx for your reply

have a think about what you want to achieve first, I have a much faster system than you but my GFX card is slower, I'm really happy with my picture quality just using NGU sharp medium, you may find after spending a crap load of money and pushing MADVR to the max you dont see that much difference in PQ, is it worth the outlay?

If you play everything well enough with the kit you have and you're not getting dropped frames perhaps just keep what you have.



so its better a 1050 ti 4GB or a 1060 6GB?
i have to order today because i sold my gpu! :D
Suggestions pls :)

ryrynz
14th January 2018, 12:29
They have a higher model number for a reason. 1060 is a great card for madVR, get it.

nevcairiel
14th January 2018, 12:37
I know, I was asking about dxva2 copy-back :)

Unless you want to use a specific GPU for decoding, it makes no difference for DXVA2-CopyBack.

psyside
14th January 2018, 12:43
so its better a 1050 ti 4GB or a 1060 6GB?
i have to order today because i sold my gpu! :D
Suggestions pls :)

1060 is the best option in the mid to high segment, the next step up from the best budget 1050 ti.

Siso
14th January 2018, 12:55
Unless you want to use a specific GPU for decoding, it makes no difference for DXVA2-CopyBack.

Thank you :)

varekai
14th January 2018, 15:45
In MPC-HC go Play->Filters->LAV Video to get the active LAV instance.
Thanks for your input, appreciate it!

Ticking filter madVR in MPC-HC or PotPlayer won't "stick".
The option is there on the dropdown menu but it only opens madVR config window.
Still can't see any activity? Only get this:
Active Decoder: <inactive>
Active Hardware Accelerator to use: <none>
Well, maybe no need to dig deeper on this, I'm pleased with what my eyes sees so far.

sneaker_ger
14th January 2018, 15:49
I don't know what you are talking about.

1. Start playing a file.
2.
https://abload.de/img/mpc-hc-play-filters-l06s50.jpg

Note that MPC-HC has internal LAV Filters with separate settings. If in doubt delete the internal ones so you only have the external ones.

varekai
14th January 2018, 16:01
@sneaker_ger
Thanks, my bad, sorry, didn't tick the right filters, now it's showing correctly in LAV. Looks different though in PotPlayet, I'll fix that.

Got LAV showing in PotPlayer. All is good!

ashlar42
14th January 2018, 16:49
I'm using CUVID instead of DXVA2cb due to Adaptive HW Deinterlacing.Isn't HW deinterlacing the same thing happening if one uses the madVR option to deinterlace? Isn't madVR selecting the HW option available, according to the GPU in use?

nussman
14th January 2018, 17:02
Isn't HW deinterlacing the same thing happening if one uses the madVR option to deinterlace? Isn't madVR selecting the HW option available, according to the GPU in use?
Yes it is.

With cuvid you can get back the deinterlaced frames for further processing (ffdshow, avisynth etc.), but for madVR this is not needed.

huhn
14th January 2018, 17:03
i'm pretty sure nvidia has something better todo than adding two different deitnerlancer in there code.

i'm not going to test it with each new driver but they are the "same" in the past.

madshi
15th January 2018, 13:47
Excruciatingly I could make three. #16-19 (https://drive.google.com/open?id=0ByfdfPvnoDuzWDUySEFpdUQ3aVk) (17 and 18 are from the same hang but the latter is after the alert sound, when unusually the player was still hung)

I think MPC-HC has some anti-hang mechanism that activates when I hear the windows alert sound, which usually resolves the hang. Not always. Especially when I try to interact with the GUI it doesn't activate, but then I can't make a freeze report with madVR either.

As for the version information I don't know, I don't use mpc normally. LAV it seems displays less detailed information (0.70.2) in its settings windows. :)

Whether it turns out to be fruitful or not thanks for the effort! I've been complaining to the Potplayer/ProgDVB devs about the hangs (maybe even in the LAV thread) but none of them were willing to investigate.
Finally got around to testing this, and I found 2 possible causes of the freezes. One was fixed a couple days ago by nevcairiel (thanks!), you'll need a nightly LAV build to get the fix. The other issue seems to be caused my MPC-HC's internal subtitle renderer. It goes like this:

1) The MPC-HC main thread wants to close playback. It asks the graph thread to do the dirty work and waits for that to complete.
2) The MPC-HC graph thread obeys and tries to close playback, starting with trying to close the subtitle renderer.
3) Trying to close the subtitle renderer freezes for some reason. It seems that the subtitle renderer is waiting for the subtitle queue to receive new subtitles, and somehow the queue seems stuck.

So you might be able to reduce/fix some of the freezes by using a different subtitle renderer, or maybe by changing the subtitle settings, like queue depth or something.

Was hoping to see the 04-11 change to AS make it in to this version, will it be in the next one?
Which 04-11 change are you referring to? I'm not sure what you mean.

Hi, MADSHI, thanks again for you time on this project, any chance you can answer the AMD card 3D question, if stopping using FSE is a solution to some problems is there another way you can implement 3D for AMD cards. I know you have a script which turns 3D on and off for NVIDIA cards but the AMD package has not such on / off toggle baked in unless its deep in the registry.
Your post is rather unclear to me. You're talking about "the AMD card 3D question" as if I should know what you mean. But I don't.

BTW, any chance for more "add grain" steps please?
I'm planning to revisit "add grain" soon.

Hi @MADSHI, do you have any advice re settings for AMD users who need to use FSE, all these hangups are gradually trashing my pc. I've had to power cycle about 50 times in the last 7 days, i've had two hard get badly corrupted, one failed altogetherl and now my lan card died today also, where these may be unrelated having to power cycle 12 hard drives constantly is taking its toll I think.

The problem seems to happen mainly if you are in 2160p resolution in that it drops into 1080p to play the movie, (it always plays it fine) but when you press stop it stops ok, I see my TV drop out of 3D mode to 2D, then I get a black screen and my PC hangs completely and has to be power cycled.
This sounds like a GPU driver issue. Have you tried reporting this to AMD? You could try different GPU driver versions. Which Windows version is this? Have you tried Windows 8.1? Windows 10 is known to be unstable.

So a weird bug appeared after updating my Nvidia Driver, the Nvidia Geforce Experience FPS counter is now displayed during madVR video playback, but only when Exclusive Mode is activated.

Anyone else experiencing this? Or maybe someone knows a quick fix/workaround?
No idea. Try the latest driver 390.65, maybe it helps?

Madshi, each of the ax files have gained a few MB each, that expected?
Yes. The NGU + RCA fusion algorithms consume a LOT of space, because practically every NGU + RCA strength setting is a complete separate algorithm.

I have two monitors, when I minimize MPC-HC/MPC-BE or PotPlayer (no issue with Zoom Player), the playback pause for a few seconds, and pause again when I restore the player, sometimes the playback never resume and I have to kill the player. I noticed this always and only happen when I use the player on the monitor I place to the right in "Select and rearrange displays", no matter which monitor I select to be the main, no matter which monitor I put to the right. I can minimize/restore just fine on the monitor I place the the left. This happen only when I use MADVR as video renderer.

I'm using Windows 10, but same problem on Windows 7 or 8.1 when I tried a few weeks ago, I tried severals drivers versions, dozens of MADVR versions, dozens of MPC-HC versions... I tried pretty much everything I could setting up in MADVR options, it doesnt help. I notice the problem get worst when I use DXVA, the playback pause much longer when I minimize or restore the player.

The two monitors I have have different resolution:
1) 1920x1080 60hz
2) 1360x768 60hz
Hmmmm... Which GPU are you using? It seems the problem only occurs on the secondary monitor but not on the primary? Is that possible? Or is it really left vs right monitor, and it doesn't matter which monitor is primary and which is secondary?

MADSHI – any change you could look at this to see if you could find out what is crashing our machines and causing black screens when resolution is changing for the next release. Obviously its something to do with Windows 10 but I’m hoping there might be a workaround.
This very much sounds like a GPU driver issue. I'm not sure if I want to add weird workarounds that are only needed for one GPU manufacturer, and maybe only one OS and maybe only a couple of driver versions. Since the problem is most likely caused by AMD drivers, what you should try first is contacting AMD customer support to have them fix their bug.

I'm on a FullHD monitor 60 hz.

Watching a movie if I press ctrl j I can see that display goes at 59.999(something), and goes up to 60.(something).

Why it's not 'stable'? I'm not expert about this.
madVR measures the refresh rate by constantly reading the GPU VSync scanline position and using a complex mathematical formula to try to calculate the most likely refresh rate. The whole algorithm is not perfectly accurate, but it gets more accurate the longer you wait. So it is expected to fluctuate a lot in the beginning and less and less over time.

having an issue with madVr used in conjunction with either MPC-BE or JRiver. When I have 3D via nVidia control panel enabled, 3D Playback works fine.

However if I play regular 2D or 4K+HDR content, both MPC-BE and JRiver crash. They work fine if 3D in the nVidia control panel is unchecked.
Try latest 390.65 drivers, maybe it helps. If not, try Sideeffect's suggestion.

I have two projectors,I use potplayer's 3D function play 2d as sbs,than output each side to each projector,but if I use madvr,the potplayer's 3d function will be disabled
I'm not sure what this "play 2d as sbs" does. Are your 2 projectors visible as 2 separate "monitors" in Windows? If so, can't you set Windows to "mirror" mode, so both monitors get the same image?

If like me you have mixture of 8 and 10 bit movies, 420 10 bit should be better than 444 8bit for a movies which are actually encoded in 10bit, there should be less colour banding and smoother graduations.
Nope. There's no different in color banding and graduations at all, thanks to dithering. The only difference between 8bit and 10bit output in madVR is that you get a slightly lower noise floor with 10bit.

Thank you! This is exactly what I was looking for! That submenu is lovely, but it didn't say what key to use!
That's because the key is defined/chosen by the media player, even though madVR does the actual screenshotting work.

@madshi - Amazing work man. That screenshot was the last thing I really needed to make this work the way I wanted it to!!! Loving it!:D
:)

but the second half shows mostly only a black screen; sometimes audio works, sometimes not; sometimes the player hangs after a short time (~30s); but always (whether it hangs or not) the player can only be closed via the Task-Manager;
since the working/not-working files are muxed over several years I would exclude a muxing problem...

here a statistics of such a file... the rendering times are extraordinary
The decoder queue seems to be empty. Does it ever go higher than 1-1/16? If not, the decoder is your problem.

This might be true with SDR, not with HDR. ST2084 needs at least 10bits in order to not produce any banding, especially in dark/bright areas, although it's more important in the content than for rendering.
You're absolutely right that bitdepth is more important for content than rendering. The reason is lossy encoding which doesn't go well with dithering. I really wish UHD Blu-Ray would have been 12bit (or even 16bit) instead of 10bit!

But for lossless HDMI transport, 8bit is just fine for HDR/ST2084, as long as you use proper dithering. You won't get *ANY* banding, whatsoever! However, you do get a higher noise floor. So if you can do 10bit, by all means do it. I don't think anybody is recommending to avoid 10bit. The original question we were discussing was whether it's better to use 8bit RGB or chroma subsampled 10bit, and there my vote goes to 8bit RGB.

So basically I'd rate:

10bit RGB > 8bit RGB > 10bit 4:2:2 > 10bit 4:2:0

That applies to both HDR and SDR.

My display is 12bits from end to end (input to panels) and 10bits output produces a better result than 8bits, especially in HDR. This is with my nVidia set to 4K23 RGB Full 12bits 4:4:4, as per my sig below.
I believe some (many?) displays which do 12bit fine are internally dithering. But I haven't seen anyone really test this (not sure if it's even possible reliably), so it's hard to be sure about anything.

I don't want to dither if I don't have to. So yes, I prefer to keep 10bits output over 12bits GPU for 10bits HDR playback |(except for 60p where the driver drops automatically to 8bits). I don't see why I should add some noise when I don't have to.
I fully agree, as long as you keep dithering on at all times. I know that some users thought that when playing 10bit content with 10bit output, they could turn off dithering. I'm not 100% sure if that's what you're saying here (it's not really clear). I think you probably didn't mean to suggest that dithering could be turned off when using 10bit output. But just to be safe no user gets this wrong, let me make clear that dithering should never be turned off.

Hi guys, question... Is there any way that when Madvr automatically changes to 23hz also change the bit depth to 12 bits?
The OS doesn't allow me to choose the output bitdepth. Maybe I could do it using private Nvidia APIs, but that's not currently implemented/supported by madVR.

Look well, very expect NGU can be used at AviSynth also can NGU use for Deinterlacers to replace nnedi3(QTGMC)?
Not yet, but "soon". But then, I've been saying that for a long time now. I hope it will be really soon now. I already have it working, just need to make it available the right way.

madshi
15th January 2018, 13:49
tearing problem solved for the time being.
Solution? Had to enter Nvidia Control panel Manage 3D applications and choose "Restore Defaults". Thing is I hadnt tampered with anything at all. Had to reinstall drivers because all of a sudden Nvidia Control Panel would not launch.

Windows 10 and Nvidia are even more screwed up than in the 90s....
Tell me about it. I've been recommending Windows 8.1 for a loooong time.

@madshi --- I am not sure if you are interested in this but just in case you ever consider implementing BFI for 24fps video on 120Hz display in madVR, this might saves you some annoying moments figuring out this trick I just discovered
BFI requires a really high refresh rate, and most TVs can't do that. Sure, gaming monitors might, but I don't have such to test with. So for now, it's not a really very interesting topic for me. Maybe it will become more interesting once we get OLED HDMI 2.1 TVs with 120Hz support.

Thanks Madshi, that's great news for HDR. Do you know if they also fixed the bit depth issue with a custom res (not possible to select 12bits when a custom res is selected) in any driver after 385.28? 12bits can be applied if you switch to a standard frame rate, but it's greyed out with the 23p custom res (displayed as 24p in the nVidia panel). This is one of the reasons why I'm still with 385.28, as it's the last version that fully works.
I'm not aware of any changes to custom res. I've reported all kinds of custom res issues to my Nvidia contact, but he didn't get around looking at them yet. Fixing HDR was higher priority.

is D3D11 DXVA Deinterlacing still on your to do list?
Yes.

For some reason I don't have the white dots anymore even with compression disabled...

Not sure where the issue came from... so many weird issues.

EDIT : ha nope, they are back

https://imgur.com/aIdtLu9

Anyone knows what the issue causing this thing ? it worked fine SOMEHOW and I didn't change anything.

Setting the Black Level from LOW to HIGH make the white dots disappear but ruins the picture .

Setting in MadVR black level instead 0-255 to 16-235 fix the issue also but also ruins the picture... so it's something with MadVR can't show properly HDR.

Or maybe it's just the compression of the movies ? but how come no one see them too.. maybe no one is using MadVR and using 16-235 ? or Black Level High ? because there is no other way.

In movie Fifty.Shades.Darker.2017 I don't have white dots at all. so could this be the movies specifically ?
Which GPU? Are you letting madVR pass the HDR content through to the display "untouched"? Which is your madVR HDR configuration? "let madVR decide"? Do you have the OS "HDR and Advanced Color" switch on or off?

Very important: Do these white dots show up in screenshots? Try disabling FSE mode, do the white dots still show up? If so, press the PrintScreen key and check if the screenshot in the clipboard contains the white does. It doesn't matter that the screenshot will have washed out colors. Only the white dots matter.

Usually, random white dots are caused by one of these things:

1) Either faulty GPU RAM (overclocked?).
2) Or faulty GPU chip (overclocked?).
3) Or faulty GPU drivers.
4) Or faulty decoding (hardware?).
5) Or faulty HDMI cable or HDMI output/input ports/chips.

It's unlikely to be madVR's fault, unless many many users have exactly the same issue. If only a small part of the users have this problem, it's most likely one of the 5 reasons above.

Hey, I was just wondering what the "best" (as in using all of madvr's features and with minimal load) way to use lav video's new d3d11 decoding was: is it leave it on auto and native (will lav then dither and colour convert?..) or choose a gpu for copyback? I'm assuming "use d3d11 for presentation" is mandatory in madvr either way.
If you leave it on auto/native, you won't get deinterlacing in madVR. Not sure if that's a problem for you or not. If it it, you can choose a GPU for copyback, which will enable deinterlacing, but lower performance.

"use d3d11 for presentation" is optional in any case.

does someone know if i can tell madvr to use a certain 3Dlut when a file is played in 3D?
if (3D) "3D Profile" else "2D Profile"

It would be great if MadVR could do this, but for some reason Madshi doesn't seem to be willing to go all the way for 3D support with nVidia. He has provided registry settings that help momentarily but don't stick.
Last time I checked, running that registry settings I provided sticked for me just fine. But I suppose I can retest. It's hard to develop something if I can't reproduce a specific problem.

Considering that video signals are essentially the same as audio signals, I wonder why in practice it seems to be such a challenge to get it right in the video domain. I might be corrected but I think when it comes to audio, taking any voodoo/audiophile arguments aside, filters which leave the usable bandwidth quite intact while suppressing any other range which could cause aliasing are rather easily achievable using cheap and decent technics nowadays.
When talking about simple linear filters, what I said back then still applies. However, using non-linear algorithms can change everything. E.g. test my relatively new NGU upscaling algorithm: It's very sharp, has no ringing and aliasing, even removes some aliasing and ringing from the source.

However, if you consider that most 1080p Blu-Rays these days are downscaled by the studio from a 4K master, we can consider upscaling as trying to undo the studio downscale to restore the original 4K master. A studio downscale actively destroys information, though. So it's impossible to restore the original 4K master perfectly. However, NGU is able to restore sharp edges very well. But the main thing that gets lost is texture detail, and there's no mathematical way to restore it because the information is simply missing from the downscaled image.

In theory it should be possible to build a large database of typical real world textures and try to restore lost texture detail by intelligently interpreting the downscaled image and injecting stored texture detail from the database into the image. (Actually, that's what some neural network algorithms already do.) But this approach has many very big problems, which make it currently impossible to use for video upscaling.

Wouldn't it be possible to reproduce any color space and any gamut and any brightness and gradient with any bitdepth, be it one bit only given ideal dither implementation? The only drawback of lower bitdepth should be a higher noise floor, effectively preventing darker tones to be resolved as they would be masked by the dither and quantization noise of course. Hence I'm not saying that the bitdepth is irrelevant but I'd claim that any color or tonal variation should be able to effectively displayed with whatever bitdepth down to the noise floor at least.
I mostly agree. However, very high noise floors are so distracting that it's really not fun to watch, anymore. It's easy to test with madVR: In the "devices\yourDisplay\properties" you can set the "native display bitdepth" to any bitdepth you like, even 1 bit, and then check what madVR's dithering algorithms do with that.

Well, at least from an admittedly quite theoretical point of view, the signal theory would dictate you to do so because the individual frames of a movie are snapshots or samples according to Nyquist/Shannon which - just as pixels - were never supposed to be shown separately but reconstructed as a continuous movement. ;)

Most people would say that the higher a frame rate, the smoother the movie and movement of a movie will become. Theoretically, that's not true: the only thing which changes is the nyquist frequency. In that case: what speed of movement can be reconstructed without aliasing. Anything else, including the frame-by-frame display of a movie - strictly speaking - is wrong to begin with.
I don't think signal theory applies to motion interpolation - unless you want to apply simple linear filters to "neighbor" frames. But that won't give good results. Perfect motion interpolation would look at 2 video frames from 2 different points in time (e.g. time X and time X + 1 second), and then create a new frame which is e.g. located at time X + 0.5 seconds. The new frame should ideally look identical to what a video camera would have recorded at X + 0.5 seconds. Using linear algorithms (which signal theory can cover) getting even remotely near to an ideal interpolated frame is impossible. To achieve perfect results, you need to intelligently interpret the image, understand which "objects" are in the image, which objects move into which direction, and then for the interpolated frames you have to carefully draw each object in exactly the place it's supposed to be. But even with the most intelligent algorithm, there can be unsolvable problems: E.g. if an object covers a part of the background, and then for the interpolated image you try to restore the original background, you might make a mistake if something in the background has moved as well (but was covered by a foreground object before).

Basically, for both upscaling and image interpolation, to get best results, you need to use non-linear algorithms, and then signal theory no longer applies.

I recognized that when making a screenshot of a movie when using madVR and dithering to 1-bit only, while error diffusion dithering results in images containing only up to 8 colors just as to be expected, with random dithering, several thousand colors are counted and I wonder why. Apparently, some fusion between neighbour pixels takes place, raising the amount of colors, but why?
Good question, might be a bug in the random dithering algorithm, I'm not sure right now.

@asmodian: there is mediainfo report on the file several posts earlier, all seems correct, and still, MadVR fails to read the metadata
madVR relies on what the splitter/decoder reports, especially when the content is HEVC. So the key question is why the splitter/decoder isn't reporting HDR to madVR.

@mytbyte and brazen1:
would it help if you could have a look at one of the movie files yourself? I could cut out the first couple of seconds from the movie and upload it somewhere (any suggestion for a suitable location?)?
It would make sense to do that. But you can also try to find out for yourself why the splitter doesn't seem to report HDR to madVR. Which splitter are you using?

madshi
15th January 2018, 13:50
With the exception of a few incredibly slow scripts (like MSRmod) NGU seems to do the job for me. Is there some simple resize function out there that could be made to use NGU in Avisynth? Have it working in madVR but no idea how to load it into Avisynth..... my 780Ti is just about powerful enough on the simplest settings (saving up for a 1070 Ti hoping in combination with an i7 4930K@4.2GHz and 16GB 2133MHz I should be able to crank up the settings a bit more).

Would be really nice however to be able to render videos in 1440p/2160p to watch on lower power devices like my tablet, phone and TV.
Avisynth support is coming "soon", but it's not there yet.

I'm using HDR->SDR conversion via MadVR to a measured 180 nit monitor with cca 2.2 gamma...I have measured the post-MadVR gamma curve for it with a colorimeter, with "compress highlights" turned on...comparing it to the BT2084 curve, I find that the rolloff starts way too early, as low as 30% (10 nits) input while it should start at around 50% (or around 100 nits) since that's what color grading aims at as diffuse white. I know 200 nits peak brightness of an average monitor is not exactly HDR, but what I propose, there would still be 100 nits to do the rolloff and achieve more of the HDR effect...just a note: changing current options except turning off "compress highlights" made no difference...

I'd like to encourage the Great Madshi to look into this and hopefully adapt the behaviour of the conversion. Thanks.
madVR follows SMPTE 2390 recommendations. Of course it would be possible to offer an alternative tone mapping algorithm. But do you actually dislike the image madVR's tone mapping produces? Or is this more a theoretical complaint?

Did some comparison between BD of Dunkirk and UHD BD of Dunkirk with madvr SDR to HDR conversion at 226, 255 and 280 nit setting. Compressing the HDR highlights was set to OFF.

https://drive.google.com/file/d/1d1emt2c9USVJNYHmlWdIshR90KGo7_3E/view?usp=sharing

The nit setting is a kind of tricky, because SDR displays are calibrated to 100-120nit, but here you can see, that going below 200 nit setting would clip the bright highlights unnaturally. In this shot, nit setting around 250-260 generates very close result to SDR blu-ray.
Yes, but it's not the same with every UHD Blu-Ray. With some you need higher than 200 nits, with some lower, to get similar results as the SDR Blu-Ray. I've chosen 200 nits as a somewhat "average" value of what UHD Blu-Rays need to get reasonably close to SDR Blu-Rays.

Is there a way to save the refresh rate optimized values only?

I do refresh of madvr setting from time to time and the optimized values get refreshed as well. I would like to prevent this from happening
madVR stores display mode optimization data in HKEY_CURRENT_USER\Software\madshi\madVR. Furthermore, the GPU driver itself stores some data, too. If you want to preserve as much as possible, make sure you store the madVR registry data.

Nope, no clean install or DDU but adaptive and vsync is activated. Do you think I should properly reinstall?

There is one thing I'm not 100% certain I'm doing well is the first step during the "define timing parameters" selection.
EDID is recommanded in both the tutorial and the window but I noticed in some case I have to select a CVT v1, v2 or CRT. Does it matter? I think that depending of what I choose, later I can or can't switch the "optimized pixel clock" mode.
Unfortunately the Nvidia GPU driver is currently very buggy with custom modes. I've reported several issues and hope for fixes, but it could take a while.


August 2017:
- Bjin's RAVU prescaler/doubler is easily 4x faster (test/ravu-r3-smoothtest1.hook) than NGU-AA High with same/better result.
November 2017:
It seems that FSRCNNX is better than NGU Standard/Sharp now. :devil:
January 2018:
It seems that igv finally succeeded in doing better than ngu sharp with fsrcnnx.
Hmmmm... I smell a pattern here. Unfortunately posting the same incorrect information repeatedly doesn't improve your credibility. I've compared NGU Sharp with the latest FSRCNNX-32, and with the majority of my test images, NGU Sharp Very High quality still looks better (noticeably so in some cases), and is more than twice as fast. FSRCNNX has improved, though.

one persistent problem remains. Even though stereoscopic is enabled in NCP and W10 display properties, after playback of HDR, stereoscopic is disabled. Stereoscopic must be enabled again before 3D playback.
Will check if I can reproduce that here.

Tried it again after reboot and TV reports HDR but madVR doesn't show it in the top left corner
That is the perfect result, exactly as it should be. madVR only shows "(HDR)" in the top left corner if the OS "HDR and Advanced Color" switch is turned on. I'll change that in the next build to avoid confusion.

color space gets converted to DCI-P3 as in below screenshot.
Nope, that just means that the HDR Metadata says that the movie was mastered with a DCI-P3 display, it doesn't mean madVR is doing any conversion.

I also had to use a different timing set, as the usual that would give me 50mn between drops made no difference. But after an optimize of one of the recommended sets, I got similar or better results than before.
So optimization worked this time? IIRC last time you got no sync at all with any of the optimized modes?

I have one request (not new but issue is still there): once I have a 4K23 custom res optimized, I have near perfect playback for 99% of my content as I have almost nothing at 50p or 60p (have to try optimize these, not had the time to do so yet).

But 3D (mk3D) still gets a frame drop every 2 minutes or so, which is barely acceptable. Is there any way to optimize separately 1080p23FP, so that we can optimize 3D playback and get decent frame drops?
It's out of my control, unfortunately. There are 2 possible solutions:

1) I've reported to my Nvidia driver dev contact that Nvidia GPUs generally have a bad pixel clock / refresh rate for any x/1.001 modes. I hope that he can get this fixed. That way even without any custom modes we should get much better refresh rates, which should also help for 3D. But I don't know if this will get fixed, or how quickly.

2) You could try writing down the optimized timing mode data and create an EDID override based on that, using CRU. I've no idea if that will also affect 3D, though. Maybe an EDID override can also have an extra entry for 3D? I don't really know, to be honest.

HDR still not working properly here with new Nvidia drivers.
Now it doesn't turn on the Windows' HDR toggle, but I'm still not getting the right colors. With my Samsung TV, if I choose the colour space 'native', it gives me something that aproximates what it should look like, but it's not correct. You have to select 'auto' in the colour space option to get the correct HDR colours. With 'auto' it looks 'kinda' washed out, or better described: it looks like SDR. In contrast, the desktop looks super saturated and vibrant with colours. But it must be something about my hardware since nobody seems to have any trouble here. oh well.
I rather suspect some configuration issue. Some TVs can require you to do crazy things to get things displayed correctly. Could also be a GPU driver issue with e.g. sending out incorrect levels (TV instead of PC or vice versa) or even YCbCr instead of RGB. Unfortunately this is almost impossible to diagnose from afar. So you'll have to try all kinds of different settings in your GPU control panel and TV yourself to get it solved.

I have a problem with madVR+MPC—HC64 https://streamable.com/ar0cl Anybody can help me to solve it or it’s just a bug?
Intel GPU? Probably a GPU driver bug. Try using "automatic fullscreen exclusive mode".

Hi, madshi. madvr currently has two gamma correction problems.

Please consider adding gamma correction / "linear light" to all upscaling modes. It's really a basic thing that should be available for upscaling same as it is available for downscaling.

The Jinc interpolation with the anti-ringing filter is an exceptional solution for natural-looking results with very highly reduced "aliasing" and a relatively very low amount of processing power. The problem is that in upscaling, it's largely ruined by the lack of gamma correction.

For comparison, here are upscaling results with similar, catmull-rom filters:

original image (https://www.musepack.net/temp/scaling.png)

madvr-x2-catrom-sigmoidal-off (https://www.musepack.net/temp/scaling-madvr-x2-catrom-sigmoidal-off.png)
madvr-x2-catrom-sigmoidal-on (https://www.musepack.net/temp/scaling-madvr-x2-catrom-sigmoidal-on.png)
imageworsener-x2-catrom (https://www.musepack.net/temp/scaling-imageworsener-x2-catrom.png)

Sigmoidal light even makes the gamma-related "artifacts" worse.

Currently, only NGU has gamma correction for upscaling, so I'm comparing with NGU Soft, luma doubling and chroma "very high", quadrupling disabled.

madvr-x2-ngusoft (https://www.musepack.net/temp/scaling-madvr-x2-ngusoft.png)

This is the same effect as what happens in downscaling, but it's much more disturbing in upscaling, because...it's upscaled. Since ImageWorsener, ImageMagick, GIMP and a few other programs give better results that are similar to each other, then I guess it means madvr just has a different, more "lenient" gamma correction implementation, but it's not better nor as good.


Example with downscaling:
madvr-x0.5-catrom (https://www.musepack.net/temp/scaling-madvr-x0.5-catrom.png)
madvr-x0.5-catrom-nocorrection (https://www.musepack.net/temp/scaling-madvr-x0.5-catrom-nocorrection.png)
imageworsener-x0.5-catrom (https://www.musepack.net/temp/scaling-imageworsener-x0.5-catrom.png)
imageworsener-x0.5-catrom-nocorrection (https://www.musepack.net/temp/scaling-imageworsener-x0.5-catrom-nocorrection.png)

Without gamma correction, pretty much identical. With gamma correction, as mentioned above, the "artifacts" are more visible in madvr.

I'll just mention that the problems are not limited to this single image. I've compared using other images, and madvr's gamma correction is always worse. I'm just using this test image because it's the best for easily showcasing the problems. I'm sure you could easily improve the gamma correction and enable it for upscaling as well, and thus make madvr not just the highest quality video renderer, but also the best video and image scaling software available. On that note, I'll just add that a custom width/height box in the screenshots menu would be very useful.
I've had linear light upscaling in madVR for a long time, but nobody used it because it simply didn't look good with real world material. It produces too strong ringing artifacts and some more aliasing, too. When I removed the linear light upscaling option, there was not a single user who complained about that. That goes to show that it was really useless. Usually, if I remove something, no matter how important, at least 3 people complain.

Well i tried everything, and there is basically 0, not 5% just 0 difference in IQ with quite high settings in madVR MPHC vs VMR 9 Renderless HQ
For downscaling try SSIM1D 100, or Bicubic 150. For upscaling try NGU Anti-Alias (for very low res aliased sources) or NGU Sharp (for higher quality sources). The different in image quality will be larger if your source has sharp lines/features. With blurry sources you'll barely see a difference.

fluffy01
15th January 2018, 14:50
I think I asked this before, but I can't remember if I actually did, or I just thought about it, so please forgive me, if I am repeating a previous query.

Is it possible to implement support for other 3D input formats than just MVC? I mean, when I convert my 3D blurays, I usually use a SBS or OU format, and it would be nice, if I was able to make madVR go into "3D-mode" for these, so I get all the same features with that as with "real" MVC-movies, instead of just playing them as 2D and then manually switching my projector to 3D.

Optimally, with will read the stereoscopic metadata from LAVFilters, and automatically detect the input format based on this and put madVR into 3D mode, when needed, and besides that, make a keyboard shortcut to manually tell madVR the input format of the video.

mclingo
15th January 2018, 15:12
would it be better to rip to MKV MVC full frame to maximise quality, you'll lose some vertical or horizontal res that way. The advantage being smaller files that will play on anything system however.

heiseikiseki
15th January 2018, 15:28
Would the algorithm of madshi can be a a plugin or a DLL library or something for other Picture viewer or Manga viewer to use?

Seems most of photo viewer is still using poor resize algorithm like bicubic or lanczos.

But NGU or even JINCS is much better than those resizer.

I'd like to enjoy these amazing technologies to view my photo and manga or picture in the future. Is it possible?

psyside
15th January 2018, 16:19
For downscaling try SSIM1D 100, or Bicubic 150. For upscaling try NGU Anti-Alias (for very low res aliased sources) or NGU Sharp (for higher quality sources). The different in image quality will be larger if your source has sharp lines/features. With blurry sources you'll barely see a difference.

Thank you so much for your amazing work, and the time and effort, the replays i just saw, are just insane, never seen anything like it!

:thanks:

madshi
15th January 2018, 17:29
I think I asked this before, but I can't remember if I actually did, or I just thought about it, so please forgive me, if I am repeating a previous query.

Is it possible to implement support for other 3D input formats than just MVC? I mean, when I convert my 3D blurays, I usually use a SBS or OU format, and it would be nice, if I was able to make madVR go into "3D-mode" for these, so I get all the same features with that as with "real" MVC-movies, instead of just playing them as 2D and then manually switching my projector to 3D.

Optimally, with will read the stereoscopic metadata from LAVFilters, and automatically detect the input format based on this and put madVR into 3D mode, when needed, and besides that, make a keyboard shortcut to manually tell madVR the input format of the video.
It's on my to do list.

Would the algorithm of madshi can be a a plugin or a DLL library or something for other Picture viewer or Manga viewer to use?

Seems most of photo viewer is still using poor resize algorithm like bicubic or lanczos.

But NGU or even JINCS is much better than those resizer.

I'd like to enjoy these amazing technologies to view my photo and manga or picture in the future. Is it possible?
In theory anyone could write an image/picture viewer and use madVR with DirectShow as a render backend. It seems kind of overkill, but technically it would be possible.

Thank you so much for your amazing work, and the time and effort, the replays i just saw, are just insane, never seen anything like it!
:)

Manni
15th January 2018, 17:47
So optimization worked this time? IIRC last time you got no sync at all with any of the optimized modes?


What happened is very weird. Initially, my usual mode didn't work, so I had to do try one of the optimized mode (the first one giving no drops with the highest compatibility factor, I think it was 80) and I was surprised it worked.

Then for some unknown reason, the next time I check the custom res had gone and I was back to 1 drop every 5mn.

I tried optimization again, and I was back to the old behaviour (none of the optimized modes would work) so I selected back my old default mode and that gave me back the usual 50mn before drops (in 4K23) which I'm happy with, even if not ideal.

Absolutely no idea what changed and as I doubt it has anything to do with MadVR I didn't post again to not waste your time. :)


It's out of my control, unfortunately. There are 2 possible solutions:

1) I've reported to my Nvidia driver dev contact that Nvidia GPUs generally have a bad pixel clock / refresh rate for any x/1.001 modes. I hope that he can get this fixed. That way even without any custom modes we should get much better refresh rates, which should also help for 3D. But I don't know if this will get fixed, or how quickly.

2) You could try writing down the optimized timing mode data and create an EDID override based on that, using CRU. I've no idea if that will also affect 3D, though. Maybe an EDID override can also have an extra entry for 3D? I don't really know, to be honest.


Thanks. Lets hope nVidia does fix the defaults timings.

I'll try to take a look at CRU and see if I can get anything to work.

Is it just me or does everyone with nVidia has drops every 2mn or so in 3D?

Some people don't need FSE in 3D, I do. I might be interesting if nVidia users could post 1) if they need FSE or not for 3D in windows 10 with the latest 390.65 drivers and 2) how much time they get between frame drops.

Then maybe we'll see a pattern?

If you post, please provide OS and driver version, as well as GPU model (nVidia only). Prefered data would be for Window 10 build 1709 and latest 390.65 drivers.

Maybe need FSE = frame drops, no need for FSE = no frame drops?

I'll try to see if I get as much frame drops without FSE in 3D. I don't get 3D without FSE but the PJ does switch to 1080p23FP, so it might still provide some info re the frame drops in 3D windowed mode.

Thanks again for the feedback and help.

madshi
15th January 2018, 17:51
Is it just me or does everyone with nVidia has drops every 2mn or so in 3D?
I think everyone has the same issue, both in 2D and 3D, when not using custom modes. When using custom modes: I don't know.

madshi
15th January 2018, 18:06
madVR v0.92.11 released

http://madshi.net/madVR.zip

* added 2 new lower "remove compression artifacts" strengths
* slightly improved "remove compression artifacts" quality at lower strengths
* "remove compression artifacts" now always runs as part of NGU (if possible)
* display bitdepth now defaults to new "auto" setting (read from EDID)
* extended "if there are big black bars, reduce bar size" option range
* render target display is now shown in bold in the settings dialog
* added support for "execute command line on profile switch"
* when OS "HDR and Advanced Color" switch is active, FSE mode is disabled
* removed "exclusive" / "windowed" mode OSD notification
* added "(OS HDR)" vs "(NV HDR)" vs "(AMD HDR)" OSD information
* added downscaling "LL" (Linear Light) information to OSD
* added keyboard shortcut for opening settings dialog (default Ctrl+S)
* added keyboard shortcut for toggling seekbar on/off
* added keyboard shortcut for showing seekbar for 5 seconds
* added keyboard shortcut for toggling debanding on/off vs strength
* added file tag "detectBlackBars=on|off" or "blackBarDetection=on|off"
* added file tag "hdr=on|off" or "transfer=hdr|sdr|2084|709"
* added "battery" profile variable
* added "fullscreen" profile variable, can be exclusive or windowed
* renamed "fseMode" profile variable to "exclusive" ("fseMode" still works)
* fixed: "display" profile variable didn't work properly
* fixed: little "let madVR decide" chroma quadrupling bug
* fixed: screenshots were distorted with when using "crop black bars"
* fixed: screenshots in paused state sometimes crashed madVR
* fixed #320: make seeking to start of movie easier with FSE mode seek bar
* fixed #336: madHcCtrl: 3DLUT file path is evaluated for remote instance
* fixed #406: typing in "devices" profiles could jump to other pages
* fixed #481: distorted colors with Y416 input and DXVA processing
* added workaround for subtitle renderer crashes (XySubFilter, AssFilterMod)
* added workaround for PotPlayer OSD render crashes
As you can see, a long list of changes. But most of these are just bugfixes or small(ish) improvements that have been asked for in the past couple of months. More bugfixes to come in the next build.

I'd like your feedback, once more, for the following:

1) How does NGU Sharp + the new lowest RCA strength 1 look to you? Maybe NGU Sharp (only High and Very High) should always run with RCA strength 1 now, even if RCA is turned off? Or is it still better to allow NGU Sharp + RCA off?

2) If you have entered bugs into the tracker:

http://madvr.bugs.madshi.net

Please double check if your bugs are set to "feedback". Maybe I require your input to solve them.

3) The latest Windows 10 Fall Creators Update might/should contain a fix for switching to 24.000 Hz and 60.000 Hz refresh rates in both D3D9 and D3D11 FSE mode, without needing the madVR option "hack Direct3D to make 24.000 Hz and 60.000 Hz work" to be activated. Could you please double check this to confirm?

(FYI, in case you didn't know, older Windows 10 versions, and also Windows 8.1, like to switch to 23.976 Hz and 59.940 Hz in FSE mode, even if madVR asks for 24.000 Hz and 60.000 Hz.)

mclingo
15th January 2018, 18:46
madVR v0.92.11 released....

wow, wasnt expecting this for a while, made may day !, thanks again for your hard work. )

Neo-XP
15th January 2018, 18:52
1) How does NGU Sharp + the new lowest RCA strength 1 look to you? Maybe NGU Sharp (only High and Very High) should always run with RCA strength 1 now, even if RCA is turned off? Or is it still better to allow NGU Sharp + RCA off?

Do you mean we will not be able to use NGU Sharp High and Very High without RCA at strength 1?
I can not run NGU Sharp Very High with RCA, even at strength 1, so that means I will not be able to use NGU Sharp Very High anymore for sources that do not need RCA anyway?
I do not think I understand this right, or if I do, it is a bad idea.


3) The latest Windows 10 Fall Creators Update might/should contain a fix for switching to 24.000 Hz and 60.000 Hz refresh rates in both D3D9 and D3D11 FSE mode, without needing the madVR option "hack Direct3D to make 24.000 Hz and 60.000 Hz work" to be activated. Could you please double check this to confirm?

(FYI, in case you didn't know, older Windows 10 versions, and also Windows 8.1, like to switch to 23.976 Hz and 59.940 Hz in FSE mode, even if madVR asks for 24.000 Hz and 60.000 Hz.)

It is fixed for me, I had this problem before, but now I do not need the hack anymore.

:thanks:

madshi
15th January 2018, 18:54
Do you mean we will not be able to use NGU Sharp High and Very High without RCA at strength 1?
I can not run NGU Sharp Very High with RCA, even at strength 1, so that means I will not be able to use NGU Sharp Very High anymore for sources that do not need RCA anyway?
Currently it's still the same as it was before, so no need to worry. However, I added 2 new lower RCA strength settings. What was strength 1 in v0.92.10 is now strength 3 in v0.92.11. So I'm asking if the new very low strength "1" setting is low enough to never harm.

It is fixed for me, I had this problem before, but now I do not need the hack anymore.
Good to hear!

YxP
15th January 2018, 18:56
RCA 1 doesn't seem to harm details but I'm also not so sure if it should be mandatory. Might as well keep low debanding on all the time as well then? My problem isn't even processing power, but the fact that NGU and some artifact removal combinations cause my GPU to produce clicking or ticking sounds, some more and some less.

sneaker_ger
15th January 2018, 18:57
* fixed #320: make seeking to start of movie easier with FSE mode seek bar
:thanks:

Neo-XP
15th January 2018, 19:02
Currently it's still the same as it was before, so no need to worry. However, I added 2 new lower RCA strength settings. What was strength 1 in v0.92.10 is now strength 3 in v0.92.11. So I'm asking if the new very low strength "1" setting is low enough to never harm.

I can not run RCA at strength "1" in v0.92.11 with NGU Sharp Very High, I get a lot of dropped frames. I can run NGU Sharp Very High without any problem without RCA.

For instance, for NGU Sharp Very High (FHD to UHD) I get ~26ms render time, but with RCA at strength "1" it jumps to ~58ms at medium and ~162ms at high :scared:

NGU Sharp Very High not usable anymore for me if you do this, and I just got a GTX1070TI for Christmas :(

Even if I had enough power, I would not want to use all that power for this, even if it never harm, I would better use it in something else or not use it at all.

It seems that igv finally succeeded in doing better than ngu sharp with fsrcnnx.
I literally can't see any differences...

Another troll obviously.

madshi
15th January 2018, 19:16
RCA 1 doesn't seem to harm details but I'm also not so sure if it should be mandatory. Might as well keep low debanding on all the time as well then? My problem isn't even processing power, but the fact that NGU and some artifact removal combinations cause my GPU to produce clicking or ticking sounds, some more and some less.
I can not run RCA at strength "1" in v0.92.11 with NGU Sharp Very High, I get a lot of dropped frames. I can run NGU Sharp Very High without any problem without RCA.

For instance, for NGU Sharp Very High (FHD to UHD) I get ~26ms render time, but with RCA at strength "1" it jumps to ~58ms at medium and ~162ms at high :scared:

NGU Sharp Very High not usable anymore for me if you do this, and I just got a GTX1070TI for Christmas :(

Even if I had enough power, I would not want to use all that power for this, even if it never harm, I would better use it in something else or not use it at all.
I'm confused. If you use NGU Sharp, adding RCA on top should cost exactly zero additional performance! I would never consider forcing RCA on you if it costs any additional performance, so please stop worrying already...

Have you activated RCA for chroma channels, too? That costs extra performance, unless you use NGU Sharp for chroma upscaling, too.

Neo-XP
15th January 2018, 19:23
I'm confused. If you use NGU Sharp, adding RCA on top should cost exactly zero additional performance! I would never consider forcing RCA on you if it costs any additional performance, so please stop worrying already...

Have you activated RCA for chroma channels, too? That costs extra performance, unless you use NGU Sharp for chroma upscaling, too.

No, "process chroma channels, too" not ticked. Am I doing something wrong?

I just tick "reduce compression artifacts, then strength "1" and quality "medium" or "high". Nothing else.

@madshi Are you sure that RCA runs with NGU Sharp by default now?

YxP
15th January 2018, 19:27
I'm not having any noticeable performance costs. Like I said, it's the extraneous noise that GPU generates. It's probably nothing you or nev (changing decoder in lavfilters affects this) can fix, but since I remember there were at least one or two others with this problem, I'd thought I'd mention it. If you REALLY want to have RCA1 as a baseline I can probably live with it.

madshi
15th January 2018, 19:27
No, "process chroma channels, too" not ticked. Am I doing something wrong?

I just tick "reduce compression artifacts, then strength "1" and quality "medium" or "high". Nothing else.

@madshi Are you sure that RCA runs with NGU Sharp by default now?
Strange, must be a bug in madVR then. If you create an empty file "ShowRenderSteps" in the madVR folder and then enable the OSD, does it list both "Deblock" and "NGU Upscaling" separately?

I'm not having any noticeable performance costs. Like I said, it's the extraneous noise that GPU generates. It's probably nothing you or nev (changing decoder in lavfilters affects this) can fix, but since I remember there were at least one or two others with this problem, I'd thought I'd mention it. If you REALLY want to have RCA1 as a baseline I can probably live with it.
There should be no difference in either performance or noise, whatsoever, as long as NGU Sharp + RCA are running as a combined algorithm, compared to running NGU Sharp alone.

YxP
15th January 2018, 19:32
Just to make sure you don't think I'm crazy let me say it once more: there is some physical component in the GPU that's either faulty or god knows what reason makes a ticking noise when NGU is used. It's mysterious because it's not just about the load - gaming or NNEDI256 don't produce it.

madshi
15th January 2018, 19:32
@madshi Are you sure that RCA runs with NGU Sharp by default now?
Argh, I just noticed a bug: I've removed the option to let you decide if you want to run both combined or not, but I've not actually forced them to run combined and the setting is still there, but not available in the settings dialog, anymore.

Argh. Practically this means: New users will get the intended behaviour. "Old" users will get the option as they set it in v0.92.10, with no way to modify it, anymore. You can fix it by installing v0.92.10 again, then activate the option to run NGU Sharp + RCA together, then update to v0.92.11 again. Sorry for the confusion. Of course this will be fixed in the next build.

madshi
15th January 2018, 19:35
Just to make sure you don't think I'm crazy let me say it once more: there is some physical component in the GPU that's either faulty or god knows what reason makes a ticking noise when NGU is used. It's mysterious because it's not just about the load - gaming or NNEDI256 don't produce it.
Yes, but that's got nothing to do with what we were talking about.

If you read the v0.92.11 release notes carefully, you'll notice that I never intended to make RCA run all the time, regardless of which upscaling algorithm you were using. I only suggested to enable it, in case NGU Sharp is already active, anyway, because in that situation RCA comes for free (both in terms of performance and noise). If NGU Sharp is already active, your GPU will already be "noisy", so it doesn't harm to also activate RCA in that situation, it won't cause the GPU to go even more noisy. If NGU Sharp is not active, I never planned to force RCA on you.

Neo-XP
15th January 2018, 19:40
NGU Sharp (luma) upscaling is not active in any of those screenshots. So RCA doesn't come for free. You are using NGU chroma upscaling, but that doesn't make RCA available for the *luma* channel.

My bad, I tested with UHD content on FHD and UHD TV, so no upscaling to be done :stupid: I deleted my post after noticing it, but you were too fast.

Long day at work do not help.

madshi
15th January 2018, 19:42
My bad, I tested with UHD content on FHD and UHD TV, so no upscaling to be done
No problem. So is it working for you now? See also this post of mine, in case you missed it:

https://forum.doom9.org/showpost.php?p=1830500&postcount=48371

What is your opinion about *image quality* when using NGU Sharp + the new RCA strength 1 setting. Is RCA strength 1 still harmful when used with NGU Sharp?

brazen1
15th January 2018, 19:49
@Manni

Frame drops are every 3.5 minutes in 3D. FSE or Windowed makes no difference. Tip that might help you engage 3D windowed:
When I turn off FSE, 3D engages on display but not MBC-BE. Press \ on keyboard to window/minimize the player. Open NCP during playback. You should be in 1080 RGB FULL 8bit. For some reason the driver does not switch to 10\12bit as it does automatically (after forcing during driver setup) using 2D media or one of the components is not switching it. So, simply select 12bit. Display will flash and 3D will be playing in 3D. It will remain in 3D once you press \ again. Wallah, 3D is playing when FSE is OFF. Hardly the appropriate sequence but hopefully more ammo. Subsequent playback, this setting remains and it just works.... until you reboot or the likes. Make sure you engaged stereoscopic in NCP and global if needed prior via script since HDR playback disables stereoscopic. I use FSE also.

W10 1709 v.16299.192
GTX 960 4GB driver v.390.65

Neo-XP
15th January 2018, 20:02
No problem. So is it working for you now? See also this post of mine, in case you missed it:

https://forum.doom9.org/showpost.php?p=1830500&postcount=48371

What is your opinion about *image quality* when using NGU Sharp + the new RCA strength 1 setting. Is RCA strength 1 still harmful when used with NGU Sharp?

Yes, working as expected now, but some details lost/blurred around the edges with RCA at strength 1 enabled.

Not very harmful and the algorithm is very good to remove the little compression artifacts even on very good sources, so I do not know what to think yet. I need to test more.

madshi
15th January 2018, 20:05
Well, I suppose if there are clearly visible negative effects, then it probably makes sense to still allow NGU Sharp to be used without any RCA. Except maybe if the advantages greatly outweigh the negatives...

mclingo
15th January 2018, 20:10
@madshi - not sure if this new version, the last one or anything Microsoft has released was supposed to fix handshake issues as 3D reverts back from 1080p23 back to my 2160p60 desktop but i'm still getting that issue, however my PC no longer crashes, I just just lose handshake and i have to use HDMION.exe to wake it up.

2s movies start, skip and play fine, when I press stop my TV tells me i've come out of 3D mode but then I get a black screen and no signal.

To get around this I've been using a batch file to switch my desktop to 1080p before starting KODI DS when playing 3D movies, I then just have to remember to switch back to 2160p afterward. Do you know what causes this, its pretty much the only problem I have left to resolve now before I'm fully stable.

This might be a KODI DS issue, seems to be ok using MPC-BE, will log this on their thread.

Siso
15th January 2018, 20:27
madshi, thank you for the new build, are you planning simple crop options like crop to 1.85:1, crop to 2.35:1, crop to 2.39:1, crop to 2.40:1?

Neo-XP
15th January 2018, 20:29
Well, I suppose if there are clearly visible negative effects, then it probably makes sense to still allow NGU Sharp to be used without any RCA. Except maybe if the advantages greatly outweigh the negatives...

FHD to UHD (off / RCA@1 high) :

https://s13.postimg.org/iglj2z93n/RCA_off.png (https://postimg.org/image/iglj2z93n/) https://s13.postimg.org/kl5w41fv7/RCA_high.png (https://postimg.org/image/kl5w41fv7/)

Zoomed (off / RCA@1 high) :

https://s13.postimg.org/nf91hnxir/RCA_off_zoomed.png (https://postimg.org/image/nf91hnxir/) https://s13.postimg.org/pjteiqrfn/RCA_high_zoomed.png (https://postimg.org/image/pjteiqrfn/)

Sharpness freaks will not like it (if it is forced with NGU Sharp).
Personally, I think that NGU Sharp should be as sharp as possible.

mclingo
15th January 2018, 20:33
@madshi - passthrough HDR not working for me with latest version, shows AMD HDR in control J but HDR mode is not triggered on my TV, colours washed out. i'd switch to direct3d (native) rendering recently, thought it might be that but same in copyback. I'll wipe my settings and try again, unless there is something i've missed I need to do?


EDIT - wiped and reinstalled, HDR working again.

sneaker_ger
15th January 2018, 20:41
FHD to UHD (off / RCA@1 high)
Those are virtually identical to my eyes.

brazen1
15th January 2018, 20:56
@madshi

With my GTX 960 4GB mild overclock or no overclock, I have never been able to use RCA, RRA or RRN with UHD. I take too large a performance hit although, you have stated RCA does not require any extra processing if I understood you correctly. Today I installed new madVR since you lowered RCA settings two increments thinking perhaps I can use it now. Still my render times go through the roof. Lowering chroma and image upscaling to any of the various algos makes no difference. I cannot enable any of them even at lowest settings. I use custom profiles for Processing. SD, HD, and UHD. SD and HD I can set the artifact removal settings from as high or as low as I wish, using all or some of them and take no performance hit. But using UHD, I cannot use a single one without becoming unplayable even at lowest settings elsewhere. If you remove the option to turn off RCA seperately and just add it to NGU Sharp, I'm afraid I will no longer be able to use NGU Sharp on High as I am presently for my UHD 1:1 sources. Is it abnormal to try to use RCA, RRA, or RRN for good UHD sources in the 1st place?

Just noticed user NeoXP wrote something similar......
Feedback coming in quicker than I can type. To be clear, if NGU sharp on high or very high is selected, RCA is automatically enabled even if it's not ticked in the artifact removal tab? If true, I'm golden.

To be clear, if NGU sharp on high or very high is also used in chroma as well as image upscaling, there is a performance hit when using RCA?

Manni
15th January 2018, 20:57
You're absolutely right that bitdepth is more important for content than rendering. The reason is lossy encoding which doesn't go well with dithering. I really wish UHD Blu-Ray would have been 12bit (or even 16bit) instead of 10bit!

<snip>

So basically I'd rate:

10bit RGB > 8bit RGB > 10bit 4:2:2 > 10bit 4:2:0

That applies to both HDR and SDR.


Agree 100%.


I believe some (many?) displays which do 12bit fine are internally dithering. But I haven't seen anyone really test this (not sure if it's even possible reliably), so it's hard to be sure about anything.


Yes, I agree about other displays but it's not the case for the 2015+ JVCs. They have been confirmed as being 12bits from input to panel.


I fully agree, as long as you keep dithering on at all times. I know that some users thought that when playing 10bit content with 10bit output, they could turn off dithering. I'm not 100% sure if that's what you're saying here (it's not really clear). I think you probably didn't mean to suggest that dithering could be turned off when using 10bit output. But just to be safe no user gets this wrong, let me make clear that dithering should never be turned off.


Again agree, and thanks for clarifying as you're right it could have been misread. I NEVER turn dithering off (except when trying to assess differences/testing, but I always switch it back on).

I think everyone has the same issue, both in 2D and 3D, when not using custom modes. When using custom modes: I don't know.

Thanks, in that case I'd like to hear from users who get better than one drop every 2-5min with nVidia on Windows 10 Build 1709 with 390.65 (when using custom modes).

@Manni
Frame drops are every 3.5 minutes in 3D. FSE or Windowed makes no difference. Tip that might help you engage 3D windowed:

<snip>



Thanks that's super useful, it might indeed explain why some need FSE and others don't. I'll give it a try as soon as I can and will report back. I always have 3D enabled with my batch files, so that's definitely not the issue.