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

madshi
8th November 2013, 17:44
So here's a new test build:

http://madshi.net/madVRdeband10.rar

There are many changes in there:

(1) There's now a new settings dialog version, so you can properly set the debanding strength in the GUI, and you can also "store" it now.
(2) I've got rid of LocalContrast and also NonGradientPenalty (the latter wasn't too useful, I found out after some more testing).
(3) I've renamed "gradient" to "midDif".
(4) There are now 3 presets called "low", "medium" and "high". The "low" preset is what we've decided on together, but with a lower "maxDif" value (suggested by ryrynz), and with a lower "midDif" value, to offset the effects of the removed "nonGradientPenalty". The "medium" preset is a mix of Werewolfy's "mid" and "high" suggestions. And the "high" preset is twice as agressive as "medium". I consider both "low" and "medium" to be suitable default options for all movies out there. The "medium" option is roughly comparable to the default f3kdb() options. I recommend to use "high" only for really bad content.
(5) You can now custom configure all 3 presets (!!). In order to do this, you can define a "debanding custom settings" keyboard shortcut in the settings GUI. When pressed you can use the arrow keys on your keyboard to modify the various debanding parameters. The custom settings are stored in the registry (HKCU). You can switch between custom and default parameters by pressing the keyboard shortcut multiple times. This allows you to quickly compare your own settings to the default settings.
(6) There's a new "trade quality for performance" option to allow you to turn the "angleBoost" check off, because it costs a lot of extra performance.

(7) Last, but not least: I'm now automatically detecting when the movie fades from/to black or white (!!). And you can now in the settings GUI choose a different debanding strength just for such fade in/out situations. I find that very useful myself because I find banding artifacts especially distracting during fades. So I will personally use "high" for fades, and either "low" or "medium" for normal scenes. This new feature currently doesn't work when using native DXVA decoding, because the fade in/out detection is currently performed by the CPU. One more thing: When a fade in/out is detected, madVR goes back and re-renders the last 4 frames to apply higher debanding to them, too. In order for this to work correctly, your GPU queue should be at least 8 frames long. If your GPU is shorter, the feature will still work, but the first few frames of a fade might then be rendered with the default debanding strength instead of the stronger fade in/out debanding strength.

Please double check that everything works as intended. But most importantly: Please check if you're happy with the presets. If you want changes, let me know. Now would be a good time to work on that. Once I've moved on to other things, I'll be less willing to dive into the whole debanding shebang again.

Werewolfy
8th November 2013, 18:22
New build already installed, thanks I can finally store the debanding filter without having to jump on Ctrl+Alt+D to turn it on each time :D

At fist glance, everything seems fine but I will do more tests later.

And thanks a lot for allowing us to customize each presets! I hope you will keep it in the final build. I don't think that I would change the low preset because you already decreased gradient just a bit but it can be useful with the other presets.


Thanks, I appreciate your effort. I do have to say, though, that I'm not convinced that this is a filter worth having. Maybe it looks better in motion, but judging from the screenshots alone the original looks best to me. The others look all "softer". Ok, maybe I'm a noise junkie.


It's true it's a little bit softer but the noise in motion is a lot more distracting than just a little bit softer picture you have to compare side by side to notice it. I agree that it's not a filter I would use all the time but on some videos, it can be really useful.
And maybe when you make your own denoise filter, it will be better than FluxSmooth like your debanding filter is better than the other ones ;)

djfred93
8th November 2013, 21:44
I have a exception message with your latest test build : Access violation at address $4a4983a1 in module 'madVR.ax'. Write of address $1b6d2000.

And the other problem i have since i'm in windows 8 (except with your first deband test build ), i have a black screen (the led backlight turn off then return on) then the image appears but the movie is already started (during the black screen, i can hear the sound of the movie). It's odd because he only occur on my computer screen and not on my TV and just the first time after i start my computer.

My system : windows 8.1, i7 core 920, ati radeon hd 5770, mpc-hc (computer), mpc-be (TV).

madshi
8th November 2013, 22:27
Sorry, the crash was my fault. Is it fixed in this build?

http://madshi.net/madVRdeband11.rar

No idea about the other problem. Might have to do with refresh rate/display mode changing? Don't know...

leeperry
8th November 2013, 22:56
Sorry, the crash was my fault. Is it fixed in this build?

http://madshi.net/madVRdeband11.rar
still crashes for me.

madshi
8th November 2013, 23:02
I've downloaded the latest PotPlayer from Videohelp and tried your sample, but it doesn't crash here. Probably it depends on some settings, or maybe the decoder or something. Can you please show me the crash report from build 11?

djfred93
8th November 2013, 23:16
Sorry, the crash was my fault. Is it fixed in this build?

http://madshi.net/madVRdeband11.rar

No idea about the other problem. Might have to do with refresh rate/display mode changing? Don't know...

I disable refresh rate/display mode changing for this screen.

Still crash : exception message : Access violation at address $4a498516 in module 'madVR.ax'. Write of address $1dab2000.

madshi
8th November 2013, 23:19
@leeperry, that's weird. It seems that for whatever reason the GPU texture address is not aligned to a 16 byte address in your case, which means I have to use different (slower) SSE2 instructions in this situation. I don't understand why this happens. Anyway, should be fixed in this build:

http://madshi.net/madVRdeband12.rar

@djfred93, then I don't know what that is. Might be a GPU driver problem or something. No idea...

leeperry
8th November 2013, 23:20
Fixed for me, you rock! :thanks:

And I never had this problem before today's beta so please don't blame AMD or whatever just yet :p

djfred93
8th November 2013, 23:24
@leeperry, that's weird. It seems that for whatever reason the GPU texture address is not aligned to a 16 byte address in your case, which means I have to use different (slower) SSE2 instructions in this situation. I don't understand why this happens. Anyway, should be fixed in this build:

http://madshi.net/madVRdeband12.rar



Still crash : exception message : Access violation at address $4a4985fb in module 'madVR.ax'. Write of address $1a102000.

madshi
8th November 2013, 23:29
@djfred93, without a crash report there's nothing I can do. Either try to send it by pressing on "send bug report" button. Or if that doesn't work, simply exit the crash window and then you should find the crash report file on your desktop. If that also fails, press Ctrl+C while the crash window is open, then the crash report should be in the clipboard. And then please upload the crash report somewhere. If you post it here, please put it in a "[ code ]" block.

leeperry
8th November 2013, 23:31
Humm, even when set to "low" film grain seems to suffer quite a bit? I'm using the remastered bluray of TESB and it's DNR'ed grain looks kinda nasty now, this said I've never been too convinced by deposterizing algorithms and I'll have to try it on hopeless low bitrate WMV's.

djfred93
8th November 2013, 23:37
I send it to you by PM. It's weird but in debug mode Madvr doesn't crash.

sneaker_ger
8th November 2013, 23:41
Did madshi even include debug mode versions of the debanding previews or are you using the 0.86.11 debug files?

madshi
8th November 2013, 23:52
Humm, even when set to "low" film grain seems to suffer quite a bit? I'm using the remastered bluray of TESB and it's DNR'ed grain looks kinda nasty now
Some before/after screenshots would be nice. Would like to see that suffering grain, thanks.

I send it to you by PM.
Thanks, another bug, embarassing. Hopefully everything's finally working now with this build?

http://madshi.net/madVRdeband13.rar

Did madshi even include debug mode versions of the debanding previews or are you using the 0.86.11 debug files?
No.

kasper93
9th November 2013, 00:03
Please check if you're happy with the presets

I'm happy :) From quick look it has really good balance. "low" change picture only a little, medium clear up image really nice and high get rid of all banding in my worst samples. Really impressive. Thanks for letting us to change presets and whole debanding thing.

I think current default values are ok, you can't make everyone happy.

detmek
9th November 2013, 00:10
Works fine for me but, just to check - is it normal that High preset gives me lower rendering time compared to Low and Medium preset?

djfred93
9th November 2013, 00:50
It works. Thanks.

leeperry
9th November 2013, 01:16
Some before/after screenshots would be nice. Would like to see that suffering grain, thanks.
Humm, it doesn't look nearly as striking on screenshots but I guess the starwars trilogy on bluray might make for a nice real-world test as it was DNR'ed in a pretty dramatic way and its grain has become very jumpy and constantly changing shape, making it very hard to compress/process I guess. Some patterns could easily be misinterpreted as posterizing I guess.

This said, yes, it looks great on very blocky low bitrate SD videos...I can see why JanWillem likes to make denoising+debanding combo scripts.

kasper93
9th November 2013, 01:55
madVRdeband10 crashes MPC-HC on close (didn't notice before), madVRdeband11-13 is crashing MPC-HC instantly after playback start.
https://dl.dropboxusercontent.com/u/16282309/madVR/madVR_dump_debug_build.7z (10 and 13)
https://dl.dropboxusercontent.com/u/16282309/madVR/madVR13_dump_release_build.7z (only 13)

You will get what's wrong ;)

Before 10th version everything was working fine.

paincrusader
9th November 2013, 02:34
Might be that these are videos marked as "full range". Press "Ctrl+Alt+Shift+i" to check which source levels madVR has detected. You can press the same key combination multiple times to switch to different source levels. If you find one which works well, you can also "save" it by pressing "F2". However, if you do, madVR will no longer automatically detect full range videos and treat them differently. The other renderers are too stupid to detect full range videos. However, some videos are incorrectly marked as full range, although they're not.

Agreed.

That was spot on ! Thank you so very much.

It was autodetecting PC source levels; kept pressing "Ctrl+Alt+Shift+i" until it read "source levels: TV" and voila, everything is right again with the world :) I was dreading the thought of having to use vlc or the sort for viewing those troublemakers, or even changing the renderer in mpc to the default one.

andybkma
9th November 2013, 03:55
Greets, how does this new mVR debanding feature effect those vids that are being realtime postprocessed with avisynth script sharpeners such as LimitedSharpenFaster (LSFMod) or FineSharp? Does the mVR debanding (low,med) smooth out at the end what has already been sharpened by the avisynth script? If yes, this would seem counterproductive to the script sharpener unless the mVR debanding would be able to keep what has been sharpened...

ryrynz
9th November 2013, 05:12
Greets, how does this new mVR debanding feature effect those vids that are being realtime postprocessed with avisynth script sharpeners such as LimitedSharpenFaster (LSFMod) or FineSharp? Does the mVR debanding (low,med) smooth out at the end what has already been sharpened by the avisynth script? If yes, this would seem counterproductive to the script sharpener unless the mVR debanding would be able to keep what has been sharpened...

Yes, Avisynth sends the frames to be rendered by MadVR and the debanding is done upon display. It's not counterproductive at all, it works well just on the banded areas of content and the benefit is it's done by the GPU and in high quality.

dansrfe
9th November 2013, 05:15
So switching to exclusive mode just abruptly stopped working for me and I've tried clearing all the settings, reinstalling madVR and MPC-HC but to no avail. Really no idea what's going on.

madshi, could you possibly take a look at the log and point me in the right direction, please? Thanks!

http://www.sendspace.com/file/4gcfy2

ryrynz
9th November 2013, 07:19
Seeing "Resetting Direct3d Device Failed 8876086c" messages using Latest MPC-BE SVN.
The whole screen goes black then after a couple of seconds I see the BE window with the above message or sometimes the video window is white.
Ive also seen the occasional green screen for a few seconds upon playback.
No issues with previous builds and I also can't reproduce any of these with the debug build.
I did however manage to get BE to crash, I took screenshots of all the tabs, not sure if any of this will help but hey. Definitely something up with this build.

http://www.sendspace.com/file/3050zl (http://www.sendspace.com/file/3050zl)

turbojet
9th November 2013, 07:36
Thanks for the new version, time to remove deband=high from files. I'm mostly happy about the medium preset but how to change avgDif to 2.0?

Is don't analyze gradient angles the option that disables angleboost? It makes a difference in gpu usage but a lot less then old angleBoost did. If not how do you disable angleBoost? Already tried changing angleBoost[1] to 0 but it reverted to 16.

Is there a way for 2.0/4.0/2.0/off to be used every time a file is opened?

Also a lot of stuff in registry that doesn't seem to fit any longer.
http://i.imgur.com/4MTqBGal.jpg (http://imgur.com/4MTqBGa)

ryrynz
9th November 2013, 08:25
how to change avgDif to 2.0?


Custom settings or individual changes haven't been implemented in this build. *EDIT* NVM, obviously wrong.

romulous
9th November 2013, 08:43
Custom settings or individual changes haven't been implemented in this build.

I may be misunderstanding, but custom settings seems to work fine here:


(5) You can now custom configure all 3 presets (!!). In order to do this, you can define a "debanding custom settings" keyboard shortcut in the settings GUI. When pressed you can use the arrow keys on your keyboard to modify the various debanding parameters. The custom settings are stored in the registry (HKCU). You can switch between custom and default parameters by pressing the keyboard shortcut multiple times. This allows you to quickly compare your own settings to the default settings.


That's from madshi's release post for build 10. avgdif at least indicates it is being incremented when I try it.

turbojet
9th November 2013, 08:56
Think I figured it out, at HKCU\Software\madshi\madVR
[0]: Low preset
[1]: Medium
[2]: High

To customize edit them as Decimal not the default hexdecimal and set customOn to 1

It should show the default value and then +/- next to it. For example avgDif of Medium to 2.0 shows avgDif 1.8 +0.2 when using the deband hotkey.

Works fine for me but, just to check - is it normal that High preset gives me lower rendering time compared to Low and Medium preset?

Yes, high disables lightBoost while low and medium enable it.

ryrynz
9th November 2013, 08:59
I may be misunderstanding, but custom settings seems to work fine here:


Yeah went back and read it, was looking for an obvious custom setting on the deband page, figured that cos Turbojet couldn't do the saving of custom presets that it was something to be added later.


Is there a way for 2.0/4.0/2.0/off to be used every time a file is opened?


I have no problems setting a custom preset and saving it.

madshi
9th November 2013, 09:35
I'm happy :) From quick look it has really good balance. "low" change picture only a little, medium clear up image really nice and high get rid of all banding in my worst samples. Really impressive.
Good to hear.

Works fine for me but, just to check - is it normal that High preset gives me lower rendering time compared to Low and Medium preset?
Yes, because "High" uses a simpler algorithm (no "angleBoost") by default.

Humm, it doesn't look nearly as striking on screenshots
Then you could upload a small sample where it's clear to see in motion?

madVRdeband10 crashes MPC-HC on close (didn't notice before), madVRdeband11-13 is crashing MPC-HC instantly after playback start.
https://dl.dropboxusercontent.com/u/16282309/madVR/madVR_dump_debug_build.7z (10 and 13)
https://dl.dropboxusercontent.com/u/16282309/madVR/madVR13_dump_release_build.7z (only 13)

You will get what's wrong ;)

Before 10th version everything was working fine.
That's bad. Unfortunately the MPC-HC dumps don't help me much. If MPC-HC crashes that means its outside of madVR's code. So if madVR is at fault, it's doing something bad, but since the crash happens elsewhere I'm not sure which of my code is responsible. Are you sure that this really still happens with build 13? How can I reproduce the problem on my PC? MPC-HC doesn't crash on my PC with build 13. But then, I'm not using the latest MPC-HC build. Maybe that's the difference?

Anybody else having crashes with MPC-HC when using build 13?

Greets, how does this new mVR debanding feature effect those vids that are being realtime postprocessed with avisynth script sharpeners such as LimitedSharpenFaster (LSFMod) or FineSharp? Does the mVR debanding (low,med) smooth out at the end what has already been sharpened by the avisynth script?
The debanding tries to separate detail from banding. Banding is considered to be faint bands in gradients. Running a sharpener *before* debanding isn't optimal, but if it makes anything worse, it should be in the opposite direction than you fear: The sharpener might sharpen the banding artifacts, moving them over the threshold the debanding algorithm classifies as banding. So it's possible that sharpening before debanding could reduce the debanding smoothness. Anything more contrasty than faint bands should not be affected by debanding. So no, you shouln't lose any sharpness by running debanding after sharpening, at least if you stick to "low" or "medium" debanding strength.

So switching to exclusive mode just abruptly stopped working for me and I've tried clearing all the settings, reinstalling madVR and MPC-HC but to no avail. Really no idea what's going on.
What does "abruptly" mean exactly in this context? Do you mean to say it works with the official build and stopped working with the debanding test builds? Or does this not have anything to do with the test builds at all?

Seeing "Resetting Direct3d Device Failed 8876086c" messages using Latest MPC-BE SVN.
The whole screen goes black then after a couple of seconds I see the BE window with the above message or sometimes the video window is white.
Ive also seen the occasional green screen for a few seconds upon playback.
No issues with previous builds and I also can't reproduce any of these with the debug build.
I did however manage to get BE to crash, I took screenshots of all the tabs, not sure if any of this will help but hey. Definitely something up with this build.

http://www.sendspace.com/file/3050zl (http://www.sendspace.com/file/3050zl)
Make sure you're really using test build 13. Those screenshots indicate that you're still using build 12. Can you reproduce all those problems with build 13? BTW, there's no need to make screenshots. See my reply to djfred93 1-2 pages back for more information how to easily get the bug report in text form.

I'm mostly happy about the medium preset but how to change avgDif to 2.0?
So you prefer avgDif to be set to 2.0 for the medium preset? Do you have a video sample where 2.0 works noticeably better than 1.8?

See build 10 release notes. They explain how to change custom settings.

Is don't analyze gradient angles the option that disables angleboost? It makes a difference in gpu usage but a lot less then old angleBoost did.
Yes. I've changed the angleBoost texture format in the hope that it might reduce GPU power consumption. It didn't help much for my GPU (HD4000), but maybe it helps with other/older GPUs.

Is there a way for 2.0/4.0/2.0/off to be used every time a file is opened?
Sure, just customize the medium preset, and then configure madVR to use medium by default.

Also a lot of stuff in registry that doesn't seem to fit any longer.
True. Just delete all those values. madVR will recreate the ones used now.

Think I figured it out, at HKCU\Software\madshi\madVR
[0]: Low preset
[1]: Medium
[2]: High

To customize edit them as Decimal not the default hexdecimal and set customOn to 1

It should show the default value and then +/- next to it. For example avgDif of Medium to 2.0 shows avgDif 1.8 +0.2 when using the deband hotkey.
Sure, you can customize using the registry. But isn't it much easier to use the comfortable way? See build 10 release notes.

turbojet
9th November 2013, 09:49
I don't currently have a sample where 2.0 looks better than 1.8, been using the latter with great results the past few weeks but I'll try 1.8 and keep an eye out.

I was trying the old keys, arrow keys make more sense. One thing I found is lightBoost can't be disabled in low and medium with arrows, minimum is 1.0. maxAngle only goes to 0.1 but does it have an effect when lightBoost is at 0?

huhn
9th November 2013, 09:56
[QUOTE=madshi;1652227
Thanks, another bug, embarassing. Hopefully everything's finally working now with this build?

http://madshi.net/madVRdeband13.rar[/QUOTE]

i run in a bug too in version 12 which is fixed with version 13 but the error port was broken too. nothing serious but there is a possibility that the bug report is broken.

madshi
9th November 2013, 10:06
I don't currently have a sample where 2.0 looks better than 1.8, been using the latter with great results the past few weeks but I'll try 1.8 and keep an eye out.
If you find samples where 2.0 looks noticeably better I'd be interested in hearing about that.

I was trying the old keys, arrow keys make more sense. One thing I found is lightBoost can't be disabled in low and medium with arrows, minimum is 1.0. maxAngle only goes to 0.1 but does it have an effect when lightBoost is at 0?
There is no "lightBoost", you mean "angleBoost"? If you configure "angleBoost" to 1.0 (which means no boost), madVR will disable the extra rendering steps, and you should save GPU performance.

i run in a bug too in version 12 which is fixed with version 13 but the error port was broken too. nothing serious but there is a possibility that the bug report is broken.
I don't think so. At least I got a useful bug report from build 12 from one other user.

ryrynz
9th November 2013, 10:07
Make sure you're really using test build 13. Those screenshots indicate that you're still using build 12. Can you reproduce all those problems with build 13?


Wasn't using 13, glossed over that post as I thought 12 was the latest. It's fine now.

Any chances of a deband on/off toggle?

Just want to run this one by you, one other filter I've often used in Avisynth is Psharpen, IMO it does a fantastic job of sharpening in a natural fashion.
Having come from sharpeners like LSFmod, Seesaw and Finesharp amongst many others over the years I've settled on Psharpen, would you take a look and see if you feel it's worthy for entry into MadVR?

I saw Fluxsmooth mentioned earlier, I used that for a long time but moved on to VagueDenoiser, if you're looking into denoising give it a shot.

romulous
9th November 2013, 10:42
madshi, I have a question, mainly on behalf of Zoom Player users. I notice that the default Zoom Player key mappings conflict with the way you set custom deband values. The arrow keys (all four of them) and F2 are all bound to particular Zoom Player functions, and when you try and set a custom value in madVR, the keys activate Zoom Player functions as soon as you press them. You can of course de-map all of those keys, set the custom values and then re-map those keys back to the original functions, but that is cumbersome. So, I was wondering if you could offer a way for Zoom Player to interact with the custom deband setting without having to de-map the hotkeys first?

Thanks!

huhn
9th November 2013, 11:05
I don't think so. At least I got a useful bug report from build 12 from one other user.

i can try it again and make a screen with the error but if it works i make a "false" bug report and i don't like to do things like that.

i'm going to get an colorimeter but it is very hard to get information for that at the moment i like to go with the X-Rite EODIS3 i1Display Pro. my aim is to create 3d lut for madvr but is this even the right device or i'm on the wrong path with this ?

michkrol
9th November 2013, 11:17
Thanks for the new build. Everything works correctly here on MPC-HC, but I didn't have any problems with 'deband10' either.

Really like how the debanding works. As for the presets, they work as intended for me. Only high could be higher for some really bad content (bad source and encode), but then the detail loss is really visible, hence I hope the custom settings stay with us in final version.

Once again thanks for your hard work and thanks to everyone who contributed to the presets ;)

leeperry
9th November 2013, 14:35
Then you could upload a small sample where it's clear to see in motion?
Sure thing, I'll work on that and PM you a link ASAP.
BTW, I've been meaning to ask you for a while but would you consider keeping all the sub-sections in mVR's config panel permanently open? Like this: http://thumbnails104.imagebam.com/28772/56835d287718942.jpg (http://www.imagebam.com/image/56835d287718942)

It's great that it'll remember the last active section but the nesting is quite annoying when it all fits within the GUI anyway and that you are constantly forced to get your way through useless mouse clicks. I'm sure many ppl use mVR with a trackpad and/or from their couch so that would make this even more of an annoyance :o

Or for ppl with zillion displays, maybe you could simply remember what sections were open?

Hope you'll consider it, :thanks:

6233638
9th November 2013, 16:02
I haven't had a chance to try out the presets in these latest builds yet, though the removal of NonGradientPenalty is somewhat concerning, as I found it to do a good job preserving details near black without artifacting as much as LocalContrast, or having as much of a performance hit.
I wish I had the time to spend going over everything in detail again, but things have just been so busy lately, that I've not had the free time to spend doing that sort of testing.

It's not specific to this build, but I've noticed that there are often "outlines" around objects when switching from fullscreen to windowed mode:
http://www.abload.de/thumb/outlinesfvkns.jpg (http://www.abload.de/img/outlinesfvkns.jpg)

This is with debanding disabled, but I'm guessing it's a bug introduced by AngleBoost. They disappear after a few seconds of playback.

---

Something unrelated to that however, is that I was wondering about seeking performance.
I was having to seek through a couple of videos quite a lot the other day, which got me to change my settings to try and improve it.
To give you an idea of what was happening, it was seeking 10s at a time, with the button repeating every 0.1s

The way I had madVR set up before, seeking was very slow and uneven.
Switching to CPU decoding rather than GPU accelerated decoding helped, and of course I unchecked the "disable playback start until render queue is full" option.
After making those changes, it would seek smoothly, but then ever 6-8 seeks, it would freeze up for a second.

The only way I was able to get completely smooth seeking without it pausing was to use Fullscreen Exclusive mode, Windowed Overlay did not seem to help at all.

Is this simply due to the fact that you get better performance in FSE mode, or could it be something else to do with how frames are presented?
I've been avoiding FSE mode ever since installing Windows 8 last year, as madVR keeps switching my display to the wrong refresh rates (23/59 rather than 24/60) but maybe I'll just have to stick with it until that is resolved.

---

And now that I'm using FSE mode again, I'm getting serious problems switching between FSE and Windowed mode when there is a refresh rate change involved. With the maximum queue sizes, I get about 1fps displayed for the first 20s when switching to FSE mode. Reducing the queue sizes to 4 brings that down to about 5 seconds.

This only affects Fullscreen Exclusive and not Fullscreen Windowed mode, and only when there's a refresh rate change involved.

kasper93
9th November 2013, 16:34
That's bad. Unfortunately the MPC-HC dumps don't help me much. If MPC-HC crashes that means its outside of madVR's code. So if madVR is at fault, it's doing something bad, but since the crash happens elsewhere I'm not sure which of my code is responsible. Are you sure that this really still happens with build 13? How can I reproduce the problem on my PC? MPC-HC doesn't crash on my PC with build 13. But then, I'm not using the latest MPC-HC build. Maybe that's the difference?

I've noticed that it doesn't happen with all files. Try with this one https://dl.dropboxusercontent.com/u/16282309/madVR/sample_002.mkv Doesn't matter which MPC-HC version you use.

It crashes always at the same point. Watch from the beginning its around 0:01 :rolleyes:

And crash is somewhere in "fading" code. When I disable debanding or set settings to (medium/medium) there is no crash. (medium/high) crash always... I think madVR crash internally and then when it is poked by mpc-hc everything crashes.

dansrfe
9th November 2013, 16:38
It basically stopped working after replacing with the latest deband build. But since then I've tried replacing it back with the latest official build, resetting to default settings, updating to the latest MPC-HC, updating to the latest stable nvidia drivers, and it's still the same problem. I'm not exactly sure what caused the problem which is why I don't know where to begin.

sebdelsol
9th November 2013, 18:17
I'll think of something for (hopefully) the next official release. Stay tuned...

:thanks:
I've seen that you can change the rendering queue setting with IMadVRSettings, so I'll try that before pausing and calling repeatedly OsdRedrawFrame().
It may be good enough to prevent the GPU from going berserk in pause.

Anima123
9th November 2013, 19:40
I had crash of mpc-hc several times with test madVR 13 when I drag another video to the player while playing a video. It is easy for me to repeat the crashes.

Ap3 n1nja
9th November 2013, 21:37
Hello madshi,

I know that you are busy getting deband out officially, but it seems that sometimes playing a file that display subtitles partly out of movie resolution will cause madVR to crash, giving the exception message:
Access violation at address $4a4a3df1 in module 'madVR.ax'. Read of address $0.The problem may stem from some interaction with or could be due to XySubFilter, since uninstalling the subtitle filter stops the crashing.

Here is a small sample file: http://www.sendspace.com/file/wdil85

You may need to reopen the sample file a couple times for it to crash.

Can anyone else reproduce this? I only tried it on PotPlayer.

huhn
9th November 2013, 21:54
@Ap3 n1nja

i stop after ~20 tests it works fine with xysubfilter and mpc hc 1.7.0.7754

Ap3 n1nja
9th November 2013, 22:34
@huhn

Thanks for testing it out! So, that means it might be due to PotPlayer. Or maybe even my video driver...

With MPC-HC, is it able to block XySubFilter with its internal filters list? For some reason, XySubFilter always connects to madVR even though I set XySubFilter's priority to block in PotPlayer's global filter manager.

kasper93
9th November 2013, 22:51
You can't block XySubFilter. madVR will load it even if you block it. Only way is to unregister it ;p

I can't reproduce issue with your sample. Are you sure you are using http://madshi.net/madVRdeband13.rar ? Anyway if madVR catch the crash just send report to madshi and he will fix it.

Mine crash is harder to trace...

vivan
9th November 2013, 22:58
Ap3 n1nja,
it's probably this issue http://code.google.com/p/xy-vsfilter/issues/detail?id=153

sneaker_ger
9th November 2013, 23:31
There's a test build up for XySubFilter which should include such old fixes:
https://dl.dropboxusercontent.com/u/10853398/XySubFilter.7z