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

SirMaster
1st November 2022, 16:28
The screenshot I posted is the setting I'm using. Thanks for your feedback.

Ah, screenshot didn't come through on the forum for me.

Best to use external image host on this forum just FYI.

Siso
1st November 2022, 17:11
Ah, screenshot didn't come through on the forum for me.

Best to use external image host on this forum just FYI.

It is uploaded on ext image site.

Selur
1st November 2022, 18:18
@huhn: Thanks for clearing that up. :)

Megalith
2nd November 2022, 20:16
HDR no longer works on my system, and I have no idea why. Starting a video puts my TV into HDR mode, but the image is washed out in both windowed and full-screen modes (normally, it would only be washed out in windowed mode). Windows 10, GeForce RTX 3080 Ti, latest NVIDIA driver.

EDIT: A restart fixed it.

x7007
5th November 2022, 00:30
NV HDR doesn't work properly with Potplayer with 526.47 Windows 11 22H2??? I am using 4090 and I just noticed the NV HDR is not different than SDR and nothing in MADVR is working, changing from 0-255 to 16-235 or anything in the normal menu,, what is going on??? how can I fix this? only the OS HDR is working



HDR no longer works on my system, and I have no idea why. Starting a video puts my TV into HDR mode, but the image is washed out in both windowed and full-screen modes (normally, it would only be washed out in windowed mode). Windows 10, GeForce RTX 3080 Ti, latest NVIDIA driver.

EDIT: A restart fixed it.


Lol,, same, restart works...

huhn
5th November 2022, 09:37
there is a major known and supposed to be fixed issue with madVR and win 11h2 the fix is in beta 164 or 165 give this a try.

the issue is related to the duplication of device ids where it is possible that a device will not response to anything changes in that device id pretty much breaking madVR.

the problem is the driver shouldn't matter and i mostly tested this on AMD.

OpenSource Ghost
5th November 2022, 18:54
I am not sure if this is MPC-HC or madVR issue and as such I am asking in both threads.

MPC-HC keep trying to use network connection for video files when madVR is used as external filter. Why? Local Network in madVR tray is disabled. I don't use any MPC-HC plugins that require local or public network use. MPC-HC requests network access only when I launch video files to rendered with madVR, but never when I launch audio files, regardless of renderer. If I launch video files when madVR is not default preferred external renderer, then there are no attempts to use local network.

My PC is highly isolated and doesn't even have local network sharing capabilities, only WAN access over VPN. On top of that I disable private and public network use of MPC-HC executable with basic Windows firewall, but such blocking causes a delay when I launch MPC-HC because MPC-HC attempts to use network when madVR is the set primary external video renderer. If I just disconnect PC from LAN, then there is no delay.

Is there a way to fully disable network functionality of MPC-HC and madVR through their options? Again, network access requests only happen if I tr yto launch video files in MPC-HC when madVR is the default prefered renderer.

mclingo
5th November 2022, 20:22
Is it something to do with the licence maybe, are you using a pre licence version? v0.92.17 with no madvmeasure addons

clsid
5th November 2022, 22:30
MadVR does local network discovery when its tray icon is enabled. Disabling that in its tray icon right-click menu should stop it.

shaolin95
8th November 2022, 20:20
Hi all!
So I using Nvidia 23fps which windows shows as 23.976.
In about 1 hour and 20 minutes of playing Hobbit Part 2, I got 3 dropped frames and 1 repeated. Is this acceptable or is there anything I can do to prevent any drops?
I mean,. this is a 5600x with RTX 3070 dedicated to HTPC only.
Projector is a JVC RS540
Thanks

flossy_cake
9th November 2022, 04:21
Hi all!
So I using Nvidia 23fps which windows shows as 23.976.
In about 1 hour and 20 minutes of playing Hobbit Part 2, I got 3 dropped frames and 1 repeated. Is this acceptable or is there anything I can do to prevent any drops?

What does Ctrl+J say for "1 frame drop every..."

You can fine tune the refresh rate with CRU to make it say "1 frame drop every <many> hours" but it's convoluted and difficult, requires using calculator and adding/removing blanking since we only get 2 decimal places of precision for the pixel clock which isn't enough.

Also are you at 1080p23 or 2160p23? If the latter then due to the the large pixel count, 2 decimal places of pixel clock precision may be sufficient for making a quick 1-click adjustment in CRU.

shaolin95
9th November 2022, 20:42
What does Ctrl+J say for "1 frame drop every..."

You can fine tune the refresh rate with CRU to make it say "1 frame drop every <many> hours" but it's convoluted and difficult, requires using calculator and adding/removing blanking since we only get 2 decimal places of precision for the pixel clock which isn't enough.

Also are you at 1080p23 or 2160p23? If the latter then due to the the large pixel count, 2 decimal places of pixel clock precision may be sufficient for making a quick 1-click adjustment in CRU.

2160p23 . The time for 1 frame drop changes but usually 50mins to over an 1 hour is what it shows.
I c was able to get great results with jriver and its built in vidoeclock BUT that means no Atmos so useless to me :/
Guess is not a big deal just ocd lol

flossy_cake
10th November 2022, 01:06
2160p23 . The time for 1 frame drop changes but usually 50mins to over an 1 hour is what it shows.

1 per hour isnt too bad. You'll have to watch a few movies and see if you notice it once or twice. If the camera is not moving very much at that point in the movie, it won't even be visible at all.

With my 1080p23 mode I initially had 1 skip in 15 minutes and I was noticing that unfortunately. I wasn't trying to notice it, it just kept presenting itself to me. At first I couldn't get CRU to register my custom mode in Windows list of display modes, but that was due to it clashing with another 24hz mode defined elsewhere in CRU (in the CTA block, it turned out). Once I deleted that mode and created my custom mode in another separate block in CRU, it worked.

NVCP also has its own custom res utility and I did manage to get it to work but it was so buggy and awful. CRU is better imo as it just modifies the EDID stored in the Windows Registry, but it seems the Nvidia driver is the bit of code which actually reads it and uses it to register the new modes in Windows list of display modes. MadVR "sees" whatever is in the list of Windows own display modes list. Also I love the fact that I can backup the EDID with 1 click in CRU so I don't have to remake all my modes if I do a driver update or something.

shaolin95
10th November 2022, 03:53
1 per hour isnt too bad. You'll have to watch a few movies and see if you notice it once or twice. If the camera is not moving very much at that point in the movie, it won't even be visible at all.

With my 1080p23 mode I initially had 1 skip in 15 minutes and I was noticing that unfortunately. I wasn't trying to notice it, it just kept presenting itself to me. At first I couldn't get CRU to register my custom mode in Windows list of display modes, but that was due to it clashing with another 24hz mode defined elsewhere in CRU (in the CTA block, it turned out). Once I deleted that mode and created my custom mode in another separate block in CRU, it worked.

NVCP also has its own custom res utility and I did manage to get it to work but it was so buggy and awful. CRU is better imo as it just modifies the EDID stored in the Windows Registry, but it seems the Nvidia driver is the bit of code which actually reads it and uses it to register the new modes in Windows list of display modes. MadVR "sees" whatever is in the list of Windows own display modes list. Also I love the fact that I can backup the EDID with 1 click in CRU so I don't have to remake all my modes if I do a driver update or something.
So do you get 0 drops now?
Thanks!

flossy_cake
10th November 2022, 04:16
So do you get 0 drops now?


Not quite -- about 1 drop per 12 hours, which for me is good enough. It even fluctuates a bit depending on ambient temperature.

So let's say you're targeting 23.976hz (24/1.001 to be precise, and precision is important here) and your actual refresh is 23.977hz, the error is 0.001hz which would theoretically give you 1 repeat every 16 minutes (1/0.001/60=16).


Error = Frame drop every
0.001hz = 16 minutes
0.0001hz = 2.7 hours
0.00001hz = 27 hours


For 1 drop per 12 hours I had to get it within around 0.00002hz.

shaolin95
10th November 2022, 04:25
Not quite -- about 1 drop per 12 hours, which for me is good enough. It even fluctuates a bit depending on ambient temperature.

So let's say you're targeting 23.976hz (24/1.001 to be precise, and precision is important here) and your actual refresh is 23.977hz, the error is 0.001hz which would theoretically give you 1 repeat every 16 minutes (1/0.001/60=16).


Error = Frame drop every
0.001hz = 16 minutes
0.0001hz = 2.7 hours
0.00001hz = 27 hours


For 1 drop per 12 hours I had to get it within around 0.00002hz.

So in the nvcp you set it to anything specific before adding the cru one?
Where do you get the timings from?
Maybe I can PM you to not of off topic?
Thank you!!

Klaus1189
10th November 2022, 05:23
You can go on here if you want:
AMD, Intel and Nvidia driver issues and last recommended version (https://forum.doom9.org/showthread.php?t=176013)

A guide for it would be nice to have.

flossy_cake
11th November 2022, 05:32
So in the nvcp you set it to anything specific before adding the cru one?

I avoid setting refresh rate in NVCP as it seems to have issues distinguishing 23 vs 24, and 59 vs 60, when making custom modes with CRU.


Where do you get the timings from?

Well, the situation is a bit tricky. In CRU we can select "automatic HDTV" and this will choose timings CRU thinks is standard:

https://i2.lensdump.com/i/RgAwfD.png

But it is different to what CTA specifies (https://web.archive.org/web/20171130183104/https://standards.cta.tech/kwspub/published_docs/CTA-861-G_FINAL_revised_2017.pdf):

https://i3.lensdump.com/i/RgA5BA.png

Note the bit highlighted in red which says that 23.976hz mode will be the same as 24.0hz mode but with pixel clock reduced slightly to produce 23.976hz.

So I start by plugging CTA's timings into CRU:

https://i.lensdump.com/i/RgAGYM.png

I'm not sure why CRU highlights front porch in red. It is a weirdly high value but hey that's what CTA says it should be. (edit: it seems the mode must be added to a new "display id 1.3/2.0" extension block, in which the value won't be red and CRU will even automatically select CTA timings when selecting "automatic HDTV").

Now lower the pixel clock until resulting refresh rate is 23.976:

https://i2.lensdump.com/i/RgAh2Q.png

Now we are ready to make some very small changes to the refresh rate to minimise the "1 frame drop/repeat every..." on MadVR's ctrl+J. Drop = refresh rate is slightly too slow, repeat = slightly too fast.

The problem is we don't have enough decimal places of precision to elicit less than a 0.001hz in the refresh rate. You might get lucky and a 0.001hz nudge might get you to a satisfactory value on ctrl+J. But for higher precision we can instead change the number of pixels in the blanking zones which has a very tiny effect on the refresh rate. To calculate the amount I'm using this calculator: https://www.monitortests.com/pixelclock.php?width=3840&height=2160&refresh=23.976023&decimals=2&minhblank=1494&maxhblank=1826&hmultiple=8&minvblank=91&maxvblank=99&vmultiple=1&maxpclock=165:

https://i1.lensdump.com/i/Rgitg0.png

Note how I've already prefilled everything there -- the blanking values I've set to +/- 10% of the CTA spec. This should give us enough adjustability without straying too far from the spec.

Now suppose you want to increase the refresh rate by 0.00001hz, change it from 23.976023 to 23.976033, click calculate, then pick one of the resulting modes and copy their total resolution into CRU:

https://i3.lensdump.com/i/RgWfuK.png

And remember: in CRU you may need to remove all other 24hz modes to avoid clashes, and create your new custom mode in a separate block. Otherwise it didn't work for me and the refresh rate didn't change -- this can be checked with Ctrl+J or vsynctester.com.

Good luck.

Alexkral
11th November 2022, 06:41
I just noticed that the results of custom pixel shaders are stored in a 16-bit buffer in beta versions, and the 32-bit option has disappeared from the "trade quality for performance" menu.

I can't understand what relationship it can have with the tone mapping development.

chros
11th November 2022, 10:23
Aks him on avs, Alex! I think we reached.the new low with madvr "development": he doesn't even want to fix obvious bugs that he introduced, let alone lack of manual/unit tests.

@flossy_cake: you can check out this post (https://forum.doom9.org/showthread.php?p=1868998#post1868998) about CRU.

huhn
11th November 2022, 12:01
while the development is literally abandon ware state now.
the 32 bit buffer option was and is pointless in the first place.
but i have to say if you know a reason this should ever matter i would like to know and learn more.

hands down madVR is in a pretty unacceptable state the turing card are now 5 years old and even the beta madVR version don't have settings that will have a higher chance to work with these cards they still default to 8 present queue while 1-3 is recommend or necessary on now >old< GPUs.

it's free software and this is part of it.

shaolin95
11th November 2022, 15:59
I avoid setting refresh rate in NVCP as it seems to have issues distinguishing 23 vs 24, and 59 vs 60, when making custom modes with CRU.



Well, the situation is a bit tricky. In CRU we can select "automatic HDTV" and this will choose timings CRU thinks is standard:


But it is different to what CTA specifies (https://web.archive.org/web/20171130183104/https://standards.cta.tech/kwspub/published_docs/CTA-861-G_FINAL_revised_2017.pdf):


Note the bit highlighted in red which says that 23.976hz mode will be the same as 24.0hz mode but with pixel clock reduced slightly to produce 23.976hz.

So I start by plugging CTA's timings into CRU:

https://i.lensdump.com/i/RgAGYM.png

I'm not sure why CRU highlights porch in red. It is a weirdly high value but hey that's what CTA says it should be.

Now lower the pixel clock until resulting refresh rate is 23.976:


Now we are ready to make some very small changes to the refresh rate to minimise the "1 frame drop/repeat every..." on MadVR's ctrl+J. Drop = refresh rate is slightly too slow, repeat = slightly too fast.

The problem is we don't have enough decimal places of precision to elicit less than a 0.001hz in the refresh rate. You might get lucky and a 0.001hz nudge might get you to a satisfactory value on ctrl+J. But for higher precision we can instead change the number of pixels in the blanking zones which has a very tiny effect on the refresh rate. To calculate the amount I'm using this calculator: https://www.monitortests.com/pixelclock.php?width=3840&height=2160&refresh=23.976023&decimals=2&minhblank=1494&maxhblank=1826&hmultiple=8&minvblank=91&maxvblank=99&vmultiple=1&maxpclock=165:


Note how I've already prefilled everything there -- the blanking values I've set to +/- 10% of the CTA spec. This should give us enough adjustability without straying too far from the spec.

Now suppose you want to increase the refresh rate by 0.00001hz, change it from 23.976023 to 23.976033, click calculate, then pick one of the resulting modes and copy their total resolution into CRU:


And remember: in CRU you may need to remove all other 24hz modes to avoid clashes, and create your new custom mode in a separate block. Otherwise it didn't work for me and the refresh rate didn't change -- this can be checked with Ctrl+J or vsynctester.com.

Good luck.

This is a great post!
I will have it for reference if mine goes wacky again but right now I am very happy :D

Thank you!!!!

Alexkral
11th November 2022, 16:53
while the development is literally abandon ware state now.
the 32 bit buffer option was and is pointless in the first place.
but i have to say if you know a reason this should ever matter i would like to know and learn more.

hands down madVR is in a pretty unacceptable state the turing card are now 5 years old and even the beta madVR version don't have settings that will have a higher chance to work with these cards they still default to 8 present queue while 1-3 is recommend or necessary on now >old< GPUs.

it's free software and this is part of it.

Well, reading an 8 bit blue (0, 0, 213) I get 0.8352966010 x 255 = 213.000633255 with 32 bits, and 0.8349609076 x 255 = 212.915031438 with 16 bits. It's a small difference, but it can be important depending on what you're doing.

chros
11th November 2022, 19:57
I just noticed that the results of custom pixel shaders are stored in a 16-bit buffer in beta versions, and the 32-bit option has disappeared from the "trade quality for performance" menu.
Just went back till beta 38 (2018.12.27) and the option was already gone and nothing in the beta changelog (https://pastebin.com/6N9tr0t6) either that I could find.

ryrynz
11th November 2022, 20:18
while the development is literally abandon ware state now.



hands down madVR is in a pretty unacceptable state..



it's free software and this is part of it.

Agreed. Pretty disrespectful behavior. At the very least provide a maintenance release with any bugs fixed in the betas and address the default settings. That always seemed to be the intention.

Alexkral
11th November 2022, 20:34
Just went back till beta 38 (2018.12.27) and the option was already gone and nothing in the beta changelog (https://pastebin.com/6N9tr0t6) either that I could find.

Yeah, I just wanted to put it on the record, I don't feel comfortable in avs and I'm not interested in the answer either.

ryrynz
11th November 2022, 21:57
I can't understand what relationship it can have with the tone mapping development.

I'll go out on a limb here and say it's a Envy only feature. Have a chat to Manni, your friendly madVR Envy representative for more info. :)

shaolin95
11th November 2022, 22:18
People complaining should totally ask for a refund...

dbezerra
12th November 2022, 02:14
I think it's time for alternatives. MPV has made progress on HDR/DV tone mapping, and I hope it will fully support DV one day. JRiver is also pressing forward. Hopefully at some point one of those solutions will have quality parity with MadVR main scenarios (for me - 1st, HDR tonemapping & DV support, 2nd: 1080p to 4K upscaling).

kasper93
12th November 2022, 04:33
Guys stop... You won't get anywhere by complaining.

Hard truth is that madVR is abandonware and has been for a while. As much as I like this software, it's time to let go. Any development is in DTM area which directly contributes to madVR Envy and even this is progressing very slowly. Last madVR release was 30 Sep 2018 and since then there were only DTM test versions, which introduced regressions on its own (crop, smoothmotion and so on). madshi were teasing subscription model for madVR, but this never happened, clearly it is not a priority. And frankly without it, don't except any real development, bug fixes or new features, that were added to Envy like NLS. Obviously, there is no business incentive to port (enable, coz it is mostly the same codebase) them to madVR in current state.

Move on... it is not 2013 anymore.

You should be using mpv with gpu-next (libplacebo). It is easy to use, you really do not need full GUI to adjust few player settings and OSC is good for all playback related controls. Or JRiver if you prefer more.
I think it's time for alternatives. MPV has made progress on HDR/DV tone mapping, and I hope it will fully support DV one day. JRiver is also pressing forward. Hopefully at some point one of those solutions will have quality parity with MadVR main scenarios (for me - 1st, HDR tonemapping & DV support, 2nd: 1080p to 4K upscaling). What do you mean? mpv (w/ libplacebo) supports Dolby Vision, HLG, which madVR does not and doesn't look like it will anytime soon ...and uh upscaling is also supported. Notably libplacebo is superior to madVR it almost every way, more future complete, modern, open source and cross platform. It has better performance, better customizability, film grain synthesis on GPU, tonemapping, frame blending, all color managment stuff. You name it... I think only madVR feature that is missing is dynamic crop, but this is also little broken in recent madVR test build.

I will not convince you to switch, but to be honest your time would be better spent reporting mpv issues/requests, than complaining about lack of madVR development here.

shaolin95
12th November 2022, 04:34
I avoid setting refresh rate in NVCP as it seems to have issues distinguishing 23 vs 24, and 59 vs 60, when making custom modes with CRU.



Well, the situation is a bit tricky. In CRU we can select "automatic HDTV" and this will choose timings CRU thinks is standard:

https://i2.lensdump.com/i/RgAwfD.png

But it is different to what CTA specifies (https://web.archive.org/web/20171130183104/https://standards.cta.tech/kwspub/published_docs/CTA-861-G_FINAL_revised_2017.pdf):

https://i3.lensdump.com/i/RgA5BA.png

Note the bit highlighted in red which says that 23.976hz mode will be the same as 24.0hz mode but with pixel clock reduced slightly to produce 23.976hz.

So I start by plugging CTA's timings into CRU:

https://i.lensdump.com/i/RgAGYM.png

I'm not sure why CRU highlights porch in red. It is a weirdly high value but hey that's what CTA says it should be.

Now lower the pixel clock until resulting refresh rate is 23.976:

https://i2.lensdump.com/i/RgAh2Q.png

Now we are ready to make some very small changes to the refresh rate to minimise the "1 frame drop/repeat every..." on MadVR's ctrl+J. Drop = refresh rate is slightly too slow, repeat = slightly too fast.

The problem is we don't have enough decimal places of precision to elicit less than a 0.001hz in the refresh rate. You might get lucky and a 0.001hz nudge might get you to a satisfactory value on ctrl+J. But for higher precision we can instead change the number of pixels in the blanking zones which has a very tiny effect on the refresh rate. To calculate the amount I'm using this calculator: https://www.monitortests.com/pixelclock.php?width=3840&height=2160&refresh=23.976023&decimals=2&minhblank=1494&maxhblank=1826&hmultiple=8&minvblank=91&maxvblank=99&vmultiple=1&maxpclock=165:

https://i1.lensdump.com/i/Rgitg0.png

Note how I've already prefilled everything there -- the blanking values I've set to +/- 10% of the CTA spec. This should give us enough adjustability without straying too far from the spec.

Now suppose you want to increase the refresh rate by 0.00001hz, change it from 23.976023 to 23.976033, click calculate, then pick one of the resulting modes and copy their total resolution into CRU:

https://i3.lensdump.com/i/RgWfuK.png

And remember: in CRU you may need to remove all other 24hz modes to avoid clashes, and create your new custom mode in a separate block. Otherwise it didn't work for me and the refresh rate didn't change -- this can be checked with Ctrl+J or vsynctester.com.

Good luck.
One question..with that high front porch in red it won't let me OK as it grayed out.
How did you do it?

Also what do you mean by "create your new custom mode in a separate block."?
Thanks

huhn
12th November 2022, 11:27
Well, reading an 8 bit blue (0, 0, 213) I get 0.8352966010 x 255 = 213.000633255 with 32 bits, and 0.8349609076 x 255 = 212.915031438 with 16 bits. It's a small difference, but it can be important depending on what you're doing.

you have to think what madVR does not what you do in this case.

do you know if it was 32 bit before it is send to the custom shader or 16 ?
do you know it will keep it at 32 bit after getting it back?
and that's pretty much all that option changes nothing more.

glc650
12th November 2022, 11:43
What do you mean? mpv (w/ libplacebo) supports Dolby VisionUsing the RPU to convert the color space to remove the green/pink tint on playback is hardly what I would call support for DV.

Alexkral
12th November 2022, 12:10
you have to think what madVR does not what you do in this case.

do you know if it was 32 bit before it is send to the custom shader or 16 ?
do you know it will keep it at 32 bit after getting it back?
and that's pretty much all that option changes nothing more.

I don't need to know all that, when the madVR option changes the result it's clear that it's because in some madVR step there is a bit depth reduction. And yes, the option changes the result, nothing more.

flossy_cake
12th November 2022, 12:42
One question..with that high front porch in red it won't let me OK as it grayed out.
How did you do it?

Ok that's a weird one. At first I thought it must be due to a pixel clock limit as that is mentioned a lot in the author's thread.

But it doesn't seem to be that as I can reduce the pixel clock down to a very low value and the ok button is still greyed out due to the front porch being too high (it's definitely not too high - that's what the CTA spec says it should be).

Even weirder is if I create a new "display id 1.3/2.0" block in the extension block at the bottom, and select "automatic HDTV", and enter only the values 3840x2160 &24hz, CRU automatically populates the rest with the CTA's timings including the massive 1276 horizontal blanking, and it's not red, and the ok button is not greyed out.

https://i3.lensdump.com/i/Rg5AIT.png



Also what do you mean by "create your new custom mode in a separate block."?


In the extension block, I put my custom modes in a new "display id 1.3" data block. On my system that was the only way Nvidia would see them and add them to the list of resolutions in Windows display settings.

huhn
12th November 2022, 12:57
it nearly for sure is using 16 bit in the first place. if you want 32 bit you have to convert it your self because that's nearly for sure what that option does nothing more nothing less. so is there a feature that is been removed yes. does it lower bit deep most likely not...

just as a reminder features:

- high quality chroma upsampling
- high quality scaling (bicubic, mitchell, lanczos, spline etc)
- high quality YCbCr -> RGB conversion
- gamut & gamma correction for display calibration
- full 16bit processing queue
- final 16bit processing result is dithered down to RGB output bitdepth
- bypasses graphics card's video (damage) algorithms
- all work is done via GPU shaders (except madVR's IVTC atm)
- no shortcuts, highest quality has priority over anything else

this didn't age well.

and yes 32 bit float has different results compered to 16 if it was 16 or 32 bit before doesn't matter.

to prove that madVR was 32 bit before you would need a limited range RGB source that is blue 213 like your example. and you need to check run custom shaders in video levels instead of PC level.
because if the difference comes from limited to full range conversation using 32 bit or 16 bit that would be funny...

just as a reminder unticking run custom shaders in video level instead of PC level always adds float point "errors" because madVR works in limited range(even with full range input!!!) all the time until presentation.

shaolin95
12th November 2022, 16:40
Ok that's a weird one. At first I thought it must be due to a pixel clock limit as that is mentioned a lot in the author's thread.

But it doesn't seem to be that as I can reduce the pixel clock down to a very low value and the ok button is still greyed out due to the front porch being too high (it's definitely not too high - that's what the CTA spec says it should be).

Even weirder is if I create a new "display id 1.3/2.0" block in the extension block at the bottom, and select "automatic HDTV", and enter only the values 3840x2160 &24hz, CRU automatically populates the rest with the CTA's timings including the massive 1276 horizontal blanking, and it's not red, and the ok button is not greyed out.

https://i3.lensdump.com/i/Rg5AIT.png




In the extension block, I put my custom modes in a new "display id 1.3" data block. On my system that was the only way Nvidia would see them and add them to the list of resolutions in Windows display settings.

I tried that but I see in the block part but cannot get it to allow that high porch in the detailed resolutions above. And adding it when creating the block won't show in Nvidia or windows res options.
Hope that makes sense
Maybe you can export yours and I can use it as a base?
Thanks!

Klaus1189
12th November 2022, 18:51
@shaolin95: Please use an external file hoster like google drive or whatever. All your pictures of your recent posts can not be viewed.

OpenSource Ghost
12th November 2022, 23:44
MadVR does local network discovery when its tray icon is enabled. Disabling that in its tray icon right-click menu should stop it.

I am not able to find the option to disable madVR tray icon, but madVR OP does say that madVR looks for subtitles or whatever other material related to current video playback over LAN. It doesn't just try to connect to LAN, but also to WAN. It attemps to use DNS settings specified in Windows network options to resolve whichever domain addresses. All local multicast discovery protocols (mDNS, IGMP, LLDP, LLMNR, 224.0.0.0-255.255.255.255 IP range, etc) are disabled on my network via Windows client settings and via router VLAN isolation settings. For what can madVR be looking over WAN???

Sunspark
12th November 2022, 23:49
I have experimented with CRU in the past as well as the poorly implemented Intel Custom Resolutions panel.

One observation I have is that sometimes the blocks already present in the display might have accurate timings, but only for HDMI. I am not currently using either CRU or Intel's CR, and with MadVR it says 23.976 and days between frame drop or repeat. Could it really be that my display came pre-defined that accurately? I am skeptical. It is also possible that MadVR is not measuring the numbers with that degree of precision.. or is it?

It is assumed here that MadVR is reporting the numbers accurately but can it be measured empirically?

kasper93
13th November 2022, 00:17
Using the RPU to convert the color space to remove the green/pink tint on playback is hardly what I would call support for DV. Oh well, more than you get out of madVR or anything else...

huhn
13th November 2022, 01:31
I have experimented with CRU in the past as well as the poorly implemented Intel Custom Resolutions panel.

One observation I have is that sometimes the blocks already present in the display might have accurate timings, but only for HDMI. I am not currently using either CRU or Intel's CR, and with MadVR it says 23.976 and days between frame drop or repeat. Could it really be that my display came pre-defined that accurately? I am skeptical. It is also possible that MadVR is not measuring the numbers with that degree of precision.. or is it?

It is assumed here that MadVR is reporting the numbers accurately but can it be measured empirically?

if you have read about this and used it you should understnad that:
1. your display has nothiung todo with that at all how good it is out of the box.
2. madVR know when it drops a frame if it is measured accurate or not does not matter.
3. the most important one repeated dropped frame don't happen becausde of bad timing of a GPU it happen because the GPU output and the audio run async.

when you are creating a custom resolution to fix frame drops repeats you are not making the clock better or accurate you are just lowering the drift between to clock the GPU and the audio clock that's it.

in cease of intel it seem that with an iGPU the GPU and the HDMI audio generator clock are one and the same so they don't drift.

flossy_cake
13th November 2022, 03:29
I tried that but I see in the block part but cannot get it to allow that high porch in the detailed resolutions above.

Indeed, it seems CRU will only allow such high resolutions in the detailed resolutions section of a DisplayID 1.3/2.0 block, which that last screenshot was from. Even in the CTA block it won't allow CTA's own timings for 4k (at least for me it won't).

And adding it when creating the block won't show in Nvidia or windows res options.

Did you delete any 24hz modes from all other blocks to avoid clashes? You may have one in the CTA block under "TV Resolutions" section. At least I did, and getting rid of it was what made all my custom mode(s) in my DisplayID 1.3 block finally appear in Windows display settings.

On my AMD GPU the procedure is different and AMD driver will only add my custom mode to Windows display settings if I create it in Radeon settings.


Maybe you can export yours and I can use it as a base?
Thanks!

Unfortunately CRU can't export a single mode or block, only the entire EDID and that would surely muck things up on your system so that you would probably get a black screen on reboot and have to boot windows in safe mode to fix it.

flossy_cake
13th November 2022, 03:36
when you are creating a custom resolution to fix frame drops repeats you are not making the clock better or accurate you are just lowering the drift between to clock the GPU and the audio clock that's it.

In most cases I agree, but for CTA's 1080p23 mode specifically, if the GPU only has 2 decimal places of pixel clock precision in its own driver code, the resulting refresh rate may be off by 0.001hz:


Pixel clock , resulting refresh rate
74.18Mhz , 23.977hz
74.17Mhz , 23.974hz


i.e it appears 23.977hz is the closest we can get to 23.976hz if we are limited to 2 decimal places of pixel clock precision, for CTA's 1080p23 mode.

It's entirely possible the driver can do more precision than 2 decimal place:


Use DisplayID to add resolutions greater than 4095x4095 or 655.35 MHz pixel clock. DisplayID 2.0 supports pixel clocks with three decimal places, but the driver or hardware might not support such precision.
https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU?page=1

Sunspark
13th November 2022, 04:03
I wonder if it makes a difference or not at all in terms of pixel clock and refresh rate if one uses a displayport to hdmi adapter?

I'm actually using one because I felt the desktop looked a little better with the adapter than the port on the PC.

MadVR settings says my max pixel clock is 225 MHz when I connect to the monitor's HDMI port.. if I connect it to the DVI port it changes to 165.

flossy_cake
13th November 2022, 04:11
I wonder if it makes a difference or not at all in terms of pixel clock and refresh rate if one uses a displayport to hdmi adapter?
MadVR settings says my max pixel clock is 225 MHz when I connect to the monitor's HDMI port.. if I connect it to the DVI port it changes to 165.


Passive DisplayPort to HDMI adapters are limited to 165 MHz unless the driver is patched.
These DisplayPort to HDMI 2.0 active adapters support up to 600 MHz pixel clock (Amazon affiliate links):
These DisplayPort to HDMI 1.4 active adapters support up to 300 MHz pixel clock (Amazon affiliate links)
https://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU?page=1



I've noticed there is also a "HDMI support" block in the CTA block which specifies a max pixel clock.

Also we can export the EDID from CRU to a txt file and paste it into www.edidreader.com to view some things which are not visible in CRU, such as the VIC numbers for supported modes which is useful for confirming your display uses CTA timings (except edidreader.com calls them by their old name CEA instead of CTA)

https://i.ibb.co/d5P0Hs3/vic.png

Alexkral
13th November 2022, 05:04
it nearly for sure is using 16 bit in the first place. if you want 32 bit you have to convert it your self because that's nearly for sure what that option does nothing more nothing less. so is there a feature that is been removed yes. does it lower bit deep most likely not...

Ah ok, I see what you mean. Agreed, that's probably what happens.

lvqcl
13th November 2022, 10:46
you really do not need full GUI to adjust few player settings and OSC is good for all playback related controls

from https://itsfoss.com/linux-market-share/:


Statcounter: Linux occupies 2.6% of the market share compared to 15.74% for macOS and 75.93% for Windows.
W3Schools: As of October 2022, Linux has a grip on 4% of the market share, compared to 9.8% of macOS and 70.4% of Windows.
Steam Survey: In terms of desktop gaming, Linux has a market share of 1.28% (Ubuntu, Arch, Manjaro as the top-three) when compared to 2.23% for macOS and 96.50% for Windows.
Statista (last updated on June 2022): The Linux desktop market share was 2.42% when compared to 14.64% for macOS, and 76.33% for Windows.


No ease-of-use -> no market share.

glc650
13th November 2022, 11:20
Oh well, more than you get out of madVR or anything else...
For good reason. MadVR has always been about playback quality. This hack for mpv is anything but.

It makes no sense to take DV streaming content and convert it (butcher it really) into SDR just for playback on a PC. Just obtain the HDR10 version (or SDR version for that matter) and run it through madVR (or mpv if you prefer). Or just use a device that is actually intended for DV playback.

chrisssj2
13th November 2022, 13:33
Guys stop... You won't get anywhere by complaining.

Hard truth is that madVR is abandonware and has been for a while. As much as I like this software, it's time to let go. Any development is in DTM area which directly contributes to madVR Envy and even this is progressing very slowly. Last madVR release was 30 Sep 2018 and since then there were only DTM test versions, which introduced regressions on its own (crop, smoothmotion and so on). madshi were teasing subscription model for madVR, but this never happened, clearly it is not a priority. And frankly without it, don't except any real development, bug fixes or new features, that were added to Envy like NLS. Obviously, there is no business incentive to port (enable, coz it is mostly the same codebase) them to madVR in current state.

Move on... it is not 2013 anymore.

You should be using mpv with gpu-next (libplacebo). It is easy to use, you really do not need full GUI to adjust few player settings and OSC is good for all playback related controls. Or JRiver if you prefer more.
What do you mean? mpv (w/ libplacebo) supports Dolby Vision, HLG, which madVR does not and doesn't look like it will anytime soon ...and uh upscaling is also supported. Notably libplacebo is superior to madVR it almost every way, more future complete, modern, open source and cross platform. It has better performance, better customizability, film grain synthesis on GPU, tonemapping, frame blending, all color managment stuff. You name it... I think only madVR feature that is missing is dynamic crop, but this is also little broken in recent madVR test build.

I will not convince you to switch, but to be honest your time would be better spent reporting mpv issues/requests, than complaining about lack of madVR development here.
WHere do you aquire gpu-next?