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

yok833
23rd February 2013, 21:51
So if I understand well the best way to play a 23.976 fps movie if you have a good tv/pc, is to use reclock to switch at 24 fps and then set the tv at 96hz (of course if the tv acccept this frequency)? On my HD 6850 I also have a 23hz mode, is it another good option to play 23.976 content?

secvensor
23rd February 2013, 21:56
On my screen
CRT 1600x1200@100MHz
smooth motion
is Absolutely doing viewing by the unpleasant.
Because of it the image twitches, as mad advancing a shot forward, back.

dansrfe
23rd February 2013, 22:02
FRC causes frames to drop in windowed mode sometimes and the only fix is to resize the window.

rahzel
23rd February 2013, 22:08
So if I understand well the best way to play a 23.976 fps movie if you have a good tv/pc, is to use reclock to switch at 24 fps and then set the tv at 96hz (of course if the tv acccept this frequency)?
Yes. FRC is for the people that don't have sets that properly handle 24p.
On my HD 6850 I also have a 23hz mode, is it another good option to play 23.976 content?
It doesn't really matter since you use ReClock, but use 23Hz instead. 23Hz is actually (more or less) 23.976, and 24Hz is actually 24. AMD/ATI cards are usually fairly close to 23.976, but some GPUs (Intel/Nvidia) require you to make custom resolutions to get close to (or sometimes right on) 23.976.
FRC causes frames to drop in windowed mode sometimes and the only fix is to resize the window.
I noticed the same thing. Seemed to be better with 0.86.1 though.

olvidado
23rd February 2013, 22:25
What would be best settings to change for 2560x1440 ips monitor ?

oddball
23rd February 2013, 22:54
It does. But I think he means that he switched his HTPC to 24Hz and had his VT50 set to 96Hz, but now he just uses 60Hz with FRC on. Even though my ST50 doesn't have a 96Hz option, it does accept 24p... I also used to switch to 24Hz, but now I just leave it at 60Hz with FRC on.

Outputting 24Hz with FRC on isn't the best setup for film... it's better to leave it at 60Hz. If your set can properly handle 24p (96Hz, 120Hz, 240Hz etc.,) it may be better to output 24Hz without FRC on. Outputting 60Hz from your PC and playing film with FRC on shouldn't cause any flickering vs having it off.

Yeah my Panny G20 plasma supports 96Hz internally (though it will always show 24Hz even if I output close to 23.976Hz from a custom res of Nvidia output). Which might be why it's smoother than 60Hz with FRC on.

oddball
23rd February 2013, 22:57
So if I understand well the best way to play a 23.976 fps movie if you have a good tv/pc, is to use reclock to switch at 24 fps and then set the tv at 96hz (of course if the tv acccept this frequency)? On my HD 6850 I also have a 23hz mode, is it another good option to play 23.976 content?

From my understanding your TV is not actually doing 23Hz but taking the 23Hz signal from the HTPC and repeating the frames 4 times to get 96Hz. But it won't show that on the display it will just say 24Hz most likely or 24p mode.

Qaq
23rd February 2013, 23:11
Tried FRC with 1080p23 and 720p23 video on 1080p60 display.
Good news, 24 picture is finally smooth (my TV does 24/60 pulldown) and my 7750 handles FRC/Jinc3 AR/linear light no problem and present time is still perfect (~1ms).
Bad news, picture looks a bit soft.
Hmmm... I guess I can buy it.
Bravo madshi!

rahzel
23rd February 2013, 23:15
From my understanding your TV is not actually doing 23Hz but taking the 23Hz signal from the HTPC and repeating the frames 4 times to get 96Hz. But it won't show that on the display it will just say 24Hz most likely or 24p mode.
Ya, for sets that properly support 24p (ie have refresh rate that is an even multiple of 24) each of the ~24 frames will be displayed x amount of times per second. So if your set supports 24p, FRC isn't really necessary.

Blight
24th February 2013, 01:35
Madshi:
There are still out of order frames appearing in v0.86.1 both on seek and on regular playback when the GPU usage hits 100% (by sapping it with a separate GPU app like firefox with GPU accel enabled).

pie1394
24th February 2013, 04:09
Yeah my Panny G20 plasma supports 96Hz internally (though it will always show 24Hz even if I output close to 23.976Hz from a custom res of Nvidia output). Which might be why it's smoother than 60Hz with FRC on.

It is a different story about 48 / 72 / 96 Hz pixel driving on PDP if compared to CRT / LCD --- panasonic-2012-plasma-2500hz-ffd-explanation-attempt (http://paytherant.tumblr.com/post/20057368974/panasonic-2012-plasma-2500hz-ffd-explanation-attempt)

It is also the different design between Pioneer Kuro and Panasonic NeoPlasma although recent Panasonic's PDP has been integrated with some Kuro / ALiS panel's design.

The ST50 / GT50 / VT50 panels supports 3 different brightness per driving. 0% / 25% / 100%. So it can create even more color levels than the older X50 / U50 600Hz driving one.

As I know, the Pioneer Kuro panel has the different mechanism to remove motion blur. Each pixel is actually divided into several spatial sub-pixel regions. If the pixel's color change is too big, it chooses the mode to display the color at the 1st temporal sub-pixel time. At other sub-pixel times, pixel is not displayed. The pixels with smaller temporal color difference, it still uses the regular driving mechanism to maintain best color accuracy and to prevent flicking.

corporalgator
24th February 2013, 05:59
I've come around: FRC is definitely where it's at. My display, though, does 60.00038hz once it settles in and I get 1 frame repeat every 41.74 seconds. No drops ever. Nothing I can change in reclock makes a difference. Is that how it is supposed to work?

Qaq
24th February 2013, 08:47
I get 1 frame repeat every 41.74 seconds. No drops ever. Nothing I can change in reclock makes a difference. Is that how it is supposed to work?
I guess not. I have hours in "frame repeat". 23 video on 60 display, ReClock/Auto(yellow) + FRC.

madshi
24th February 2013, 11:52
With your general FRC approach the blended frames are generated at irregular points in time, right? Wouldn't it be beneficial to have a fixed pattern like e.g. repetition, blend, repetition, blend, ... at least when using ReClock?
Irregular points in time? Not really...

A fixed pattern would work only for very specific circumstances. The madVR solution works for all situations.

Maybe I was a little oversensitive. Now in a non darkened room I don't really notice it anymore. I guess it's again a "broken source", maybe the effect just naturally increases a little with FRC.
Well, FRC should look good in a darkened room, too. If you find samples where FRC on looks noticeably worse than FRC off in a typical 23-25fps@60Hz situation, then please let me know.

I noticed that display mode changer still changes to 59.94Hz for 23.976fps videos even though FRC is set to be always enabled.
Wouldn't it make sense to change its logic that it doesn't change resolution with FRC?
No. If you don't want it to change resolution then disable the display mode changer. It makes no sense to disable this option behind the back of the user although he clearly has activated it.

You, sir, are a wizard and a messiah of HTPC world!
That's too high praise, but thanks nevertheless.

I see, thanks. But if rebooting doesn't solve the problem (without FSE) isn't there anything more we could do? Just in case.
Make sure Aero is turned on. If it is and you still have tearing, something is broken. Either the GPU or the GPU drivers or the OS. You could try installing a different GPU driver version. But this all doesn't really have much to do with madVR. Aero is not supposed to ever tear. If it does, then it can't be madVR's fault.

Is it possible to run the SmoothMotion madTestPatternSource at a user specified fps?

I tried just renaming one to SmoothMotion120.ytp as a test and it defaulted to 23p.

The other thing I was wondering, I ran 24p side by side with 60p in another player because I wanted to explain to someone the difference between having more source images vs smoothness etc...

But to my surprise the bars were not scrolling at the same speed. I'm guessing this was intentional/side effect of the implementation. It's probably not an easy switch, especially if you would have to generate different source material. But I might be helpful to have the different SmoothMotion test patterns moving at the same overall speed?
Custom fps is currently not supported. The same speed is impossible because 24.000 is by design faster than 23.976 and I can't correct for that because the test pattern can scroll only by full 1 pixel sizes minimum. If by same speed you mean the exact same test pattern, just running slower or faster based on fps, then yes, that would be possible, but I don't really see the big benefit. The test pattern runs slower for 50fps (and higher) because if I used the 23-25fps test pattern for 50-60fps, it would run crazy fast. Too fast too make sense. Also, the 50-60fps test pattern has the bottom two bands un-blurred, to allow testing for sharpness loss better. The 23-25fps pattern has all bands except for the lowest blurred, because otherwise there would have been stuttering due to the low fps.

Madshi is xy-vsfilter work still in progress for high def subs? Also is some form of motion compensation on the cards for the future? I'd like to see motion compensation with some form of control element to it (My TV's is one setting only and it's horrid).
xy-vsfilter is still in the works, AFAIK, but it's moving slower than I had hoped. No motion compensation planned at this point in time.

I do get more dropped frames with 0.86.1, smooth motion turned on, new exclusive mode.

Using "use a separate device for presentation", my render queue seems to get stuck on 0-3/8, and I get dropped frames all the time. If I pause the video, it goes to 0-8 / 8, but it quickly drops to 0-3 / 8 on playback.

Now, without "use a separate device for presentation", something very weird happens. The render queue stays on 5-6/8 on playback, but if I pause the video, click on Edit Settings on madVR preferences, click Ok without changing anything, and unpause the video...the render queue gets stuck on 0-3 / 8. If I just open the madVR preferences dialog and close it without clicking on Edit Settings, I don't have this issue.

Edit: Hm, the render queue does seem to get stuck on 0-3 after a while, even if I don't open the Edit Settings dialog. Opening it is however a sure way to trigger this.

On madVR 0.86, I don't have this issues, just out of order frames with "use a separate device for presentation" turned on and the present queue randomly going to zero when it is off.

Edit 2: Setting my flush settings to Flush/Don't/Don't/Don't and disabling "use separated device for presentation" seems to solve my issue on 0.86.1.
Well, if your render queue goes empty, that means that your GPU is simply not fast enough for the settings you've chosen. I've *had* to modify the flush settings to make the artifacts go away for frame blending. I didn't think it would harm performance, but if it does, there's really not much I can do about it. You can modify the flush settings, of course, but it could result in artifacts showing up again.

I noticed that with 0.86.1 I get continuous dropped frames on the SmoothMotion50 test file (60Hz monitor), but no dropped frames on the other SmoothMotion files.

With 0.86.0 I did not get any dropped frames, not even with the 50Hz test file.

So something changed for the worse with 0.86.1
The 50 test pattern is more demanding than the 23-25 test patterns, of course (twice as much work to do for madVR). The 59 and 60 test patterns probably run with smooth motion frc turned off on your PC, that's why they run without frame drops for you.

Been testing a few things. 23.976fps with smooth motion forced on at 24Hz causes a ghosting effect kind of like interlacing. 23.976fps at 60Hz causes flickering. You can especially notice it on scrolling end credits. Looks like it's no good for me and I may as well stick with 24Hz smooth motion off for now.
If your TV can do 24Hz well then there's no need to use smooth motion FRC.

Anyway, do you have the first "trade quality for performance" option unchecked? Please try that, it might reduce the flickering you're seeing with 24fps@60Hz. If you still see flickering with that option unchecked, please upload a sample for me to look at.

If I rapidly seek through the file with the right arrow button then madVR still freezes in exclusive mode but when it goes back to windowed mode it plays like normal. At that point if I try to fullscreen it back to exclusive mode I get a black screen and have to restart the file in order to use exclusive mode. This is with v0.86.1.
Yes, I can confirm that. I was only able to trigger it with FRC on though, FRC off still seems to behave like 0.85.8. Sometimes if it happens, it looks like an endless loop of 2 frames that are shown at the same time (endless flickering).
Where is the bug entry in the madVR bug tracker (with an attached zipped log file) for this? ;)

I need to ask about one thing.
If I use reclock should I check "slave reference clock to audio"? Or leave it unchecked. For best compatibility with madVR.
Depends on whether you get video drops/repeats with this option checked.

1) Have I need "smooth motion" frame rate changer (FRC) if I have 23.976fps movie with a 120hz display monitor?
If you can set your display to an even multiple of 23.976 then no, you don't need FRC.

4) in trade quality for performance, I have "don't use linear light for smooth motion frame blending" turn on by default, Must I turn off or not? (I have 570)
You should uncheck all those "trade quality" options, if your GPU is fast enough.

5) If I use 3:2 inverse telecine filter like decomb, smooth motion is it compatible or not?
Yes.

6) If I turn on smooth motion, in windows mode I have 48fps instead of 24 fps in movie (using fraps), is it normal?
Yes.

So if I understand well the best way to play a 23.976 fps movie if you have a good tv/pc, is to use reclock to switch at 24 fps and then set the tv at 96hz (of course if the tv acccept this frequency)? On my HD 6850 I also have a 23hz mode, is it another good option to play 23.976 content?
Not sure what you mean "use reclock to switch". Switch what? If your TV can do 23.976Hz or 95.904Hz (or 47.952Hz or 71.928Hz) well then yes, that's what you should use. Whether 23.976Hz or 95.904Hz is better to use with your TV nobody can say. Simply test it yourself and choose what looks better to your eyes.

On my screen
CRT 1600x1200@100MHz
smooth motion
is Absolutely doing viewing by the unpleasant.
Because of it the image twitches, as mad advancing a shot forward, back.
Your English is very hard to understand. If you have a CRT, it can probably do any refresh rate you want, can it not? If so, just set your CRT to use an even multiple of the source framerate and you don't need to use madVR's smooth motion frc.

FRC causes frames to drop in windowed mode sometimes and the only fix is to resize the window.
Are any of the queues going empty if that happens? Maybe your GPU is too slow? Maybe your queue size is too small? You've given me almost zero information to work with, so there's not much I can say here...

What would be best settings to change for 2560x1440 ips monitor ?
That's such a broad question that I don't know how to reply.

Madshi:
There are still out of order frames appearing in v0.86.1 both on seek and on regular playback when the GPU usage hits 100% (by sapping it with a separate GPU app like firefox with GPU accel enabled).
I can't reproduce that on a seek on my PC. Which GPU are you using? How about you other guys? Does any of you still have "out of order" frames when seeking with v0.86.1 with smooth motion frc activated? @Blight, are you using the default flush settings? (flush, flush & wait (sleep), don't, don't)?

I've come around: FRC is definitely where it's at. My display, though, does 60.00038hz once it settles in and I get 1 frame repeat every 41.74 seconds. No drops ever. Nothing I can change in reclock makes a difference. Is that how it is supposed to work?
Do you *actually* get frame drops reported in the OSD? The "1 frame repeat every ..." is just a rough estimate. The only thing that really counts is the "dropped frames" counter. That one really counts the number of frames actually dropped during playback.

FYI - for my testing I created a series of test patterns years ago - http://www.avsforum.com/t/1276064/1920x1080-24-25-30fps-test-patterns-detect-pulldown-issues
How is your post madVR related? Neither "madVR" nor "frc" nor "smooth motion" appear in your text at all. It seems to me you've just copy-pasted some old post of yours without taking the time to put it into any context. Please either remove your post, or at least make the effort to write some new text to describe what your post has to do with recent madVR topics. For example, if you think your test patterns would be useful for testing madVR's FRC, then please explain why and how, and maybe also report your own results when testing your patterns with madVR's FRC. Thanks.

jmone
24th February 2013, 12:01
No probs - deleted post. Will test more and repost in context if it adds value.

Farfie
24th February 2013, 12:20
I can't reproduce that on a seek on my PC. Which GPU are you using? How about you other guys? Does any of you still have "out of order" frames when seeking with v0.86.1 with smooth motion frc activated? @Blight, are you using the default flush settings? (flush, flush & wait (sleep), don't, don't)?

I can say it happens to me sometimes as well, but not nearly as much as 0.86.0
I've been playing with it to try to figure out if there's anything that makes it happen more often than not but I can't seem to find anything. All I know is that if I skip around long enough, it will happen eventually. But it might happen on the first skip, or it might take 10 skips after opening a file. It also doesn't seem to dance around between two frames for a few ms either anymore, it just shows 1 frame from.. somewhere, and then proceeds to play back normally. It's very non intrusive considering it rarely happens, and when it does, it's 1 frame (seemingly anyway).
This is with default flush settings, windowed mode.

madshi
24th February 2013, 12:31
No probs - deleted post. Will test more and repost in context if it adds value.
Thanks!

I can say it happens to me sometimes as well, but not nearly as much as 0.86.0
I've been playing with it to try to figure out if there's anything that makes it happen more often than not but I can't seem to find anything. All I know is that if I skip around long enough, it will happen eventually. But it might happen on the first skip, or it might take 10 skips after opening a file. It also doesn't seem to dance around between two frames for a few ms either anymore, it just shows 1 frame from.. somewhere, and then proceeds to play back normally. It's very non intrusive considering it rarely happens, and when it does, it's 1 frame (seemingly anyway).
This is with default flush settings, windowed mode.
Ah, I see. Problems which are hard to reproduce are always hard to fix... :(

iSunrise
24th February 2013, 12:44
Where is the bug entry in the madVR bug tracker (with an attached zipped log file) for this? ;)
Itīs going to be very unspecific and I am not sure if that will help you too much to find the actual bug. It is extremely hard to trigger and I tried it with several movies for like 20 minutes. If I encounter it again I am going to make you the entry, make it as detailed as possible and attach a log, too. If you want me to make an entry, anyway, I am going to. No problem at all. Just wanted to confirm that something (seek dependant, doesnīt ever happen in pure playback) isnīt quite right in the code, which could also have an effect on other things.

Another thing, just to make you aware, because I am not sure that this is a bug, but rather an observation:

You wrote that with 0.86.1 you needed to modify the FRC code with an additional flush somewhere in the code if I understood you correctly. Is that change related to the custom 4 flush options or is that an additional flush that we donīt see/we canīt modify?

I am asking, because, when using FRC, you now have to (only if youīre not using the default flush settings) at least use one flush on the first 3 flush options or youīre going to have severe stuttering. If you donīt use FRC, "donīt flush" on every flush option works perfectly fine. 0.86.1 didnīt change anything in that regard, you still have to use a flush somewhere on the first 3 options. Since thereīs no seperate flush settings for the FRC path to modify, using fully custom flush settings is not possible anymore when youīre also using FRC for some movies.

What I was asking myself:
Did you really need to modify the FRC path with an additional flush, when we still have to use one flush in the flush options, anyway for FRC to work correctly? Are you aware of that? Just to give you a heads up.

I can go into more detail if something is unclear or put that into the bug tracker if you want to.

DragonQ
24th February 2013, 12:51
So far 0.86.1 fixes all the problems I had with 0.86.

Farfie
24th February 2013, 13:32
Ah, I see. Problems which are hard to reproduce are always hard to fix... :(

Actually.. I spoke too soon. Before I was only trying 720p content, and now after trying 1080p, it is happening very often again.

But, when I said earlier in the thread where I was getting many framedrops without "use a separate device for presentation" enabled in 0.86.0, I can now disable it without getting framedrops (you must have fixed it). Along with confirming that fix, the seek bug seems to have completely gone away as well with "use a separate device for presentation" disabled. Perhaps this could be our culprit? I'm trying to watch as many types of content as I can, and I hate to speak too soon, but.. I can't help myself :devil:

Dodgexander
24th February 2013, 14:10
It should work fine on a 5570 if you don't set the scaling algorithms too high. You may want to check if the queues are all full. Also make sure the queues are not too small. Finally, try again with the next build.

Can I have a sample of that 25i content which doesn't look well for you?


Here (http://www.mediafire.com/?3mv49g6ne3kb9) are a couple of samples that show dropped frames for me. They aren't that great at showing the judder, but they do show dropped frames from the osd still. If you need more let me know, I can provide better examples of a 1080i 25 file.

It seems to be about 10 frames every second for 1080i and 576i. You'll notice with the HD sample at first there are no framedrops because its progressive, but as soon as the program starts it switches to interlaced and thats when they start.

Oh the other thing is, for live tv it doesn't work at all. Obvious judder.

EDIT

My fault, I had my cpu and gpu queue to low, when I raised it works fine.

I love this new feature, thanks Madshi. I tried SVP and it looked unnatural when watching sport, this however looks far more natural. You don't get that "it looks odd" feeling like I did with svp.

---

Now this is working for me with 1080i and 576i 25fps recordings, if anyone else is interested:) It is also working in mpc-hc for live dvb tv! How awesome is that!

So anyone who is having weird judder increase your queue sizes. It even fixes the windowed mode judder for me that other people have reported too!

bugmen0t
24th February 2013, 14:25
[...]
Edit 2: Setting my flush settings to Flush/Don't/Don't/Don't and disabling "use separated device for presentation" seems to solve my issue on 0.86.1.
Can you please verify: 'flush' & 'don't flush' for the last render step do the trick but 'flush & wait (sleep)' & 'flush & wait (loop)' don't.
What's the difference between 'flush' vs 'flush & wait'?

pie1394
24th February 2013, 15:22
If you have a CRT, it can probably do any refresh rate you want, can it not? If so, just set your CRT to use an even multiple of the source framerate and you don't need to use madVR's smooth motion frc.


I guess many people will still keep asking you if FRC should be turned on... How about some comments in this option to describe the case(s) it might be needed?

Just purchased a new bigger LCD TV (Sony KDL-65HX920) to replace my 5-years-old PDP TV (Hitachi P42A01A) in the living room. I noticed one thing. Its 24 Hz input signal's quick moving scene handling looks good after some TV settings are adjusted. Although it is not perfect and random quick motion blur could be still observed, at least I felt motion handling in HX920 is somewhat a little bit smoother than the P42A01A's 24p-to-60i FRC.

Another surprise is about the super-resolution function done by X-Reality PRO engine. Without it, even the HD video shown by 65HX920 looks flat, lack of scene depth or stereo feeling --- which Darbee box tries to improve for LCD. Such functionality is never claimed on the old Pioneer Kuro / Hitachi PDP. But the presented video on them always look vivid / nature.

ikarad
24th February 2013, 15:23
Quote:
Originally Posted by ikarad View Post
6) If I turn on smooth motion, in windows mode I have 48fps instead of 24 fps in movie (using fraps), is it normal?
Yes..

Can you explain why?


Other thing.
I install filter of madvrtestpattern but all smoothmotionxx.ytp file make mpc-hc crash if I use ffdshow raw filter.

Only smallramp.ytp, colors.ytp and greyramp.ytp work with ffdshow raw filter.

shimaflarex
24th February 2013, 15:43
Can you please verify: 'flush' & 'don't flush' for the last render step do the trick but 'flush & wait (sleep)' & 'flush & wait (loop)' don't.
What's the difference between 'flush' vs 'flush & wait'?
Yes, that's it.
Tested on exclusive full screen mode, "smooth motion" on, "use a separated device for presentation" off :
Flush/Don't/Don't/Don't - Ok
Flush/Flush/Don't/Don't - Ok
Flush/Flush & wait(sleep)/Don't/Don't - render queue stuck on 0-3
Flush/Flush & wait(loop)/Don't/Don't - render queue stuck on 0-3

I don't really know what exactly is the difference between Flush and Flush & wait...what is it waiting?
Edit:
Flush & wait(sleep)/Don't/Don't/Don't - render queue stuck on 0-3

Flush & wait seems the culprit lol

Dodgexander
24th February 2013, 15:56
I install filter of madvrtestpattern but all smoothmotionxx.ytp file make mpc-hc crash if I use ffdshow raw filter.

Only smallramp.ytp, colors.ytp and greyramp.ytp work with ffdshow raw filter.

Could you tell me where you found that test pattern? Its not included in the current release. If possible also upload it?

dansrfe
24th February 2013, 16:46
Are any of the queues going empty if that happens? Maybe your GPU is too slow? Maybe your queue size is too small? You've given me almost zero information to work with, so there's not much I can say here...

GTX 670, Windows 7. when I go from exclusive to windowed queue size goes to 0/4 and if I pause the video for 1-2 seconds then resume it fills up the queue then goes back to 0/4 after a couple of seconds. If I turn off FRC the queues fill up normally and the stuttering problem associated with rapid seeking goes away too.

corporalgator
24th February 2013, 17:18
Do you *actually* get frame drops reported in the OSD? The "1 frame repeat every ..." is just a rough estimate. The only thing that really counts is the "dropped frames" counter. That one really counts the number of frames actually dropped during playback.



Actually never. I thought repeats just weren't counted, so thanks for clarifying. If I start a movie in full screen, the dropped frames counter will stay at 0 the entire movie.

ikarad
24th February 2013, 18:03
Could you tell me where you found that test pattern? Its not included in the current release. If possible also upload it?

Here
http://forum.doom9.org/showpost.php?p=1616520&postcount=17517

agustin9
24th February 2013, 19:49
Yes, that's it.
Tested on exclusive full screen mode, "smooth motion" on, "use a separated device for presentation" off :
Flush/Don't/Don't/Don't - Ok
Flush/Flush/Don't/Don't - Ok
Flush/Flush & wait(sleep)/Don't/Don't - render queue stuck on 0-3
Flush/Flush & wait(loop)/Don't/Don't - render queue stuck on 0-3

I don't really know what exactly is the difference between Flush and Flush & wait...what is it waiting?
Edit:
Flush & wait(sleep)/Don't/Don't/Don't - render queue stuck on 0-3

Flush & wait seems the culprit lol
Sounds like a gpu drivers problem

shimaflarex
24th February 2013, 20:08
Sounds like a gpu drivers problem
I am using the recently released Geforce 314.07 driver on W7 x64...

Dodgexander
24th February 2013, 22:14
Here
http://forum.doom9.org/showpost.php?p=1616520&postcount=17517

Thanks I was being an idiot.

Did you install using the bat file before trying to playback one of the patterns?

For I tested all of them and they are working fine.

Maybe re-download in case of a corruption?

jmone
24th February 2013, 22:25
(Cross Post from the JRiver forum)... Has anyone one used madshi's latest test patterns with JRiver MC18? http://madshi.net/madTestPatternSource.zip

The instructions are:
INSTALL: run install.bat (with admin rights!)
USAGE: drag one of the "*.ytp" files into your favorite media player

...but no luck so far for me (tried the old Windows Merit Based filter selection as well).

The ytp files don't seem to be recognised by MC.

Thanks
Nathan

turbojet
24th February 2013, 22:45
jmone: I don't have JRMC but I had the same sort of problem and unless madvrtestpatterns are on the system drive they won't install without adding @cd /d "%~dp0" to the install batch file, same goes with uninstall and activate debug. Wish madshi would fix this, have mentioned it a few times now.

shimaflarex: changing flush settings works for a while for me but eventually backbuffer goes back to 0. Increasing the queues and using separate device also alleviate the problem for awhile but eventually drops frames. Even changing a tab in chrome or firefox causes dropped frames with FRC on. Everything is fine with it off. I like FRC and appreciate madshi's time and effort on it but I will hold off until the frame drop issues with nvidia gpu's is solved before using it, going back to 310 drivers didn't change anything. GPU sits around 30% with 40% memory usage, CPU around 10%, 35% ram usage. A framedrop here and there is understandable and I don't notice it but at times there's 15-20 frames dropped and it's very noticeable. Don't know whether it's madvr or nvidia's responsibility to fix.

shimaflarex
25th February 2013, 00:31
shimaflarex: changing flush settings works for a while for me but eventually backbuffer goes back to 0. Increasing the queues and using separate device also alleviate the problem for awhile but eventually drops frames. Even changing a tab in chrome or firefox causes dropped frames with FRC on. Everything is fine with it off. I like FRC and appreciate madshi's time and effort on it but I will hold off until the frame drop issues with nvidia gpu's is solved before using it, going back to 310 drivers didn't change anything. GPU sits around 30% with 40% memory usage, CPU around 10%, 35% ram usage. A framedrop here and there is understandable and I don't notice it but at times there's 15-20 frames dropped and it's very noticeable. Don't know whether it's madvr or nvidia's responsibility to fix.

Hm, I've watched a 30 min video with no frame drops...actually, I forgot to check the OSD at the end of the video, but I didn't notice any framedrop. I didn't test much on windowed mode though...but it seems to be working fine. Did you try using those flush settings on new exclusive mode without using a separated device for presentation?

Niyawa
25th February 2013, 01:27
Make sure Aero is turned on. If it is and you still have tearing, something is broken. Either the GPU or the GPU drivers or the OS. You could try installing a different GPU driver version. But this all doesn't really have much to do with madVR. Aero is not supposed to ever tear. If it does, then it can't be madVR's fault.
Okay, got it. Thanks. The issue seems to have been gone with the little fellow too.

tickled_pink
25th February 2013, 03:00
Yes, that's it.
Tested on exclusive full screen mode, "smooth motion" on, "use a separated device for presentation" off :
Flush/Don't/Don't/Don't - Ok
Flush/Flush/Don't/Don't - Ok
Flush/Flush & wait(sleep)/Don't/Don't - render queue stuck on 0-3
Flush/Flush & wait(loop)/Don't/Don't - render queue stuck on 0-3

I don't really know what exactly is the difference between Flush and Flush & wait...what is it waiting?
Edit:
Flush & wait(sleep)/Don't/Don't/Don't - render queue stuck on 0-3

Flush & wait seems the culprit lol

I can confirm these results with Intel HD Graphics and AMD HD 6570. Both running up to date drivers. Render queue is 2-4 with Flush & sleep/loop and 7-8 with Flush only.

DarK_MischieF
25th February 2013, 05:53
madshi,

first off i want to thank you for your tireless work on madVR. it is an amazing product and has really opened my eyes to the complexity of video rendering. i have long followed your progress but have never contributed- in the light of your new release (0.86), however, i felt it would be a good time to start.

i have trouble with two scenarios, 60fps HD content, and smooth motion (but not when they are combined as my monitor is 60Hz).

1) 60fps HD content
frame drops- not too bad if full screen and if its the primary focus (about 6 drops in 1 minute of playback), otherwise very large (100 drops in 1 minute of playback)- can't seem to predict if it will be smooth or not. everything else looks okay except render queue seems to be one beind upload queue (9-10 / 10 vs 8-10 / 10). backbuffer occasionally drops to 0 then recovers.

2) smooth motion
frame drops- sometimes its good (<10 for extended playback), sometimes frame rates are severe. i think this is dependent on the content and the 'busi-ness' of the scene. most of my content is HD, blu-ray rips. i think my hardware is powerful enough so i feel that i must have some incorrect settings that is causing some kind of issue / bug. full screen exclusive performs better than windowed but has other disadvantages. windowed performs worse (sometimes compositon rate goes to 30Hz- rare and unpredictable), but offers more flexibility for placement.

settings
LAV VIDEO
no hardware decoding (have tried DXVA2 (copy-back) no change)
output formats: all but AYUV (4:4:4)

MADVR
devices-
8 bit, disable calibration controls, no display modes, pure power curve 2.20 gamma processing
no decoding, automatically activate deinterlacing when needed (if in doubt activate)
jinc 3 taps (anti ringing), jinc 3 taps (anti ringing), catmull-rom (anti ringing / scale in linear light)

rendering-
delay playback, use a seperate device, cpu queue 12, gpu queue 10
windowed mode, 8 backbuffer, flush, flush and wait (sleep), don't flush, don't flush
smooth motion- only if there would be motion judder without it
trade quality for performance- don't use linear light for smooth motion frame blending

--------------

i have tried many variations of settings to improve performance but none of them seem to have a noticeable effect. i have set low buffer queues, high buffer queues and different scaling algorithims- perhaps this isn't where the bottleneck is?

ideally , i was hoping to get some more insight on the settings as i feel a little lost on why the performance is what it is. the 60fps issue has been there for as long as i can remember, the smooth motion was obviously only very recently.

thanks!

EDIT 2/24/2013
Windowed mode- Changed "after last render step" flush & wait (sleep) to flush improves dropped frames- backbuffers fall to 0 occasionaly still, but its alot better. render queue is still one behind upload queue.

turbojet
25th February 2013, 06:55
I was testing in windowed mode and had the same results as DarK_MischieF's edit, it's improved but not fixed. Confirmed it works well with FSE but I rarely use fullscreen on this computer, on another (broken) computer it's about all that's used. Using overlay keeps the backbuffer full in windowed mode and there's no frame drops but taskbar previews and multiple videos are nice to have for me at times. Hopefully empty backbuffers is a madvr issue this time as it's happening on intel, ati, and nvidia. Not many months ago nvidia had a backbuffer issue that took years for them to fix.

EDIT: After about 20 minutes backbuffers drop back to 0 quite often again using overlay.

Dodgexander
25th February 2013, 08:31
If you can change the flush settings and it works, what is the problem?

I don't have any of the problems mentioned with a Radeon HD6870 so sadly can't help out.

Maybe it's only related to certain gpu's

andybkma
25th February 2013, 09:57
Hi madshi, hate to bother you while you are working out the kinks with Smooth Motion but I was hoping I could sneak in a feature request whenever you get a chance.

Like many users of mVR I am sitting on my couch with just my mouse with no ready access to a keyboard (using my projector). As far as I know there is no way to bring up the "Debug OSD" (Ctrl+J) without a keyboard. Could you possibly add a way to turn that OSD on/off inside the settings of mVR with just the mouse? Like with a checkbox or something?

BTW, been using the Smooth Motion turned on the past coupla days and am really enjoying. Haven't had any blatant judder/motion problems that I can tell like other people have reported but then again I am not able to turn the Debug OSD on in order to actually tell if I am having such dropped frames problems. Perhaps ignorance is bliss haha (Note: just using HD4000 Ivy Bridge CPU graphics with Zoom Player, with a combo of LAV & ffdshow post processing with avisynth Limited Sharpen Faster)

Dodgexander
25th February 2013, 11:02
If you can change the flush settings and it works, what is the problem?

I don't have any of the problems mentioned with a Radeon HD6870 so sadly can't help out.

Maybe it's only related to certain gpu's

Okay I encountered this problem also. To fix it, I just lowered the upscaling and chroma upscaling from jinc 4 taps each to 3 taps each.

I guess this suggests that for lower gpu's might suffer from using the new motion compensation when also using scaling they were before. Perhaps you guys can try lowering the scaling settings to next to nothing to see if the problem goes away?

DragonQ
25th February 2013, 16:04
OK, changed my mind, both of the problems I experienced with 0.86 still exist with 0.86.1 (previous frame repeating when seeking sometimes, plus weird frame order randomly appearing and disappearing with interlaced content ). :(

chros
25th February 2013, 17:16
Sorry if this question is off topic, but I urgently (within 2 weeks) have to buy something new for me, because the laptop I'm currently using (see my signature for details) goes to my mom.

There was a really long discussion here a year ago, but I don't know the current hardware trend since then. So can you recommend a really good bargain "today"?

So I need:
- screen: 15,6" , fullhd
- chipset: intel, with HD4000 integrated VGA (at least it was good a year ago)
- vga: nvidia 6xx , with kepler core(?) (at least it was good a year ago) , I don't need the best GPU today.
- at least 8GB RAM
- hdd: big :)
- usb3.0
- hdmi out (audio and video)
- webcam, wifi

Thanks for helping!!!

DragonQ
25th February 2013, 17:30
Any i3/i5 Ivy Bridge CPU setup will last a long time. 8 GB of RAM makes sense due to RAM being so cheap now.

FYI, the Intel HD4000 can't handle Jinc with AR for everything in MadVR, so the best you can do is Bicubic75 AR / Lanczos3 AR / Catmull-Rom AR LL. I think you need an GTX 660 or better for Jinc3 AR, not sure about the mobile versions though.

Dodgexander
25th February 2013, 17:58
I did some further testing with my other, less powerful pc.

First of all, on both my pc's it seems any kind of dxva with smooth motion is a no go, presumably because the scaling+smooth motion takes up so much GPU usage as it is.

With my HD6870 system, I can run max Jinc3 upscaling and chroma upscaling with smooth motion. Without smooth motion jinc4 is possible with anti ringing filters on both.

With my HD5670 system, I can't run anything with smooth motion, otherwise like above (other people have reported) my rendering queue is always 0-3 despite everything being at low and all performance options included. This results in dropped frames and an unwatchable experience. This system however also has a slower CPU than my other. A 2.5ghz dual core wolfdale compared to a 4ghz dual core wolfdale. Without smooth motion it can manage only Jinc3 upscaling and spline3 chroma upscaling, anti ringing turned off.

Its clearly a performance issue, since during busy motion, the rendering queue will often drop all the way to zero, from being perhaps 1 before.

So is smooth motion just too demanding for lower end graphics cards?

detmek
25th February 2013, 18:08
Does it work better if you use FSE? Usually I have far less problems or no problems with FSE.

Dodgexander
25th February 2013, 18:32
Does it work better if you use FSE? Usually I have far less problems or no problems with FSE.

For me fse was a no go on my less powerful pc, all my testing was done using it on there. Tried with aero on and off also.

joe42
25th February 2013, 18:46
The 50 test pattern is more demanding than the 23-25 test patterns, of course (twice as much work to do for madVR). The 59 and 60 test patterns probably run with smooth motion frc turned off on your PC, that's why they run without frame drops for you.

With the 50Hz test pattern and FRC on, GPU is at 65% max, and CPU is much lower, so I'm not sure what is causing the frame drops.

But like I said, with 0.86.0 and the exact same settings, no frame drops. But with 0.86.1, continuous framedrops.

chros
25th February 2013, 18:50
Any i3/i5 Ivy Bridge CPU setup will last a long time. 8 GB of RAM makes sense due to RAM being so cheap now.

FYI, the Intel HD4000 can't handle Jinc with AR for everything in MadVR, so the best you can do is Bicubic75 AR / Lanczos3 AR / Catmull-Rom AR LL. I think you need an GTX 660 or better for Jinc3 AR, not sure about the mobile versions though.
Thanks for the answer!
What do you think about this? Lenovo Y580 with GTX660 (http://www.notebookcheck.net/Lenovo-IdeaPad-Y580-20994BU-Laptop-Review.78974.0.html)