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

brazen1
31st August 2022, 20:27
Afaik, theoretically, HDR can be mastered to 10,000 nits. I have at least one 10,000 nit HDR video and it is very, very bright - too bright, so I guess my panel is tone mapping it down but utilizing every nit the panel is capable of. For this particular video, preprocessed tone mapping would benefit but I just reel in brightness or gamma intensity. No other HDR video needs special attention.

In reality, the vast majority of titles are between 1,000 and 4,000. I assume Master Luminance, when checking out Ctrl+J, defines this? If not, perhaps I'm relying on the wrong data to arrive at what nits a video is? I passthrough so it's untouched before it reaches the panel so I know nothing's been compromised.

Checking a couple new releases - The Batman and Ambulance... it shows 1,000 nits. My panel is capable of over 1,500 nits. I've no idea what the panel does with its left over 500+ nits except perhaps dim down although the video looks bright? Or, perhaps it's streaching 1,000 to 1,500ish which is why it looks great?

Alexkral
31st August 2022, 21:08
I've no idea what the panel does with its left over 500+ nits except perhaps dim down although the video looks bright? Or, perhaps it's streaching 1,000 to 1,500ish which is why it looks great?

If it's stretching the range, you should see normal scenes (those without bright highlights) brighter than in other titles. This shouldn't be the default behavior, but it would be nice as a feature.

Master Display Luminance is the luminance of the display that was used to do the mastering. Most of the time the content is below, sometimes far below, but also sometimes above.

flossy_cake
1st September 2022, 17:34
I assume Master Luminance, when checking out Ctrl+J, defines this?

I'm looking at that 4k HDR chroma test pattern (https://drive.google.com/file/d/1-_eNLcQYHtuJeYqB2OjWQnu_MgCIN6i0/view?usp=sharing) from earlier and Mediainfo is reporting:

Mastering display luminance: min: 0.0005 cd/m2, max: 1000 cd/m2
Maximum Content Light Level: 100 cd/m2

But Ctrl+J is only reporting "HDR 100 nits" and nothing else about luminance.

My panel is capable of over 1,500 nits. I've no idea what the panel does with its left over 500+ nits except perhaps dim down although the video looks bright? Or, perhaps it's streaching 1,000 to 1,500ish which is why it looks great?

afaik the digital code values used for storing PQ HDR are absolute luminance values so I'd imagine the display would be targeting those values, unless it scales/normalises them to whatever you've set peak brightness to in the TV's menu.

I recall when HDR first came out there were complaints about it being too dim for daytime viewing due to this, but I think that trend has changed and most TV makers now offer adjustment of peak luminance for HDR, i.e sacrificing some highlight detail for brighter APL.

I included adjustable highlight rolloff (https://i2.lensdump.com/i/13VQ4M.png) in my cal app (http://tiny.cc/calibrationtools), but it's not meant for HDR, it's more to try and help with edge cases eg. where some cheap laptop monitors start clipping the blue channel near white causing a yellow tint to bright whites.

Alexkral
1st September 2022, 18:32
It seems that the number in the OSD is MCLL when available, and MDL if not.

mclingo
2nd September 2022, 21:54
3D is (almost) dead simply because of marketing, and because companies have decided to invest exclusively in HDR development, but it still looks absolutely stunning on my LG. I'm sure that if glasses were not needed, right now it would be the standard of reference.

There's no way that SDR will succumb to HDR in the next few hundred years, simply because it is the format in which the vast majority of available content is and continues to be made.

As for HDR, really the only problem I see is this white level nonsense to make it compatible with SDR, and of course, not everyone has the necessary equipment. If not for that, I would rely on passthrough and forget about tone mapping. It seems pointless to me to want to see it on a projector anyway, but it's also true that most 4K content is also HDR, so if you want one, you need the other.


I'd go further, I still think OLED 3D is better than HDR, The immersion just can't be matched In a darkened room.

James_b
3rd September 2022, 10:07
Hi Guys!

Concerning Blu-ray 1080p, has anyone compair madVR upscaling to upscaling in 2021 4k Oleds? Thinking of the affordable series like LG B1 or Philips 706 TV's. Thank's for any info or a link.

LG-clip on their upscaling featrue
https://www.youtube.com/watch?v=ZS46kYeMx00

Balling
4th September 2022, 08:51
As usual, you have no idea what you are talking about. Please just stay out of these forums. Nothing talked about here recently even interacted with ffmpeg at all. Your comments are wrong, out of context, and not wanted.

You were absolutely wrong, BTW. NV61 is the only thing not yet supported by ffmpeg, patch on the mailing list. All others are supported since patches today. NV16, P012, XV36, Y212, etc. Patch from nvidia.

huhn
4th September 2022, 14:03
your inability to learn is terrifying.

flossy_cake
5th September 2022, 05:30
Your inability to get along with each other is terrifying.

Manni
5th September 2022, 14:07
Your inability to not feed the troll is terrifying :)

Balling
5th September 2022, 19:49
You inability to not offtopic is terrifying.

flossy_cake
5th September 2022, 21:06
your inability to troll along with eachother offtopically is terrifying

James_b
5th September 2022, 21:15
nevcairiel you need to troll back now

mclingo
6th September 2022, 13:08
nevcairiel is too classy to get involved.

mrbinky
6th September 2022, 14:09
I don't criticise Madshi at all -- it's a beta version so it makes sense that experimental controls could exist in a beta version.
I wonder how many more years it will be Beta version 0.92.17? :)

Siso
6th September 2022, 19:27
I wonder how many more years it will be Beta version 0.92.17? :)

At least 10 more. :rolleyes:

x7007
7th September 2022, 09:05
did anyone notice when using potplayer the Standby list & System working set is going up while free memory going down as long as the movie plays?? why does it happen? it's not madvr related as I disabled it and used D3D11 renderer, but it should be important for everyone here as it can cause performance issues.

It's not related to subtitles
it's not related to sound as I disabled the sound (null option)

Can't figure out what is causing the standby ram usage.

Movies&TV app uses the ram properly, it releases when it's used while actually freeing it, as it seems, but the memory usage doesn't come up every one sec.

MPC does the same, it seems like it could be LAV FILTERS then

https://i.imgur.com/zhtl4eK.png

huhn
7th September 2022, 19:56
a playing file is usually buffered meaning this can be completely ignored.

free memory doesn't do anything anyway it only starts to be a problem when you run out of it but by default lav filter will only use a couple 100 mb which can be ignored.

i see an increase of about 0.2 mb a sec and i'm not going to check what is used after a couple of hours because it will stop after a while else something is broken.

Damien147
7th September 2022, 22:07
Sorry for the off topic guys but I trust your opinion.

Is there a true visual difference between a lets say 2gb full HD movie and an 8 gb full HD one?I mean can you truly notice a difference?
I understand that in theory you will say ''go with remux'' for the best possible quality but do you really notice a difference?

flossy_cake
8th September 2022, 00:08
Sorry for the off topic guys but I trust your opinion.

Is there a true visual difference between a lets say 2gb full HD movie and an 8 gb full HD one?I mean can you truly notice a difference?


Yes but it depends on some factors:


h264 vs h265 and the encoder settings chosen
how much film grain or other texture details, fog, water effects, fast camera movement etc. are in the movie
which copy of the movie it was sourced from (generation loss)
screen size / viewing distance


A 2GB movie is typically around 2mbps. I've seen some 2mbps x265 which looks poor to my eyes -- skin textures are smoothed, actors faces have poorly defined edges, and film grain is missing. But I've also seen 2mbps encodes which look decent and "acceptable" in many cases (but not all).

But don't take my word for it, compare it for yourself by taking screenshots, preferably on shots with camera movement. I did this with the film Beverly Hills Cop (2mbps vs 6mbps x265) and the difference was definitely noticeable. For movies with little camera movement the difference will be less noticeable, and there are many films like this which I am fine with 2mbps, except if the encoder settings are poorly chosen.

imo remux isn't really practical due to its storage requirements. On the other hand I consider future proofing where 2mbps wont necessarily hold up on a larger screen. The sweet spot for me personally is 4-6mbps x265 with optimal encoder settings and sourced from a high bitrate (25mbps+) master.

Sunspark
8th September 2022, 00:54
Sorry for the off topic guys but I trust your opinion.

Is there a true visual difference between a lets say 2gb full HD movie and an 8 gb full HD one?I mean can you truly notice a difference?
I understand that in theory you will say ''go with remux'' for the best possible quality but do you really notice a difference?

Yes, the lower the bitrate, the softer and less detailed the image is. Also, in darker areas you will have a lot more crushed black and macroblocks, etc.

If you want to see it in action, just look at what Netflix and others do with their streaming service.

flossy_cake
8th September 2022, 09:25
I did this with the film Beverly Hills Cop (2mbps vs 6mbps x265) and the difference was definitely noticeable.

Went back and re-checked this and the difference isn't as great as I remembered, with the 2mbps holding up quite well:

Scene 1 - slight camera movement
2mbps (https://i1.lensdump.com/i/1pMot0.png), 6mbps (https://i.lensdump.com/i/1pMMb3.png)

Scene 2 - fast panning
2mbps (https://i.lensdump.com/i/1pMPjA.png), 6mbps (https://i2.lensdump.com/i/1pMu4D.png)

Scene 3 - slight camera movement through hazy windscreen
2mbps (https://i3.lensdump.com/i/1pMX6e.png), 6mbps (https://i2.lensdump.com/i/1pMFMQ.png)

Scene 4 - medium camera movement
2mbps (https://i.lensdump.com/i/1pYJwF.png), 6mbps (https://i3.lensdump.com/i/1pYCSr.png)

Sunspark
8th September 2022, 21:21
Try 2 mbps with dimly lit scenes.

You will also find that 2 mbps at 720p will have more detail than it will at 1080p.

My recommendation is that if you're not on metered internet and have disk space, choose the higher bitrate option if available.

Damien147
8th September 2022, 23:50
My point and question is ''can you truly enjoy the benefits of a higher bitrate movie under normal conditions?While watching a movie?''
I mean that if you have to freeze a movie and put it under a microscope to see a difference you are losing the point.
I have a 50 inch calibrated TV at 2,4 meters(soon at 2 m) and I think that I am good enough for a higher bitrate movie,correct me if I am wrong.
Watching in the past ~2gb full HD movies was just fine for me but these months I am trying to do it right with almost the best possible result.Good bitrate movies it is.
Thank you very much guys.

flossy_cake
9th September 2022, 00:01
Try 2 mbps with dimly lit scenes.


2mb (https://i2.lensdump.com/i/17W2cx.png), 6mb (https://i3.lensdump.com/i/17WW31.png) (static)
2mb (https://i.lensdump.com/i/17WiDc.png), 6mb (https://i1.lensdump.com/i/17W0WK.png) (panning upwards)
2mb (https://i2.lensdump.com/i/17WI9Z.png), 6mb (https://i3.lensdump.com/i/17WZvP.png) (panning left to right)
2mb (https://i.lensdump.com/i/17WgGm.png), 6mb (https://i1.lensdump.com/i/17Wtki.png) (static)

If I had to guess why the 2mbps is holding up so well in this particular instance:


The h265 encoder settings are optimally chosen
Perhaps movies shot on film tend to do better under dim lighting due to the way celluloid rolls off near black

I have seen 2mbps which looks much worse, and even broadcast TV 4.5mbps h264 looks slightly worse but I suppose a significant part of that is due to it being encoded in realtime.

brazen1
9th September 2022, 16:16
Sorry for the off topic guys but I trust your opinion.

Is there a true visual difference between a lets say 2gb full HD movie and an 8 gb full HD one?I mean can you truly notice a difference?
I understand that in theory you will say ''go with remux'' for the best possible quality but do you really notice a difference?

Playing back low bitrate video containing less data on a cell phone or a 50" TV - naturally flaws appear smaller using smaller more dense pixels so it's easier to ignore them even though they are present.

On displays 2, 3 or 4 times that size, low bitrate video delivering less data introduces flaws more prominently especially since larger modern screen sizes amplify everything including the flaws created because of less data.

More data equals more quality with less flaws. Highest data and quality are 1:1 Blu-Ray discs and rips, be it x264 or x265. Quality begins with the source. Shrunken compressed rips and streamed video deliver less data and less quality and is very easy to notice on larger screens than smaller ones to the point it's annoying. That said, video is being shot with better cameras and better processing delivering less annoyance even using low bitrate sources much of it considered SOE which personally I embrace.

YGPMOLE
12th September 2022, 16:25
Hi all!

Sorry, but I got a very dumb question, a dub actually...

When madVR sends a 8 bit signal to the projector, to avoid that the 10 bits metadata activates its own tone mapping, doesn't we lose the 10 bit color quality? I mean, the 10 bit bitdepht is what makes possible to see 1.07 billion colors instead of 16.7 million with 8 bit. Stupid question?

huhn
12th September 2022, 21:33
bit deep is not about more it's just about banding compression efficiency and such the colours don't change.

if your PJ work different with 10 bit than 8 bit well ok then... get a different one next time.
HDR is not trigger by 10 bit because 12 bit was a default feature for 10 years or so it trigger by HDR meta data.

flossy_cake
13th September 2022, 03:31
Hi all!

When madVR sends a 8 bit signal to the projector, to avoid that the 10 bits metadata activates its own tone mapping, doesn't we lose the 10 bit color quality?

If the video file is 10-bit and GPU is outputting 8-bit to projector, I think MadVR will use pixel shader to dither the 10-bit source to 8-bits (assuming you have it enabled in MadVR settings) and you probably won't even be able to tell it's not true 10-bits because the dithering algorithm is very good.

Siso
14th September 2022, 10:46
Does anyone have Log Conservative (Neo-XP) curve numbers for HSTM in 112 beta?

flossy_cake
15th September 2022, 12:09
Does anyone have Log Conservative (Neo-XP) curve numbers for HSTM in 112 beta?

I don't, sorry, but I'm sure someone else does and they will hopefully chime in so you can nail down those magic settings to finally fix the HDR image and start enjoying movies again.

SirMaster
15th September 2022, 15:05
Does anyone have Log Conservative (Neo-XP) curve numbers for HSTM in 112 beta?

Should be able find then by searching the madvr hdr for projectors thread on AVSForum when they were discussing HSTM curves a couple years ago.

tony359
16th September 2022, 22:27
Hi all

I'd like to tweak the low light of my C7 when playing HDR. TV is old and there are no controls for that - and what is available causes banding so better to leave them default.
I was wondering if I could use MadVR tone mapping to tweak the picture a bit? Is there a way to do so?

Thanks all!

flossy_cake
17th September 2022, 10:26
Hi all

I'd like to tweak the low light of my C7 when playing HDR. TV is old and there are no controls for that - and what is available causes banding so better to leave them default.
I was wondering if I could use MadVR tone mapping to tweak the picture a bit? Is there a way to do so?

Thanks all!

/shameless self-promotion/

You could use my app (http://tiny.cc/CalibrationTools) to do that -- I have implemented adjustable knee and rolloff length of the 0-30% range (https://i1.lensdump.com/i/1SdhZa.png) ("gain" and "range" in the app). This is done through the video card gamma table so it applies to everything.

But you will get banding if you are outputting 8-bit to the display and haven't enabled dithering in the driver. For Nvidia you can enable dithering through the app (https://i.lensdump.com/i/1SdGcQ.png). For AMD you can enable it with regkeys like DP_DisableDither=0 and HDMI_DisableDither=0 (https://i3.lensdump.com/i/1Sd5OM.png). For Intel dithering there is an app here (https://kawamoto.no-ip.org/henteko/myapp_en.html) which might be able to help.

edit: if you only want it to apply to HDR then it looks like you'll have to use MadVR setttings > hdr > tone mapping curve > arve custom curve, and choose an arve curve file (https://www.avsforum.com/threads/official-jvc-20ltd-rs640-x990-x9900-rs540-x790-x7900-owners-thread.2923938/page-149#post-55203652) with your desired shadow detail boost. MadVR has good dithering so you should get smooth near-black gradients.

tony359
17th September 2022, 12:11
Amazing thanks!

For SDR I have a colour meter and I can calibrate everything to match the standard and or my eyes.

For HDR I looked into the arve curves but I couldn’t find anything to explain things. I’ll study your link and find out.

One thing: as a user already posted on this thread somewhere, whenever I try to import an arve curve on madVR it just doesn’t seem to work. It goes back to BT.2390. Is there anything special to do to apply a custom curve?

Thanks a lot so far!

flossy_cake
17th September 2022, 17:03
For SDR I have a colour meter and I can calibrate everything to match the standard and or my eyes.

If the software you used generated a .icc or .cal file, you can open that file in Calibration Tools and then edit its shadow detail manually to how you prefer.


For HDR I looked into the arve curves but I couldn’t find anything to explain things. I’ll study your link and find out.

One thing: as a user already posted on this thread somewhere, whenever I try to import an arve curve on madVR it just doesn’t seem to work. It goes back to BT.2390. Is there anything special to do to apply a custom curve?


I've never used arve curves sorry, maybe someone else can help with that.

From what I can tell that avsforum post seems to contain all the info though, so it should be possible, just have to learn how to use Arve Tool's commands.

Although from what I can tell from skimming it, the Arve Tool's black level adjuster might be raising the black level which you can already do with the C7's "Brightness" control. It sounds like you want to raise shadow detail a bit without raising black. That is what the shadow detail control in Calibration Tools does -- adjusts the near-black gamma without affecting black itself.

tony359
17th September 2022, 18:37
I have calibrated in SDR but unfortunately I have no way to calibrate in HDR - otherwise it would be easy to adjust as you say.

I’ve looked into that extensively and it’s just not possible with the C7, madVR and displayCAL. If someone has other info, please do let me know.

Maybe I could create a ‘flat’ calibration file and then tweak the low level manually?

Let me start with studying that link, maybe that is telling me all I need to know!

Thanks again!

Edit: I've looked at the link and I have some notes
1. As you suspected, the tool allows to tweak the black level, which could be useful but still not what I am looking for.
2. I still have the issue that arve files don't seem to load on my madVR
3. If I understand correctly, madVR features a dynamic tone mapping - basically "why tone mapping when the brightness on screen is below the max capability of the TV?" I guess. If I load a fixed tone mapping curve, I believe I lose that feature. Is there a setting in madVR which allows me to tweak the low light without losing the dynamic tone mapping?

@Flossy_cake
Your tool seems to be what I am looking for to be honest. I am normally using displayCAL generated files inside madVR. Wouldn't madVR take care of the dithering?

Thanks!

flossy_cake
18th September 2022, 08:38
One thing: as a user already posted on this thread somewhere, whenever I try to import an arve curve on madVR it just doesn’t seem to work. It goes back to BT.2390. Is there anything special to do to apply a custom curve?

Yeah i can't get it to work either. I downloaded a bunch of arve .conf files from that avsforum thread and none of them load in MadVR, it just defaults back to BT.2390. Perhaps the .conf files aren't formatted as MadVR is expecting and so it just ignores them?

If I open the .conf files in notepad they have plaintext lookup tables which you could edit manually. So if you could get it working in MadVR then all you'd have to do is tweak the shadow detail in Caltools editor, then open the Caltools .cal file which is also plaintext lookup table and copy paste the table values into the arve .conf file. It looks like arve uses a range of 0-1023 so you just have to convert the .cal file's 0-1 range to 0-1023 range using a spreadsheet.

If you cant get arve .conf files working then another possible option is that Caltools can do per-application .cal files (Tools > install to game > apply by: video card gamma table). Then you will need an executable to run only while you're in HDR mode, eg. making a copy of the media player's executable and renaming it something like "mpc-hc64_HDR.exe" and using that executable when playing HDR videos. Then Caltools will load your HDR .cal file only while mpc-hc64_HDR.exe is running.



3. If I understand correctly, madVR features a dynamic tone mapping - basically "why tone mapping when the brightness on screen is below the max capability of the TV?" I guess. If I load a fixed tone mapping curve, I believe I lose that feature. Is there a setting in madVR which allows me to tweak the low light without losing the dynamic tone mapping?

I'm using the latest non-beta version of MadVR in which that feature seems to be called "measure each frame's peak luminance" which according to the faq "allows madVR to only compress highlights as much as necessary on a per frame basis resulting in more detail in highlights". I am not sure if this becomes grayed out after selecting an arve file as I can't get an arve file to load.


Wouldn't madVR take care of the dithering?

The video card gamma table gets applied after MadVR so it needs to be dithered again. But if your C7 accepts a 10-bit or 12-bit signal for both SDR and HDR then you shouldn't need dithering as 10-12 bits has enough tones to avoid significant banding. The video card gamma table is 16-bit.

andybkma
18th September 2022, 09:54
Hi guys, been using madVR on Win7 for the past umpteen years but now have (finally) bought a new computer of which I can install Win10 or Win11 on. So of course my first and foremost question is that since I will be mostly using this as a media machine connected to an 85" Sony should I install Win10 or Win11 on the new comp? I plan to watch mostly 4K/HDR so basically does madVR work better with either or? I would hate to install and set up Win11 just to find out that I should have installed Win10 because madVR and/or LAV doesn't play nice... Cheers :-)

Oh the video card is an Nvdia RTX3080... that will probably make a difference with the OS, no?

mclingo
19th September 2022, 11:49
Hi, I think there have been some issues with win11 but workarounds have been found I think, i'm still on win10 with an AMD card so i'm not much help, however, i'd say build a win10 machine first and if you find later down the line you need to upgrade to win11 you can, if you build a win11 machine you'll have to build it all again on win10 if you have issues, at least if you go win10 to start with, if you put win11 on afterward you have some time to roll it back.

andybkma
19th September 2022, 12:29
Hi, I think there have been some issues with win11 but workarounds have been found I think, i'm still on win10 with an AMD card so i'm not much help, however, i'd say build a win10 machine first and if you find later down the line you need to upgrade to win11 you can, if you build a win11 machine you'll have to build it all again on win10 if you have issues, at least if you go win10 to start with, if you put win11 on afterward you have some time to roll it back.

Thanks for replying coz goodness you make too much sense :-) You're right of course to better stick with the known entity for now and then screw around with Win11/12 down the road (like if we finally get some sort of working mVR Dolby Vision support or something that actually has to run on a newer OS)

tony359
19th September 2022, 13:17
Thanks @flossy_Cake

My LG does not really like more than 8bit - in fact I discovered I had madVR set to 10bit and had significant banding and also discovered that enabling nVidia dithering reduces the banding a lot - this is without a custom .cal file being used. Is it ok to enable nVidia dithering when using madVR? I did try ages ago via registry but I was never succesfull - your app makes things much easier.

I am really happy with the outcome achieved with Caltools, thanks for that! And thanks for the hint on how to use it only with HDR - I will have to experiment a bit as displayCAL obviously fights Caltools when it comes to the .cal file loaded! :)

But the outcome is great, it's exactly what I was looking for - plus you made my picture better by enabling nVidia dithering!

flossy_cake
19th September 2022, 16:02
Thanks @flossy_Cake

My LG does not really like more than 8bit - in fact I discovered I had madVR set to 10bit and had significant banding and also discovered that enabling nVidia dithering reduces the banding a lot - this is without a custom .cal file being used. Is it ok to enable nVidia dithering when using madVR? I did try ages ago via registry but I was never succesfull - your app makes things much easier.

I am really happy with the outcome achieved with Caltools, thanks for that! And thanks for the hint on how to use it only with HDR - I will have to experiment a bit as displayCAL obviously fights Caltools when it comes to the .cal file loaded! :)

But the outcome is great, it's exactly what I was looking for - plus you made my picture better by enabling nVidia dithering!

Regarding the NVidia dithering setting, I think you have to match the 6-bit/8-bit/10-bit setting to whatever the GPU is currently outputting to get optimal results. And you may need to do a reboot in between.

And yeah, the regkey works on some systems but not others. Caltools calls directly the Nvidia API function in system32\nvapi64.dll. The function parameters were undocumented to the public, but someone on NVidia forum had a Quadro which exposed the parameters to developers and we got it working. It's still a little buggy though, eg. after waking up from windows sleep/hibernation the driver can disable it and then not respond to turning it back on even though Caltools is refreshing it automatically 2.5 seconds after waking from sleep. I added some config.ini settings to try and help with those cases which are documented in the readme file's config.ini section.

It's okay to use NVidia driver dithering at the same time as MadVR's dithering but you will have 2 rounds of dithering applied. Here (https://drive.google.com/file/d/1WdtpXFWGsa1X5Fbn2t-AOuYrJWYmaSgG/view?usp=sharing)is a grey ramp test pattern video.

tony359
19th September 2022, 16:21
Understood and good job with the nVidia dithering API!

The thing is that the ramp improves considerably when I enable nVidia dithering even with a flat .cal file. But to be honest I didn't remember it to be so bad before I enabled it so I was wondering whether playing with the nVidia dithering option has "broken" something somewhere else?

I'm talking about HDR ramps btw - I didn't try with SDR ramps.

flossy_cake
19th September 2022, 16:56
Understood and good job with the nVidia dithering API!

The thing is that the ramp improves considerably when I enable nVidia dithering even with a flat .cal file. But to be honest I didn't remember it to be so bad before I enabled it so I was wondering whether playing with the nVidia dithering option has "broken" something somewhere else?

I'm talking about HDR ramps btw - I didn't try with SDR ramps.

I believe the NVidia dithering is needed to avoid banding whenever Nvidia driver is doing any sort of conversion process of the dynamic range, such as modifying the video card gamma table, converting between SDR <-> HDR, or other conversions like on my system I am outputting limited range signal so Nvidia driver is converting 0-255 to 16-235 and that also results in banding unless I enable Nvidia dithering.

I doubt that enabling NVidia dithering has broken anything permanently but if you wanted to make sure you could do a clean install of the Nvidia driver. Windows 10 also has some bugs with its colour management system that can potentially cause banding -- see here (https://hub.displaycal.net/forums/topic/windows-10-1903-please-read/) although I think they may have been sorted out by now.

edit: I just remembered that a flat (linear) .cal file has a quirk where a mathematically correct linear file is slightly different to what Nvidia/Windows thinks is a linear file. Basically a mathematically correct one goes from 0-65535 but the default state of the gamma table without any user intervention is actually 0-65280. So try unticking "run at windows startup" and then reboot so you should get the 0-65280 linear table and see if that changes anything. The "file > unload" button loads a mathematically correct 0-65535 table (CaltoolsFolder\CalibrationFiles\linear.cal).

flossy_cake
19th September 2022, 17:24
I'm talking about HDR ramps btw - I didn't try with SDR ramps.

Are you able to upload the HDR ramp(s) somewhere?

tony359
19th September 2022, 17:29
edit: I just remembered that a flat (linear) .cal file has a quirk where a mathematically correct linear file is slightly different to what Nvidia/Windows thinks is a linear file. Basically a mathematically correct one goes from 0-65535 but the default state of the gamma table without any user intervention is actually 0-65280. So try unticking "run at windows startup" and then reboot so you should get the 0-65280 linear table and see if that changes anything. The "file > unload" button loads a mathematically correct 0-65535 table (CaltoolsFolder\CalibrationFiles\linear.cal).

Interesting and also infuriating! There is always something! I like thinkering but sometimes I feel hopeless with the immense amount of information you have to dive in and test! :D Thanks a lot though.

I used Mehanik patterns which you can find here: https://www.avsforum.com/threads/hdr10-test-patterns-set.2943380/

Ramps are here: https://drive.google.com/drive/folders/1S-79Oxjr3NSbvNeEqNdqAc3XT0LO_AFt

flossy_cake
19th September 2022, 19:01
Ramps are here: https://drive.google.com/drive/folders/1S-79Oxjr3NSbvNeEqNdqAc3XT0LO_AFt

Thanks.

I checked the 1000nit & 8-bit ramps and observe on my system that Nvidia dithering has no effect on ramp smoothness if the video card gamma table is linear (either one) and my GTX 1070 is outputting RGB 8-bit full range @ TV's native "PC mode" resolution.

But, if I output any other video mode (even just non-native res but still RGB 8-bit full range) then Nvidia dithering starts affecting gradient smoothness of both ramps, but not if MadVR dithering is set to "random", "colored" & "change every frame".

brazen1
20th September 2022, 17:17
https://nvidianews.nvidia.com/news/nvidia-delivers-quantum-leap-in-performance-introduces-new-era-of-neural-rendering-with-geforce-rtx-40-series

ryrynz
22nd September 2022, 00:26
https://nvidianews.nvidia.com/news/nvidia-delivers-quantum-leap-in-performance-introduces-new-era-of-neural-rendering-with-geforce-rtx-40-seriesJesus. *AMD starts sweating*