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

oldpainlesskodi
21st April 2018, 16:48
With correctly functioning hardware (TV and GPU drivers), it still is.

Are you using an NVIDIA?
With some older driver branch - don't remember which one - I had kind of the same issue you have, with clipping. I had to set the GPU (and TV of course) to Limited to get it fixed permanently but of course you then lose in picture quality.
Is YCbCr the only mode that fixes it on your TV, or does RGB Limited works too?
Do you by any chance have another device to test with?
If you have an NVIDIA, try changing the "Content type reported to the display" setting and see if it changes something. When I had that issue with NVIDIA drivers, changing that option to literally anything else than the one currently selected fixed the problem until the next display resync, at which point I had to change it again.
The problem was then fixed in the following driver branch.

Thanks for sharing el Filou.

I'll look into your suggestions and compare ( yes, I'm Nvidia driver 352.83 - HDR switching working, Atmos etc etc) and report back as it may help others.

YCbCr444 produces a significantly different image in colour and luminance uniformity, and less image noise without an apparent degradation of sharpness or image quality (more film like, if you will) compared to RGB Limited, and as I mentioned, RGB full chain washes out the image slightly along with a different colour and gamma presentation, and has more noise - but I will do more tests with the combinations you mentioned and report back.

K

huhn
22nd April 2018, 06:59
madshi this is maybe interesting if you want to add VFR support to madVR.

https://forums.blurbusters.com/viewtopic.php?f=10&t=3972&start=30#p31943

70MM
22nd April 2018, 07:08
I keep reading on here that a number of people prefer YCbCr444 over RGB for whatever reasons. Yet madshi keeps saying we should use RGB @ 8 bits with dithering.

To those that do, why is 444 better for you than RGB?

huhn
22nd April 2018, 07:15
it's inquestionable inferior if you have an end device that is not broken.

the benefit of YCbCr is the display know for sure if it is limited range or full range so you can't screw this up because it is always limited.

70MM
22nd April 2018, 07:24
So huhn you are saying still RGB is far better?

70MM
22nd April 2018, 07:30
When one is upscaling BD to 4K and using any image enhancements like sharpen edges and enhanance detail, who also uses the same two settings in upscaling refinement?

Can it be detrimental or cause artifacts if sharpening is used in both areas when upscaling from BD to 4K?

ryrynz
22nd April 2018, 07:46
No it's fine, it's only a problem if you're over sharpening, in which case it highlights preexisting artifacts more than anything.. Just don't use sharpening so much you can see halos.

Doesn't hurt to evaluate a higher setting in either area before using sharpening in both in order to save performance.

70MM
22nd April 2018, 08:46
ryrynz, do you sharpen in both areas or just in one?

ryrynz
22nd April 2018, 09:11
I refine only after upscaling is complete.

e-t172
22nd April 2018, 11:03
madshi this is maybe interesting if you want to add VFR support to madVR.

https://forums.blurbusters.com/viewtopic.php?f=10&t=3972&start=30#p31943

That's fascinating, especially the discussion that follows on that thread - people are discussing how to circumvent real-time Windows thread scheduling limitations to time Present() calls in the most accurate (least jittery) way possible, which is exactly the problem that madVR would have to solve if it were to leverage variable sync for smooth video presentation.

Siso
22nd April 2018, 11:28
I refine only after upscaling is complete.

Same here :D

HillieSan
22nd April 2018, 14:02
Hi, what do you mean you need the latest nightly, DIRECT3D 11 has been working for ages on my system, its required for HDR to work.

What does it fix?

Direct3D11 in MadVR didn't work well with the first version of LAV filter 0.71.0. The latest updates fixed the problem. Now Direct3D11 works again.

ashlar42
22nd April 2018, 14:05
Edited. Not important enough. I lack the time to debate stuff like this on the internet. sorry.

mclingo
22nd April 2018, 15:10
Direct3D11 in MadVR didn't work well with the first version of LAV filter 0.71.0. The latest updates fixed the problem. Now Direct3D11 works again.

I didnt notice any issues with it and dont remember anything being posted, so I know what to look out for should problems recurr with later updates which problems was it causing?

strumf666
22nd April 2018, 15:51
D3D11 native and AMD drivers have (had?) its problems. CB not to my knowledge.

oldpainlesskodi
22nd April 2018, 16:44
it's inquestionable inferior if you have an end device that is not broken.

the benefit of YCbCr is the display know for sure if it is limited range or full range so you can't screw this up because it is always limited.

I think you might be correct - with the Samsung range of SUHD sets, there maybe an error in how it treats full range RGB vs 4.4.4, and using HDR+, further adds to the issue (even on the very latest firmware)

The problem with perfection.....oh, don't get me started :-)

As I have no intention of writing off my investment (I bought the set at peak), I'll live with 4.4.4 and use HDR+, but I do wish these manufacturers would get their act together ffs.

K

huhn
22nd April 2018, 17:12
you have todo what you have todo...

i have to use smoothmotion even through i would like to match refreshrates but my screen has some dumb bug in this regard it is as it is and it doesn't change it would be better the other way.

ui123
22nd April 2018, 19:31
Hello guys, quick question about HDR passthrough

Do i need to enable windows 10 HDR option ? My TV is switching to HDR i can see the HDR logo on my tv but when i go to windows 10 HDR option windows say it is disabled.

Thanks for the clarification :confused:

TV: SONY 4K HDR 10 Bits
MPC-HC v1.7.16
MadVR .12
GTX 1080
Windows 10 last update
HDR file : A Series of Unfortunate Events 2160p HDR Netflix WEBRip DD5.1 x265

http://www.imagebam.com/image/2ad241831726033

Warner306
22nd April 2018, 20:20
madVR uses the private APIs provided by Nvidia and AMD. There is no need to use the Windows HDR switch.

You should probably use a better scaler than DXVA2 with that graphics card. Something in the NGU family would be preferable.

Asmodian
22nd April 2018, 20:24
Do i need to enable windows 10 HDR option ? My TV is switching to HDR i can see the HDR logo on my tv but when i go to windows 10 HDR option windows say it is disabled.


No, do not enable the Windows HDR option. The (NV HDR) after the display mode tells you madVR is using Nvidia's API for displaying HDR. This is a good thing because the Windows HDR mode damages the video, it seems to assume you have a perfect 4000 nits HDR10 display or something (which no one has) and maps all content to that. I don't know what metadata it then sends to the TV. It seems like Microsoft has the resources to do HDR better... but they have always been amazingly dense when it comes to HTPC. :(

IMHO the OS HDR switch is pure evil, and should be avoided at all cost, until Microsoft gets off their high horse and finally learns how to do things right. But that's just my personal opinion, of course.

EDIT:
madshi this is maybe interesting if you want to add VFR support to madVR.

https://forums.blurbusters.com/viewtopic.php?f=10&t=3972&start=30#p31943

That is very interesting but it doesn't sound like it solves the problem madshi was worried about. This software event will not be as regular as the hardware events so even with madVR controlling the present() times as accurately as possible they would vary +/- Xms. We don't know what this variation would be and it would probably vary a lot system to system, depending on hardware, background tasks, etc. Windows is not a real time OS after all.

I think these small frame time variances would be unnoticeable and worth it to have 0 dropped or repeated frames for content with any frame rate, even mixed, without needing to tune custom refresh rates (and the drivers don't support custom refresh rates very well).

I do see madshi's point though. The work to implement a mode that is probably slightly worse than what is available currently, and only offers convenience as a benefit, could be spent on other things.

That said, I do have an extra G-sync monitor (Asus PG278Q) that I would be happy to ship to Europe if it would help. :D

Edit2: hmm.. reading the rest of that thread it does sound like there are a few ways to get very low jitter in frame times. :)

ui123
22nd April 2018, 21:16
Thanks a lot Warner306 & Asmodian for your answers :sly:

madshi
22nd April 2018, 22:19
OK, I just tested different subtitle types (DVD, blu-ray, SRT) and it makes no difference. Tested different files too, it's all very consistent.

With MPC-HC & its internal subtitle renderer (and a full LAV+madvr chain) no issues at all, on any file and with any type of subs. Completely negligible impact on performance.

Now, with XySubFilter (had to install that :p ) and MPC-HC, yes, I am seeing a performance hit (rendering times in madVR overlay), but it seems a bit smaller (about 4-5ms instead of 9-10).
Ok, it seems the way I render the subtitles does cost a noticeable chunk of performance on old/slow GPUs. I'm not exactly sure why. Maybe the combination of using a high bitdepth backbuffer (by default 16bit) and then asking the GPU to alpha blend subtitles onto it isn't too easy to do for such GPUs.

The performance hit with JRiver MC is probably higher because depending on the situation it sometimes renders to a higher resolution.

There's probably not much I can do to speed things up. At least I don't know how. I do wonder why the internal MPC-HC subtitle renderer doesn't seem to have the same performance hit, though. Hmmm... Is it possible it does have a similar hit and it's just not listed by madVR? I'm not sure right now if my rendering times measurement system successfully captures how much time the MPC-HC internal subtitle renderer spends.

PSA: 120 Hz FreeSync TVs are coming. (https://www.blurbusters.com/new-120hz-freesync-televisions-by-samsung-coming-this-year/)
Great! So we will probably be able to drive these TVs with 120hz *fixed*sync. Looking forward to that.

That's fascinating, especially the discussion that follows on that thread - people are discussing how to circumvent real-time Windows thread scheduling limitations to time Present() calls in the most accurate (least jittery) way possible, which is exactly the problem that madVR would have to solve if it were to leverage variable sync for smooth video presentation.
Exactly. See FAQ in the 2nd post of this thread.

Asmodian
22nd April 2018, 22:59
Great! So we will probably be able to drive these TVs with 120hz *fixed*sync. Looking forward to that.

It is a 4K TV that can do 1080p at 120 Hz, just like last year's OLEDs from LG. The only thing new is Freesync support. :p;)

madshi
22nd April 2018, 23:06
madVR v0.92.13 released

http://madshi.net/madVR.zip

* added 2 new RCA quality levels, with NGU fusion support
* if "activate RCA only if it comes for free" is active, NGU quality level isn't modified, anymore
* improved "preserve hue" tone mapping quality
* added "dynamic" mode for "luminance vs saturation reduction" option
* added "dumb" tone mapping algo, optionally with color correction
* added support for Arve custom tone mapping curves
* added "hdrOutput" information field
Didn't have much time, so only a few changes. No (important) bugfixes this time. Besides all the HDR changes (which are still a work in progress), the key changes in this build is as follows:

1) The former RCA "high" quality is now "very high" quality.

2) The former RCA "medium" quality is now "high" quality.

3) Added new faster (and worse quality) "medium" and "low" RCA presets.

4) Basically now RCA has the same quality levels as NGU (low, medium, high, very high). And now the fusing of NGU+RCA happens with the same quality level names. Which should make the fusion logic slightly easier to understand (I hope).

5) If you enable the option "activate only if it comes for free", in older builds madVR used whatever quality was "higher". So basically if you used NGU High + RCA Very High (formerly known as RCA High), madVR actually "upgraded" NGU to Very High quality. This still happens if you have "activate only if it comes for free" disabled. But if you enable it, the new build now never changes NGU quality level, anymore. Instead NGU quality will stay exactly as you selected it, and RCA is simply added via fusion, regardless of which RCA quality level you've selected.

P.S: In order to use custom Arve curves for tone mapping, you need to use a special patched version of that tool. The original tool doesn't work for madVR, because the original tool has too low precision for my taste. You can download the custom version of the tool for madVR here:

http://madshi.net/jvcprojectortools.zip

ABDO
22nd April 2018, 23:14
another great released, thank you madshi for your hard work <as always> :):thanks:

ABDO
22nd April 2018, 23:43
madshi, the new RCA quality levels is great, i can now use it easily with 1080p video at my (gtx 650ti boost), amazing.

huhn
23rd April 2018, 00:03
120 UHD will come with HDMI 2.1 most likely next year.

leeperry
23rd April 2018, 00:33
:thanks: for the new build but I used to have the "activate only if free" RCA checkbox enabled so it would keep 1080p untouched and allow me to combo medium RCA + "very high" NGU, but this isn't an option anymore apparently? This new change has made the checkbox useless for me, I don't see why you won't allow us to change the RCA level if it's free-ish :(

HillieSan
23rd April 2018, 01:02
I didnt notice any issues with it and dont remember anything being posted, so I know what to look out for should problems recurr with later updates which problems was it causing?

I think it was fixed in version 0.71.0-1, a few days after version 0.71.0-0 was released.

D3D11 native and AMD drivers have (had?) its problems. CB not to my knowledge.

That was a long time ago. FSE was/is problematic. I am not sure if it was a pure AMD driver problem. Microsoft also broke/fixed a few things in Windows 10.

Warner306
23rd April 2018, 01:13
I found a bug. If you enable "restore details in compressed highlights" under hdr, the image becomes corrupted and turns purple.

This is with SDR content, not HDR, so this option shouldn't do anything. Tested with Nvidia and Intel drivers.

Warner306
23rd April 2018, 01:16
I have some questions about the new release:

1) I understand the concept about fix too bright & saturated pixels with regards to illegal RGB values but less about gamut mapping. Do all pixels falling within the gamut (those above 0 to 100 nits) require hue and saturation adjustments after tone mapping, or does this only apply to mapping BT.2020 to BT.709?

2) What happened to diffuse white?

3) Does BT.2390 clip anything, or does it preserve all highlights?

4) Does the strength setting do anything with the free variant of RCA?

That is all...

Asmodian
23rd April 2018, 03:22
5) If you enable the option "activate only if it comes for free", in older builds madVR used whatever quality was "higher". So basically if you used NGU High + RCA Very High (formerly known as RCA High), madVR actually "upgraded" NGU to Very High quality. This still happens if you have "activate only if it comes for free" disabled. But if you enable it, the new build now never changes NGU quality level, anymore. Instead NGU quality will stay exactly as you selected it, and RCA is simply added via fusion, regardless of which RCA quality level you've selected.

Much more straight forward and it seems ideal behavior, nice upgrade. Thanks!

I used to have the "activate only if free" RCA checkbox enabled so it would keep 1080p untouched and allow me to combo medium RCA + "very high" NGU, but this isn't an option anymore apparently? This new change has made the checkbox useless for me, I don't see why you won't allow us to change the RCA level if it's free-ish :(

I don't understand. If you are running NGU very high why would you want to run RCA medium? That would cost more performance than running RCA very high (for free) wouldn't it? :confused:

That option used to change the NGU level to match the RCA level or the RCA level to match the NGU level (whichever was higher), not allow you to run RCA for free at a different quality level.

toniash
23rd April 2018, 07:18
I get a purple image :scared: with last version

Asmodian
23rd April 2018, 07:49
I found a bug. If you enable "restore details in compressed highlights" under hdr, the image becomes corrupted and turns purple.

This is with SDR content, not HDR, so this option shouldn't do anything. Tested with Nvidia and Intel drivers.

I get a purple image :scared: with last version

I can reproduce this too. It happen if I have "restore details in compressed highlights" enabled on the "hdr -> convert HDR content to SDR by using pixel shader math" page even if I have the hdr setting on "passthrough HDR content to the display" but not if I have it on "let madVR decide" (this is while watching SDR or HDR content). It looks like a cool debug mode to me. ;)

Interestingly it also doesn't happen if I am actually watching HDR using "convert HDR content to SDR by using pixel shader math". :confused:

toniash
23rd April 2018, 09:56
I can reproduce this too. It happen if I have "restore details in compressed highlights" enabled on the "hdr -> convert HDR content to SDR by using pixel shader math" page even if I have the hdr setting on "passthrough HDR content to the display" but not if I have it on "let madVR decide" (this is while watching SDR or HDR content). It looks like a cool debug mode to me. ;)

Thanks!:thanks:

leeperry
23rd April 2018, 11:15
That option used to change the NGU level to match the RCA level or the RCA level to match the NGU level (whichever was higher), not allow you to run RCA for free at a different quality level.
OK fair enough, I guess I'll never check this box ever again and try my luck enabling low RCA for NGU Medium 720p30@1080p60 as the "free" checkbox only worked up to 720p25 huh.

madshi
23rd April 2018, 15:10
I used to have the "activate only if free" RCA checkbox enabled so it would keep 1080p untouched and allow me to combo medium RCA + "very high" NGU, but this isn't an option anymore apparently? This new change has made the checkbox useless for me, I don't see why you won't allow us to change the RCA level if it's free-ish
I don't really understand what you're saying, but my impression is that you either misunderstood how it worked before, or how it works now, or both... :p Why don't you give it a try and observe if anything doesn't behave the way you would want it to. If that's the case, report it here.

1) I understand the concept about fix too bright & saturated pixels with regards to illegal RGB values but less about gamut mapping. Do all pixels falling within the gamut (those above 0 to 100 nits) require hue and saturation adjustments after tone mapping, or does this only apply to mapping BT.2020 to BT.709?
It's really complicated. In theory a near black pixel could produce negative RGB values. Such a pixel would require some hue and saturation adjustment, too. Pixels above 100nits or even 1000nits may or may not fit into the gamut, depending on hue. On the other hand, even pixels below 100nits can already be out of gamut (after tone mapping). A lot depends on which hue and saturation each pixel has.

2) What happened to diffuse white?
It was only available in the test builds. I've removed it because it didn't really bring anything useful to the table. E.g. if you had peak=100 and diffuseWhite=20, you can achieve the exact same output by using peak=500 now. Basically diffuseWhite just scaled the peak number, nothing else.

3) Does BT.2390 clip anything, or does it preserve all highlights?
If madVR knows the correct video peak (no matter how), BT.2390 doesn't clip anything. But if madVR believes the video peak to be lower than it actually is, then there will be some clipping.

4) Does the strength setting do anything with the free variant of RCA?
When using the free "NGU+RCA fusion" variant, the RCA strength setting is still in full effect. But you can't choose the RCA quality, anymore, because the quality is now defined by the NGU quality. Obviously this only applies if you told madVR that you want to use RCA only if it comes for free. Otherwise both RCA strength and quality settings will be fully honored in any case.

madshi
23rd April 2018, 15:10
madVR v0.92.14 released

http://madshi.net/madVR.zip

* fixed: activated HDR option "restore details in compressed highlights" broke SDR playback

Klaus1189
23rd April 2018, 17:16
madVR v0.92.14 released

Thank you :)

leeperry
23rd April 2018, 18:12
I don't really understand what you're saying, but my impression is that you either misunderstood how it worked before, or how it works now, or both... :p Why don't you give it a try and observe if anything doesn't behave the way you would want it to. If that's the case, report it here.
True :p
All I know is that it used to be free-ish but now appears truly free and I can finally use RCA+NGU Medium on 720p30@1080p so that's perfect :thanks:

theDongerr
23rd April 2018, 18:41
It was only available in the test builds. I've removed it because it didn't really bring anything useful to the table. E.g. if you had peak=100 and diffuseWhite=20, you can achieve the exact same output by using peak=500 now. Basically diffuseWhite just scaled the peak number, nothing else.

So moving forward from the old method peak=100 divided by diffuseWhite=20 is 5. The 5 is your multiplier on a base of 100nits and that's how you get 500.

So if I was doing peak=100 diffuseWhite=40 before, my new peak=250?


Thanks for all you do madshi.

Cheers,

-donger

MrDVader
24th April 2018, 01:55
What should I enter for "Target peak nits" when converting HDR to SDR?

I have a JVC DLA-RS400, 126" screen, 170 lamp hours, dark room.

According to webprojectorcalculator.com I have:

79 nits in low lamp mode
106 nits in high lamp mode

I'm using the latest madvr version.

Edit:
Also, my projector has not been calibrated (except basic gray scale by eye) but is set to BT.2020 color space. Nevertheless, should I set madvr to calibrated to BT.2020, or DCI-P3, and power curve 2.40?

I tried DCI-P3 but the colours went too red, BT.2020 with 2.40 appears to look very good, as does my current peak nits of 100 - if I up the peak nits, it just appears to produce increasing black crush AND somewhat over exposed whites. I have manual iris fully open and auto iris on 2 (which apparently is more graduated that the other more contrasty setting)

Asmodian
24th April 2018, 09:57
BT.2020 with 2.40 appears to look very good, as does my current peak nits of 100 - if I up the peak nits, it just appears to produce increasing black crush AND somewhat over exposed whites.

BT.2020 with a peak nits of 100 it is then. :)

Seriously though, HDR processing is not very uniform right now so we would need experiance with your projector and a meter to be sure. That said, the HDR output should probably be set to BT.2020 as you found. Almost everything HDR is encoded in the very wide BT.2020 color space so I think most displays do better mapping when receiving BT.2020. Gamma is very much user preference and madVR's settings only have an effect when using madVR to change the gamma.

suanm
24th April 2018, 12:47
I wonder whether Mr. madshi has a plan to integrate the Open GL renderer with madvr .When I play 4K HDR movies in Open GL rendering mode,i can get better image quality in open gl mode than i do in D3D11 rendering mode of Madvr.Better color images at least.I look up the parameters in the format in Open GL mode of potplayer.
The orders is :NV12(INPUT)-->RGBA(video)-->XRGB(backbuffer-->display).Due to RGBA(video) conversion,my TV set displays lifelike color images.Unfortunately,there is no 60fps feature to be available as the Open GL rendering mode of potplayer runs. So i hope Mr. madshi integrate the Open GL renderer in madvr . Thanks in advance,Mr.madshi

Warner306
24th April 2018, 15:56
What should I enter for "Target peak nits" when converting HDR to SDR?

I have a JVC DLA-RS400, 126" screen, 170 lamp hours, dark room.

According to webprojectorcalculator.com I have:

79 nits in low lamp mode
106 nits in high lamp mode

I'm using the latest madvr version.

Edit:
Also, my projector has not been calibrated (except basic gray scale by eye) but is set to BT.2020 color space. Nevertheless, should I set madvr to calibrated to BT.2020, or DCI-P3, and power curve 2.40?

I tried DCI-P3 but the colours went too red, BT.2020 with 2.40 appears to look very good, as does my current peak nits of 100 - if I up the peak nits, it just appears to produce increasing black crush AND somewhat over exposed whites. I have manual iris fully open and auto iris on 2 (which apparently is more graduated that the other more contrasty setting)

Target nits is completely up to preference and experimentation. Increasing the peak nits value has a similar effect to increasing the gamma; the image gets progressively darker. This is because the tone mapping is more gradual in the transition from dark to light. The result is more contrast and dynamic range. So you should aim for the highest peak nits value you can use without crushing black. This will produce more highlights and a greater HDR effect. A properly calibrated HDR display should be a little darker than SDR without crushing shadow detail.

Warner306
24th April 2018, 15:58
I wonder whether Mr. madshi has a plan to integrate the Open GL renderer with madvr .When I play 4K HDR movies in Open GL rendering mode,i can get better image quality in open gl mode than i do in D3D11 rendering mode of Madvr.Better color images at least.I look up the parameters in the format in Open GL mode of potplayer.
The orders is :NV12(INPUT)-->RGBA(video)-->XRGB(backbuffer-->display).Due to RGBA(video) conversion,my TV set displays lifelike color images.Unfortunately,there is no 60fps feature to be available as the Open GL rendering mode of potplayer runs. So i hope Mr. madshi integrate the Open GL renderer in madvr . Thanks in advance,Mr.madshi

I believe Kodi uses OpenGL. I don't see how this is an advantage. Kodi converts any 10-bit input to 8-bit sRGB before outputting to the target gamut. So this is a lossy process. I notice the colors in Kodi are slightly different but not more lifelike. They look wrong and probably are wrong.

nevcairiel
24th April 2018, 16:11
OpenGL or D3D do not have an impact on the image quality - it all depends on the algorithms you use to process the image. I'm not madshi, but I think I can safely state that madVR will never use OpenGL.

suanm
24th April 2018, 17:18
I believe Kodi uses OpenGL. I don't see how this is an advantage. Kodi converts any 10-bit input to 8-bit sRGB before outputting to the target gamut. So this is a lossy process. I notice the colors in Kodi are slightly different but not more lifelike. They look wrong and probably are wrong.
There is no conversion of HDR to SDR in KODI.So i have to abandon KODI.My video&audio decoders are LAV.The output format is NV12 after decoding,i use OpenGL as renderer in potplayer instead of D3D11 or madvr.By D3D11 or madvr i feel the color of images doesn't look lifelike or natural on my tv set.for example,i do not distinguish their skin color between orientals and westerners by D3D11 or Madvr.it's so to easy to distinguish their differences by OpenGL renderer,though.This is why i prefer OpenGL render.

Asmodian
24th April 2018, 17:42
Something is wrong then. I have an i1 Pro 2 and i1 Display Pro which I regularly use to measure the color generated by madVR. madVR is very accurate and able to perfectly display any in gamut color. I have never used PotPlayer but it seems obvious that it is doing some saturation enhancement or something.

As nevairiel said, any differences are due to processing, not the API used to get the video into the GPU.

Warner306
24th April 2018, 18:04
OpenGL or D3D do not have an impact on the image quality - it all depends on the algorithms you use to process the image. I'm not madshi, but I think I can safely state that madVR will never use OpenGL.

I am fairly certain OpenGL is limited to 8-bit processing. At least, it is on Linux. Kodi has been waiting for updates to support 10-bit passthrough. The rest of the processing likely comes down to the algorithms chosen. The poster noted the input is also converted to sRGB, like Kodi, so maybe this is also standard or the preferred method of rendering in OpenGL.