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

JPulowski
18th April 2015, 16:49
Currently using NVIDIA GTX690 with 350.12 WHQL driver. The NNEDI3 artifact issue seems to be fixed for 64-bit madVR. Did not test it yet with 32-bit.

Also I have some questions:

What is the optimal way of getting maximum performance for video playback from multi-gpu/SLI cards?
Are "Use a separate device for presentation" and "Use a separate device for DXVA processing" options related with multi-gpu somehow? If not what are they exactly?

Thanks. :)Okay, I did some testing. Here are my findings for the multi-gpu/SLI users:

madVR is not SLI friendly, disabling SLI seems to improve rendering queue. (Interestingly, rendering time stays pretty much the same.)
SLI needs to be disabled completely from "Configure Multi-GPU, Surround, PhysX" menu from NVIDIA Control Panel. I tried forcing NVIDIA predefined SLI mode to single from NVIDIA Inspector for MPC-HC profile but it did not work.


Now using Single-GPU mode, one of the cards have zero work load and the other one does all the work. And I wonder if it is possible to use the empty one for CUVID processing or madVR processing? I played with "Use a separate device for presentation" and "Use a separate device for DXVA processing" and they don't do anything at all. Any suggestions?

huhn
18th April 2015, 17:08
not really possible.
CUVID doesn't really use the GPU it uses the same ASIC as DXVA.
you could run SVP openCL part on the not used GPU.

Asmodian
18th April 2015, 22:26
Okay, I did some testing. Here are my findings for the multi-gpu/SLI users:

madVR is not SLI friendly, disabling SLI seems to improve rendering queue. (Interestingly, rendering time stays pretty much the same.)
SLI needs to be disabled completely from "Configure Multi-GPU, Surround, PhysX" menu from NVIDIA Control Panel. I tried forcing NVIDIA predefined SLI mode to single from NVIDIA Inspector for MPC-HC profile but it did not work.


Now using Single-GPU mode, one of the cards have zero work load and the other one does all the work. And I wonder if it is possible to use the empty one for CUVID processing or madVR processing? I played with "Use a separate device for presentation" and "Use a separate device for DXVA processing" and they don't do anything at all. Any suggestions?

I notice a large drop in render times with SLI off, three quarters of the time when the GPU is using the same clock speed (32 ms to 24 ms). I believe this is related to needing to copy memory from one GPU to the other when using SLI, with SLI enabled one GPU is idle but their memory usage is identical. I am using SLI Titans but I imagine this is true for any SLI or Crossfire setup.

The "use separate device" options are not talking about hardware devices but instances of DirectShow software devices.

cvrkuth
19th April 2015, 05:37
List of display modes: 1080p23, 1080p24, 1080p50, 1080p59, 1080p60

There was issue in the 32 bit version, v0.86.10. Madshi then do workaround and issue was gone.

I noticed that when playing 1080p24 (mkv, m2ts, ts .. full screen exclusive mode, default settings) my screen goes to 23hz. Because of this, there is a drop frames every 30-40 sec.

If I uncheck 'Present Several frames in advance " (old path), my screen stays in 24hz.

Because of problem reported above, I uncheck 'Present Several frames in advance " and stay with FSE (old path) for now.
I noticed that rendering time is higher (24 ms vs 5.5) ms but Present time is lower than new path (0.01 vs 0.04). I have no drop frames or other playback issues.

I'm curious .. which is better for me?

har3inger
19th April 2015, 09:40
Hi madshi, remember the issue from a year back where the directcompute ordered dithering would result in black screen for my laptop?

Well, I've been poking around again trying to get things to work, but still have no luck. Basically, if I try to get my ATI 8870m to render the video (which is necessary for smooth playback), I get a black screen and a strange ctrl+J OSD that looks like it's drawing/blending on top of itself instead of refreshing each frame. More specifically, it looks like several OSD frames get stacked up so that static text becomes pure white instead of the normal alpha'd grey, and changing text (like the render time stats) stack up and become a big mess of overlapping numbers. The whole thing also flickers a bit. When the title of the file is shown in a box at the top left when you first open it, with ordered diffusion is on that box also flickers rapidly. All of this happens whether smooth motion is on or off. Audio is not affected.

If I force the HD4000 as the render device, everything seems to draw properly but of course has render times >160ms after scaling. I'll post a debug log in case it's helpful. It represents a few seconds of opening a movie with Ordered Diffusion 1 on using the discrete GPU. During this time I see a flickering title box and stacked up flickering OSD over a solid black video frame.

I'm now running Win 8.1 with 14.12 ATI drivers and Samsung OEM intel drivers (10.18.10.3304, 9/9/2013). MPC-HC 64 bit, madvr latest version, LAV filters/splitter.

I realize I'm probably a very isolated case of ordered diffusion not working, but if you have the time, I'd appreciate you taking a crack at figuring out why I'm having this problem. At the very least, since nnedi and OpenCL features first came out, madvr has learned to ignore unsupported settings and no longer get blue screens when I toggle them!

Log:
https://www.dropbox.com/s/78vgkslofsbbwa1/madVR%20-%20log.txt?dl=0

Jtacdf
19th April 2015, 10:26
Is Madvr x64 doing something different from it's x86 version in it's functionality for d3d9? I could hook a gpu monitoring software, msi afterburner, onto mpc-hc x64 with EVR. Madvr x64 refuses to work with it while the x86 version works fine.

EVR x64
https://www.dropbox.com/s/8243g0j2mo49gdq/evr%20msi%20ab%20x64.jpg?dl=0

Madvr x86
https://www.dropbox.com/s/7ggh0kog3dhjfwd/madvr%20msi%20ab%20x86.jpg?dl=0

cremor
19th April 2015, 13:43
Anyone else not getting NNEDI3 to work at all with Nvidia driver 350.12? My madVR immediately crashes when NNEDI3 is activated since I updated the drivers today.

kalston
19th April 2015, 13:54
Nope, using NNEDI3 64 without any issue. GTX 970 and 350.12 drivers / Win 7 x64

iSunrise
19th April 2015, 16:28
Does anyone still have a copy of madshi's OpenClSpeedTest.zip laying around? Unfortunately it's not available anymore on http://madshi.net/.

sneaker_ger
19th April 2015, 16:31
/edit: removed on request by madshi

iSunrise
19th April 2015, 16:35
/edit: removed on request by madshi
Man, that was fast, thanks a lot!

EDIT: Link removed, reason stated above.

madshi
19th April 2015, 16:45
/edit: removed on request by madshi
Thanks.

madshi
19th April 2015, 17:26
SVP may have a 64bit version to accompany this soon (http://www.svp-team.com/forum/viewtopic.php?pid=48278#p48278).
Nice!

I'm not well aware of the signing procedure, but what does this mean?
http://abload.de/thumb/sm9mu99.png (http://abload.de/image.php?img=sm9mu99.png)
Is that a madVR file? On my PC when looking at the details of a madVR file I'm getting "GlobalSign" instead of "Symantec".

same as tobindac on (un)install.bat. It does not work as intended without the manual "run as admin".
Win 8.1 with the latest updates.

EDIT: it shows that madvr was (un)registered but that doesn't seem to be the case when I look at the Output Renderer Settings on both mpc-hc & potplayer.
Strange. Works here. Will run some further tests... :(

Found what caused it - it's the new "Lose BTB and WTW if it improves performance" option introduced with 0.87.15.
Voting to not have it enabled by default.
It doesn't make much sense that this option causes crashes! Sounds like a very bad NVidia driver bug. Anyway, I'll see if I can detect this problem somehow. If not, I may have to disable that option by default.

Madshi, I'm seeing some dithering on pure blacks when the trade quality option 'use DXVA chroma upscaling' is enabled when doing native DXVA decoding on my HD4000
giving some pixels what would be with the other chroma upscalers, 0,0,0 a value of 0,0,1.

Might I suggest maybe that those use DXVA chroma options are not enabled by default? Because at least on Intel graphics the chroma upscaling is god awful nearest neighbor and the visual difference is night and day.
Hmmm... Intel is a special case. I may have to add some extra code to make this work better for Intel. But I would really prefer having these options enabled by default (especially on Intel) because they bring a nice performance benefit. Obviously nearest neighbor is not acceptable.

Any chance of putting (not recommended) beside the nearest neighbor GPU setting BTW? Just so people stay clear of it if they don't know what they're doing? I do wonder if really that's even useful aside from some sort of testing.
It's mainly for testing. It will most probably be removed for v1.0. But until then it's going to stay. I'll see if "not recommended" fits in there nicely. If so, I might add it.

Symantec has told me they have removed the false positive detection of mvrSettings32.dll
Great - thanks! :)

What is the optimal way of getting maximum performance for video playback from multi-gpu/SLI cards?
Disable SLI. I'm not doing anything special to make things run good or bad on SLI, but it seems the way madVR works is not very SLI friendly, for some reason. According to what I've read here in this thread, most users have a better madVR experience if they disable SLI.

"Use a separate device for presentation" and "Use a separate device for DXVA processing" options related with multi-gpu somehow? If not what are they exactly?
Nothing to do with SLI. These options sometimes help some users get better results.

So my question to you is: will there be some sort of MadAudio or something in the future as a replacement for ReClock?
No.

Where does madVR save freeze reports? I can't find them, trying to make one because it freezed again. Found them on my desktop... Silly me =)
Thanks. Will have to create a test build for you, some time later...

@madshi: Any plans to update madTestPatternSource for x64?
Hmmmm... Good question. That one is written in Delphi, not sure how easy it will be to update it to x64. I'll put it on my to do list. Might take a while, though.

Now that madshi has given us 64-bits in madVR, I wonder how close he's getting to a 1.0 release
Every release hopefully brings us nearer, but I'm still not really near.

Because you're wrong?

...Consequently the motion smoothness depends on proper timestamps. If the timestamps (or audio clock) contain jitter, the playback will contain jitter, too. So even if Reclock might not be needed to avoid frame drops/repeats, anymore, when using madVR's new FRC algorithm, you might still want to use Reclock, because it provides a stable and reliable audio clock with very low jitter...
Ugh madshi was correct in his statement, just like everything he says. That post is just old, and doesn't apply anymore. There is a clock for your cpu, gpu, and audio. Other renderers can access the same clock that reclock can. Madshi has stated often that reclock is not needed for SM. If you don't believe me, try SM with reclock and without, there is no difference in IQ...
I agree, and in addition, I wonder if it ever applied to anything, even on XP. I think madshi was just being overly cautious by making clear that the clock needs to be high quality for SM to work correctly, but there's no evidence that people encountered bad DirectShow clocks. I certainly don't remember anyone on this thread reporting an issue with SM that could be traced back to a bad clock.
FWIW, at the time I did see some logs from users where it was evident that the audio clock had a pretty high jitter in it. Whether this would really be visible with SM on or not is another question. I can't answer that. But for me Reclock reliably produces smoother timestamps. This is also visible in the "clock deviation" measurement. It converges much faster to the "final" value than when using a "normal" audio renderer.

Personally, though, I haven't used Reclock in years. My HTPC has a 1:1 refresh rate / framerate match, so I need neither Reclock nor SM.

HI,I have very high present time in my optimus laptop.
about 8~10ms
I have an M14x R2 Optimus laptop with an HDMI and a miniDP port. I remember having a similar problem to yours when I was using the HDMI port but not when using the miniDP port. It turned out that the HDMI port is wired to the Intel GPU while the miniDP was wired to the Nvidia GPU. I'm not sure why it had a high present time only when connected to the iGPU but I solved my issue by using the miniDP.
Interesting. Yes, when using an output port which is hard wired to the Intel GPU, each rendered frame must be copied from the NVidia GPU to the Intel GPU, which costs a lot of time. If you can't use an NVidia output port, my best workaround suggestion would be to:

1) Try your best to achieve a 1:1 refresh rate / framerate match. E.g. play Blu-Ray movies at 23.976Hz. This should help a lot.
2) If you can't do 1), then you may want to disable the "present several frames in advance" option. But this only applies if 1) is not possible and for Optimus users in this specific situation.

Other than that there's not much I can suggest...

Confirmed this green artifact with NNEDI 3 chroma upscaling and double/quadrouble Chroma resolution; darker screen (look like scanlines) with double/quadruple Luma resolution even with the newest 15.4 beta driver. These issues only occurred with MadVR 64 bit, my VGA card is R9 290X and in Windows 8.1 environment.
For any of you guys that has problem getting x64 nnedi3 working with AMD gpu, a temporary workaround (I hope) is to rename your media player exe to "ForceSingleGPU.exe".
I've gotten it working without issues that way.

Disregard the above, the issue persist again.
Just tried it, didn't work for me. But I'm fine with having image doubling off until such a time that it's fixed. I just wanted to bring the issue to the dev's attention and see if anyone else had it.
Strange. For my NNEDI3 works just fine in x64. AMD 7770, Windows 8.1 x64. Not sure what's going on there on your PCs. Try to reinstall the driver/OpenCL, maybe?

Now using Single-GPU mode, one of the cards have zero work load and the other one does all the work. And I wonder if it is possible to use the empty one for CUVID processing or madVR processing?
Currently I have other priorities than optimizing for SLI setups. And even if I wanted to that, I'd first have to get an SLI setup in the first place. Probably one for NVidia and one for AMD. Urghs. Not much hope for that anytime soon.

Because of problem reported above, I uncheck 'Present Several frames in advance " and stay with FSE (old path) for now.
I noticed that rendering time is higher (24 ms vs 5.5) ms but Present time is lower than new path (0.01 vs 0.04). I have no drop frames or other playback issues.

I'm curious .. which is better for me?
I don't know, try both and use what works better.

Hi madshi, remember the issue from a year back where the directcompute ordered dithering would result in black screen for my laptop?

Well, I've been poking around again trying to get things to work, but still have no luck. Basically, if I try to get my ATI 8870m to render the video (which is necessary for smooth playback), I get a black screen and a strange ctrl+J OSD that looks like it's drawing/blending on top of itself instead of refreshing each frame. More specifically, it looks like several OSD frames get stacked up so that static text becomes pure white instead of the normal alpha'd grey, and changing text (like the render time stats) stack up and become a big mess of overlapping numbers. The whole thing also flickers a bit. When the title of the file is shown in a box at the top left when you first open it, with ordered diffusion is on that box also flickers rapidly. All of this happens whether smooth motion is on or off. Audio is not affected.

If I force the HD4000 as the render device, everything seems to draw properly but of course has render times >160ms after scaling. I'll post a debug log in case it's helpful. It represents a few seconds of opening a movie with Ordered Diffusion 1 on using the discrete GPU. During this time I see a flickering title box and stacked up flickering OSD over a solid black video frame.

I'm now running Win 8.1 with 14.12 ATI drivers and Samsung OEM intel drivers (10.18.10.3304, 9/9/2013). MPC-HC 64 bit, madvr latest version, LAV filters/splitter.

I realize I'm probably a very isolated case of ordered diffusion not working, but if you have the time, I'd appreciate you taking a crack at figuring out why I'm having this problem. At the very least, since nnedi and OpenCL features first came out, madvr has learned to ignore unsupported settings and no longer get blue screens when I toggle them!
The log doesn't really help much, unfortunately. I'd have to be able to reproduce the issue on my PC in order to do something about it.

Is Madvr x64 doing something different from it's x86 version in it's functionality for d3d9? I could hook a gpu monitoring software, msi afterburner, onto mpc-hc x64 with EVR. Madvr x64 refuses to work with it while the x86 version works fine.
The x64 version is pretty much identical to the x86 version.

madshi
19th April 2015, 17:28
One polite request to all madVR users:

Please don't (re-)distribute any files from me that aren't available on my server, anymore, without asking me first. I may have had a good reason to remove them from my server. Thanks!

(Obviously this doesn't apply to official madVR/eac3to builds, or anything else that is still available on my server.)

kasper93
19th April 2015, 18:24
@madshi: I found that RivaTuner Statistics Server prevents madTPG from running it doesn't even show its window, just leaves ghost process. It happens when "Custom D3D support" is enabled, even if madTPG.exe is on exclude list and/or statistics are disabled completely. I didn't know where to report this issue, but I figured it might be better if you contact RTSS developer with more information if you care about this issue. Or just fix/workaround the issue. :)

madshi
19th April 2015, 18:34
Will put it on my to do list.

ikarad
19th April 2015, 20:28
Thanks madshi for x64 version.
Between madvr32+mpc-hc32+lav32 and madvr64+mpc-hc64+lav64, there is a big boost in performance.

one question:
What means present in average stat?
http://img15.hostingpics.net/thumbs/mini_493003mpchc642015041921260683.jpg (http://www.hostingpics.net/viewer.php?id=493003mpchc642015041921260683.jpg)

huhn
19th April 2015, 20:46
Thanks madshi for x64 version.
Between madvr32+mpc-hc32+lav32 and madvr64+mpc-hc64+lav64, there is a big boost in performance.

one question:
What means present in average stat?
http://img15.hostingpics.net/thumbs/mini_493003mpchc642015041921260683.jpg (http://www.hostingpics.net/viewer.php?id=493003mpchc642015041921260683.jpg)

the time it takes to present the frame.

your stats are terrible. you are most likely getting strong tearing. are you using windows 7 with disabled aero?
if yes activate aero.

ikarad
19th April 2015, 21:24
the time it takes to present the frame.
Thanks.
I think it's was rendering in average stat. What are the difference between rendering and present?


your stats are terrible. you are most likely getting strong tearing. are you using windows 7 with disabled aero?
if yes activate aero.
It's not the good stats
My stats are good.
http://img15.hostingpics.net/thumbs/mini_369008mpchc642015041922253421.jpg (http://www.hostingpics.net/viewer.php?id=369008mpchc642015041922253421.jpg)

huhn
19th April 2015, 22:18
Thanks.
I think it's was rendering in average stat. What are the difference between rendering and present?

rendering is scaling YCbCr->RGB conversion, SM and other stuff that is done with the picture.

present is just presentation. there is no need to see high values here it's such a simple task for GPU. present times over 3 ms AVG are usually a problem with v-sync for example disabled aero -> disabled v-sync.

paulescobar
20th April 2015, 00:52
Anyone else not getting NNEDI3 to work at all with Nvidia driver 350.12? My madVR immediately crashes when NNEDI3 is activated since I updated the drivers today.

I'm having problems with NNEDI3 as well.
I get artefacts (specifically, dotted black or sometimes colored lines which flash on the screen).

This is my first post. I signed up & have waited for a week just to get posting permission. Now I can finally share. Hopefully I don't miss anything important...

My system:
OS: Windows 7 Ultimate 64
MadVR x86: 0.87.21
MPC-HC: 1.7.8 (6fcba1b)
LAV (with CUVID enabled): 0.64.0
Graphics Card: ZOTAC GeForce GTX 770 ZT-70311-10P
NVidia Driver: 350.12
CPU: Intel Core I7-4790K 4.00 GHZ

I've done extensive testing with a variety of videos, decoder & MadVr settings. And no matter what, whenever NNEDI3 is active (through Chroma Upsampling or Doubling)...I will get these dotted lines which constantly flash & are randomly positioned on the screen.

With the previous Nvidia driver, these artefacts actually had sort of neon or blue colors. With the latest Nvidia drivers, they are now black. (FWIW, the previous Nvidia drivers had vertical lines appear when Error Diffusion Option 1 was enabled. The latest Nvidia driver solved that particular problem & I can use the option now)

I don't think this is the result of my system being stressed, because I get no frame drops...and these artefacts appear even when a single NNEDI3 setting with the lowest value is enabled.

Some guy last week said the problem was solved with this Nvidia driver. He speaks for himself, because it's still a problem for me.

ryrynz
20th April 2015, 02:41
I'm having problems with NNEDI3 as well.


Try the nvidia driver clean install option.
Also are you overclocking? Try dropping the clocks down even if you aren't to test.

Schwartz
20th April 2015, 03:26
Strange. For my NNEDI3 works just fine in x64. AMD 7770, Windows 8.1 x64. Not sure what's going on there on your PCs. Try to reinstall the driver/OpenCL, maybe?


The driver is the Omega 14.12 driver, clean install via Display Driver Uninstaller, circumvented automatic install with gpedit.msc and all that jazz. I'm sure reinstalling won't change anything, but I'm going to try the 15.4 beta soon and will report back then.

NNEDI3 doesn't work for chroma upscaling either, by the way. Selecting it gives me a Chroma > Jinc3 AR in the overlay. The weird thing is that I've never used Jinc so the Anti-Ringing Filter checkbox wasn't even selected.

paulescobar
20th April 2015, 03:37
Try the nvidia driver clean install option.
Also are you overclocking? Try dropping the clocks down even if you aren't to test.

I did perform a "clean install" when I updated the Nvidia driver. Also uninstalled completely before installing the latest.

And, no, I don't over-clock (not sure if you mean my CPU or GPU - but either way, I don't).

However...my motherboard is an "MSI Z97 XPower AC". I read somewhere once (not even sure if it's true) that it has some mild over-clock enabled in factory defaults (and defaults are pretty much what I use, sans boot order stuff).

Not sure why this would affect MadVR, but do you think it would have a big enough impact to warrant further research?

cyberbeing
20th April 2015, 03:46
I will get these dotted lines which constantly flash & are randomly positioned on the screen.

This is a known issue (http://bugs.madshi.net/view.php?id=250#c944) on Kepler GPUs with the latest drivers if you don't run NNEDI3 in madVR x64 first after the driver upgrade. You can workaround the issue by deleting the HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL registry key and then running NNEDI3 in madVR x64 to regenerate the OpenCL kernel. NVIDIA is aware of the issue, and looking into it.

Though since you also have a GTX770 like I do, applying either of the following registry keys should work so you don't need to mess with any of that.
http://www.mediafire.com?innbjl44crc6pbe

dansrfe
20th April 2015, 04:01
I have monitors which darken (lower gamma) when the refresh rate is overclocked beyond 60Hz as written here: http://www.gamersnexus.net/guides/1674-overclock-monitor-higher-refresh-rate

@madshi I'm curious, does it make sense to allow for madVR to use different 3DLUT profiles that have been generated from calibrations at different refresh rates in conjunction with the refresh rate changer?

If so, I'll be able to match refresh rate and frame rate on all files.

Jtacdf
20th April 2015, 04:11
This is a known issue (http://bugs.madshi.net/view.php?id=250#c944) on Kepler GPUs with the latest drivers if you don't run NNEDI3 in madVR x64 first after the driver upgrade. You can workaround the issue by deleting the HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL registry key and then running NNEDI3 in madVR x64 to regenerate the OpenCL kernel. NVIDIA is aware of the issue, and looking into it.

Though since you also have a GTX770 like I do, applying either of the following registry keys should work so you don't need to mess with any of that.
http://www.mediafire.com?innbjl44crc6pbe

Nice! This workaround also works with AMD Gpu. Works even with crossfire system.

Pic of proof in the link below.
https://www.dropbox.com/s/p5tbwmx0e3mdzb7/nnedi%20x64%20madvr.jpg?dl=0 (https://www.dropbox.com/s/p5tbwmx0e3mdzb7/nnedi%20x64%20madvr.jpg?dl=0)

paulescobar
20th April 2015, 04:39
This is a known issue (http://bugs.madshi.net/view.php?id=250#c944) on Kepler GPUs with the latest drivers if you don't run NNEDI3 in madVR x64 first after the driver upgrade. You can workaround the issue by deleting the HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL registry key and then running NNEDI3 in madVR x64 to regenerate the OpenCL kernel. NVIDIA is aware of the issue, and looking into it.

Though since you also have a GTX770 like I do, applying either of the following registry keys should work so you don't need to mess with any of that.
http://www.mediafire.com?innbjl44crc6pbe

Wow! Can't wait to try this...when my mom is done watching her Indian soaps which are being upscaled by MadVR lol!

Can I ask you a silly question? I'm kind of new to Windows 64. What is the correct method of installing this new 86/64 MadVR package?

Should I place it in the x86 program files folder and then run "Install.bat"?
Or should I place it in the normal x64 program files folder & then run "Install.bat"?

cyberbeing
20th April 2015, 04:56
Nice! This workaround also works with AMD Gpu. Works even with crossfire system.

Pic of proof in the link below.
https://www.dropbox.com/s/p5tbwmx0e3mdzb7/nnedi%20x64%20madvr.jpg?dl=0 (https://www.dropbox.com/s/p5tbwmx0e3mdzb7/nnedi%20x64%20madvr.jpg?dl=0)

I don't see how that's possible. :rolleyes:

The NVIDIA PTX kernel in those registry keys I linked can only be used by Kepler sm_30 GPUs (i.e. GK104). Even more so, it will be regenerated/ignored if not using a GTX 770 with 350.12 driver because of the key name and values. If you imported my 'GeForce GTX 770' key on a AMD setup, it should just be yet another entry in the registry and ignored. madVR has always supported storing a cached OpenCL kernels for each GPU you've ever used with madVR, but this shouldn't have any overlapping side-effects.

Either adding an NVIDIA OpenCL key on an AMD setup somehow breaks NNEDI3 and madVR fails to report it correctly, or madVR has a serious bug regarding those OpenCL registry keys. Check HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL and see if there is a key with your GPU model which contains a Binary kernel.


Should I place it in the x86 program files folder and then run "Install.bat"?
Or should I place it in the normal x64 program files folder & then run "Install.bat"?

It doesn't matter. You don't even need to place madVR in program files if you didn't want to. Creating a folder anywhere on your system should work, though optimally you'd want a folder where madVR has write access. With default security settings, creating a folder for madVR in your Documents directory may be a better location. Just make sure you see a 'regsvr32 succeeded' message for both madVR.ax and madVR64.ax when you run the install.bat

If using one of GTX 770 OpenCL registry keys I posted, it doesn't mater if you are using madVR x86 or x64. The same key can be used with both. As for which key to use, just pick whichever one seems faster if there is a difference at all. That said, if you wanted to switch to madVR x64, it can only be used with a 64bit directshow filters and media player. You'd need to grab a player like MPC-HC x64 or MPC-BE x64 at bare minimum in order to use it.

Jtacdf
20th April 2015, 05:09
I don't see how that's possible. :rolleyes:

The NVIDIA PTX kernel in those registry keys I linked can only be used by Kepler sm_30 GPUs (i.e. GK104). Even more so, it will be regenerated/ignored if not using a GTX 770 with 350.12 driver because of the key name and values. If you imported my 'GeForce GTX 770' key on a AMD setup, it should just be yet another entry in the registry and ignored. madVR has always supported storing a cached OpenCL kernels for each GPU you've ever used with madVR, but this shouldn't have any overlapping side-effects.

Either adding an NVIDIA OpenCL key on an AMD setup somehow breaks NNEDI3 and madVR fails to report it correctly, or madVR has a serious bug regarding those OpenCL registry keys. Check HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL and see if there is a key with your GPU model which contains a Binary kernel.

I should have mentioned that I only deleted the GPU folder in HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL. It refreshed itself thereafter once I started up madVR. I did not use your nvidia specific kernal at all.

cyberbeing
20th April 2015, 05:15
I should have mentioned that I only deleted the GPU folder in HKEY_CURRENT_USER\Software\madshi\madVR\OpenCL. It refreshed itself thereafter once I started up madVR. I did not use your nvidia specific kernal at all.

Ah, that makes perfect sense then. :)

I guess that means madVR may need to be a bit more aggressive with its check deciding when to regenerate the cached OpenCL kernels on AMD systems. Normally madVR does this automatically on driver upgrade, but maybe there is another factor on AMD (crossfire only?) systems.

Schwartz
20th April 2015, 06:41
To expand upon that thing I noticed, where render ms appear unusually high or inconsistent with x64 madVR.. that didn't have anything to do with NNEDI3 working or not, but rather something else:

Watching an MPEG-4 video that MPC-HC decodes through software avcodec (using only Spline36/Spline36 for upscaling, Error Diffusion 1, Smooth Motion, all quality tradeoffs disabled), I noticed that CPU usage will rise slowly from 7% to 15% and render ms will likewise go from ~9ms up to ~15ms, which is much more than I've ever seen on a profile that didn't use Image Doubling. I can play 1080p content with Spline36 and not even reach ~9ms, but this 640x480 SD content is bugging out on me. It appears to be less pronounced when watched at 100% zoom, but maximizing the window will produce these effects. The ms increase is not sudden either, but will slowly climb up higher and higher. When the window is maxed and the upscaler kicks in, the values may stay low for as long as 10-20 seconds, suggesting that these extra CPU cycles and render ms aren't actually required to play the movie but come from somewhere else.

This could just as well be a x64 LAV issue I assume, I just don't know.

Hprd
20th April 2015, 08:56
Though since you also have a GTX770 like I do, applying either of the following registry keys should work so you don't need to mess with any of that.
http://www.mediafire.com?innbjl44crc6pbe

Have a 770 here as well, this fix worked. :thanks:

michkrol
20th April 2015, 08:58
A little late to the party, but thanks madshi for the x64 build ;)
Everything works as expected on my PC.

To expand upon that thing I noticed, where render ms appear unusually high or inconsistent with x64 madVR.. that didn't have anything to do with NNEDI3 working or not, but rather something else
(...)
Do you get dropped frames or just higher render times and CPU usage?
Isn't it just the power-saving features of your CPU and/or GPU kicking in? Check your CPU and GPU clocks with HWiNFO (free download) or similar software during playback to make sure.
I know I sometimes get higher render times with "lower" setting because my GPU downclocks to save energy, which is not really a bad thing unless you get dropped frames.

Magik Mark
20th April 2015, 09:56
Is there a way to stream my set top box to my htpc & apply madvr?

huhn
20th April 2015, 10:57
Is there a way to stream my set top box to my htpc & apply madvr?

it would be possible to use a capture card to do this but a simple TV card is the better choice.

paulescobar
20th April 2015, 11:45
cyberbeing,

Thank you so much! :thanks:

I did the reg delete & execution of 64-bit MadVR & NNEDI3, as you advised.

Then I went through a bunch of videos with various NNEDI3 settings, and none displayed those artefacs I previously described.

Now I can perform stress tests to see just how much picture can improve with NNEDI3 enabled. :)

billqs
20th April 2015, 19:45
HI! I'm getting video freezes when using MPC-HC 1.7.8 and MadVR latest build to scale to UHD. Video will play to a random point then freeze, but the audio continues to play. I try to engage task manager but all I have after a control+alt+delete is a blank screen. I try to use the control+alt+delete to shutdown the system but I get the same blank screen & no shutdown. I have to do a hard restart with the power switch.

My gear:
Windows 7 64 bit
16GB RAM
i7 3820 CPU
X79A-GD45-PLUS Motherboard
R9 280x AMD Video card

I've managed to rule out MPC-HC directly causing the error as I have switched renderers to EVR CP and played several long video files. I also do not get freezes when using WMP to playback files. My Madvr settings are set to NNEDI3 32 neurons for image doubling, nothing checked for quadrupling, Lancoz for image upscaling (down from Jinc 3 taps to see if that would prevent the freeze- it didn't) bicubic for chroma. I have deblocking set to mild and I have engaged in luma the anti-ringing filter.

I have gotten this error with both 32 bit and 64 bit madvr and also other builds of madvr going back several iterations.

My *guess* is that I'm overpowering the GPU on the R9 280x by getting everything up to 3820x2160. I didn't know if any of you have had similar issues.

XinHong
20th April 2015, 20:07
I don't know if this issue is related to madVR or MPC-HC but the "Save Image" function of MPC-HC is broken since 0.87.16, even with the new x64 releases.

I got the following error message: "GetDIB failed, hr=80004005".

Win 7 x64
Intel HD3000 (9.17.10.4101) / [nVidia GT525M (340.52) <- not used]
LAV x64 0.64.0.52-git
MPC-HC x64 1.7.8.162

iSunrise
20th April 2015, 20:09
...My *guess* is that I'm overpowering the GPU on the R9 280x by getting everything up to 3820x2160. I didn't know if any of you have had similar issues.
Even if you would overpower the GPU, the issues you describe are not exactly normal.

Just disable NNEDI3 altogether, put everything on low settings and run GPU-Z in parallel and slowly go up with the settings so you can find out the optimal settings that are still OK without overloading your system.

If that still causes some weird issues report back.

kasper93
20th April 2015, 21:01
@XinHong: Works fine for me. You might want to report this in madVR thread. Probably debug log would help to diagnose the problem. In madVR folder run "activate debug mode.bat" and log will be generated on desktop.

EDIT: I thought we are in different thread. Or the post were moved... ;p

XinHong
20th April 2015, 21:38
I don't know if this issue is related to madVR or MPC-HC but the "Save Image" function of MPC-HC is broken since 0.87.16, even with the new x64 releases.

I got the following error message: "GetDIB failed, hr=80004005".

Win 7 x64
Intel HD3000 (9.17.10.4101) / [nVidia GT525M (340.52) <- not used]
LAV x64 0.64.0.52-git
MPC-HC x64 1.7.8.162

@XinHong: Works fine for me. You might want to report this in madVR thread. Probably debug log would help to diagnose the problem. In madVR folder run "activate debug mode.bat" and log will be generated on desktop.

- madVR log : http://dl.free.fr/jWghrvZVR I don't know if the error is inside the madVR log because it's only a warning from MPC-HC. I tried several times with EVR Custom and it's working fine.
I can easily reproduce it but sometimes it's working.

Edit : I tried several files but the error is still there.

http://s17.postimg.org/bjyncnnfv/MPC_HC.jpg (http://postimg.org/image/bjyncnnfv/)

MistahBonzai
20th April 2015, 22:59
Try running the 4GB Patch on mpc-hc.exe, if you haven't already although your problem appears to be nVidia related. I have no problems with <alt>+i in either 32 or 64 bit but I'm running a AMD H 7850.

RenderGuy2
21st April 2015, 17:28
Is there a limit to the amount of vram madVR x32 (+mpc-hc shaders) can use?

I've been feeding a full over/under 3d aviysnth script (1920x2160) into the player, image doubling (luma) with MadVR, sharpening with the FineSharp shader and then weaving the top and bottom into line alternate 3d with another shader (to be used with UHD passive 3d tv @ 3840x2160). All this uses about 3.2-3.4 GB of vram and another GB or so of system ram.

Am I getting close to the limit?

oudo86
21st April 2015, 18:48
Hello,

I am using madVR with PotPlayer on Windows 8.1 on my Laptop

It all works very well, but one weird thing I've notice is that my laptops fan speeds up significantly when I pause a video. Then when I press play the fan will eventually slow down again.

Anyone have any idea what's causing this?

Fullmetal Encoder
22nd April 2015, 02:31
Forgive me if this has already been asked, but can any current cards do a quadruple upscale of 1920x1080 using nnedi3 with at least 64 neurons to UHD? Also, will madVR have the capacity to do much higher multiples with nnedi3 for 720x480 content? I imagine it would have to at some point to make it worthwhile watching older, lower resolution content on such higher resolution panels. I am eying a specific 4k monitor that would be able to natively support the relevant standard frame rates without having to resort to SM if that would free-up any GPU resources to make such scaling more feasible.

huhn
22nd April 2015, 02:42
Forgive me if this has already been asked, but can any current cards do a quadruple upscale of 1920x1080 using nnedi3 with at least 64 neurons to UHD? Also, will madVR have the capacity to do much higher multiples with nnedi3 for 720x480 content? I imagine it would have to at some point to make it worthwhile watching older, lower resolution content on such higher resolution panels. I am eying a specific 4k monitor that would be able to natively support the relevant standard frame rates without having to resort to SM if that would free-up any GPU resources to make such scaling more feasible.

no quadruple doesn't even trigger in this case.
and SM doesn't matter it's nothing compared to use stuff like 64 neurons on a 1080p source.

Fullmetal Encoder
22nd April 2015, 03:08
no quadruple doesn't even trigger in this case.
and SM doesn't matter it's nothing compared to use stuff like 64 neurons on a 1080p source.

I suspected that SM wouldn't have enough of an impact to meaningfully affect nnedi3 scaling capability. As to the other point I guess I don't know how nnedi3 upscaling works then. Isn't 3840x2160 exactly 4 times the resolution of 1920x1080?

Asmodian
22nd April 2015, 03:25
Isn't 3840x2160 exactly 4 times the resolution of 1920x1080?

No, it is exactly 2 times the resolution (https://forum.doom9.org/showthread.php?p=1710665#post1710665). ;)

I would wait if you need a GPU that can do NNEDI3 64 neuron doubling on 1080p, I think a Titan X would be able to do it but even that would be close. Why do you need NNEDI3 64 instead of 32 neurons?

ryrynz
22nd April 2015, 05:03
No, it is exactly 2 times the resolution (https://forum.doom9.org/showthread.php?p=1710665#post1710665). ;)

I would wait if you need a GPU that can do NNEDI3 64 neuron doubling on 1080p, I think a Titan X would be able to do it but even that would be close. Why do you need NNEDI3 64 instead of 32 neurons?

The ol' resolution debate..

64 is the best choice performance/quality wise. Going beyond 64 doesn't yield you much but uses a fair bit more processing power. 32 neurons is just okay IMO, so fair call wanting 64, it's what I'd gun for.