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

Xello
29th December 2011, 22:03
I posted up a couple of threads regarding the auto refresh rate in MadVr. I did some more testing and MadVR refresh rate does indeed work. Only on certain videos though. When playing Hancock the refresh rates stays at 60 instead switching to 24.

My chain is Nvidia Audio decoder
NVidia video decoder
MadVr

It may be that the decoder is the culprit, but not sure why the refresh works on some titles and not others. When I press control J the stats show 23.976 for all titles.

Might be a possible bug...

:thanks:

MAK

Not sure, I find the refresh rate changer is working fine, i'm just dying have an option where it changes only in fullscreen.

These are the modes I list in madVR:

1080p60, 1080p50, 1080p24, 1080p23, 1080i60, 1080i50, 1080i24, 1080i23

Also using Reclock 1.8.7.7.

Can you upload a sample of a file where it is not changing for you?

racerxnet
29th December 2011, 23:23
Xello,

What is your chain you are using? All my movies are DVD's ripped to the drive. No BlueRay at all. CCC does not list 23p as a output rate. 24 does show. If you have a DVD of Hancock give it a try and see what your results are. I just downloaded FFDshow and will try that. Using Reclock as well.

MAK

rahzel
29th December 2011, 23:40
That's been there also IIRC about since the 5000 cards came out. AFAIK no one ever figured out what it does, or that it makes any difference in any configuration, at least in the couple extremely long ATI 5000 threads at AVS.
Thanks.

So do most people disable it just in case?

Plutotype
30th December 2011, 00:11
Hi and Happy New Year,

I have a LG 42LD450 television and have been trying to use the auto refresh rate of 23.976 to 24.00 and 29.970 to 60 in MadVr/ReClock. When I submit 1080p24 and 1080p60, MadVr will only use the first resolution submitted in the box. The EDID does not list 24p as a standard resolution, but when changing the refresh rate in CCC I am able to output this rate of 24hz.

Here is what I want to do:

23.976 to 24.00 @ 1920 x 1080p 24 exit back to 60p when done
29.970 to 60.00 @ 1920 x 1080p 60 exit back to 60p

My set up is Nvidia audio and video decoder, MadVR, MPC-HC with Media Portal as the front end. I tried Autofrequency with no luck. I followed the guide several times.

WinXP SP3
QX9650 2 gigs ram


Any help would be appreciated in getting this to work.

MAK

Hi,
I think the issue is outside of madVR and we can assign this to faulty drivers. I dont have a Nvidia card to test for 24Hz playback back to 23Hz original, but CCC AMD HD5670 has never showed 23Hz in the refresh rate field ( when entered ) and instead everytime showed wrong value 24Hz ( although being actually set on 23Hz ).

Scenarios:
1. If I have the restore function ON in madVR, 60Hz original rate and madVR changes to 23Hz ( 1080p23 ), it works fine out there and back.
2. If I manually change the rate to 23Hz before opening player with a movie ( value is being showed as 24 during the playback ), going back to 23 after exiting the player has zero effect, because the value 24 is due to the driver bug already there.

Hope this helps.
Pluto

racerxnet
30th December 2011, 01:46
Plutotype
Quote:
Originally Posted by racerxnet View Post
Hi and Happy New Year,

I have a LG 42LD450 television and have been trying to use the auto refresh rate of 23.976 to 24.00 and 29.970 to 60 in MadVr/ReClock. When I submit 1080p24 and 1080p60, MadVr will only use the first resolution submitted in the box. The EDID does not list 24p as a standard resolution, but when changing the refresh rate in CCC I am able to output this rate of 24hz.

Here is what I want to do:

23.976 to 24.00 @ 1920 x 1080p 24 exit back to 60p when done
29.970 to 60.00 @ 1920 x 1080p 60 exit back to 60p

My set up is Nvidia audio and video decoder, MadVR, MPC-HC with Media Portal as the front end. I tried Autofrequency with no luck. I followed the guide several times.

WinXP SP3
QX9650 2 gigs ram


Any help would be appreciated in getting this to work.

MAK
Hi,
I think the issue is outside of madVR and we can assign this to faulty drivers. I dont have a Nvidia card to test for 24Hz playback back to 23Hz original, but CCC AMD HD5670 has never showed 23Hz in the refresh rate field ( when entered ) and instead everytime showed wrong value 24Hz ( although being actually set on 23Hz ).

Scenarios:
1. If I have the restore function ON in madVR, 60Hz original rate and madVR changes to 23Hz ( 1080p23 ), it works fine out there and back.
2. If I manually change the rate to 23Hz before opening player with a movie ( value is being showed as 24 during the playback ), going back to 23 after exiting the player has zero effect, because the value 24 is due to the driver bug already there.

Hope this helps.
Pluto

Hi Pluto,

Thanks for the info. I can get the refresh rate to change on some movies but not others. I am looking for any clues as to why. Control J reads the rate at 23.976 on movies that work or not with Nvidia decoder. Arcsoft decoder reads 25.00 FPS and it does not refresh on any known movie to work. MPC's internal decoder does not even output any FPS when viewed with control J. Hence no frame rate switching either.

Movies that change refresh rate are 100% repeatable.
Movies that don't work are 100% repeatable in that they won't change refresh rates. This is all SD content ripped to the drive. I tried the disk as well and the results are repeatable as above. It appears to be a bug in Madvr. I will try another driver to be sure.

Thanks for the help so far.

MAk

racerxnet
30th December 2011, 05:06
Upon further testing tonight I found that whenever there was no vsync correction in Reclock there would be no auto frequency change from MadVR. It did not matter if the disk was ripped or not, the same results happen. I tried the latest AMD driver and the results were the same. All the new driver did was bork the desktop scaling. Back to 11.3 for me. FFdshow still shows 25.00fps and no luck. I am having limited success with Nvidia Purevideo decoders.

Not sure if Madshi can resolve this or not, but worth taking a look at. This is for SD DVD playback.

SD DVD @ 1920 x 1080p
Latest MPC-HC
Purevideo decoders
080 MadVR
WinXp SP3
ATI 4800 card
Intel QX9650

Thanks,

MAK

Xello
30th December 2011, 17:09
Xello,

What is your chain you are using? All my movies are DVD's ripped to the drive. No BlueRay at all. CCC does not list 23p as a output rate. 24 does show. If you have a DVD of Hancock give it a try and see what your results are. I just downloaded FFDshow and will try that. Using Reclock as well.

MAK

I don't have that one. I don't actually have alot of SD content, almost all HD.

I'm also on an Nvidia card so probably different systems altogether here, but I'm using mpchc x32 with lav filter, lav audio decoder, lav video decoder and reclock. I'm not sure if my panel can switch to 23.x hz exactly or not but some things suggest setting this option so i just put in both 23 and 24, and reclock tends to be reporting 23.971hz as my refresh rate when watching stuff. Panel is Panasonic VT30.

I also have everything under the V-sync options in reclock config unticked, as per the guide on homecinema-hd.

HitomiKun
30th December 2011, 18:42
So after my little problem here:
http://forum.doom9.org/showthread.php?p=1544667#post1544667

I passed the information to ffdshow devs like you told me madshi. They told me that it's impossible to fix this and that the container was badly muxed/encoded. I recommend you to check my bugreport here so you may could find a fix for this problem:
https://sourceforge.net/tracker/?func=detail&atid=867360&aid=3461550&group_id=173941

Yamagata said that the problem could be fixed if madVR would get the fps rate after recieving the first 3 frames, thus allowing to switch to the right Hz rate. That would may be a good and secure way to get the right fps/hz rate. Just for future containers that muxed the same way.

I used to mux without extra typing the fps rate in MKVToolNix, since MKVToolNix did not complain about any errors and MediaInfo showed the right info. (I think that MKVToolNix did get the right fps, but it didn't store that information on its header) After I remuxed my video with additionally typing the fps rate in MKVToolNix, madVR chose the right Hz rate.

e-t172
30th December 2011, 19:04
I just noticed that my GeForce 9400 GPU is too slow to play 1080p30 content (on a 1080p display) using madVR with default options. So I need to lighten the load a little bit. The problem goes away if use 10-bit precision chroma *and* luma buffers, or if I disable dithering. Switching chroma upscaling algorithms doesn't seem to make much difference.

I have two questions:
- Is there anything else I can try to improve performance? Note that I'm using CUVID for decoding.
- If not, what's the best option between using 10-bit for chroma and luma, or disabling dithering?

TheShadowRunner
30th December 2011, 19:11
So after my little problem here:
http://forum.doom9.org/showthread.php?p=1544667#post1544667

I passed the information to ffdshow devs like you told me madshi. They told me that it's impossible to fix this and that the container was badly muxed/encoded. I recommend you to check my bugreport here so you may could find a fix for this problem:
https://sourceforge.net/tracker/?func=detail&atid=867360&aid=3461550&group_id=173941

Yamagata said that the problem could be fixed if madVR would get the fps rate after recieving the first 3 frames, thus allowing to switch to the right Hz rate. That would may be a good and secure way to get the right fps/hz rate. Just for future containers that muxed the same way.

I used to mux without extra typing the fps rate in MKVToolNix, since MKVToolNix did not complain about any errors and MediaInfo showed the right info. (I think that MKVToolNix did get the right fps, but it didn't store that information on its header) After I remuxed my video with additionally typing the fps rate in MKVToolNix, madVR chose the right Hz rate.

The Windows MKVMerge GUI warns that inputting a value for FPS is mandatory with h264 streams otherwise it will assume 25FPS I believe. No such warning with the CLI?

JarrettH
30th December 2011, 19:50
There's something different in 0.80 that is completely messing up things for DVD playback. I start a DVD in Open Disc, it switches resolution, I get Macrovision Fail (monitor stays in 50hz), then I go Open Disc again and the DVD can play. I've also noticed very often menus can fail to navigate and MPC will utterly crash.

SamuelMaki
30th December 2011, 20:04
There's something different in 0.80 that is completely messing up things for DVD playback. I start a DVD in Open Disc, it switches resolution, I get Macrovision Fail (monitor stays in 50hz), then I go Open Disc again and the DVD can play. I've also noticed very often menus can fail to navigate and MPC will utterly crash.

That is strange, because I feel that 0.80 has fixed mpc-hc freezes and I was able to navigate DVD-menus, which was a pain before:confused: But, I quess these "fixes" are not related to madVR, so make sure you are using the latest version of mpc-hc;)

JarrettH
30th December 2011, 20:09
I'm going back to 0.79 to double check...

Also, I noticed with Chrome or Aero Composition or something that I occasionally lose the min/max/windowed buttons for my Chrome session and the tabs will become unclickable and I have to right-click the quick launch icon to close window. The window will also It seems like madvr is doing a heck of a lot of work when switching resolutions in 0.80; it blanks out twice recomposing the screen and not very gracefully.

Edit: I just tried 3 DVDs that all previously crashed on menus with 0.80 and they work fine in 0.79. When it does happen the menu basically locks, the cursor does the spinning/timeout animation, MPC soon stops responding and I have to X it out.

Using 3931 of MPC and 3887 before that

@SamuelMaki yeah there were a lot of nice fixes I noticed myself too, I hope I can log something for madshi

Xello
30th December 2011, 20:41
Also, I noticed with Chrome or Aero Composition or something that I occasionally lose the min/max/windowed buttons for my Chrome session and I have to right-click the quick launch icon to close window. It seems like madvr is doing a heck of a lot of work when switching resolutions in 0.80; it blanks out twice recomposing the screen and not very gracefully.

I had this. I ended up doing a system restore and installing mpc+filters again and I haven't had the problem since.

Under rendering > general settings, I have the top 3 options unticked, and every other option ticked, so that it only disables aero when in fullscreen mode. I'd rather not have to disable aero at all but with 24fps AVC i was getting major judder in fullscreen mode with aero active. This is on 0.80.

pankov
30th December 2011, 21:45
I just noticed that my GeForce 9400 GPU is too slow to play 1080p30 content (on a 1080p display) using madVR with default options. So I need to lighten the load a little bit. The problem goes away if use 10-bit precision chroma *and* luma buffers, or if I disable dithering. Switching chroma upscaling algorithms doesn't seem to make much difference.

I have two questions:
- Is there anything else I can try to improve performance? Note that I'm using CUVID for decoding.
- If not, what's the best option between using 10-bit for chroma and luma, or disabling dithering?
e-t172,
are you forced to use CUVID? What's your CPU?
In the past I've noticed that using software decoding and leaving the GPU only to madVR gives me better results.
Sorry but I can't recommend which performance setting to enable in madVR.

e-t172
31st December 2011, 00:31
Well, I probably could use my CPU for decoding. Problem is, it would run near 100%, and given it's the stock Intel cooler, I would prefer to avoid the added noise.

SoBizarre
31st December 2011, 01:39
Also, I noticed with Chrome or Aero Composition or something that I occasionally lose the min/max/windowed buttons for my Chrome session and the tabs will become unclickable and I have to right-click the quick launch icon to close window.


So it happens with Chrome too, huh? I thought it was Firefox bug.
Anyway, it seems that's side effect of desktop composition disabling/re-enabling added to madVR. It happens quite often, but I haven't found a way to reproduce it anytime I want.

There's another thing that puzzles me. With the help of AutoHotkey and simple script found on their forums, i made two executables for turning Aero off and back on (http://www.mediafire.com/?ckp7465o0xnxhl3).
One disables composition and waits for closing the message in order to re-enable it:
DWM_EC_ENABLECOMPOSITION:=1, DWM_EC_DISABLECOMPOSITION:=0
DllCall("Dwmapi.dll\DwmEnableComposition", "UInt", DWM_EC_DISABLECOMPOSITION)
MsgBox, Aero should be off. It should turn back on when 'Ok' is clicked.

The other one disables Aero and immediately re-enables it:
DllCall("Dwmapi.dll\DwmEnableComposition", "UInt", DWM_EC_DISABLECOMPOSITION)
DllCall("Dwmapi.dll\DwmEnableComposition", "UInt", DWM_EC_ENABLECOMPOSITION)

Although the latter one prevents taskbar from auto-hiding (I must execute it twice to have taskbar hide), it never causes disappearing of Firefox's control buttons. Not to mention the first script have no negative side effects whatsoever. The switching is done more or less the way described on Microsoft's site (http://msdn.microsoft.com/en-us/library/windows/desktop/aa969510%28v=VS.85%29.aspx) - script is calling dwmapi.dll. MadVR on the other hand is calling dwmapi.dll only to check if Aero is running, and then is calling uxtheme.dll to disable/re-anable composition (or so it seems - I checked it with API Monitor).

I'll risk sounding extremely stupid :D, but could it possibly be the cause of disappearing buttons in Firefox and Chrome?

Cheers,
SB

HitomiKun
31st December 2011, 02:57
The Windows MKVMerge GUI warns that inputting a value for FPS is mandatory with h264 streams otherwise it will assume 25FPS I believe. No such warning with the CLI?

Nope, because I encoded with x264 and output the final file in a mkv container. MKVMerge GUI just gets the fps rate from it. (I'm encoding video and audio separately so I have to remux the finished file from x264.)

By the way...
I just updated my NVIDIA graphic driver to the newest beta driver (I had to because I had some lags and displaybugs in Battlefield 3) and automatic Hz rate change seems to have stopped working entirely. I'll try to reinstall madVR in a sec and see if that fixes the new problem.

Edit: Nope. Reinstalling didn't solve that new problem. Does madVR always need to be adjusted to a new (main) graphic driver update from NVIDIA/AMD?
The NVIDIA driver I currently use is version 290.53

I just tried a few files with different fps rates, even my container that was muxed badly, it stopped switching completely.

Edit 2: Nevermind, I just went through some logfiles I made and then deleted and readded the 72Hz mode for my screen. That solved the issue. Now back to this: http://forum.doom9.org/showthread.php?p=1547868#post1547868

6233638
31st December 2011, 15:14
I just updated my NVIDIA graphic driver to the newest beta driver (I had to because I had some lags and displaybugs in Battlefield 3) and automatic Hz rate change seems to have stopped working entirely. I'll try to reinstall madVR in a sec and see if that fixes the new problem.

Edit: Nope. Reinstalling didn't solve that new problem. Does madVR always need to be adjusted to a new (main) graphic driver update from NVIDIA/AMD?
The NVIDIA driver I currently use is version 290.53I always seem to have issues getting presentation glitch free playback when running beta Nvidia drivers, which is very annoying because usually shortly after there is a WHQL release (every couple of months) there's a new big game release which then requires beta drivers to perform well.

That said, running the 290.53 drivers seems to have fixed an issue I've had for quite some time now, where MPC-HC would freeze up when switching to the next file in fullscreen exclusive mode. (never happened in windowed)

I'll have to check and see if MPC-HC intermittently freezing up when changing resolutions has been fixed too. (though the resolution switcher doesn't seem to work with DVD playback, so I still end up having to switch manually a lot of the time anyway)


It's annoying but I've just learnt to live with it, as I'm sure things will be fixed eventually.

KoD
31st December 2011, 16:06
Hi im new here and decided to sign up to ask some questions about madVR.
I installed madvr about a week ago and i rly like the improvement in picture quality. But i have one big problem. Since i installed madVR i get rly short micro judder from time to time (always at same place in a video). I checked my hardware and i only got 20% GPU and 40-50% CPU load. Also i dont have any droped/delayed frames or presentation glitches. I use mpc-hc, LAV, haali combination with madVR. If i run the movie with wmp 12 for example i get no judder at all.

If someone could mb help me with some settings to fix the judder. I am at a point where it is rly freaking me out ^^

PC is a 8800GTS 512 and a C2D @ 3,4 ghz 4GB ram

I'm also having micro-stutters with madVR, as opposed to EVR, for instance. It happnes not only with v0.8, but also with v0.79. I have not tried with older versions.

This happens on any 23.976 video material, played on a 60Hz (actually 59.6Hz) display monitor. And it's most visible on panning shots, or white-on-black movie end scrolling credits. In the other cases it probably still happens, but it doesn't jump out to me like in those two cases.

The playback chain is exactly the same in both cases: MPC-HC + Haali for mkv splitting + LAV filters for video and audio decoding:
- when using EVR as renderer, the flow of the video is smooth, although a little blurry
- when using madVR, the image is crisp, the flow is smooth until it suddenly jitters a bit, then smooth again, then it jitters again

This is very easy to reproduce with any 23.976fps mkv, on the movie scrolling credits, I believe.

6233638
31st December 2011, 17:29
I'm also having micro-stutters with madVR, as opposed to EVR, for instance. It happnes not only with v0.8, but also with v0.79. I have not tried with older versions.

This happens on any 23.976 video material, played on a 60Hz (actually 59.6Hz) display monitor. And it's most visible on panning shots, or white-on-black movie end scrolling credits. In the other cases it probably still happens, but it doesn't jump out to me like in those two cases.

The playback chain is exactly the same in both cases: MPC-HC + Haali for mkv splitting + LAV filters for video and audio decoding:
- when using EVR as renderer, the flow of the video is smooth, although a little blurry
- when using madVR, the image is crisp, the flow is smooth until it suddenly jitters a bit, then smooth again, then it jitters again

This is very easy to reproduce with any 23.976fps mkv, on the movie scrolling credits, I believe.This is because 24 doesn't fit into 60. It's not possible to have smooth film playback at 60Hz without using interpolation, it needs to be a multiple of 24.

It's nothing to do with madVR.

Pat357
31st December 2011, 17:55
Well, I probably could use my CPU for decoding. Problem is, it would run near 100%, and given it's the stock Intel cooler, I would prefer to avoid the added noise.
I'm surprised your i950 is at @4.5Ghz still 100%.
Can you turn on hyperthreading to test ?
Using my i970 (6+6 cores) I have < 10% load on decoding h264 1080p60 with software lav decoder.
The benchmark says 360 fps average on same h264 1080p60..
This is all with hyperthreading on and put the number of threads on 12 in LAV-video.

i970@3.6 / Rampage III extreme / 24GB DDR3@2000Mhz / GTX 570 (very similar as yours ;))

Pat357
31st December 2011, 19:19
This is because 24 doesn't fit into 60. It's not possible to have smooth film playback at 60Hz without using interpolation, it needs to be a multiple of 24.

It's nothing to do with madVR.
It should be easy to handle 24fps on 60Hz monitor

suppose 2 frames from the 24fps movie : 1 2
for displaying on 60 Hz we need 5 frames for the 2 frames above. (60/24 *2 = 5)

going like this :
1 1 2 2 is for 48 Hz monitor
1 1 X 2 2 where X is blending frame 1 en 2, for 60 Hz monitor.

This should give fluent playback from 24 fps movie content on a 60 Hz monitor.
I hope Madshi will find some time to implement this in MadVR.

PS: for 23.976 and similar content one could use Reclock to speed up to 24 fps

Mr Alpha
31st December 2011, 19:57
It should be easy to handle 24fps on 60Hz monitor

suppose 2 frames from the 24fps movie : 1 2
for displaying on 60 Hz we need 5 frames for the 2 frames above. (60/24 *2 = 5)

going like this :
1 1 2 2 is for 48 Hz monitor
1 1 X 2 2 where X is blending frame 1 en 2, for 60 Hz monitor.

This should give fluent playback from 24 fps movie content on a 60 Hz monitor.
I hope Madshi will find some time to implement this in MadVR.

PS: for 23.976 and similar content one could use Reclock to speed up to 24 fpsI believe madshi has mentioned that being on his things to do list. But a simple blending doesn't look very good. You would get smooth (well smoother) motion but you would end up with artifacts from the blending.

JarrettH
31st December 2011, 20:26
MPC hard crashes on DVD menus...the cursor will show the spinning time-out animation, menu music stops and the program will crash shortly after. I don't know if this is an MPC or madvr problem or how I can help solve it. I'm using ffdshow as the mpeg2 decoder, a GT240 with 275.33 drivers and Windows 7 32-bit

This is so frustrating, I can't even tell you the unimaginable amount of times it happens...8 out of 10?

Andy o
31st December 2011, 21:29
That said, running the 290.53 drivers seems to have fixed an issue I've had for quite some time now, where MPC-HC would freeze up when switching to the next file in fullscreen exclusive mode. (never happened in windowed)

I think I've had this problem for a while now, but it seemed intermittent and I didn't really care that much. Just recently I decided to check it out, and narrowed it down to it happening the first skip after a refresh rate change. After it freezes and you close, it doesn't happen until after you play the next file with a different refresh rate. Using D3D11 fixes it completely, but it has its own problems.

Damien147
1st January 2012, 12:35
MPC hard crashes on DVD menus...the cursor will show the spinning time-out animation, menu music stops and the program will crash shortly after. I don't know if this is an MPC or madvr problem or how I can help solve it. I'm using ffdshow as the mpeg2 decoder, a GT240 with 275.33 drivers and Windows 7 32-bit

This is so frustrating, I can't even tell you the unimaginable amount of times it happens...8 out of 10?

Something similar happens to me with multiple files during the change:confused:
I tried clean install of everything but still happens from time to time.
Win7 64bit Mpc,madVR,lav filters,ffdshow raw video filter(for svp) and ati card(catalyst 11.11 and 11.12 involved).

KoD
1st January 2012, 15:05
This is because 24 doesn't fit into 60. It's not possible to have smooth film playback at 60Hz without using interpolation, it needs to be a multiple of 24.

It's nothing to do with madVR.

A simple test using EVR, shows that this renderer seems to manage smooth playback even in these conditions.

Therefore, there must be something that Microsoft's renderer does, which gives that smooth flow of the video, without micro-stutters.

e-t172
1st January 2012, 16:48
I'm surprised your i950 is at @4.5Ghz still 100%.

It's not for my main machine, it's for my parents' HTPC with a low-end processor. Sorry for the confusion.

6233638
1st January 2012, 18:23
A simple test using EVR, shows that this renderer seems to manage smooth playback even in these conditions.

Therefore, there must be something that Microsoft's renderer does, which gives that smooth flow of the video, without micro-stutters.The only way without using any kind of motion interpolation, would be to use frame blending as mentioned above. This is at opposition with the goal of madVR, which is the highest quality video playback.

agustin9
1st January 2012, 18:41
But i think madshi said that playing 24p in 60hz using madvr isn't as smooth as evr, that it's on his todo list

so the problem should be with no matching refresh rates

ryrynz
2nd January 2012, 00:42
You said ask a few months later (http://forum.doom9.org/showthread.php?p=1495769&highlight=shortcuts#post1495769) back in April, so here we go :)

Any chance we could get a few additions to the keyboard shortcuts?

Also you make mention of them becoming adjustable in a future version which would be nice to see, thanks.

robpdotcom
2nd January 2012, 04:24
You said ask a few months later (http://forum.doom9.org/showthread.php?p=1495769&highlight=shortcuts#post1495769) back in April, so here we go :)

Any chance we could get a few additions to the keyboard shortcuts?

Also you make mention of them becoming adjustable in a future version which would be nice to see, thanks.

Adjustable shortcuts for deinterlacing and IVTC mode would be very nice, especially until telecined material can be auto-detected.

I was also thinking it would be nice to automatically switch deinterlacing on when switching to film mode (CTRL+ALT+SHIFT+T), fwiw.

mindbomb
2nd January 2012, 07:28
Well, I probably could use my CPU for decoding. Problem is, it would run near 100%, and given it's the stock Intel cooler, I would prefer to avoid the added noise.

use lav video in cuvid mode, but force it to output rgb32 and use evr cp.
that is what i suggest to anyone who can't use madvr for some reason.

Although, before you do that, you have tried bilinear chroma in madvr?
Also, you can try overclocking the gpu a little.

whitestar999
2nd January 2012, 17:36
facing a very unique problem.some time ago i posted this
i am having an unusual problem.some 1080p videos run fine on my laptop c2d 2ghz mobilty radeon 4570 with screen resolution 1366*768(60hz) but when i try to run the same video from laptop through hdmi on a 1080p(60hz) LG LCD TV there video lags with frames dropping continuously.backbuffer & render queue are almost always 1-3/8 while decoder & other queue are full.as i understand playing 1080p video on a 1080p screen should be the easiest case scenario or am i missing something.

@namaiki,card ram is 256mb & yes there is a difference when i make video window smaller.gpu-z shows card load at ~70% when window is resized to ~480*360.how can i see the gpu-z window in full screen video playing?

madshi's reply
The bigger the output resolution, the more GPU RAM madVR needs. It might be possible that 256MB is not enough for 1080p playback, I'm not sure. I plan to make the queue sizes adjustable soon, so you can save GPU RAM. That might make it work for you.

now i am facing the exact same problem on same 2 videos on an asus laptop having core i5 2.4GHz,4gb ram,windows 7 x64 sp1 & nvidia GT540m 2gb card.madvr 0.80 windowed mode with all default settings & use separate device for presentation off.these 2 videos play fine full screen on laptop 1366*768 screen.however when connected to LG 32" 1080p TV these 2 videos show massive no. of delayed frames & continuous increase in dropped frames with render queue dropping sometimes to 5-6/16 & back buffer queue 0-3/3 while decoder queue & upload queue are full.this problem only happens on 32" 1080p LG TV watching in full screen but these same videos run fine on laptop screen in full screen mode & in a smaller video window on 32" TV.i am using only lav filters & pot player but also tried mpc-hc with its own filters with same result.

nevcairiel
2nd January 2012, 17:54
now i am facing the exact same problem on same 2 videos on an asus laptop having core i5 2.4GHz,4gb ram,windows 7 x64 sp1 & nvidia GT540m 2gb card.madvr 0.80 windowed mode with all default settings & use separate device for presentation off.these 2 videos play fine full screen on laptop 1366*768 screen.however when connected to LG 32" 1080p TV these 2 videos show massive no. of delayed frames & continuous increase in dropped frames with render queue dropping sometimes to 5-6/16 & back buffer queue 0-3/3 while decoder queue & upload queue are full.this problem only happens on 32" 1080p LG TV watching in full screen but these same videos run fine on laptop screen in full screen mode & in a smaller video window on 32" TV.i am using only lav filters & pot player but also tried mpc-hc with its own filters with same result.

16 is a rather big queue, try to manually decrease the size.
Its also possible that the performance just isn't enough if it uses the iGPU instead of the dGPU (i assume its one of those hybrid things). Maybe try forcing the dGPU?
Also try choosing faster algorithms, like bilinear, just to check if thats a cause.

Pat357
2nd January 2012, 18:07
facing a very unique problem.some time ago i posted this

now i am facing the exact same problem on same 2 videos on an asus laptop having core i5 2.4GHz,4gb ram,windows 7 x64 sp1 & nvidia GT540m 2gb card.madvr 0.80 windowed mode with all default settings & use separate device for presentation off..
Does this GT540m card really has 2gb dedicated ram (on the card) or is this a typo ? What is the speed of this RAM ? Is it DDR2 , DDR3 or DDR5 ? Can you post the values reported by GPU-Z? (just memory size and Bandwidth should be enough)

whitestar999
2nd January 2012, 18:17
@nevcairiel,i used gpu-z & even enabled logging option while video was playing in full screen just to make sure.gpu load never went above 45% & memory usage was ~330mb.i added pot player in nvidia control panel application settings to use nvidia max performance mode & confirmed it again by monitoring gpu usage in gpu-z.

@Pat357,the 2gb ram is dedicated along with 4gb system ram.it is ddr3 with 128bit bus width & 28.8GB/s bandwidth.
http://in.asus.com/Notebooks/Versatile_Performance/K53SV/

edt:tried bilinear too with same result.even turned subtitle animation off but still no change.

these are the 2 videos:
http://www.fileserve.com/file/jFc6PHQ
http://www.fileserve.com/file/P9JkM84

Paladin77
2nd January 2012, 18:57
@nevcairiel,i used gpu-z & even enabled logging option while video was playing in full screen just to make sure.gpu load never went above 45% & memory usage was ~330mb.i added pot player in nvidia control panel application settings to use nvidia max performance mode & confirmed it again by monitoring gpu usage in gpu-z.

@Pat357,the 2gb ram is dedicated along with 4gb system ram.it is ddr3 with 128bit bus width & 28.8GB/s bandwidth.
http://in.asus.com/Notebooks/Versatile_Performance/K53SV/

edt:tried bilinear too with same result.even turned subtitle animation off but still no change.

these are the 2 videos:
http://www.fileserve.com/file/jFc6PHQ
http://www.fileserve.com/file/P9JkM84
Disable the Auto settings and lower the queue settings (12 should be fine in most set ups). Also increase the back buffer value in fullscreen mode (experiment values between 6-10, 8 also worked on alot of systems). hopefully it works for you.

Feature Request: CPU/GPU usage percentage in OSD instead of having to juggle between video and GPU-Z. Thank you!

EDIT: I just tested both those files. Working flawlessly here even on low end system using the values mentioned. Hope it helps!

whitestar999
2nd January 2012, 19:20
will try your suggestion paladin77 later as i don't have access to TV now.btw your msi notebook resolution is not full HD.i can run these videos fine on my laptop 1366*768 screen.i only face problem running these 2 particular videos on a 32" full HD TV in full screen mode & even there i can run these videos fine in a small video window.

Paladin77
2nd January 2012, 19:29
hehe. I know I connect the GPU to a syncmaster for testing. Besides its not the only system I test on. You need to raise the back buffer values and experiment between values mentioned. IF all fails there are extra last resort settings you might need to try. But personally I don't think it will come down to that.

zmaster
2nd January 2012, 20:04
Hello!

What do you think about the idea of ​​adding «Luma range» setting, by analogy with HaaliVR? It would be very useful, because on some reason madVR uses the full Range 0-255, where a need limited 16-235. :(

nevcairiel
2nd January 2012, 20:28
What do you think about the idea of ​​adding «Luma range» setting, by analogy with HaaliVR? It would be very useful, because on some reason madVR uses the full Range 0-255, where a need limited 16-235. :(

There already is such an option.
Its under Devices -> <your device> -> Properties, a RGB level dropdown.

zmaster
2nd January 2012, 21:11
First, I apologize for my English.

My problem is that some videos do not look right. But I do not fully understand why. Example:
1) madVR PC levels - incorrect - http://2.firepic.org/2/images/2012-01/02/g0hwophrb0uq.jpg
2) madVR TV levels - incorrect - http://2.firepic.org/2/images/2012-01/02/f4e7g7ia8l2n.jpg
3) HaaliVR TV Luma Range - correctly - http://2.firepic.org/2/images/2012-01/02/e6gqnl043knj.jpg
4) HaaliVR PC Luma Range - incorrect - http://2.firepic.org/2/images/2012-01/02/k0c8jwoml5nk.jpg

edit: The problem appears only with some files. Ctrl+J says Full range. I think the reason is this. If so, I would like manually change this value in madVR settings.

KoD
2nd January 2012, 22:31
The only way without using any kind of motion interpolation, would be to use frame blending as mentioned above. This is at opposition with the goal of madVR, which is the highest quality video playback.

I'm going to make a wild guess, but I think the reason why it doesn't work in madVR, but it works in EVR, is the different algos used to compute the frame presentation timestamps, and not the use of blending/interpolation.

What follows is pure speculation on my part, but it could be that this is how madVR does things:

madVR may take all the consecutive frames, and split them in batches, and for the frames in one batch, it pre-computes equidistant presentation intervals, like:
0.1/0.3/0.5 for the first batch of frames
0.7/0.9/1.1 for the next batch of frames, and so on

But when doing 23.976 fps, and displaying on a 60 Hz display, something happens sometimes (maybe just floating point errors accumulating) that two consecutive batches end up with overlapping timestamps:
0.1/0.3/0.5 for the first batch of frames
0.4/0.6/0.8 for the next batch of frames

And when it's time to show them on screen, they're still displayed in the order of their timestamps 0.3 -> 0.4 -> 0.5. And that's the cause of the odd-looking micro-stutter, where the video seems to be making a sudden back-step in motion (the first frame from the second batch, ends up being displayed before the last frame of the first batch), just to resume immediately after.

Like I said, it's a wild speculation.

Anyway, "perfect playback" is an ideal, which in the case of presentation at the "ideal time-stamp" is not achievable (since the system clock, as well as any other clock, in a computer, is not accurate, and compensation for its jitter can not be done accurately because it's not quite deterministic, for a start), so playing a bit with the display presentation timestamps in order to get a smooth flow of the video should not be a "sin". ;)

Mangix
2nd January 2012, 23:39
First, I apologize for my English.

My problem is that some videos do not look right. But I do not fully understand why. Example:
1) madVR PC levels - incorrect - http://2.firepic.org/2/images/2012-01/02/g0hwophrb0uq.jpg
2) madVR TV levels - incorrect - http://2.firepic.org/2/images/2012-01/02/f4e7g7ia8l2n.jpg
3) HaaliVR TV Luma Range - correctly - http://2.firepic.org/2/images/2012-01/02/e6gqnl043knj.jpg
4) HaaliVR PC Luma Range - incorrect - http://2.firepic.org/2/images/2012-01/02/k0c8jwoml5nk.jpg

edit: The problem appears only with some files. Ctrl+J says Full range. I think the reason is this. If so, I would like manually change this value in madVR settings.

i'm guessing splitter or decoder problem. what are you using?

racerxnet
3rd January 2012, 00:35
This should explain my problem a bit more clearly.

,IFO file:

Format : MPEG Video
Format version : Version 2
Bit rate mode : Variable
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Compression mode : Lossy

.VOB1:

Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Duration : 23mn 11s
Bit rate mode : Variable
Bit rate : 5 604 Kbps
Maximum bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.541
Stream size : 929 MiB (91%)



.VOB2:

Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Duration : 21mn 26s
Bit rate mode : Variable
Bit rate : 6 093 Kbps
Maximum bit rate : 9 800 Kbps
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Scan order : 2:3 Pulldown
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.735
Stream size : 934 MiB (91%)


As you can see, the actual frame rate is 23.976 and I do NOT want to do 3/2 pulldown. I want to run the tv refresh rate at 24fps and let Reclock do its job. The difference in frame rate is due to the way DVD authors stitch the video together. The very beginning part with the studio logo(s) is probably in 29.97 since it is designed to be put on DVDs. The movie is usually 23.976 progressive which is then flagged with repeated frames (pulldown) to make it comply with the DVD requirement of 29.97. MediaInfo is smart enough to ignore the repeated frames and report the true FPS on the film parts. However, MediaInfo is designed for files that are consistent for the entire file, which DVDs are not.

Madshi, is there a way for MadVR to detect this from the .vob file while playing. Right now the solution is to enter 1080p24 for auto refresh rate. Some of my rips are at 29.970, so 24fps will not work.

MAK

zmaster
3rd January 2012, 07:44
i'm guessing splitter or decoder problem. what are you using?I use the LAV Video Decoder (YV12 output, i.e. same as in source) and LAV Splitter.
For the test, I switched on the built-in MPC-HC/PP filters. The results are the same.

Andy o
3rd January 2012, 07:51
Please list all the relevant hardware and software (including filters) you're using. If possible post a sample of the video, or at least some information about it. Like, is it interlaced?

zmaster
3rd January 2012, 09:05
Please list all the relevant hardware and software (including filters) you're using.Hmm... GPU? NVIDIA GF 9800GT.

Win 7, MPC-HC or/and PotPlayer, LAV Filters. In this case, I do not use video processing filters.If possible post a sample of the video, or at least some information about it. Like, is it interlaced?I can give links to the video itself (I hope the links work...). Two examples where there is a named problem:

1) Example 1. (http://46.4.15.147:8080/Video/Contests/AMVNewsBC2009/AMVNews.BC.2009-Aggressor-DeLight-60fps.mp4) h264/1024x576p@60fps. My screenshots from this example.
This Ctrl+J (00:22) - http://2.firepic.org/2/images/2012-01/03/6ugd7ywvae41.jpg

2) Example 2. (http://46.4.15.147:8080/Video/Contests/AMVNewsBC2009/AMVNews.BC.2009-Derisor-Grimoire.mkv) h264/848x480p@29.97fps. This Ctrl+J (00:02) - http://2.firepic.org/2/images/2012-01/03/syxujmq8eicu.jpg (madVR PC levels) and HaaliVR Luma Range TV (http://2.firepic.org/2/images/2012-01/03/876zmtfuipfm.jpg).