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

SecurityBunny
15th October 2015, 23:09
Ok. In some situations the default location might be ok. But often it is not. E.g. look here, playing a DVD (using an LAV test build with the new LAV DVD subtitle export to madVR) with MPC-HC with the "notify media player" zoom control option activated:

default position (http://madVR.com/doom9/stuff/MpcNotifyDefault.png) - | - move up = down (http://madVR.com/doom9/stuff/MpcNotifyMove.png)

Or here with the "notify media player" zoom control option deactivated:

default position (http://madVR.com/doom9/stuff/MpcDefault.png) - | - move up (http://madVR.com/doom9/stuff/MpcMoveUp.png) - | - move down (http://madVR.com/doom9/stuff/MpcMoveDown.png)

Isn't any of the move options always better (in this example at least)? I think having one subtitle line in the active video area and one subtitle line in the black bar is rather bad, and it happens quite often with the standard location.

Ah, I can definitely see the advantage of the feature in that example. Fortunately for the content I watch, I don't require subtitles to be moved and in fact find it a bit displacing when it is due to moving my peripheral vision to keep up with the video and read subtitles at the same time.

Fullscreen Normal (http://i.imgur.com/EJE10m6.jpg) - Fullscreen Bottom (http://i.imgur.com/5OT0Ahb.jpg)
Half-screen Normal (http://i.imgur.com/ewUSoUq.jpg) - Half-screen Bottom (http://i.imgur.com/rqj8QHY.jpg)

Since I don't really watch any content where subtitles aren't already inside the video frame, I don't personally require the need to move subtitles into the active video area. I'd rather save the process calculation time if it is all the same.

har3inger
15th October 2015, 23:17
Just a quick question: when SuperRes under image enhancements gets updates, is superchromares also getting updated? If not, is the superres filter for chroma at all recommended, given how it's based off the old iteration of SuperRes that got scrapped?

XMonarchY
15th October 2015, 23:35
SO SuperRes Linear Light option is there to prevent brightness increase? Is that something I'd want for better quality pictures or for better accuracy? I use NNEDI3 + SuperRes Chroma Upscaling + SuperRes Image Refinement.

zvans18
16th October 2015, 00:16
R9 390, Windows 10

same here, win 8.1 and GTX 970

happens with BE and HC (but unless it's my imagination it seems slightly better in HC)

EDIT: retested after reboot and it isn't happening with either player. i'll see if it happens again in the future, but it was happening for at least a few releases

nijiko
16th October 2015, 02:05
What's wrong with 89.11? When playing video, computer is fully dead, hang up.

nijiko
16th October 2015, 02:14
The fucking death make me lost all my work on the desktop!!! I never know a video filter can make computer die!!!

nijiko
16th October 2015, 02:28
I can't find 89.10, and 89.9 is normal. What change between 89.9 and 89.11?

Asmodian
16th October 2015, 02:52
I can't find 89.10, and 89.9 is normal. What change between 89.9 and 89.11?

Both are on the previous page.

madVR v0.89.10 released

http://madshi.net/madVR.zip

* added SuperRes "sharpness" and "use linear light" options
* optimized SuperRes performance with high "strength" values
* modified subtitle mover to not change subtitle size, anymore
* added "zoom control" option to move subtitles
* added support for LAV DVD subtitle renderer
* fixed: XySubFilter: high-res PGS with smaller-res video: wrong sub position
* fixed: crash when LAV DVD subtitle renderer asked for a flush/clear
* fixed: Smooth Motion + NNEDI3 + Bilinear could cause aliasing artifacts
* fixed: #318: debanding sometimes caused black screen (once more)
XySubFilter users, please test madVR v0.89.10 with the new XySubFilter 745 build:

http://forum.doom9.org/showthread.php?t=168282


madVR v0.89.11 released

http://madshi.net/madVR.zip

* fixed stupid video size bug introduced in v0.89.10

foxyshadis
16th October 2015, 03:09
What's wrong with 89.11? When playing video, computer is fully dead, hang up.

The fucking death make me lost all my work on the desktop!!! I never know a video filter can make computer die!!!

Welcome to video driver bugs? It's not MadVR's fault, but it does use more of the driver than anything but games. Since you can lose everything at practically anytime anyway, if the power dies or anything else locks it up, you should always be autosaving. Computers suck.

THEAST
16th October 2015, 05:26
madVR flashes frame from the future (probably last in the queue) on frame step. Not on every one, but very often. It looks like that Frame1->Flashes Frame (something from the queue)->Frame2 it is easily reproducible with MPC-HC and CTRL+left arrow to frame step. Seems to happen only with DX11. Here is log http://1drv.ms/1MswFTV

I think you're experiencing what I reported two times before in this thread but nobody else confirmed it:

http://forum.doom9.org/showthread.php?p=1714313#post1714313
http://forum.doom9.org/showthread.php?p=1728827#post1728827

I can confirm this only happens with Smooth Motion enabled and is easily reproducible with WMV and AVI files. Detailed info has been provided in my previous reports.

sneaker_ger
16th October 2015, 05:49
I can't find 89.10, and 89.9 is normal. What change between 89.9 and 89.11?
The fucking death make me lost all my work on the desktop!!! I never know a video filter can make computer die!!!
Welcome to video driver bugs? It's not MadVR's fault, but it does use more of the driver than anything but games. Since you can lose everything at practically anytime anyway, if the power dies or anything else locks it up, you should always be autosaving. Computers suck.
Yesterday mpc-hc leaked lots of memory here. I did not yet (will do later) take a closer look but it was after I upgraded madvr. Did you maybe run out of RAM?

dimitrik
16th October 2015, 06:53
i just want to confirm one thing about the doubling/quadrupling functions: my understanding is that they work in sequence, not independently.

I.e. the doubling algorithm is applied first, and then if there is scope for quadrupling (depending on the scaling factor and settings) the quad algorithm is applied.

Or is the quad algorithm applied directly, if the scaling factor is such, skipping the doubling algo?

I think it's the first, but am not 100% sure.

madshi
16th October 2015, 08:08
.ASS looks good. PGS from a bluray is blurry. It's not even the same font as the .ASS. But the filters say xy->madVR.
PGS are bitmap subtitles. madVR does not know which text is in such subtitles. It's all just pixels. So all madVR can do is draw them onto the original video image (before upscaling) and then upscale the subtitle bitmaps together with the video. Which will of course be much blurrier than rendering text (SRT, ASS) subtitles in the final resolution of the upscaled video. If you want sharp subtitles, you'll have to use some subtitle tool to convert PGS to SRT or ASS.

At first the move subtitles wasn't working for me. Then it started to work. But it messes up when scrubbing through the video. With my .ASS sample it starts at the bottom if I have it selected, but if I scrub a bit then it goes higher up.
You probably have not updated XySubFilter to build 745 yet, have you?

Ah, I can definitely see the advantage of the feature in that example. Fortunately for the content I watch, I don't require subtitles to be moved and in fact find it a bit displacing when it is due to moving my peripheral vision to keep up with the video and read subtitles at the same time.

Fullscreen Normal (http://i.imgur.com/EJE10m6.jpg) - Fullscreen Bottom (http://i.imgur.com/5OT0Ahb.jpg)
Half-screen Normal (http://i.imgur.com/ewUSoUq.jpg) - Half-screen Bottom (http://i.imgur.com/rqj8QHY.jpg)

Since I don't really watch any content where subtitles aren't already inside the video frame, I don't personally require the need to move subtitles into the active video area. I'd rather save the process calculation time if it is all the same.
Ok, I understand. Was just wondering...

Just a quick question: when SuperRes under image enhancements gets updates, is superchromares also getting updated? If not, is the superres filter for chroma at all recommended, given how it's based off the old iteration of SuperRes that got scrapped?
No, SuperChromaRes has not been updated for quite a while. Although it's based on the same principle, it's a different algorithm, and it's still on my to do list to look into.

SO SuperRes Linear Light option is there to prevent brightness increase? Is that something I'd want for better quality pictures or for better accuracy? I use NNEDI3 + SuperRes Chroma Upscaling + SuperRes Image Refinement.
In theory you should uncheck "Linear Light" if the video you're playing has been downscaled by the studio by using gamma light (which is what most studios do, I suppose). And you should activate "Linear Light" if the video you're playing has been downscaled by the studio by using linear light - or if you're playing a video that hasn't been downscaled by the studio at all. Since it's very hard to know what the studio did, I can't really tell you which way to set that option. I prefer it unchecked, others prefer it checked. Unchecked thins black lines a bit, but may introduce a little bit of aliasing. So simply try and use what looks better to your eyes.

What's wrong with 89.11? When playing video, computer is fully dead, hang up.
I doubt it has much to do with 89.11. Probably the same would have happened with 89.9. This is probably a GPU driver or even OS problem, or a hardware problem.

Yesterday mpc-hc leaked lots of memory here. I did not yet (will do later) take a closer look but it was after I upgraded madvr. Did you maybe run out of RAM?
Oh, that would be ugly. Can you double check whether you can reproduce that problem, and whether it's a new problem introduced by madVR or by the latest MPC-HC build or by the GPU driver, maybe? There was an AMD beta driver recently which leaked lots of (GPU?) RAM.

i just want to confirm one thing about the doubling/quadrupling functions: my understanding is that they work in sequence, not independently.
Correct.

dimitrik
16th October 2015, 10:17
I'd try NNEDI3 64 for doubling + super-xbr 75 quadrupling.

Thanks, I'll give that a try. Could be a good mix between the softness of nnedi and the sharpness of super-xbr.

By the way, I have been thinking that because everyone is so keen on getting sharp pictures, we've got to a point where we accept too many artifacts, ringing and other distortions.

In in many cases, a softer image may in fact be a better option; we have to accept that compromises exist when upscaling and it's up to us, to set the balance between different aspects of the PQ.

It would be nice if we had a high quality deblocking filter that doesn't overly soften the image, but gets rid of some of these artifacts. I think as resolutions get higher (4K) this will be more useful, especially for lower quality SD sources.

chros
16th October 2015, 10:49
That's all technically possible, but I have rather limited development resources. I'll think about it, but the end result in the short term will probably be a *very* simple (and maybe somewhat ugly) solution. If you have a good idea for something like that, which I could implement in just a couple of minutes, let me know.
I can't help you with that (I'm not a C++ dev :( ), but you can ask the MPC-HC/BE dev teams, I think they are smart enough for that :)

Just a quick question: when SuperRes under image enhancements gets updates, is superchromares also getting updated? If not, is the superres filter for chroma at all recommended, given how it's based off the old iteration of SuperRes that got scrapped?
I'm against it at its current state, I made couple of screenshots around 1-2 week(s) ago, where you could easily see the unwanted modifications on the picture by it.

aufkrawall
16th October 2015, 10:50
In theory you should uncheck "Linear Light" if the video you're playing has been downscaled by the studio by using gamma light (which is what most studios do, I suppose). And you should activate "Linear Light" if the video you're playing has been downscaled by the studio by using linear light - or if you're playing a video that hasn't been downscaled by the studio at all. Since it's very hard to know what the studio did, I can't really tell you which way to set that option. I prefer it unchecked, others prefer it checked. Unchecked thins black lines a bit, but may introduce a little bit of aliasing. So simply try and use what looks better to your eyes.

Gamma correct also increases the brightness in the case of SuperRes in a noticeable way (independent from the source?), at least if you choose a sharpness option > 2.
I upscaled the brightness sensitive image you posted here to 1440p via Jinc AR:
http://forum.doom9.org/showpost.php?p=1740010&postcount=38

No SR:
http://abload.de/thumb/nosrwqk0v.png (http://abload.de/image.php?img=nosrwqk0v.png)

Strength 2, sharpness 3, no LL:
http://abload.de/thumb/llofflxj7b.png (http://abload.de/image.php?img=llofflxj7b.png)

LL:
http://abload.de/thumb/llonnkjgn.png (http://abload.de/image.php?img=llonnkjgn.png)

I also noticed the brightness increase without LL in other videos from the web.
So, if one wants to use SR as a sharpener , I think it's a good idea to use linear light.

ashlar42
16th October 2015, 11:19
madVR v0.89.10 released

http://madshi.net/madVR.zip

[code]* added SuperRes "sharpness" and "use linear light" options
* optimized SuperRes performance with high "strength" values
Hi madshi, you're on a winning streak! ;)

I wanted to ask you, concerning the above, is it expected to get seriously improved performance when, in "upscaling refinement" moving from SuperRes 3 to SuperRes 4? Is this what you are referring to when talking about "high strength"?

Previously SR wasn't impacting too much until 3, but 4 had a serious jump in computational power used. At least for me...

kasper93
16th October 2015, 13:12
I think you're experiencing what I reported two times before in this thread but nobody else confirmed it:

http://forum.doom9.org/showthread.php?p=1714313#post1714313
http://forum.doom9.org/showthread.php?p=1728827#post1728827

I can confirm this only happens with Smooth Motion enabled and is easily reproducible with WMV and AVI files. Detailed info has been provided in my previous reports.
Nope. SM is not related. I can reproduce without it.

nijiko
16th October 2015, 14:59
Welcome to video driver bugs? It's not MadVR's fault, but it does use more of the driver than anything but games. Since you can lose everything at practically anytime anyway, if the power dies or anything else locks it up, you should always be autosaving. Computers suck.

Because this old computer is for downloading, so the OS is still XP since 2006 without installing new OS, and driver is out at 2014.4 and not updated by ATI.

My computer is running well all the way before 89.11.

Yesterday mpc-hc leaked lots of memory here. I did not yet (will do later) take a closer look but it was after I upgraded madvr. Did you maybe run out of RAM?

Maybe? When I run MPC-HC, computer immediately being slowly to be idle in only 3 seconds. Each time. So, I can't do anything to check.

I doubt it has much to do with 89.11. Probably the same would have happened with 89.9. This is probably a GPU driver or even OS problem, or a hardware problem.

My computer is running MPC-HC 181 + LAV 66.0.26 + madVR 89.11/89.9, OS is XP SP3 with all patch, videocard is AMD ATI HD4850 with 14.4.

I'am the only one happenning this problem?

clsid
16th October 2015, 15:48
Did your computer freeze or did it reboot (BSoD)? Any details in the Windows Event Log?

ibius
16th October 2015, 16:17
Hi madshi,

I have a sample from an HDTV cap that SM FRC has trouble with, maybe you can improve it's behavior.
With the latest MPC-HCx64, madVR and LAV, in the first 5 seconds there's heavy frame jumping/repeating and after that it plays fine, disabling SM fixes issue at the start.
I tried different decoding modes in LAV to no avail, but madVR's rendering path made a difference.
The issue above only happens as described with D3D9 new path, with Overlay and D3D11 it's almost gone, and there's still something going on (huge rendering time spikes etc).
When tested with MPC-BEx64 and it's internal decoder the issue isn't as bad, but doesn't stop after 5 seconds and keeps occurring till the end.

Sample (http://wikisend.com/download/792446/King.Kong.2005.1080p.Open.Matte.HDTV.DD5.1.h264-Silu.mkv)

Win8.1 x64, Nvidia, Eizo 60Hz 8-bit.

nijiko
16th October 2015, 16:18
Did your computer freeze or did it reboot (BSoD)? Any details in the Windows Event Log?

No BSoD, only freezed, fully freezed. Press mouse or keyboard then system beep, and no event logs.

ikarad
16th October 2015, 17:07
madVR v0.89.10 released

http://madshi.net/madVR.zip

[code]* added SuperRes "sharpness" and "use linear light" options
* optimized SuperRes performance with high "strength" values
* modified subtitle mover to not change subtitle size, anymore
* added "zoom control" option to move subtitles
* added support for LAV DVD subtitle renderer
* fixed: XySubFilter: high-res PGS with smaller-res video: wrong sub position
* fixed: crash when LAV DVD subtitle renderer asked for a flush/clear

What is lav dvd subtitle renderer?

sneaker_ger
16th October 2015, 17:49
Oh, that would be ugly. Can you double check whether you can reproduce that problem, and whether it's a new problem introduced by madVR or by the latest MPC-HC build or by the GPU driver, maybe? There was an AMD beta driver recently which leaked lots of (GPU?) RAM.
It seems to have been introduced between 0.89.9 and 0.89.10. I was running Catalyst 15.7, now upgraded to 15.10 beta but it does not make a difference. I have reset settings to absolute defaults. I start a small video at 100% zoom (windowed). As long as the zoom stays the same the RAM usage does not seem to grow much but when I start maximizing the window, then go back to 100% zoom, then maximize again, then go back to 100% ... the usage keeps growing and growing.

I created a (huge!) log if it helps:
1. open at 100%, wait for RAM to stabilize
2. maximize, then go 100% again
3. wait for RAM to stabilize
4. maximize, then go 100% again
5. wait for RAM to stabilize
...
http://217.160.126.132/madVR_mem_leak_log.7z
At the end of the 2.5 minute 480p video MPC-HC was at 1.5 GB RAM.

Anyone know which Catalyst versions exactly had the mem leak problem?

aufkrawall
16th October 2015, 17:53
Catalyst 15.9. There was a fix for this with 15.9.1, but maybe it's not fully fixed or there is another problem.

Asmodian
16th October 2015, 19:11
What is lav dvd subtitle renderer?

A very new (released last night?) feature of LAV filters.

madshi
16th October 2015, 19:22
Gamma correct also increases the brightness in the case of SuperRes in a noticeable way (independent from the source?), at least if you choose a sharpness option > 2.
Oh, ok, didn't really expect that, but I guess it makes sense.

I wanted to ask you, concerning the above, is it expected to get seriously improved performance when, in "upscaling refinement" moving from SuperRes 3 to SuperRes 4? Is this what you are referring to when talking about "high strength"?

Previously SR wasn't impacting too much until 3, but 4 had a serious jump in computational power used. At least for me...
You're not saying strength 4 is faster than strength 3, are you? It's not supposed to be that way, if that's what you're saying.

Yes, the performance optimization mostly benefits high strength settings. The previous madVR build got very slow when using high strength. The latest build should still lose some performance when turning up strength, but far less.

I have a sample from an HDTV cap that SM FRC has trouble with, maybe you can improve it's behavior.
With the latest MPC-HCx64, madVR and LAV, in the first 5 seconds there's heavy frame jumping/repeating and after that it plays fine, disabling SM fixes issue at the start.
I tried different decoding modes in LAV to no avail, but madVR's rendering path made a difference.
The issue above only happens as described with D3D9 new path, with Overlay and D3D11 it's almost gone, and there's still something going on (huge rendering time spikes etc).
When tested with MPC-BEx64 and it's internal decoder the issue isn't as bad, but doesn't stop after 5 seconds and keeps occurring till the end.

Sample (http://wikisend.com/download/792446/King.Kong.2005.1080p.Open.Matte.HDTV.DD5.1.h264-Silu.mkv)

Win8.1 x64, Nvidia, Eizo 60Hz 8-bit.
Ok, will have a look at that later...

It seems to have been introduced between 0.89.9 and 0.89.10. I was running Catalyst 15.7, now upgraded to 15.10 beta but it does not make a difference. I have reset settings to absolute defaults. I start a small video at 100% zoom (windowed). As long as the zoom stays the same the RAM usage does not seem to grow much but when I start maximizing the window, then go back to 100% zoom, then maximize again, then go back to 100% ... the usage keeps growing and growing.

I created a (huge!) log if it helps:
1. open at 100%, wait for RAM to stabilize
2. maximize, then go 100% again
3. wait for RAM to stabilize
4. maximize, then go 100% again
5. wait for RAM to stabilize
...
http://217.160.126.132/madVR_mem_leak_log.7z
At the end of the 2.5 minute 480p video MPC-HC was at 1.5 GB RAM.
Strange. I've checked my code and on a quick check I can't find anything that would explain a difference in RAM consumption between v0.88.9 and v0.88.10. Are you using XySubFilter? If so, can you check whether the same problem occurs with the MPC-HC internal subtitle renderer?

sneaker_ger
16th October 2015, 19:25
Yesterday I had the problem using ISR, I turned it off and played a video without subtitles to rule that out today. (I do have XySubFilter 746 installed, though.)

kasper93
16th October 2015, 19:26
Could you tell what problems you had with ISR, thanks.

sneaker_ger
16th October 2015, 19:27
What I meant: the problem happens with and without ISR, i.e. ISR is not the problem.

kasper93
16th October 2015, 19:31
Oh, ok. I though you had different issue with ISR and you disabled it. :)

tahaa7
16th October 2015, 19:35
I just noticed something interesting: when I watch a video in MPC-HC in windowed (non-Exclusive) mode, madvr seems not to be using GPU acceleration, and the CPU usage is 90-100%, while the GPU is at 10% or less. This of course reflects itself in video stuttering. However, when I switch to fullscreen exclusive mode and monitor CPU and GPU usage, it then becomes more like 50-50.

Is there a specific reason for that? Is that expected behaviour?

madshi
16th October 2015, 19:38
Yesterday I had the problem using ISR, I turned it off and played a video without subtitles to rule that out today. (I do have XySubFilter 746 installed, though.)
And you can 100% reproduce the problem with v0.89.11, but not at all with v0.89.9, without using XySubFilter, is that correct?

I just noticed something interesting: when I watch a video in MPC-HC in windowed (non-Exclusive) mode, madvr seems not to be using GPU acceleration, and the CPU usage is 90-100%, while the GPU is at 10% or less. This of course reflects itself in video stuttering. However, when I switch to fullscreen exclusive mode and monitor CPU and GPU usage, it then becomes more like 50-50.

Is there a specific reason for that? Is that expected behaviour?
Sounds strange. Has that always been that way? Or is it a new problem? Are you using software decoding or copyback or native hardware decoding? What GPU? OS? This is not an Optimus system, is it?

sneaker_ger
16th October 2015, 19:47
And you can 100% reproduce the problem with v0.89.11, but not at all with v0.89.9, without using XySubFilter, is that correct?
Correct. (video has no subtitles to begin with, ISR is off, I even uninstalled XySubFilter to make sure just now)

I'm not using Aero. (In case it makes a difference)

Knight77
16th October 2015, 19:47
I can't help you with that (I'm not a C++ dev :( ), but you can ask the MPC-HC/BE dev teams, I think they are smart enough for that :)


I'm against it at its current state, I made couple of screenshots around 1-2 week(s) ago, where you could easily see the unwanted modifications on the picture by it.
Are you suggesting to do not use Superres in chroma upscaling? Just to understand. What about image refinement in case of image not upscaled (I.e. 1080p>1080p)? Which refinement do you suggest ?

Sent from my XT1095 using Tapatalk

Arm3nian
16th October 2015, 19:50
You probably have not updated XySubFilter to build 745 yet, have you?

Na, that was on 745. I also noticed with double lined subs, when the video frame is set to normal on a larger resolution screen (1080 on 4k), one line is on the edge on the bottom of the video frame instead of inside, and one is in the black bars. Looks a bit weird.

madshi
16th October 2015, 19:59
Correct. (video has no subtitles to begin with, ISR is off, I even uninstalled XySubFilter to make sure just now)

I'm not using Aero. (In case it makes a difference)
I've tried to reproduce it here. I've reset madVR to default settings. Then I've played a NTSC DVD with DXVA deinterlacing and software decoding, switching back and forth between windowed and fullscreen playback (both FSE and windowed maximized). RAM consumption seems to be stable here. We're talking CPU RAM, not GPU RAM, right? Can you also try with default madVR settings and a DVD, so we do the same tests? If you can't reproduce the problem that way, either, could you please find out where the difference is between a setup that produces the problem and a setup which doesn't?

At first the move subtitles wasn't working for me. Then it started to work. But it messes up when scrubbing through the video. With my .ASS sample it starts at the bottom if I have it selected, but if I scrub a bit then it goes higher up.
What exactly do you mean with "scrub"? It's not a term I'm familiar with in the context of video playback. Which subtitle move setting do you have selected? Can I have a sample of the video you have this problem with, and step-by-step guide to reproduce the problem with that sample?

dansrfe
16th October 2015, 20:08
Screenshot and sample, please! :)

Vobsub problem sample cut:
http://expirebox.com/download/556b09503c5358055a1f823043bca9e3.html

Can't get the screenshot with the subtitles in FSE/overlay/windowed.

sneaker_ger
16th October 2015, 20:11
We're talking CPU RAM, not GPU RAM, right?
Correct.

Can you also try with default madVR settings and a DVD, so we do the same tests?
I don't have any NTSC DVD at hand.
I used that sample:
wget -U quicktime http://movietrailers.apple.com/movies/paramount/missionimpossibleroguenation/missionimpossibleroguenation-tlr2_h480p.mov
(I can upload it somewhere if you don't have wget)

madshi
16th October 2015, 20:27
Vobsub problem sample cut:
http://expirebox.com/download/556b09503c5358055a1f823043bca9e3.html

Can't get the screenshot with the subtitles in FSE/overlay/windowed.
What should I see with that sample? It seems to work fine here, either with or without "move subtitles" enabled.

I don't have any NTSC DVD at hand.
I used that sample:
wget -U quicktime http://movietrailers.apple.com/movies/paramount/missionimpossibleroguenation/missionimpossibleroguenation-tlr2_h480p.mov
(I can upload it somewhere if you don't have wget)
Have you tried with madVR reset to default settings? Are we talking about CPU RAM or GPU RAM? How are you measuring RAM consumption? And which RAM consumption numbers do you get with v0.89.9 and v0.89.11? Thanks!

Arm3nian
16th October 2015, 20:29
What exactly do you mean with "scrub"? It's not a term I'm familiar with in the context of video playback. Which subtitle move setting do you have selected? Can I have a sample of the video you have this problem with, and step-by-step guide to reproduce the problem with that sample?

I mean jumping to different parts of the video. Remember the crash involving smooth motion? Like that.

The anime I tested with is 1080 with no black bars, so it takes up the full screen when upscaled to 4k, I guess a 1080 screen with a 1080 source would also work. When I have "to the bottom of the screen/window" selected and I start the video, the subtitles start on the very bottom as expected. But if I jump around, the subtitles move north, and end up where the subtitles would be if I had selected "into active video area". So I guess you could say the first option in 'move subtitles' doesn't work correctly.

sneaker_ger
16th October 2015, 21:06
Have you tried with madVR reset to default settings?
Yes. (But as I said I don't use Aero, which means "Old Path" windowed mode)

Are we talking about CPU RAM or GPU RAM?
CPU RAM

How are you measuring RAM consumption?
Looking at the MPC-HC process in the Windows Task Manager.

And which RAM consumption numbers do you get with v0.89.9 and v0.89.11? Thanks!
0.89.9: at start goes to 330k and stays about there no matter what I do
0.89.11: at start goes to 330k, then after first max.->min. to 580k, 2nd max.->min. to 820k and just keeps on growing with roughly that speed to 1G, 2G...

aufkrawall
16th October 2015, 22:00
Could someone please do me a favor and post a profile rule which activates a profile via a certain scalingFactor.x/y value?

ashlar42
16th October 2015, 23:08
You're not saying strength 4 is faster than strength 3, are you? It's not supposed to be that way, if that's what you're saying.

Yes, the performance optimization mostly benefits high strength settings. The previous madVR build got very slow when using high strength. The latest build should still lose some performance when turning up strength, but far less.
No, I'm saying that going from 3 to 4 previously absolutely killed performance, while now is far more affordable. Good job! :)

Arm3nian
17th October 2015, 00:23
Could someone please do me a favor and post a profile rule which activates a profile via a certain scalingFactor.x/y value?
What do you want the rule to do?
I'm guessing generally you would want something like this:
if (scalingFactor.x >= 1.2) and (scalingFactor.y >= 1.2) "Profile 1"
else "Profile 2"

agustin9
17th October 2015, 01:21
The subtitle margin changes with scale using XySubFilter, not with the internal mpc engine.

Example:
http://oi60.tinypic.com/2moz15l.jpg
http://oi62.tinypic.com/2e3sx9v.jpg

I'm using madvr 0.89.11 and XySubFilter 3.1.0.746...
Thanks!

baii
17th October 2015, 01:32
What do you want the rule to do?
I'm guessing generally you would want something like this:
if (scalingFactor.x >= 1.2) and (scalingFactor.y >= 1.2) "Profile 1"
else "Profile 2"

Could someone please do me a favor and post a profile rule which activates a profile via a certain scalingFactor.x/y value?
The scaling factor rule don't work properly last I tried.

Sent from my SM-T700 using Tapatalk

Arm3nian
17th October 2015, 01:38
The scaling factor rule don't work properly last I tried.

Sent from my SM-T700 using Tapatalk

Worked fine for me. Most likely an error in your script. There's a little green check mark that comes up when it thinks everything is correct.

zvans18
17th October 2015, 02:08
i actually do have a problem i can't seem to resolve on my own: for a few releases automatic refresh rate changing hasn't worked. it's not a big deal as the only thing it helps with is 25 fps (i have 50, 60, and 66 profiles in nvidia settings) which i don't watch often. all that happens is occasionally the screen will flicker after player close, if it happens at all

doesn't matter if i use dx9 or 11, fse or not, switch on playback start or fullscreen

win 8.1, gtx 970, 358.50 drivers, MPC-BE x64 1.4.5 787, madvr 89.11, lav 66

i don't want to nuke madvr settings because of how many profiles i have, but will if it's the only fix, i've been overwrite installing madvr since somewhere in late 87.x (whatever the first KCP x64 used)

followup question: what's a good rule of thumb for fresh installing, other than 'when weird stuff starts happening'?

AngelGraves13
17th October 2015, 02:40
I switched to the internal subtitle renderer in MPC-BE and all problems are gone.