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

Clown shoes
17th May 2018, 19:49
does the shader work or atleast make it better?

I've not had a chance to test that yet as DSPlayer is my weapon of choice.

I am still working with Florian to see if we can get the 3DLUT working so I haven't completely given up hope yet :)

Clown shoes
17th May 2018, 20:13
Is anyone here familiar with creating HDR test patterns in Mad TPG?

Under the HDR dropdown I'm not sure what I should be setting the nits to?

Should it be the closest to the maximum my display is capable of (430nits in my case) or is it the peak luminanace (1000 nits in my case) or maybe something else? ;)

Betroz
17th May 2018, 20:32
I'm gonna give Windows 8.1 a try on my HTPC (swap out Win10), and may I ask which nVidia driver version works best for MadVr and a GTX 1080 card? I don't play any games on this machine, so MadVr is my only consern.

Asmodian
17th May 2018, 20:44
Did you ever find a workaround with your particular display?

I did, I had to put it in any mode beside PC because it's HDR behavior is much better when not in PC mode. However, it is then 4:2:2. :(

I still have to set the peak nits at or above the real peak in the content or it will do that, and some movies go pretty high, I have seen up to 2500 before.

Clown shoes
17th May 2018, 20:52
I did, I had to put it in any mode beside PC because it's HDR behavior is much better when not in PC mode. However, it is then 4:2:2. :(

I still have to set the peak nits at or above the real peak in the content or it will do that, and some movies go pretty high, I have seen up to 2500 before.

Ah, that's frustrating. Which TV is it, if you don't mind me asking?

You may be interested to know that I have managed to get rid of nearly all of the clipping by setting a very large number of patches on the HDR profile. The default is 175 but I ran 1100 at Florian's suggestion and nearly all of the clipping has gone. I'm currently running a 1500 patch profile and fingers crossed the clipping will be totally gone this time.

Out of interest have you noticed an overall reduction in luminance since using HDR 3DLUTS? Everything seems just a little bit duller than with passthrough to me.

Asmodian
17th May 2018, 21:10
It is LG's 2017 OLED, C7P.

I also used high patch counts, I believe I was using ~1000. Maybe I should try some more but when not using PC mode I got good results (no banding/clipping). It is expected that a 3DLUT (or any software calibration) would lower brightness, the only way to do any type of correction in software is to send <100% because you can never send >100%.

I ended up not using a 3DLUT for HDR, I did a manual calibration of my TV in Calman and simply use passthrough in madVR. Ideally you need a 3DLUT for every video with the peek nits set for the metadata of that video and after the manual calibration, and in home theater mode, my TV does a decent job tone mapping. A 3DLUT crafted for a particular video is a little better but passthough is better than using a "worst case" 3DLUT for everything.

I think there is more difficult HDR content, for example some of the earlier Harry Potter movies have very high peek nits in a few scenes (causing out of gamut issues like this) while most newer movies seem to use a more reasonable peek nits and all look good with the same 3DLUT.

Clown shoes
17th May 2018, 21:40
It is LG's 2017 OLED, C7P.

I also used high patch counts, I believe I was using ~1000. Maybe I should try some more but when not using PC mode I got good results (no banding/clipping). It is expected that a 3DLUT (or any software calibration) would lower brightness, the only way to do any type of correction in software is to send <100% because you can never send >100%.

I ended up not using a 3DLUT for HDR, I did a manual calibration of my TV in Calman and simply use passthrough in madVR. Ideally you need a 3DLUT for every video with the peek nits set for the metadata of that video and after the manual calibration, and in home theater mode, my TV does a decent job tone mapping. A 3DLUT crafted for a particular video is a little better but passthough is better than using a "worst case" 3DLUT for everything.

I think there is more difficult HDR content, for example some of the earlier Harry Potter movies have very high peek nits in a few scenes (causing out of gamut issues like this) while most newer movies seem to use a more reasonable peek nits and all look good with the same 3DLUT.

Yeah, well if I'm honest I think I'm going to give up on the 3D LUT route as well. I just tried again with 1500 patches and although it's much better it still doesn't look nearly as good as passthrough or pixel shader math. I may go back and have another crack at calibrating the display much like you have done.

One question I do have for you; is there a reason you've chosen to use Passthrough rather than have MadVR pixel shader math do the work?

yogibeezwax
17th May 2018, 22:02
I'm sorry if this has been addressed... If tried to skim this long thread but I would really appreciate some answers to Fullscreen exclusive vs fullscreen windowed;
Is there any discerning difference in performance?
I have a 1070 TI strix with a i7-4790k and 16 GB ram and I've had several issues with "failed exclusive mode" when running files in a playlist..and at worst, when moving the mouse sometimes the screen goes blank and I'm forced to hard reset the PC to get out of it..However, running in fullscreen windowed doesn't give any issues whatsoever. I've read that using exclusive mode isn't a must anymore..long story short; is fullscreen windowed with d3d11 as good as exclusive?

Asmodian
17th May 2018, 22:08
One question I do have for you; is there a reason you've chosen to use Passthrough rather than have MadVR pixel shader math do the work?

What work? Pixel shader math simply keeps the TV in one tone mapping mode while passthrough tells the TV different metadata but the TV still does its tone mapping either way. I don't notice an improvement having madVR's pixel shaders pre-processing for the TV and I always default to less processing if I don't see an improvement.

I use very different display settings for HDR, via its HDR mode, so I don't use pixel shaders (or 3DLUT) to convert to SDR. ~680 nits is way too high for SDR. :p

is fullscreen windowed with d3d11 as good as exclusive?

Yes, I like it better myself. :)

Edit: There is currently limited 10-bit support in fullscreen windowed d3d11 so use exclusive if you need 10 bit. I recommend sticking to 8 bit output in most cases anyway but it is good to know if you are testing 10 bit output.

yogibeezwax
17th May 2018, 22:21
What work? Pixel shader math simply keeps the TV in one tone mapping mode while passthrough tells the TV different metadata but the TV still does its tone mapping either way. I don't notice an improvement having madVR's pixel shaders pre-processing for the TV and I always default to less processing if I don't see an improvement.

I use very different display settings for HDR, via its HDR mode, so I don't use pixel shaders (or 3DLUT) to convert to SDR. ~680 nits is way too high for SDR. :p



Yes, I like it better myself. :)

Edit: There is currently limited 10-bit support in fullscreen windowed d3d11 so use exclusive if you need 10 bit. I recommend sticking to 8 bit output in most cases anyway but it is good to know if you are testing 10 bit.

Don't think I can do 10 bit with my panasonic vt65..never seen 10-bit when playing any source so I'll stick with 8-bit and windowed mode..hate the exclusive "switching" so I guess I'll go with that until I buy a new TV (have my eye on the new Q9n 65"..might wait for microled..but I'm an impatient bastard;))

el Filou
17th May 2018, 23:09
Don't think I can do 10 bit with my panasonic vt65..the Panasonic plasmas accept 10- and 12-bit but it's not worth the hassle and the potential for quality loss if Nvidia messes something up in their drivers.

ryrynz
17th May 2018, 23:58
the Panasonic plasmas accept 10- and 12-bit but it's not worth the hassle and the potential for quality loss if Nvidia messes something up in their drivers.
Waste of time on this set, greyscale is no better than 8bit with dithering, I looked myself. As mentioned many times already most displays have zero benefit using 10bit.

Manni
18th May 2018, 07:17
Waste of time on this set, greyscale is no better than 8bit with dithering, I looked myself. As mentioned many times already most displays have zero benefit using 10bit.

When you compare native 10bits vs 8bits with a display able to properly handle 10-12bits (i.e. natively) and the dithering is done by MadVR without the GPU doing its thing behind its back, you can’t look for banding on a pattern. There most likely won’t be any. You have to look for noise in real content. There should be a bit more noise in 8bits dithered than in 10bits, but there shouldn’t be more banding (provided the source is 10bits and properly mastered) as MadVR’s dithering is excellent. Also I suppose that by greyscale you mean a greyscale ramp, as 10bits shouldn’t haven any effect on calibration.

oldpainlesskodi
18th May 2018, 07:17
Just wanted to update and share.

I have finally managed on Nvidia to get 23.976 4k RGB 10bit..yep, not 12, but 10 (both SDR and HDR) (confirmed also by my AV receiver on-screen info).

I discovered that using the display port (which is 1.4 on the 1080), and using the Club 3D CAC 1080 Display Port 1.4 HDMI 2.0 A (B) Hdr Active displayport to hdmi adapter, i can now choose between 8, 10 and 12bit in NVC @ 4k (10 and 12bit upto 30hz).

Using the adapter also puts the driver into a slightly different mode, in as far as Set Content Type is no longer available etc. Also, the white point scale and crispness is different than straight hdmi (which I prefer over straight hdmi). Some of the Nvidia drivers will only report upto 30hz being available using the adapter, but 397.76 displays all modes upto 60hz. The trade off is, as with some previous drivers, you cannot set up a custom res at 10bit (defaults to 8), so thats a down side - I guess it's about which trade offs you can live with.

At least on my set up, the colours seem more faithful, and no more over blown colours in HDR mode.

I know there is a lot of debate about 8bit with dithering etc, but, just wanted to share.

Update:

Ok, maybe i'm not doing the test correctly somehow, but using the 4.4.4 Chroma test image (link https://linustechtips.com/main/uploads/monthly_2016_11/TextTest_4k.png.8fc940e703b15b869281af8c8d22f67e.png ) it also appears to pass the test at 23hz....?

sim11
18th May 2018, 07:30
Hi, I've following this thread for years now, but can't seem to find the answer to this, I know for sure someone on this thread will know the answer to this for sure.

When trying to calibrate using madTPG as a pattern generator, i have noticed no matter what changes i make to gamma etc on windows 7, madTPG pattern gamma etc remains untouched and does not change in line with the windows 7 gamma etc. Internal pattern gamma etc change in both calman and hcfr but not in madTPG. Thanks sim11

ryrynz
18th May 2018, 09:09
Also I suppose that by greyscale you mean a greyscale ramp, as 10bits shouldn’t haven any effect on calibration.

Yeah I used the 2160p Gradient_Split test file from avsforum. Plasmas are noisy and the higher the bitdepth the noisier it becomes, so it makes it very hard to see any difference.

Don't think I can do 10 bit with my panasonic vt65..never seen 10-bit when playing any source so I'll stick with 8-bit and windowed mode..hate the exclusive "switching" so I guess I'll go with that until I buy a new TV

I'd recommend setting 'error diffusion option 2' and 'change dither for every frame' This resulted in the least amount of noise on my VT60, surprisingly changing the dither patterns should increase the noise but on plasma it appears to have the opposite effect, go figure.

Siso
18th May 2018, 14:38
Is this a bug or using NGU standart-medium or any NGU, always delays 1 frame. Video card is GTX 1050 ti, 390.65 win7 64 ultimate. No problems with super xbr-100 AR. Rendering times are low around 14 ms.

Warner306
18th May 2018, 16:43
I own an OPTOMA UHZ 65 laser video projector that handles very well the HDR, in fact with madvr I'm going to passthrough .... yesterday out of curiosity I wanted to use the HDR to SDR conversion, the image is more brighter, but the colors appear washed out, even if you set it in "this display is already calibrated" BT.2020, what can it depend on?....I use MPC-BE.... I also wanted to know from the owners of AMD video cards which is the most stable driver for HDR?

Increase the target nits until the image gets darker. You will get better results with a projector by leaving more room for tone mapping by providing a higher target nits than your actual peak nits.

Warner306
18th May 2018, 16:46
Is this a bug or using NGU standart-medium or any NGU, always delays 1 frame. Video card is GTX 1050 ti, 390.65 win7 64 ultimate. No problems with super xbr-100 AR. Rendering times are low around 14 ms.

What do you mean by delays one frame? NGU will shift a pixel or two but frames should be rendered the same. Maybe it is taking a second longer at playback start to fill the queues?

Warner306
18th May 2018, 16:49
I'm sorry if this has been addressed... If tried to skim this long thread but I would really appreciate some answers to Fullscreen exclusive vs fullscreen windowed;
Is there any discerning difference in performance?
I have a 1070 TI strix with a i7-4790k and 16 GB ram and I've had several issues with "failed exclusive mode" when running files in a playlist..and at worst, when moving the mouse sometimes the screen goes blank and I'm forced to hard reset the PC to get out of it..However, running in fullscreen windowed doesn't give any issues whatsoever. I've read that using exclusive mode isn't a must anymore..long story short; is fullscreen windowed with d3d11 as good as exclusive?

It won't change rendering times. Currently, there is a bug where 10-bit HDR passthrough isn't possible with Nvidia cards without fullscreen exclusive mode. This is considered a driver problem. Otherwise, it is a matter of preference.

brazen1
18th May 2018, 17:10
Any chance of adding toggle for RRN (reduce random noise) hotkey?

huhn
18th May 2018, 17:18
denoise toggle.

Siso
18th May 2018, 17:33
What do you mean by delays one frame? NGU will shift a pixel or two but frames should be rendered the same. Maybe it is taking a second longer at playback start to fill the queues?

I have enabled "delay playback start until render queue is full", and it just delays 1 frame, it says it in the OSD stats. This happens when using NGU only, I have no idea why is that, no other problems with other chroma scallers...The delayed frame is somewhere around 10-15 min of the movie.

huhn
18th May 2018, 17:46
delaying a frame when starting playback is not a problem.

Siso
18th May 2018, 18:10
delaying a frame when starting playback is not a problem.

I always reset the frames counter when I go into fullscreen, this happens 10-15 min after playback.

brazen1
18th May 2018, 19:39
Thank you huhn. I see you don't need to toggle on/off. 'Increase' essentially turns on and 'Decrease' turns it off.... and all 10 steps in between. NICE!

Seedmanc
18th May 2018, 20:19
Is there a way for madvr to automatically disable GSYNC during playback like it does with GPU gamma ramps? Disabling it manually every time is annoying and with it enabled at the same time with smooth motion it goes bonkers.

Georgel
18th May 2018, 20:58
madVR is out of updating?

I am getting freakouts and crashes with madVR has crashed every ten minutes watching anime upscaled from FHD to 4K. Tried multiple file types, multiple encodes, and I tried keeping the algorithms very friendly. Not sure why it happens.

This is what my crash dump thingy looks like

lavvideo!CLAVPixFmtConverter::convert_yuv420_px1x_le+0xb7
lavvideo!CLAVPixFmtConverter::Convert+0x19e
lavvideo!CLAVVideo::DeliverToRenderer+0x7a5
lavvideo!CLAVVideo::Deliver+0x1e7
lavvideo!CDecAvcodec::DecodePacket+0x6d0
lavvideo!CDecAvcodec::Decode+0x192
lavvideo!CDecBase::Decode+0x113
lavvideo!CDecodeManager::Decode+0x53
lavvideo!CLAVVideo::Receive+0x115
lavvideo!CTransformInputPin::Receive+0x59
lavvideo!CDeCSSTransformInputPin::Receive+0x1b
lavsplitter!CBaseOutputPin::Deliver+0x1c
lavsplitter!CLAVOutputPin::DeliverPacket+0x4d3
lavsplitter!CLAVOutputPin::ThreadProc+0x181
lavsplitter!CAMThread::InitialThreadProc+0x36
lavsplitter!strcspn+0x9d
kernel32!BaseThreadInitThunk+0x24
ntdll!__RtlUserThreadStart+0x2f
ntdll!_RtlUserThreadStart+0x1b

Asmodian
18th May 2018, 23:31
The last update was less than a month ago! How often do you expect updates from a free project with one developer working in his spare time? :p

Sorry, no idea why you are getting crashes but what player are you using? Do you have any non-default values set in LAV Video?

ryrynz
19th May 2018, 01:14
I am getting freakouts and crashes with madVR has crashed every ten minutes watching anime upscaled from FHD to 4K.

Assuming it's related to MadVR? Try another renderer.

truexfan81
19th May 2018, 01:41
anyone else get a huge madvr performance drop after upgrading to the windows 10 1803 build? i'm running a ryzen7 1700 with 16GB ram, and an evga 1050ti ftw, and I cannot get the present queue to fill, I've turned off everything except smooth motion, and set the scalers to spline36AR. its showing 0.21ms present time for a 392p30 video. decoder queue, and upload queue are both full, render queue is at 1-2/7 present queue is at 0-3/3. monitor is running at native 1080p60

cyberscott
19th May 2018, 03:15
anyone else get a huge madvr performance drop after upgrading to the windows 10 1803 build? i'm running a ryzen7 1700 with 16GB ram, and an evga 1050ti ftw, and I cannot get the present queue to fill, I've turned off everything except smooth motion, and set the scalers to spline36AR. its showing 0.21ms present time for a 392p30 video. decoder queue, and upload queue are both full, render queue is at 1-2/7 present queue is at 0-3/3. monitor is running at native 1080p60

Multiple individuals, including me have this issue, in varying degrees.
If you use the "search this thread" feature at the top of this page for "windows 10 1803" You'll have at least two pages of information to go through.
No full fix for those of us affected beyond rolling back to the previous Windows version. I've reduced a few setting and also set my render queue (GPU) to 7 and my present queue to 6 as they will not fill up beyond that. I have everything working with the slight settings reduction in quality and with the queues set to what I mentioned.
You will just have to adjust settings while watching a video until you can find something that will work with your hardware to fill up the reduced queues. For me, dropping settngs in "artifact removal" helped me.
I'm sure madshi will be able to come up with solutions once he can allocate some time for madVR. He has a real job beyond madVR and committments and bills to pay. :)

Betroz
19th May 2018, 06:56
anyone else get a huge madvr performance drop after upgrading to the windows 10 1803 build? i'm running a ryzen7 1700 with 16GB ram, and an evga 1050ti ftw, and I cannot get the present queue to fill, I've turned off everything except smooth motion, and set the scalers to spline36AR. its showing 0.21ms present time for a 392p30 video. decoder queue, and upload queue are both full, render queue is at 1-2/7 present queue is at 0-3/3. monitor is running at native 1080p60

I too have this issue with the queues not filling up and dropping frames. My fix was to remove Windows 10 and install Windows 8.1. Now MadVr works as intended. If Madshi will be able to fix the problem, then maybe I'll switch back to Win10 later. But the thing is that the next big update to Win10 things can brake again...! Win8.1 will stay the same.

Warner306
19th May 2018, 16:15
So many lines of code have been written into madVR over the years. It could be a real mess if Microsoft has made significant changes to way software interacts with the OS. The fact it is not happening to everyone is quite strange.

Have you tried wiping the drivers and reinstalling? The driver upgrades sometimes don't always go as planned. I'm not sure if Windows forced a driver upgrade or not.

Betroz
19th May 2018, 16:37
Have you tried wiping the drivers and reinstalling? The driver upgrades sometimes don't always go as planned. I'm not sure if Windows forced a driver upgrade or not.

I did a clean install of Win10 1803, and tried 3 different nVidia drivers (after a DDU cleanup too). I had no problems with the 1709 build of Win10, so yes something changed with 1803. I even tried an older build of MadVr with NNEDI3 128 settings, and that worked fine under Win10 1803.

Now I'm using the newest version av MadVr under Win 8.1 and NGU is working as it should. Besides Madshi have recommended Win 8.1 several times in the past, so now I see why. An ever changing OS like Win10 is not allways the best thing it seams.

zaemon
19th May 2018, 17:33
Same here. Went back to Win 8.1 since custom modes were not working and I had pretty bad repeated frames. Even though custom modes are not working either, I get excellent results now (1 frame repeated every hour). I’m running the latest drivers for my GTX.

foozoor
19th May 2018, 18:28
Time to switch to D3D11/12 and MediaFoundation!

huhn
19th May 2018, 18:40
feel free to rewrite everything.
maybe start with decoders and don't forget the media player.

el Filou
19th May 2018, 19:11
I tested with Windows 10 v1803 and I encountered the queue length issue too.
Here's a folder with OSD and GPU-Z screenshots:

https://drive.google.com/open?id=13Gtasnn4dRPBFcmUofKrJ3qhpZIbywhI

Test system: Core i5-2520M (HD Graphics 3000 12 EUs @ 1300 MHz, 35W TDP); latest versions of Windows, Intel drivers, MPC-HC, LAV, and madVR; all software 64-bit; graphics power plan set to Maximum Performance and verified using GPU-Z render test (1300 MHz, 9,6W @ 100% GPU).
EDIT: screenshots taken with DXVA2 Native decoding, as that's what gives the best performance with Intel iGPUs.
EDIT2: I never noticed any issue like this with Windows 1709 obviously, but I can't go back to that version to test more thoroughly as it's an Insider install, and I have no desire to test 1803 on my 'production' PCs. :rolleyes:

Observation: the problem isn't restricted to NGU, actually all scaling algorithms can fail to fill up the render queue but they do it at different queue lengths depending on their complexity.

- NGU @ render queue length 8: render time is 75% of the frame time which should be OK, GPU is at 71% load but only at half clock although not limited by TDP. Render queue 1-3/8, and madVR drops 13 frames on ~45 seconds of playback.

- NGU @ Q4: now fills up a bit more at 2-3/4, and no frames are dropped anymore. Frame render time and GPU clock/load are identical.

- Bilateral Sharp: this the lower complexity scaler closest to NGU Low, and @ Q9 it can fill up the queue but it can't @ Q16 even though once again the GPU isn't even at 1/3 its tested maximum capability.

- Jinc: uses 30% less power, can fill the queue @ Q16, cannot @ Q24.

- Bicubic: can fill the queue even @ Q24.

Things I tried:
- Disabled Windows' Game Mode
- Disabled Windows' Full Screen Optimisatons for MPC-HC
- Unchecked "delay playback start until render queue is full"
- Used D3D9 instead of D3D11
- Tried software and QuickSync decoding
but none of that did have any impact.

GPU power definitely isn't the issue, because switching to higher complexity scalers makes it reach higher clocks successfully.

Only idea: could it be a VRAM issue? I noticed all the scenarios that don't drop frames used ~165-180 MB of VRAM in this test, i.e. NGU at QL 2-3 is using the same amount of VRAM as Bicubic at QL 23-24 but nothing that would need more than that amount - like NGU at higher queue lengths - will fill up the queue.
Could memory allocation be the source of the problem?

Cheers.

Betroz
20th May 2018, 06:45
Observation: the problem isn't restricted to NGU, actually all scaling algorithms can fail to fill up the render queue but they do it at different queue lengths depending on their complexity.


Well if you test an older version of MadVr, you'll see that NNEDI3 works so that the queues does fill up with that.

ryrynz
20th May 2018, 08:10
Madshi, could you allow for chapter markings to be seen on the exclusive seek bar please?

yogibeezwax
20th May 2018, 10:37
Thanks for all the replies on my issue with exclusive mode! I'd quote ppl, but I'm a bit distracted with family stuff right now (you all know who you are) and I truly appreciate it!

el Filou
20th May 2018, 11:37
Well if you test an older version of MadVr, you'll see that NNEDI3 works so that the queues does fill up with that.IIRC, NNEDI3 used an OpenCL interop. Maybe that's where the difference in behaviour is from.

Betroz
20th May 2018, 15:27
IIRC, NNEDI3 used an OpenCL interop. Maybe that's where the difference in behaviour is from.

Maybe yes, but only Madshi can say for sure.

Seedmanc
20th May 2018, 19:38
Actually it goes bonkers with GSYNC even without Smooth Motion enabled sometimes.

sat4all
22nd May 2018, 09:16
hi guys,

I’m trying to calibrate my lg oled hdr mode and i need a bit of advice.
I’ve already created a 3d-lut while setting both displaycal and madtpg to 400nits. But i have a problem with some movies, take The Shallows UHD as example, with the 3d-lut on it’s blindly bright while with either passthrough or hdr process using pixel shaders math it looks normal.
Using hdr 3d-lut is no choice for me, because my tv color gamut is set to wide (native) for sdr 3d-lut calibration and my tv share the same preset for both sdr and hdr so without hdr calibration while tv gamut set to wide, colors will be off.
My Display hdr peak luminance is arround 400nits so i have set displaycal to 400cd/m and hdr process, do i have to set madtpg hdr tap to 400nits too or something else?

Clown shoes
22nd May 2018, 10:38
hi guys,

IÂ’m trying to calibrate my lg oled hdr mode and i need a bit of advice.
IÂ’ve already created a 3d-lut while setting both displaycal and madtpg to 400nits. But i have a problem with some movies, take The Shallows UHD as example, with the 3d-lut on itÂ’s blindly bright while with either passthrough or hdr process using pixel shaders math it looks normal.
Using hdr 3d-lut is no choice for me, because my tv color gamut is set to wide (native) for sdr 3d-lut calibration and my tv share the same preset for both sdr and hdr so without hdr calibration while tv gamut set to wide, colors will be off.
My Display hdr peak luminance is arround 400nits so i have set displaycal to 400cd/m and hdr process, do i have to set madtpg hdr tap to 400nits too or something else?

OK, so firstly if you're creating an HDR 3D LUT in Displaycal (using the Madvr HDR profile presumably) with a 400 nit max display you should set the peak luminance on the 3D LUT tab to around 1000 nits.

In MadTPG you are emulating an HDR movies metadata, so set the minimum to 0 and the max to 4000.

Personally I increase the patches from the default 175 to just over 1000 as I had some issues with using less, however you may be fine with the default.

Remember to set the peak luminance in Madvr to 1000 nits also.

Let me know how you get on with that :)

sat4all
22nd May 2018, 12:25
@Clown shoes
thanks much, i will give it a shot and let you know.

stefanelli73
22nd May 2018, 14:47
OK, so firstly if you're creating an HDR 3D LUT in Displaycal (using the Madvr HDR profile presumably) with a 400 nit max display you should set the peak luminance on the 3D LUT tab to around 1000 nits.

In MadTPG you are emulating an HDR movies metadata, so set the minimum to 0 and the max to 4000.

Personally I increase the patches from the default 175 to just over 1000 as I had some issues with using less, however you may be fine with the default.

Remember to set the peak luminance in Madvr to 1000 nits also.

Let me know how you get on with that :)

then I have a vpr where the peak of luminance is around 120 nits if I want to make a 3dlut "process hdr ...." how many nits should I set in DISPCAL and in madtpg?

Asmodian
22nd May 2018, 18:27
Using hdr 3d-lut is no choice for me, because my tv color gamut is set to wide (native) for sdr 3d-lut calibration and my tv share the same preset for both sdr and hdr so without hdr calibration while tv gamut set to wide, colors will be off.

HDR uses wide gamut natively, why would your TV in wide gamut mode cause colors to be off for HDR content?