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

aufkrawall
23rd March 2016, 14:38
This sounds like an issue which is out of my control. If the problem goes away as soon as an UI element is visible then the chance is rather low that it could be my fault, because (unless you're using FSE) madVR neither cares nor even knows whether an UI element is visible or not.

Do you have the same problem in FSE mode? Have you tried totally closing Afterburner (and any other GPU related tools)?

I tested again and it was still Afterburner. Situation was a bit different, this time FSE works without drops and it seems like it was important that Afterburner was never already started once during the Windows session.
So, FSE works for me. Hope it remains that way.

huhn
23rd March 2016, 15:06
is it normal that super XBR can be really slow depending on the scene?

i'm talking about 50 % GPU to ~95% (dropping frames) reproduce able. the bus interface is spiking at the same time from 2-8 % to 22-60%.

and it looks like Vram usage is a lot higher too with that version or not stable. i'm not sure yet. even with a render queue of 4 i'm kind of capped.

what so ever i have huge troubles with 90.16.

Werewolfy
23rd March 2016, 15:10
I don't really know why Reclock would effect frame drops, especially when using forced film mode. You could try create a debug log, then I can have a look for which exact reason the frames were dropped. Remind me: The OSD does list the frame drops, right? If it doesn't, the debug log won't help.

I don't know why the queues don't fill. That's a question you'd have to ask the decoder developer (not sure if it's nevcairiel in your case?). Maybe the DVD Navigator somehow limits this? I've no idea, I believe it's totally outside of my control.

Yes the OSD does list the frame drops. I will create a debug log this week end.

I use LAV Filters so yes I will ask nevcairiel.

madshi
23rd March 2016, 15:10
is it normal that super XBR can be really slow depending on the scene?

i'm talking about 50 % GPU to ~95% (dropping frames) reproduce able. the bus interface is spiking at the same time from 2-8 % to 22-60%.

and it looks like Vram usage is a lot higher too with that version or not stable. i'm not sure yet. even with a render queue of 4 i'm kind of capped.

what so ever i have huge troubles with 90.16.
No that's not normal. I see no reason why super-xbr should depend on the scene. Are you sure it's not something else, like e.g. black bar detection? Although that would affect CPU, not GPU. If there really is a problem, I'll need more information. E.g. does it work if you restore default settings (other than super-xbr)? And if you go back to v0.90.15 the problem totally goes away?

Are you saying v0.90.16 is wasting GPU RAM, maybe even leaking it? How do v0.90.15 and v0.90.16 compare in that area?

nevcairiel
23rd March 2016, 15:12
I use LAV Filters so yes I will ask nevcairiel.

LAV really has no influence on this. It just decodes frames it gets from the source and sends them onwards. DVD decoding is already optimized for latency because the DVD Navigator is known to bug out when the latency is too high - which is what might simply be happening here.
To further reduce latency, I would recommend to use software decoding in LAV Video for DVDs, its only SD MPEG-2, any recent CPU laughs at that, and it reduces latency a bit.

madshi
23rd March 2016, 15:13
LAV really has no influence on this. It just decodes frames it gets from the source and sends them onwards. DVD decoding is already optimized for latency because the DVD Navigator is known to bug out when the latency is too high - which is what might simply be happening here.
So the LAV Splitter is not involved at all here? The DVD Navigator does all the work? Can you provide a bit more information on your experience with latency being a problem? Could that explain why Werewolfy has problems when letting Reclock change 25fps to 24fps?

nevcairiel
23rd March 2016, 15:17
So the LAV Splitter is not involved at all here? The DVD Navigator does all the work? Can you provide a bit more information on your experience with latency being a problem? Could that explain why Werewolfy has problems when letting Reclock change 25fps to 24fps?

Yes, the DVD Navigator does all the work. And it is limited in how far it allows to "desync" the video/audio streams, ie. how many video frames you can pull out of it before it waits for audio to also be consumed.

In short, it won't let you queue up as many frames as you want, so the decode queue running low is not necessarily unexpected if the frames get drained instantly into all the other queues and you hit the limit from the DVD Navigator then.

GCRaistlin
23rd March 2016, 15:18
Could you please download the PDB debug symbols for LAV and MPC-HC and create another freeze report with those "installed" (just need to be in the right folder)?

I've updated the freeze report: http://pastebin.com/LRxRi0Mu

James Freeman
23rd March 2016, 15:20
Thank you for the new build.

Wow, the anti-bloating thing is great!
Basically a high-pass filter before the Sharpening algorithm right? Isn't something similar is already part of these sharpening algorithms, or you just let us play with the value inside the algorithm?
To me it looks much closer to how my eye would see detail in reality once I find the right % value.

With 1080p content I like AdaptiveSharpen at 1.0-1.5 with anti-bloating 75% to 100%.
It reveals the net under the actors wigs, skin pores, bad shave and much more fine detail we probably not intended to see.

bcec
23rd March 2016, 15:22
some questions just so I make sure I understand these right:
1) What's the difference between processing > image enhancements, vs upscaling refinement? first applying non-upscaled image, and latter applying upscaled image? If both are set, two sets of image enhancements/refinement done?
2) For upscale refinements, is it preferred to refine after every 2x, or the final image?

cheers!

Werewolfy
23rd March 2016, 15:22
LAV really has no influence on this. It just decodes frames it gets from the source and sends them onwards. DVD decoding is already optimized for latency because the DVD Navigator is known to bug out when the latency is too high - which is what might simply be happening here.
To further reduce latency, I would recommend to use software decoding in LAV Video for DVDs, its only SD MPEG-2, any recent CPU laughs at that, and it reduces latency a bit.

Thanks for responding before I had the time to ask :)

The problem is I already use software decoding and experience these issues... But you're right with hardware decoding it's worse.

Yes, the DVD Navigator does all the work. And it is limited in how far it allows to "desync" the video/audio streams, ie. how many video frames you can pull out of it before it waits for audio to also be consumed.

In short, it won't let you queue up as many frames as you want, so the decode queue running low is not necessarily unexpected if the frames get drained instantly into all the other queues and you hit the limit from the DVD Navigator then.

So now I know why it does that... But it seems that there's no solution :(

nevcairiel
23rd March 2016, 15:26
So now I know why it does that... But it seems that there's no solution :(

In the test videos you once uploaded a while ago, you used extremely long queues (24 GPU, 15 present), which would of course contribute to this problem. I haven't really followed what your latest settings might have been, but alas for DVD the best course is to work with the smallest queues as possible in all areas to avoid tripping this limitation in the DVD Navigator.

huhn
23rd March 2016, 15:27
No that's not normal. I see no reason why super-xbr should depend on the scene. Are you sure it's not something else, like e.g. black bar detection? Although that would affect CPU, not GPU. If there really is a problem, I'll need more information. E.g. does it work if you restore default settings (other than super-xbr)? And if you go back to v0.90.15 the problem totally goes away?

Are you saying v0.90.16 is wasting GPU RAM, maybe even leaking it? How do v0.90.15 and v0.90.16 compare in that area?

i'm looking into that. i simply wanted to know if the change to super xBR is taking extra resources.

90.15 was working. even with a render queue of 6.

looks like it is 3d LUT related. i don't get rendering spike without it. but a 3D LUT should always take the same processing power with CFR content.

i come back later with more information.

Werewolfy
23rd March 2016, 15:34
In the test videos you once uploaded a while ago, you used extremely long queues (24 GPU, 15 present), which would of course contribute to this problem. I haven't really followed what your latest settings might have been, but alas for DVD the best course is to work with the smallest queues as possible in all areas to avoid tripping this limitation in the DVD Navigator.

I only used those long queues for my tests. The best settings I found was 23 CPU, 14 GPU and 6 present so I will stick with that for DVD.

Thanks for providing me those details.

XMonarchY
23rd March 2016, 15:34
I am having a problem playing many video games' BK2 files (BIK files). I know Bink Smacker RAD Video Tools play them, but without all the benefits of madVR. Some do load in MPC-HC and play just fine, but most either don't load at all or load only the sound.

Is this:
- madVR issue/limitation?
- LAV Filters issue/limitation? I am using the very latest 0.68
- MPC-HC issue/limitation?

Is there anything I can do to make all the BK2 files work with MPC-HC, LAV Filters, ReClock, and madVR? I am sorry if this is the wrong thread to ask this. I don't know where the problem is...

sneaker_ger
23rd March 2016, 15:37
Is this:
- madVR issue/limitation?
Set renderer to something else (e.g. EVR) and find out. It's not rocket science.

nevcairiel
23rd March 2016, 15:41
Is there anything I can do to make all the BK2 files work with MPC-HC, LAV Filters, ReClock, and madVR? I am sorry if this is the wrong thread to ask this. I don't know where the problem is...

Bink Video 2 is not supported by LAV/FFmpeg, so if its a new-ish bink file, you are out of luck.

clsid
23rd March 2016, 15:42
The Bink formats are simply just partially supported by FFmpeg (which LAV uses). Nothing you can do about it.

aufkrawall
23rd March 2016, 16:14
I tested again and it was still Afterburner. Situation was a bit different, this time FSE works without drops and it seems like it was important that Afterburner was never already started once during the Windows session.
So, FSE works for me. Hope it remains that way.
As if it wasn't already confusing enough:
Even in FSE, I'm getting one dropped frame after 5 minutes of watching. So I disabled DXVA2 copyback in LAV to see if it makes any difference, and indeed: Now queues also get filled properly in windowed fullscreen and I can watch more than 5 minutes without any issues so far. However, still low level monitoring with driver must be used in Afterburner.
Hope they fix this at some point in the drivers with new GPUs (got the same problem with Sapphire Trixx OC tool instead of Afterburner) or else one might need to use an external GPU (e.g. of APU) for decoding if one wants to use voltage control or custom fan curve with HEVC 10 bit content.

madshi
23rd March 2016, 16:15
Yes, the DVD Navigator does all the work. And it is limited in how far it allows to "desync" the video/audio streams, ie. how many video frames you can pull out of it before it waits for audio to also be consumed.

In short, it won't let you queue up as many frames as you want, so the decode queue running low is not necessarily unexpected if the frames get drained instantly into all the other queues and you hit the limit from the DVD Navigator then.
Ah, I see, thanks. And I suppose we could run into some sort of weird trouble if the "desync" gets too much for the navigator to handle, so it's probably best to try to avoid reaching that special navigator threshold?

I've updated the freeze report: http://pastebin.com/LRxRi0Mu
Ok. It seems the Microsoft DVD Navigator internally freezes when MPC-HC and madVR try to ask it for information at the same time from within different threads. This looks like a deadlock bug inside of the DVD Navigator.

Maybe it's time to upgrade to a decent media player OS? Windows XP is *really* outdated by now. I've not had any such freeze reports from anyone using Windows 7 or newer. I'd suggest to upgrade to Windows 8.1.

Or maybe there's a way to get a newer version of the DVD Navigator installed on your XP? E.g. according to the bug report you're still on SP3. Have you tried updating to SP6? Maybe a new DVD Navigator version is part of SP4-6? I've no idea, to be honest.

In any case, it seems out of my control. Short of not contacting the DVD Navigator *at all*, I don't see what I could do. And if I don't contact the DVD Navigator at all, several madVR features would stop working (e.g. a proper FSE seekbar for DVD playback).

Wow, the anti-bloating thing is great!
Basically a high-pass filter before the Sharpening algorithm right? Isn't something similar is already part of these sharpening algorithms, or you just let us play with the value inside the algorithm?
To me it looks much closer to how my eye would see detail in reality once I find the right % value.

With 1080p content I like AdaptiveSharpen at 1.0-1.5 with anti-bloating 75% to 100%.
It reveals the net under the actors wigs, skin pores, bad shave and much more fine detail we probably not intended to see.
I'm glad you like it. FWIW, if you like AdaptiveSharpen with 100% anti-bloating, have you tried "crispen edges" yet? It should look quite similar to that, without even needing the anti-bloating filter.

And no, LumaSharpen or AdaptiveSharpen don't have any such anti-bloating included, that's why I'm making it available externally.

first applying non-upscaled image, and latter applying upscaled image? If both are set, two sets of image enhancements/refinement done?
Correct.

For upscale refinements, is it preferred to refine after every 2x, or the final image?
There's only a difference if you enlarge much more than 2x. In that case refining after every 2x step might make more sense, because sharpening isn't as effective after one very large upscaling step, but of course sharpening after every 2x step is more work for the GPU, so you need a faster GPU, or you need to downgrade the algorithms you're using.

i'm looking into that. i simply wanted to know if the change to super xBR is taking extra resources.

90.15 was working. even with a render queue of 6.

looks like it is 3d LUT related. i don't get rendering spike without it. but a 3D LUT should always take the same processing power with CFR content.
It may vary with the scene because if the scene has "unusual" colors, that part of the 3D LUT might not be in the texture cache. A lot depends on how the GPU driver handles the 3D LUT, how much of it is in the texture cache etc. Will depend on GPU texture cache size, driver version etc. But the last time a user reported a problem like this was a LOOONG time ago. I had thought issues like this had been a thing of the past. In any case, there's probably not much I can do about it, except maybe allowing smaller 3D LUTs to be used.

GCRaistlin
23rd March 2016, 16:29
In any case, it seems out of my control.

But madVR versions prior to 0.90.4 almost haven't had this issue...

huhn
23rd March 2016, 16:37
It may vary with the scene because if the scene has "unusual" colors, that part of the 3D LUT might not be in the texture cache. A lot depends on how the GPU driver handles the 3D LUT, how much of it is in the texture cache etc. Will depend on GPU texture cache size, driver version etc. But the last time a user reported a problem like this was a LOOONG time ago. I had thought issues like this had been a thing of the past. In any case, there's probably not much I can do about it, except maybe allowing smaller 3D LUTs to be used.

i'm talking about 100 % more GPU usage.

but if the GPU is handling this i guess life suxxs.

edit:
here a screen showing the changing GPU usage :GPU usage (http://abload.de/img/gpuusageawsg9.png)

the GPU Vram issue comes from changing settings even with 90.15. for some reason it is not 100% freed up again.
so the main issue comes from the file with the unusual colors.

leeperry
23rd March 2016, 16:49
using 115% fonts in W7SP1 I can't read the new antibloat thingie: http://thumbnails114.imagebam.com/47336/dc22e0473354680.jpg (http://www.imagebam.com/image/dc22e0473354680)

hopefully there isn't any further suboption underneath?

all those new suboptions are pretty subtle so it might take a while to test them all and some videos might benefit from a softer AR and others not, I would agree that SR doesn't ring to begin with but I'll try them all anyway :devil:

baii
23rd March 2016, 19:33
As if it wasn't already confusing enough:
Even in FSE, I'm getting one dropped frame after 5 minutes of watching. So I disabled DXVA2 copyback in LAV to see if it makes any difference, and indeed: Now queues also get filled properly in windowed fullscreen and I can watch more than 5 minutes without any issues so far. However, still low level monitoring with driver must be used in Afterburner.
Hope they fix this at some point in the drivers with new GPUs (got the same problem with Sapphire Trixx OC tool instead of Afterburner) or else one might need to use an external GPU (e.g. of APU) for decoding if one wants to use voltage control or custom fan curve with HEVC 10 bit content.
I don't really have that problem with afterburner running, I did not touch the low level w.e setting though. Maybe try speedfan or older driver.
Personally I don't have any positive experience with any of the crimson drivers.



i'm talking about 100 % more GPU usage.

but if the GPU is handling this i guess life suxxs.

edit:
here a screen showing the changing GPU usage :GPU usage (http://abload.de/img/gpuusageawsg9.png)

the GPU Vram issue comes from changing settings even with 90.15. for some reason it is not 100% freed up again.
so the main issue comes from the file with the unusual colors.

I often run madvr on the edge of my GPU performance so i am curious in this as well. For 1080i60 I can have one scene spike to 17-20+ms render time when the whole clip avg take about 13-14ms.
This typically happen for me is TV broadcast, a 1080i60 blu ray would not have such problem. Does the bit rate matter? But that doesn't sound vright? Since it is still same number of pixels.
Sent from my 306SH

AngelGraves13
23rd March 2016, 19:35
Bug report for 0.90.16

* chroma and image upscaling: activate anti-ringing filter is always set to "relaxed." Changing it has no effect as it always reverts to "relaxed" from "strict (soft)." Because of this, I am unable to test the benefits of the "strict (soft)" setting.

vivan
23rd March 2016, 19:37
I've just upgraded from v0.89.x and now I'm getting occasional (~1 in 20-50 randomly opened files) crashes at startup (when opening new file in mpc-hc, but never happened when opening next file). It seems that this issue was introduced in v0.90.0 (0.89.19 doesn't crash while v0.90.0 does).
It happens randomly, and it doesn't seem to favor any specific files.

I don't get neither madVR or mpc-hc crash reporter, but maybe because I have visual studio installed (instead? windows asks me if I want to debug with it). Log is empty too (it does write it normally when it doesn't crash).
Switching to last stable mpc-hc, software decoding and restoring default settings didn't help.

I do have dumps, but those are saved using VS and are bigger than minidumps: 1 (https://dl.dropboxusercontent.com/u/16254258/d9/madvr/mpc-hc64.7z), 2 (https://dl.dropboxusercontent.com/u/16254258/d9/madvr/mpc-hc64_2.7z) (madVR v0.90.16 and mpc-hc v1.7.10 stable).

madshi
23rd March 2016, 19:43
But madVR versions prior to 0.90.4 almost haven't had this issue...
That may be the case, but the changes I did had their purpose, and I don't like spending hours and hours trying to analyze something which only seems to affect one Windows XP user, who is 3 service packs behind. Please at least try if SP6 fixes the issue, before I dump any more of my time on this.

i'm talking about 100 % more GPU usage.

but if the GPU is handling this i guess life suxxs.

edit:
here a screen showing the changing GPU usage :GPU usage (http://abload.de/img/gpuusageawsg9.png)

the GPU Vram issue comes from changing settings even with 90.15. for some reason it is not 100% freed up again.
so the main issue comes from the file with the unusual colors.
So no 90.16 specific bug? If it's a general bug, that's useful to analyze, too, of course, but right now I'm mostly worried about new bugs introduced by 90.16.

using 115% fonts in W7SP1 I can't read the new antibloat thingie
Ok, not nice, but as mentioned in the release notes, many of these features are considered experimental and might go again already in the next build, depending on feedback. So I didn't feel like redesigning the whole settings page, just to make space for a new experimental option.

hopefully there isn't any further suboption underneath?
No.

all those new suboptions are pretty subtile so it might take a while to test them all and some videos might benefit from a softer AR and others not, I would agree that SR doesn't ring to begin with but I'll try them all anyway :devil:
Anti-bloating should be quite obvious, at least for sharpening and SSIM, when using strong sharpening and SSIM strengths. E.g. try increasing SSIM strength to 100% and then using the Anti-Bloating filter with 100% on top of that. You might like the result, and it's anything but subtitle in that configuration.

Bug report for 0.90.16

* chroma and image upscaling: activate anti-ringing filter is always set to "relaxed." Changing it has no effect as it always reverts to "relaxed" from "strict (soft)." Because of this, I am unable to test the benefits of the "strict (soft)" setting.
Already reported *and* replied to, just a few posts ago. This "relaxed" vs "strict" setting was never meant for chroma and image upscaling, so it doesn't matter that it doesn't work there. It's only meant for image downscaling. And there is works. So it's not a real bug, just a cosmetical issue.

madshi
23rd March 2016, 19:46
I've just upgraded from v0.89.x and now I'm getting occasional (~1 in 20-50 randomly opened files) crashes at startup (when opening new file in mpc-hc, but never happened when opening next file). It seems that this issue was introduced in v0.90.0 (0.89.19 doesn't crash while v0.90.0 does).
It happens randomly, and it doesn't seem to favor any specific files.

I don't get neither madVR or mpc-hc crash reporter, but maybe because I have visual studio installed (instead? windows asks me if I want to debug with it). Log is empty too (it does write it normally when it doesn't crash).
Switching to last stable mpc-hc, software decoding and restoring default settings didn't help.

I do have dumps, but those are saved using VS and are bigger than minidumps: 1 (https://dl.dropboxusercontent.com/u/16254258/d9/madvr/mpc-hc64.7z), 2 (https://dl.dropboxusercontent.com/u/16254258/d9/madvr/mpc-hc64_2.7z) (madVR v0.90.16 and mpc-hc v1.7.10 stable).
Ouch. Can you say that this was *definitely* introduced in exactly 0.90.0 and didn't happen yet in 0.89.19? If so, I could build a couple intermediate builds between 0.89.19 and 0.90.0 to isolate the change which is responsible for the crash.

Ver Greeneyes
23rd March 2016, 21:15
That may be the case, but the changes I did had their purpose, and I don't like spending hours and hours trying to analyze something which only seems to affect one Windows XP user, who is 3 service packs behind. Please at least try if SP6 fixes the issue, before I dump any more of my time on this.
Uh, madshi, Service Pack 3 was the last service pack for Windows XP (as can be seen in the MSDN downloads (https://msdn.microsoft.com/en-us/subscriptions/downloads/#searchTerm=Windows%20XP&ProductFamilyId=0&Languages=en&Architectures=x86&ProductFamilyIds=140&FileExtensions=.iso&PageSize=10&PageIndex=0&FileId=0)). There were of course many individual updates released afterward, but I don't know where you're getting 3 additional service packs from.

CarlosCaco
23rd March 2016, 21:16
thanks madshi for the new features
its a lot of features to test, take some time to say something about...
i sugest to a future version a debug mode similar to the debug mode from avisynth unsharp mask HQ that turns the movie green and you can fine tune the sharpen seeing the dark areas (flat) and light areas and lines that are sharpened, you can cleary see ringin, noise etc...
its good mode to fine tune all features with the algorithms
think about that
thanks for the efforts

madshi
23rd March 2016, 21:35
Uh, madshi, Service Pack 3 was the last service pack for Windows XP
Ooops. It was NT which had 6 SPs. I wasn't sure, so I had googled and found some hits for XP SP6, so I thought it existed. Sorry for the confusion... :o

khanmein
24th March 2016, 08:52
DXVA2-CB/native + HEVC + GTX 970 is not working well when playing h.265 .mkv during i tried to drag the seek-bar.

i tested NV CUVID is way more smoother.

Dreamland
24th March 2016, 09:54
anti-bloating is GREAT!!

great work!

ryrynz
24th March 2016, 10:11
madshi you said you were aware of the device profile problems with it only entering one thing at a time, will that be fixed up next version?

omarank
24th March 2016, 11:54
Here are the most important areas of FEEDBACK I need:

a) Do you consider the "anti-bloating" filter useful for sharpening (LumaSharpen + AdaptiveSharpen)? If so, which strength settings do you like?
Yes, at 75% strength setting. Actually I don’t use either of the two sharpeners, so I don’t have a strong preference here.

b) Do you consider the anti-bloating and anti-ringing options useful for SuperRes? I think anti-bloating might not be beneficial here, but I'd like to hear your opinion. Do you see any benefit in the anti-ringing option? SuperRes already didn't ring that much, so I wonder if the separate anti-ringing post processing option is worthwhile in your opinion or not?
I like the anti-ringing enabled and the anti-bloating disabled for SuperRes. I would prefer that the anti-ringing option stays.

c) Do you consider the "anti-bloating" filter useful for SSIM downscaling? If so, which strength settings do you like?
No. It tends to take away that “SSIM” look from the image.

d) Which of the two anti-ringing options do you prefer for downscaling? (Edit: FYI, these options do *not* affect SSIM downscaling)
Strict (soft). Now I am a bit confused between Jinc Strict AR LL and SSIM 1D 25% AR LL. The crisp image of the latter is very impressive but I also very much like the analog look of the former.

Hyllian
24th March 2016, 12:05
Hi, madshi, congrats for the new version. Is there any theory behind what anti-bloating does? I have some difficult to understand what's its purpose.

chros
24th March 2016, 12:23
It may vary with the scene because if the scene has "unusual" colors, that part of the 3D LUT might not be in the texture cache. A lot depends on how the GPU driver handles the 3D LUT, how much of it is in the texture cache etc. Will depend on GPU texture cache size, driver version etc. But the last time a user reported a problem like this was a LOOONG time ago. I had thought issues like this had been a thing of the past. In any case, there's probably not much I can do about it, except maybe allowing smaller 3D LUTs to be used.
Thanks for the info, I haven't known this.
i'm looking into that. i simply wanted to know if the change to super xBR is taking extra resources.

90.15 was working. even with a render queue of 6.

looks like it is 3d LUT related. i don't get rendering spike without it. but a 3D LUT should always take the same processing power with CFR content.

I often run madvr on the edge of my GPU performance so i am curious in this as well. For 1080i60 I can have one scene spike to 17-20+ms render time when the whole clip avg take about 13-14ms.
This typically happen for me is TV broadcast, a 1080i60 blu ray would not have such problem. Does the bit rate matter? But that doesn't sound vright? Since it is still same number of pixels.

I can also check this tomorrow, but for that: can you upload a 1-2 minute sample (that includes both good and bad part of the video) to some host to be able to replicate the problem? (You can cut it out with mkvtoolnix.)

madshi
24th March 2016, 12:48
DXVA2-CB/native + HEVC + GTX 970 is not working well when playing h.265 .mkv during i tried to drag the seek-bar.

i tested NV CUVID is way more smoother.
This sounds like a decoder specific topic, which doesn't belong into this thread.

anti-bloating is GREAT!!
Glad you like it! Are you talking about sharpening, though? Or about SSIM downscaling? Or SuperRes?

madshi you said you were aware of the device profile problems with it only entering one thing at a time, will that be fixed up next version?
I'm not 100% sure what you mean right now.

Yes, at 75% strength setting. Actually I don’t use either of the two sharpeners, so I don’t have a strong preference here.

I like the anti-ringing enabled and the anti-bloating disabled for SuperRes. I would prefer that the anti-ringing option stays.

No. It tends to take away that “SSIM” look from the image.

Strict (soft). Now I am a bit confused between Jinc Strict AR LL and SSIM 1D 25% AR LL. The crisp image of the latter is very impressive but I also very much like the analog look of the former.
Thanks!

FWIW, instead of SSIM 1D 25% without Anti-Bloating try combining SSIM 1D 100% with 50% or 75% Anti-Bloating. Try downscaling a sharp high-quality high-res foto to a *much* smaller resolution, e.g. 4x or 8x downscaling factor. It may change your mind.

Hi, madshi, congrats for the new version. Is there any theory behind what anti-bloating does? I have some difficult to understand what's its purpose.
Images say more than words. So here are a couple of comparison screenshots, showing what Anti-Bloating does when used with AdaptiveSharpen:

original (http://madshi.net/madVR/AS_AB/originalFrame.png) - | - no sharpening (http://madshi.net/madVR/AS_AB/withoutAnySharpening.png) - | - AdaptiveSharpen 1.5 (http://madshi.net/madVR/AS_AB/AS15.png) - | - AS 3.0 applied in 2x supersampling (http://madshi.net/madVR/AS_AB/SS_AS30.png) - | - AS 1.5 + Anti-Bloating 50% (http://madshi.net/madVR/AS_AB/AS15_AB50.png) - | - AS 1.5 + Anti-Bloating 100% (http://madshi.net/madVR/AS_AB/AS15_AB100.png) - | - AS 0.5 (http://madshi.net/madVR/AS_AB/AS5.png)

Basically if you compare the "no sharpening" with "AdaptiveSharpen 1.5" you should see that the image gets nicely sharpened, but gets a somewhat "bloated" look. Meaning everything looks simply a little bit fat / bloated. This is what you usually get by using unsharp masking. You can lessen this bloated look by using supersampling (upscaling + sharpening + downscaling), which you can see in the "AS 3.0 applied in 2x supersampling" image. Of course that costs a lot of extra GPU performance.

Now have a look at the "AS 1.5 + Anti-Bloating 50% / 100%" images and you should see that the 50% Anti-Bloating filter has a similar effect as using supersampling, at a much lower performance cost. And the 100% image now has nicely "thin" edges and features. The bloated look is totally gone. Now one might wonder whether Anti-Bloating simply reduces the amount of sharpening. But no, that's not the case, which you can double check by comparing the "AS 1.5 + Anti-Bloating 100%" image to the "AS 0.5" image.

ryrynz
24th March 2016, 13:11
I'm not 100% sure what you mean right now.


Another issue, when typing in a profile, group name & rules under devices each key press takes me to color and gamma, so I have to click back on the profile/group name etc after each key press to finish typing.


Yeah, it's on my to do list.




No. It tends to take away that “SSIM” look from the image.


I think I agree with this as well, need to look at some 4k downscaling rather than supersampled video to be sure.

RDJ
24th March 2016, 13:18
Subtitles now shift up instead of dropping off the screen with narrow windows when crop black bars is disabled and move subtitles is enabled.

When black bar detection is enabled but crop black bars is disabled, black bars still get cropped with short windows.

Hyllian
24th March 2016, 13:18
Images say more than words. So here are a couple of comparison screenshots, showing what Anti-Bloating does when used with AdaptiveSharpen:

original (http://madshi.net/madVR/AS_AB/originalFrame.png) - | - no sharpening (http://madshi.net/madVR/AS_AB/withoutAnySharpening.png) - | - AdaptiveSharpen 1.5 (http://madshi.net/madVR/AS_AB/AS15.png) - | - AS 3.0 applied in 2x supersampling (http://madshi.net/madVR/AS_AB/SS_AS30.png) - | - AS 1.5 + Anti-Bloating 50% (http://madshi.net/madVR/AS_AB/AS15_AB50.png) - | - AS 1.5 + Anti-Bloating 100% (http://madshi.net/madVR/AS_AB/AS15_AB100.png) - | - AS 0.5 (http://madshi.net/madVR/AS_AB/AS5.png)




Thanks for the explanation. The effect is very subtle, but noticeable.

Does it only works after sharpening filters? Could it be use after Super-xBR to prevent bloating? Did you test it?

huhn
24th March 2016, 13:56
I can also check this tomorrow, but for that: can you upload a 1-2 minute sample (that includes both good and bad part of the video) to some host to be able to replicate the problem? (You can cut it out with mkvtoolnix.)

i don't see how they are related.

and to reproduce my issue you need to scale to UHD and you need a 3d LUT. maybe even my 3d LUT.

at 1080p there are no spikes what so ever. so it could be to little Vram or something simple like that.

i can make a sample later but that's not that easy. because i get small spikes all the time.

scollaco
24th March 2016, 14:11
I'm a big fan of the anti bloating. It is great!! Currently for 1080p content, I'm using crispen edges 1.0, Lumasharpen 1.0 and both anti bloating and anti ringing checked.

Thanks Madshi!

omarank
24th March 2016, 15:18
FWIW, instead of SSIM 1D 25% without Anti-Bloating try combining SSIM 1D 100% with 50% or 75% Anti-Bloating. Try downscaling a sharp high-quality high-res foto to a *much* smaller resolution, e.g. 4x or 8x downscaling factor. It may change your mind.
I tried but I still have the same opinion as earlier. To my eyes, SSIM doesn’t have any bloating effect and so when anti-bloating is applied it’s thinning effect makes the images look kind of unnatural. Also SSIM has a characteristic look – crisp images with nice defined textures; that look goes away with anti-bloating. Having said that, I very much appreciate all the efforts that you put in providing new algorithms.


Images say more than words. So here are a couple of comparison screenshots, showing what Anti-Bloating does when used with AdaptiveSharpen:

original (http://madshi.net/madVR/AS_AB/originalFrame.png) - | - no sharpening (http://madshi.net/madVR/AS_AB/withoutAnySharpening.png) - | - AdaptiveSharpen 1.5 (http://madshi.net/madVR/AS_AB/AS15.png) - | - AS 3.0 applied in 2x supersampling (http://madshi.net/madVR/AS_AB/SS_AS30.png) - | - AS 1.5 + Anti-Bloating 50% (http://madshi.net/madVR/AS_AB/AS15_AB50.png) - | - AS 1.5 + Anti-Bloating 100% (http://madshi.net/madVR/AS_AB/AS15_AB100.png) - | - AS 0.5 (http://madshi.net/madVR/AS_AB/AS5.png)

Nice to see this comparison. Anti-bloating works very well with sharpening algorithms.

chros
24th March 2016, 15:52
i don't see how they are related.
Madshi said, that it can depend on the scene.
and to reproduce my issue you need to scale to UHD and you need a 3d LUT. maybe even my 3d LUT.

at 1080p there are no spikes what so ever. so it could be to little Vram or something simple like that.
Then I can't test it, I don't have an UHD display :)

huhn
24th March 2016, 16:22
Madshi said, that it can depend on the scene.
but there is no word that he is using a 3D LUT.
Then I can't test it, I don't have an UHD display :)

the more i try to reproduce this the more strange it gets.

XY SUBfilter is amplifying the issue. with it i can get 400% higher GPU usage most likely way more. i saw AVG rendertimes of over 120ms. with using only a 3D LUT it is only up 50-100% higher GPU usages.

even more strange thing is that this is happening even if no subs are displayed or if they are hide. so as long as xy subfilter is loaded with a 3D LUT it is amplifying the issue.

and most strange thing is that XY subfilter without a 3D LUT doesn't really affect performance.

huhn
24th March 2016, 16:50
here a sample with a 3D LUT.
http://www.file-upload.net/download-11420168/3DLUTslowdownissue.7z.html

after loading the 3D LUT you can toggle it with shift+control+3

i can't trigger this issue without using native UHD. zooming in at 1080p doesn't trigger it.

chros
24th March 2016, 17:08
here a sample with a 3D LUT.
http://www.file-upload.net/download-11420168/3DLUTslowdownissue.7z.html

after loading the 3D LUT you can toggle it with shift+control+3

i can't trigger this issue without using native UHD. zooming in at 1080p doesn't trigger it.
OK, I'll try it out tomorrow on my FullHD TV just in case.

aufkrawall
24th March 2016, 17:12
Images say more than words. So here are a couple of comparison screenshots, showing what Anti-Bloating does when used with AdaptiveSharpen:

original (http://madshi.net/madVR/AS_AB/originalFrame.png) - | - no sharpening (http://madshi.net/madVR/AS_AB/withoutAnySharpening.png) - | - AdaptiveSharpen 1.5 (http://madshi.net/madVR/AS_AB/AS15.png) - | - AS 3.0 applied in 2x supersampling (http://madshi.net/madVR/AS_AB/SS_AS30.png) - | - AS 1.5 + Anti-Bloating 50% (http://madshi.net/madVR/AS_AB/AS15_AB50.png) - | - AS 1.5 + Anti-Bloating 100% (http://madshi.net/madVR/AS_AB/AS15_AB100.png) - | - AS 0.5 (http://madshi.net/madVR/AS_AB/AS5.png)

Neat. That bloated look was always what kept me away from using other sharpeners than SuperRes.
However, with just SuperRes alone, Anti-Bloating seems not necessary to me.

XMonarchY
24th March 2016, 17:45
Anti-bloating seems to make downscaling with SSIM 2D 100% look like Catmull-ROM downscaling - softer, losing the very value of SSIM... It does look good when sharpening is applied first.

I'm more interested in whether SuperRes in Image Refinement looks better with new LL + AR settings enabled.