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

Soxbrother
2nd February 2019, 14:29
New problem : inside Mediaportal, the font size is too big ( windows screen settings is at 150%)
Now when I set it at 100%, everything is as it should be, but now I only hear audio and have no video, :(
What to do now ?

Warner306
2nd February 2019, 15:26
Not sure I'm getting what you're trying to say. Isn't tonemapping only needed because of TVs having a too low peak brightness?
As far as I know mastering monitors don't do any tonemapping, so non-bright scenes should look similar to what I see with dynamic tonemapping disabled.
Then why would it be a good thing to brighten up darker scenes?

I did a small test to see how much LGs dynamic tonemapping messes with non-bright scenes.
I just displayed a 50 nits movie scene in the background while running a grayscale sweep in HCFR.
The result shows exactly what my eyes have been seeing when using LGs dynamic tonemapping. Large deviations from the PQ, even in the lower range. With it turned off it at least follows it nicely up to like 125 nits.

You could be right, but I don't know if your test is accurate. If it is the newest model, it would be less likely the display would be deviating from the curve. Your graph would show raised blacks rather than true black in many scenes because it is lifting the bottom of the curve. That isn't supposed to be the case, unless the display is trying to compensate for poor near black response.

You are somewhat misunderstanding how a static tone curve works. The display will take the static metadata value (usually 1,000 nits mastering peak or 4,000 nits mastering peak) and plot a single tone curve for the entire movie. That curve never changes; it is static, so the entire movie will roll-off the brightness depending on the aggressiveness of the chosen curve. In other words, the whole movie will be slightly darker than intended (tone mapped). There is no relief from this tone curve at any point. The display will follow the PQ curve up to a certain point and add a knee point where the roll-off begins.

A dynamic tone curve will use the source peak as the target for the tone curve, but it will decrease and increase the roll-off as the scene peak changes. So scenes within the brightness of the display (700 nits) can be shown 1:1 with the PQ curve because tone mapping is not required (tone mapping could be disabled or significantly reduced). Scenes that are close to the source peak should look similar to a static tone curve and would use a standard roll-off. The tone mapping roll-off is necessary to present the intended contrast of the scene to make it look HDR when the display lacks the necessary luminance to show all values within its available dynamic range. It is a no-no to go above the PQ curve at any time, but going below the PQ curve is what is considered tone mapping.

I think the area LG needs to improve upon compared to the competition is in blending these changes in brightness. They may be moving the knee point for the tone curve too often or are doing a poor job of fluctuating the roll-off. I haven't heard of any accounts from the reviews I've read of the display boosting the brightness above the PQ curve. The only display that I know does that is the Samsung Q9FN, which consistently boosts 0-100 nits.

madVR is also using a dynamic tone curve with brightness changes, but those changes may be masked better. However, the fluctuations in brightness will be more noticeable when using a range of 0-700 nits than 0-120 nits, so dynamic tone mapping on a bright display can always be capable of some visible shifts in brightness. This is done to keep the image as bright as possible throughout the presentation inline with the original mastered values. No one likes a dark image, so tone mapping compression should be minimized.

j82k
2nd February 2019, 16:40
It is a no-no to go above the PQ curve at any time, but going below the PQ curve is what is considered tone mapping.


But that is exactly what LG's dynamic tonemapping is doing for pretty much any scene that is below the TVs peak brightness. It heavily goes above the PQ curve and that why I think it's crap. It's like what samsung is doing.

And it's not even good at revealing otherwise clipped highlights. MadVR does a much better job at this.

Warner306
2nd February 2019, 16:45
I don't think this is intended, but it could be doing some monkey business with the source, or you need an HDR calibration. Like I said, the newer the model, the better. Panasonic and Sony are known to be better at this.

chros
2nd February 2019, 17:10
I did a small test to see how much LGs dynamic tonemapping messes with non-bright scenes.
Thanks for the graphs! Which LG TV is it?
I really don't get why people keep praising LG's dynamic tone mapping. It's terrible and I don't ever use it. It behaves almost like a dynamic contrast setting
It seems exactly like the "dynamic contrast" for SDR TVs :)

Alexkral
2nd February 2019, 17:45
A final issue with a lot of displays, specifically home TVs, is the manufacturers deliberately deviating from the HDR specification, in an attempt to generate what they view as 'better' images.

This obviously means the same source footage will be seen very differently on different displays, even if the displays are defined as being 'calibrated'.

However, this issue is actually something we have sympathy for, because as mentioned previously above, the PQ HDR specification is flawed, as the standard is 'absolute', and includes no option to increase the display's light output to overcome surrounding room light levels. The result is that in less than ideal viewing environments, where the surrounding room brightness level is relatively high, the bulk of the HDR image will appear very dark, with shadow detail potentially becoming very difficult to see.

Many home TV manufacturers therefore deliberately 'distort' the PQ HDR EOTF (gamma curve) to attempt to overcome this issue.

https://www.lightillusion.com/uhdtv.html

SamuriHL
2nd February 2019, 19:11
I think Warner306 hit it on the head when you mentioned that LG does not do a good job at moving between scenes. The impact can be very jarring. The latest firmware fixed a little of that and it's a LOT better than it used to be. They're either reacting too quickly to a brightness change or not quickly enough....I don't know which. But the effect in some scenes pulls you right out of the movie you're watching. That is my one gripe with it. Now maybe that's a symptom of what j82k is talking about with LG going above the PQ curve, I don't really know. I doubt the 2018 owners will see much more improvement now that the 2019 models are coming but we can hope.

j82k
2nd February 2019, 20:43
I think it's intentional. People often praise the HDR brightness of LG Oleds compared to other manufacturers, even calling sonys dim. I think the reason for that is that LG intentionally made the PQ curve brighter with dynamic tonemapping (which is enabled by default) to stand out when people compare TVs in the showroom and those who display HDR correctly will look dim in comparison. They probably learned that marketing strategy from samsung.

chros
3rd February 2019, 11:25
https://www.lightillusion.com/uhdtv.html
Thanks, that was really informative! Although I use madVR beta since about 4 months now, I'm still rookie to HDR, e.g. I didn't know:
- absolute vs relative standards (I thought they're all relative)
-- hence viewing environment considarations
-- display device flaws: abl, local dimming
- color gamut volume: 90% of DCI-P3 is basically Rec709

More and more I read about it, I have less intention to replace my current SDR TV. :)

They probably learned that marketing strategy from samsung.
:D

tp4tissue
3rd February 2019, 14:17
I think it's intentional. People often praise the HDR brightness of LG Oleds compared to other manufacturers, even calling sonys dim. I think the reason for that is that LG intentionally made the PQ curve brighter with dynamic tonemapping (which is enabled by default) to stand out when people compare TVs in the showroom and those who display HDR correctly will look dim in comparison. They probably learned that marketing strategy from samsung.

All the k-brands cheat on their cellphone benchmarks, they've stopped that after being caught..

It's up to madvr enthusaists to put a stop to PQ curve cheating. !! :D

tp4tissue
3rd February 2019, 14:28
I don't think this is intended, but it could be doing some monkey business with the source, or you need an HDR calibration. Like I said, the newer the model, the better. Panasonic and Sony are known to be better at this.

Is there a way to calibrate through madtpg for use with the HDR tone-mapping function ?

I noticed going through dispcal, the calibration for rec2020 will not slot into the normal calibration page, and only works for the hdr tone-map page.

Warner306
3rd February 2019, 17:23
A final issue with a lot of displays, specifically home TVs, is the manufacturers deliberately deviating from the HDR specification, in an attempt to generate what they view as 'better' images.

Many home TV manufacturers therefore deliberately 'distort' the PQ HDR EOTF (gamma curve) to attempt to overcome this issue.

https://www.lightillusion.com/uhdtv.html

This is one of the early articles released when HDR was introduced. I think it is less common to artificially brighten HDR content since calibrators have made TV manufacturers more conscious of properly following the PQ curve. Consumers are also becoming more educated about PQ HDR content.

Brightening the PQ curve does come with drawbacks. All HDR video games include a brightness slider to increase the brightness of HDR games. However, this raises the value for reference white, which comes at the expense of making the blacks more grey in dark scenes. The 2017 LG OLEDs suffered from this issue, which was corrected in the 2018 models. I don't know if the 2018 models are doing any other manipulation of the PQ curve, but it doesn't really make sense to have a dynamic tone curve that is constantly fluctuating above and below the PQ curve without distorting the image. Samsung uses a static curve with its QLEDs, but it is either rising from black more slowly or compensating for the brighter 0-100 nits by using more aggressive local dimming. I'm sure even Samsung will do away with this when dynamic tone mapping is added.

You don't really want to brighten images with absolute brightness values because the image can become washed out if pushed too far.

Warner306
3rd February 2019, 17:27
Is there a way to calibrate through madtpg for use with the HDR tone-mapping function ?

I noticed going through dispcal, the calibration for rec2020 will not slot into the normal calibration page, and only works for the hdr tone-map page.

You can create an SDR 3D LUT if you output in an SDR format. But you can't use a 3D LUT with pixel shader when outputting in an HDR format. You would have to choose to tone map by 3D LUT and make a few static tone curves: 500 nits, 1,000 nits, 1,500 nits and 4,000 nits to replace the display's internal static curves. This could be accomplished with a few profile rules under hdr.

Plutotype
3rd February 2019, 19:09
Hi folks,
Will madvr support HDR10+ dynamic metadata decode or passthrough?
Thanks

Alexkral
3rd February 2019, 22:05
Hi folks,
Will madvr support HDR10+ dynamic metadata decode or passthrough?
Thanks

That depends on LAV filters first.

This is one of the early articles released when HDR was introduced.

The problem with HDR being too dark is still there though. 100 nits for diffuse white is too low in not ideal conditions (I'd say it's even too low in ideal conditions but that's just my oppinion) compared to where most people is used to see it in SDR. ITU-R BT.2408-0 recommends diffuse white = 203 nits for PQ and HLG production on a 1000 nits peak luminance display. Another study in the same report suggests diffuse white at 140 nits for indoor scenes and 425 nits for outdoor scenes, for PQ with 4000 nits peak luminance. I think I have read somewhere that at least some titles now are being graded with diffuse white at 203 nits. This should be the best way to solve this. We loose 1 stop at highlights but the overall brightness match better with SDR.

it doesn't really make sense to have a dynamic tone curve that is constantly fluctuating above and below the PQ curve without distorting the image.

If I'm not wrong, both SMPTE ST 2094-10 (Dolby Vision) and SMPTE ST 2094-40 (HDR10+) curves change dynamically the knee point in a similar way that what Soulnight's utility with dynamic target nits is doing now with the BT.2390 EETF.

tp4tissue
3rd February 2019, 22:37
You can create an SDR 3D LUT if you output in an SDR format. But you can't use a 3D LUT with pixel shader when outputting in an HDR format. You would have to choose to tone map by 3D LUT and make a few static tone curves: 500 nits, 1,000 nits, 1,500 nits and 4,000 nits to replace the display's internal static curves. This could be accomplished with a few profile rules under hdr.

Yea, that's what I meant, create an HDR 3Dlut, but ONTOP of Dynamic Tonemapping, output HDR.

Do you know if this feature will be added in the future ?

Seems to be straightforward, is there a specific hitch that it's not already possible ?

70MM
3rd February 2019, 23:05
Ive tried error diffusion 1 and 2 for dithering in madvr and I cant see any obvious differance between them. Im upscaling BDs to 4K and displaying on a large 145" curved screen with a JVC NX9 4K projector. Since I dont know which is best as I see nothing, which might be the prefered option in my case producing the less artifacts? Thanks in advance...

huhn
3rd February 2019, 23:08
the default ordered dithering

70MM
3rd February 2019, 23:39
the default ordered dithering
Can you explain to me please huhn why ordered dithering is better than error diffusion 1 & 2 please? Thank you kindly for helping...

SamuriHL
4th February 2019, 00:05
He's not saying it is. But if you don't SEE a difference, there is a HUGE difference in performance between ordered and error diffusion and there's no sense killing performance for something you can't see.

70MM
4th February 2019, 00:09
He's not saying it is. But if you don't SEE a difference, there is a HUGE difference in performance between ordered and error diffusion and there's no sense killing performance for something you can't see. Ok thank you I understand, however that isnt an issue with me anyway as I have the 1080Ti card and using the highest NGU settings upscaling everything to 4K. My rendering hardly ever goes above 20 and I have no dropped or repeated frames for days/ever.

tp4tissue
4th February 2019, 00:27
Ok thank you I understand, however that isnt an issue with me anyway as I have the 1080Ti card and using the highest NGU settings upscaling everything to 4K. My rendering hardly ever goes above 20 and I have no dropped or repeated frames for days/ever.

Luma scaler difference is the only thing that's visibly different (At a Distance).

For chroma, dithering, etc, the differences are really only visible if you walk in real close, or zoom in.


The sharpening algorithms are also very visible, but they're taste-based, and not a better or worse situation.


LOOKING FOR a difference is mostly academic, because you simply wouldn't notice much of it while a movie plays.

If knowing it's there helps you sleep at night or justify equipment purchases, then Zoom in, squint real hard, the little hairs on people's faces will look just a tad sharper. :p

70MM
4th February 2019, 01:12
thank you for the comments...

Asmodian
4th February 2019, 07:48
Can you explain to me please huhn why ordered dithering is better than error diffusion 1 & 2 please? Thank you kindly for helping...

Error diffusion is a tiny bit sharper and more random while ordered dithering has the lowest apparent noise. All three options are very good, I think I prefer ordered dithering on my 55" OLED TV while I like ED 1 or 2 on my LCD monitors, but the differences are also very subtle. Ordered is a great option because it is so high quality while also being fast.

Warner306
4th February 2019, 16:47
The problem with HDR being too dark is still there though. 100 nits for diffuse white is too low in not ideal conditions (I'd say it's even too low in ideal conditions but that's just my oppinion) compared to where most people is used to see it in SDR. ITU-R BT.2408-0 recommends diffuse white = 203 nits for PQ and HLG production on a 1000 nits peak luminance display. Another study in the same report suggests diffuse white at 140 nits for indoor scenes and 425 nits for outdoor scenes, for PQ with 4000 nits peak luminance. I think I have read somewhere that at least some titles now are being graded with diffuse white at 203 nits. This should be the best way to solve this. We loose 1 stop at highlights but the overall brightness match better with SDR.

I wouldn't be against raising the value of reference white slightly for PQ HDR content. The problem is all existing HDR displays are tuned to tone map for a reference white of 100 nits, so I don't know how you would get around that without breaking support for all legacy HDR displays. I don't think HDR is too dark when viewed without ambient light in the room.

Displays could at least have a standard brightness slider like video games to make HDR a little brighter during the daytime, even if raised the bottom of the image a little.


If I'm not wrong, both SMPTE ST 2094-10 (Dolby Vision) and SMPTE ST 2094-40 (HDR10+) curves change dynamically the knee point in a similar way that what Soulnight's utility with dynamic target nits is doing now with the BT.2390 EETF.

The knee point just changes where the tone mapping roll-off begins. The curve always slopes to the right away from the PQ curve, so the image never gets brighter; it only gets darker.

Soulnight's tool increases or decreases the target nits. Increasing the target nits raises the knee point further up the PQ curve to reduce compression, but it also changes the absolute brightness of all values relative to the output display. For example, if the display is 100 nits, selecting 200 nits will lead to a loss of more or less half of the calculated brightness of the tone mapped values because the target display is assumed to be twice as bright as the actual output display. The gamma curve is relative, so the output brightness isn't always that precise, but it is close.

When the target nits is higher, the pixel values are more spread out, but they use more of the lower region of the gamma curve to handle the majority of the pixels 0-100 nits. The pixels that represent the highlights are separated to the brightest end of the gamma curve. So the image has more contrast between bright and dark detail and looks less flat because the pixels are less compressed, but the overall image ends up darker.

tp4tissue
4th February 2019, 20:42
I wouldn't be against raising the value of reference white slightly for PQ HDR content. The problem is all existing HDR displays are tuned to tone map for a reference white of 100 nits, so I don't know how you would get around that without breaking support for all legacy HDR displays. I don't think HDR is too dark when viewed without ambient light in the room.




I noticed that calibrating to 2.2/2.4 (relative) gamma on LCD is much more similar in appearance to 2.2/2.4 (absolute) gamma (1886) on CRT/Plasma/OLED, vs using absolute gamma (1886) on LCD which makes everything greyish.

So, the near crush dark tones when using relative gamma on LCD is probably Correct. It's just more crush like in home environments where the room light is on.

The moral of the story is, it's suppose to look like that, just turn the lights off.

SamuriHL
4th February 2019, 22:00
Shockingly 418.82 didn't break HDR switching. LOL

tp4tissue
4th February 2019, 23:14
Weird Gamut behavior.

So on my ATI card, my spare bedroom tv reports a slightly wider Gamut +10% vs my Nvidia Card.

Is it because the Nvidia card is using the alpha channels differently ?

Does madvr use alpha channels in output or only 24bit.

nevcairiel
4th February 2019, 23:16
There is no alpha channel on the output. Different results might be up to dithering.

tp4tissue
4th February 2019, 23:33
There is no alpha channel on the output. Different results might be up to dithering.

Hrrrm..

I guess that must be the tv's gamut clamping software intervening with the nvidia output.

Is there a fundamental output difference between ATI and Nvidia, some sort of flags ??

Because both these cards are setup for 8bit rgb, yet the ATI results in the +10% , quite large a swing.

huhn
4th February 2019, 23:46
nvidia has full support for the HDMI content type so try that. afaik AMD doesn't have an option for that maybe in registry like so many more options.

tp4tissue
4th February 2019, 23:49
nvidia has full support for the HDMI content type so try that. afaik AMD doesn't have an option for that maybe in registry like so many more options.

What do you mean by hdmi content type.

I've set both outputs to RGB 32bit 8 bit full based on your previous recommendation ?

Warner306
4th February 2019, 23:49
Yea, that's what I meant, create an HDR 3Dlut, but ONTOP of Dynamic Tonemapping, output HDR.

Do you know if this feature will be added in the future ?

Seems to be straightforward, is there a specific hitch that it's not already possible ?

I was going to answer your question earlier but missed it.

It is hard to use a 3D LUT this way because DisplayCAL enforces its own roll-off. I don't know how you would do it without excessive doubling processing. The 3D LUT could maybe correct the white balance and white point, but not alter the transfer function with its own roll-off.

tp4tissue
5th February 2019, 00:00
I was going to answer your question earlier but missed it.

It is hard to use a 3D LUT this way because DisplayCAL enforces its own roll-off. I don't know how you would do it without excessive doubling processing. The 3D LUT could maybe correct the white balance and white point, but not alter the transfer function with its own roll-off.

Why does the tone map function only work with an SDR lut ?

For example, on many tvs, in HDR input mode, the Gamut is larger than its SDR mode.

So, after madvr does the tone map, instead of going to an sdr calibrated table before output, it will go to a wider hdr calibrated table.

el Filou
5th February 2019, 00:07
What do you mean by hdmi content type.It's an option in HDMI where the source can specify what type of content is sent, e.g. computer graphics/movie/photos/auto.
With NVIDIA you can change that setting in the control panel. Most TVs use a different kind if picture processing depending when that setting is on something other than auto.

huhn
5th February 2019, 00:15
how do you stop a TV from dynamic tone mapping in HDR mode.

if you do dynamic tone mapping and send this technically wrong image to the TV the TV will do again dynamic tone mapping making it even more wrong so waht'S the point of an 3D LUT here.

just set your Tv up for native gamut or send bt 2020 so it will use the full gamut.

who even told you there is an wider "calibration table" for HDR?

What do you mean by hdmi content type.
http://abload.de/img/hdmi-content-typebtumj.png

first result in an search engine

huhn
5th February 2019, 00:17
It's an option in HDMI where the source can specify what type of content is sent, e.g. computer graphics/movie/photos/auto.
With NVIDIA you can change that setting in the control panel. Most TVs use a different kind if picture processing depending when that setting is on something other than auto.

just so you know i have a PC monitor that is resyncing when it is on auto everytime a video is played and stopped.

so auto means nvidia or other software is able to actively change that.

tp4tissue
5th February 2019, 02:31
who even told you there is an wider "calibration table" for HDR?


http://abload.de/img/hdmi-content-typebtumj.png

first result in an search engine


It's not a wider table, but the gamut is wider and different between SDR and HDR modes.

Even in the various different sdr modes, tvs can have different gamuts.



If I set the HDMI content type on AUTO, what is it defaulting to when running madvr (Movie ? or Desktop Program)

huhn
5th February 2019, 05:11
no clue.

edit: madVR FSE is triggering "games" with FSE and i can't find anything with windowed mode.
is so advance that leaving it will disabled gaming mode in my TV even if i manually enabled it before.
setting the output type to movies in the GPU driver switches my TV into cinema preset(d80 whitepoint close panasonic close call...) and my TV even shows an notification. i didn't find a program that does trigger this in the GPU driver.

so madVR may trigger gaming mode in the nvidia driver which makes sense if you think about it.

chros
5th February 2019, 11:46
edit: madVR FSE is triggering "games" with FSE and i can't find anything with windowed mode.
is so advance that leaving it will disabled gaming mode in my TV even if i manually enabled it before.
setting the output type to movies in the GPU driver switches my TV into cinema preset(d80 whitepoint close panasonic close call...) and my TV even shows an notification. i didn't find a program that does trigger this in the GPU driver.

so madVR may trigger gaming mode in the nvidia driver which makes sense if you think about it.

Interesting finding, thanks, I'll try it out tonight with my old LG TV, maybe ... :)

Alexkral
5th February 2019, 13:01
Soulnight's tool increases or decreases the target nits. Increasing the target nits raises the knee point further up the PQ curve to reduce compression, but it also changes the absolute brightness of all values relative to the output display.

Actually what you are changing with the target peak nits parameter is the absolute (only relative to the mastering display luminances) value of the knee point, which affects all the values above it. After that, all the image values need to be normalized to the [0, 1] SDR relative range, which raises the global brightness. That's why I thought that the dynamic curves where doing the same, but after reading in more detail the specs this doesn't seem to be the case. For Dolby Vision the target luminances don't change, but for HDR10+ there is indeed a parameter called TargetedSystemDisplayActualPeakLuminance which is a 2D LUT that affects all values, and is intented to take into account the "peak luminance that a display is capable of delivering while rendering the scene", which "depends on the spatial distribution of the luminance levels of the pixels in the scene and the power consumption limits of the display".

Warner306
5th February 2019, 15:23
I have no idea what that means. But the knee point is just the point on the original PQ curve where the tone mapping curve begins. Values above the knee point are rolled-off or reduced in brightness. The shape of the tone curve determines how much values are rolled-off. It isn't really magic. Each luminance value is lower than the original by an increasing amount up to the display peak.

Dolby Vision would just provide formulas for different displays to reduce the overall dynamic range of the source for each scene based on a content flag indicating the peak brightness of the scene. It probably wouldn't be that different than what madVR is already doing. Tone mapping uses pretty standard formulas. It just needs to know how bright the input is in order to compress it.

This is what a 700 nits tone curve might look like: https://i.postimg.cc/4NQWBHtC/PQ-Tone-Mapping-Curve.jpg

There is also an article here on tone curves: https://www.insightmedia.info/should-hdr-displays-follow-the-pq-curve/

Alexkral
5th February 2019, 17:13
Ha ha, I read that article yesterday, really.

I don't know what you didn't understand so I can't help, but as you said it isn't really magic. I've written a pixel shader implementing the curve, so I know how it works, and it's not very difficult to at least get an idea of the process by just looking at the maths.

https://www.itu.int/dms_pub/itu-r/opb/rep/R-REP-BT.2390-5-2018-PDF-E.pdf

It only doesn't include the last scaling step.

Warner306
5th February 2019, 17:44
I've seen that. Honestly, to a lay person that article is just nonsense. Tone mapping intelligently compresses luminance. It doesn't do much more than that.

madVR is tone mapping in PQ nits as per BT.2390 to a target display brightness. But this has to be converted to an SDR gamma curve. The gamma curve should always provide an optimum result within its actual target brightness, but it is often better to use the relative gamma curve to spread out BT.2390 (go above the display target brightness) to get more contrast. Changing the target nits kind of makes the PQ curve disappear because the mapped values are no longer 1:1 with BT.2390 in terms of absolute luminance, but it works because the gamma curve increases or decreases overall contrast in a uniform manner.

tp4tissue
5th February 2019, 19:45
no clue.

edit: madVR FSE is triggering "games" with FSE and i can't find anything with windowed mode.
is so advance that leaving it will disabled gaming mode in my TV even if i manually enabled it before.
setting the output type to movies in the GPU driver switches my TV into cinema preset(d80 whitepoint close panasonic close call...) and my TV even shows an notification. i didn't find a program that does trigger this in the GPU driver.

so madVR may trigger gaming mode in the nvidia driver which makes sense if you think about it.

How do you find which one it triggers.

My setting box doesn't even have all those options,

I only have Movie, and Desktop Program :scared:

el Filou
5th February 2019, 20:50
I also only have those two. Probably depends on what the display advertises, but my TV settings have the same ones listed here (they can be allowed or denied individually for use with the auto mode): https://www.hdmi.org/manufacturer/hdmi_1_4/content_type.aspx

As with all 'automagic' features it can be difficult to find out what changes are applied and when.

chros
5th February 2019, 21:26
I only have Movie, and Desktop Program :scared:
It's the same here with my Tv, and the TV doesn't do anything different when I select any of those :) (using windowed mode)

huhn
6th February 2019, 00:44
How do you find which one it triggers.

My setting box doesn't even have all those options,

I only have Movie, and Desktop Program :scared:

you manually select all and see what changes in your TV setting.

it only cared about movie and games the rest did do anything at least i couldn't find it.

games option activates gaming mode on my screen.
and movies option switched my preset to cinema.

why photo or graphics doesn't change the preset to the graphic or photos i don't have a clue. if in doubt GPU driver bug.

with auto madVR will activated gaming mode in FSE so it has to be gaming.

Grimsdyke
7th February 2019, 12:18
Is the dithering in LAV video decoder the same process as in MadVR ? So could it be set to 'none' there ? Thx

nevcairiel
7th February 2019, 12:25
Never turn off any dithering.