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

oldpainlesskodi
12th October 2017, 18:00
it should be "the codec doesn't matter the image it self does" i don't know i miss the "n
't" often.

I knew what you meant :D

K

Sarlaith
12th October 2017, 18:26
Does this one fix the problem?

http://madshi.net/madHcCtrl.rar



:)

Yes that fixes the issue!

:thanks: Madshi

austinminton
13th October 2017, 04:36
Finally have managed to dump a few of my UHDs and have a bigger sample set for hdr files to play with madvr. My main question is related to what is the right nvidia setting to set in the control panel. I have been using rgb 4k@60 8bit till now but I wonder if that's incorrect to playback 10bit files. When madvr switches to 4k@23, does it also set 10bit? I have tried looking into all my tv/avr settings and can't find anything that can confirm bitdepth and color format unfortunately.

I have set 10bit and above in madvr for the panel (Sony 75z9d). Should I set the control panel to YCbCr 422 and 10bit?

I also have a file with 4k@60, 4:2:0, 10 bit HDR. Yes its a 60hz UHD. This one really confuses me since i know rgb 4k@60 10 bit wont work over hdmi. So somewhere its either getting converted to 8 bit or a lower chroma? It plays fine and looks very good to my eyes, but I 'need' to know if some unnecessary conversion is getting done somewhere. Madvr OSD says P010, 10-bit, 4:2:0 but I am not sure if that's what the GPU is finally passing to the panel?

Card is nvidia 1080 (385.41), latest madvr + lav filters. I am using FSE and madvr auto switch resolution for 4k@23, 4k@24, 4k@60. DXVA copyback in LAV.

Also I would like to say that I think my pc with madvr has a much better picture than my uhd player. Thanks madshi.

Razoola
13th October 2017, 11:00
Does this one fix the problem?

http://madshi.net/madHcCtrl.rar


Yes it does and I have to say its now much easier adding a custom resolution with madVR than through the nvidia control panel.

jkauff
13th October 2017, 11:23
Does this one fix the problem?

http://madshi.net/madHcCtrl.rar
I was FINALLY able to set up custom resolutions in madVR on my GTX1060.

A couple of things I learned:


Rebooting works better than Reset GPU.

Before you start, make sure the OS is showing only the native resolutions for your display and GPU.

Once the OS is aware of the new custom resolution you created, set the display to the new resolution via the OS to prepare for optimization.

After playing the video for 30 minutes, change the resolution on the display to a native resolution in the OS. Now when you click the Optimize button for the new resolution, you will finally get the optimization dialog.


All of this may not be necessary for everyone, but it worked for me on Win 10 Creators Update and the latest Nvidia driver. No more "The GPU has rejected this mode for some reason" errors.

The custom modes work perfectly, and I LOVE the results!

j1731630
13th October 2017, 17:08
Is there option to disable image downscale, if source resolution exceeds monitor/tv?
Will be useful to capture UHD frames on FullHD display.

nevcairiel
13th October 2017, 17:51
Is there option to disable image downscale, if source resolution exceeds monitor/tv?
Will be useful to capture UHD frames on FullHD display.

That would be up to the video player how it manages its window dimensions.

omw2h
13th October 2017, 18:49
I really preferred the previous Adaptive Sharpen, the new one enhances grain/fine detail too much and may alias edges more then the previus one. Hopefully ramped-up LumaSharpen and the new AS are similar enough switch back AS... or some compromising words to get the previous one back.

previous
https://postimg.org/image/ix04at5cf/
new
https://postimg.org/image/3oa6x1r3j/

(nguAA veryhigh upscaler 1080->2160
upscaling refinement: AdaptiveSharpen 2.0, ThinEdges 4 )

pirlouy
13th October 2017, 19:07
You forgot original image untouched/unscaled for a true comparison.

Q-the-STORM
13th October 2017, 19:28
Have you tried rebooting your OS? Is the custom mode still available after the reboot?
The Custom Mode is still active after reboot...


When madvr switches to 4k@23, does it also set 10bit? I have tried looking into all my tv/avr settings and can't find anything that can confirm bitdepth and color format unfortunately.

Go to the nvidia control panel and simply check if Output color depth is set to 10/12 bit...

If I remember correctly, madVR should switch to 10/12bit if you switch to it manually once... I could be wrong...



I also have a file with 4k@60, 4:2:0, 10 bit HDR. Yes its a 60hz UHD. This one really confuses me since i know rgb 4k@60 10 bit wont work over hdmi. So somewhere its either getting converted to 8 bit or a lower chroma? It plays fine and looks very good to my eyes, but I 'need' to know if some unnecessary conversion is getting done somewhere. Madvr OSD says P010, 10-bit, 4:2:0 but I am not sure if that's what the GPU is finally passing to the panel?

HDMI 2.0 supports up to 4K 60Hz 4:2:2 12bit, so set that if you are playing that file... also there's a 99% chance that your file is a test video, there probably will be one movie in 4K 60fps in the next 10 years, so you really shouldn't worry about 60Hz now...

omw2h
13th October 2017, 19:59
You forgot original image untouched/unscaled for a true comparison.

my bad, sorry.

original (no scaling or refinement)
https://postimg.org/image/l5iw5ujtr/
no upscaling refinement
https://postimg.org/image/ksrhzcolr/
only thined edges
https://postimg.org/image/y9ogi8ecv/
previous AS +te
https://postimg.org/image/ix04at5cf/
new AS +te
https://postimg.org/image/3oa6x1r3j/

VAMET
13th October 2017, 20:18
Dear Friends

I have Epson EH-TW5300 projector and I watch UHD movies via MPC-HC + madVR + LAV Filters. As you know there is HDR and BT.2020. My projector isn't 4K and HDR, but movies with 2160p looks better then 1080p. My question is about madVR Settings > HDR, I mean which one should I use to have optimal experience and quality:

1. let madVR decide
2. convert HDR content to SDR by using pixel shader math
3. process HDR content by using pixel shader math

When using option 1, I have darker colors, when 2 bright colors and 3 washed out colors. Which one is the most similar experience to real HDR effect?

I am confused...

Thank you in advance for your support.

Sincerely

huhn
13th October 2017, 20:49
you "need convert HDR content to SDR by using pixel shader math" to get HDR to SDR "process HDR content by using pixel shader math" is for HDR screens.

Pat357
14th October 2017, 00:18
you "need convert HDR content to SDR by using pixel shader math" to get HDR to SDR "process HDR content by using pixel shader math" is for HDR screens.

Indeed, but what about "Let MadVR decide" : shouldn't this default to "HDR -> SDR conversion using pixel shader math" ?
I am bit surprised about 1 not looking the same as 2.

nevcairiel
14th October 2017, 00:21
Indeed, but what about "Let MadVR decide" : shouldn't this default "to HDR -> SDR conversion using pixel shader math" ?

It does, unless your screen supports native HDR (or at least claims to). Of course specifically selecting option 2 unlocks the fine-grained HDR controls, so maybe those aren't identical to the ones in auto mode.

VAMET
14th October 2017, 00:26
Dear nevcairiel

It does, unless your screen supports native HDR (or at least claims to). Of course specifically selecting option 2 unlocks the fine-grained HDR controls, so maybe those aren't identical to the ones in auto mode.

Nope, I have disabled every option from "convert HDR content to SDR by using pixel shader math". Still 1 not looking the same as 2.

Sincerely

austinminton
14th October 2017, 00:26
HDMI 2.0 supports up to 4K 60Hz 4:2:2 12bit, so set that if you are playing that file... also there's a 99% chance that your file is a test video, there probably will be one movie in 4K 60fps in the next 10 years, so you really shouldn't worry about 60Hz now...

I avoid setting YCbCr in my nvidia. If you look at post 2 here, its best to stick with RGB as thats how windows thinks internally. I could set it for just this file, but that would require manual changes every time.

No, its not a test file. 10 years! Its happening right now.

This is the UHD:

http://www.blu-ray.com/movies/Billy-Lynns-Long-Halftime-Walk-4K-and-3D-Blu-ray/166477/

ryrynz
14th October 2017, 00:57
I really preferred the previous Adaptive Sharpen, the new one enhances grain/fine detail too much and may alias edges more then the previus one. Hopefully ramped-up LumaSharpen and the new AS are similar enough switch back AS... or some compromising words to get the previous one back.


Yeah.. If we stick with this I think I want more control over what it shapes than just ticking the box.. Madshi what's the chance of exposing some options for the new AA? If not I'll have to sit down and revisit my sharpener settings.

leeperry
14th October 2017, 01:49
RCA is very useful but some more steps between 1 and 4 would be nice. NGU sharp and standard still look pretty bad with files that "need" RCA even with RCA.

RCA softs the image a lot so i tried to compensate it with a sharpener

After more testing, RCA@1 is fantastic for low-res hopeless files that could use some smoothing anyway but indeed a far lower value would be ideal for files that come with both details and blocking. Anywhere between 0.1 and 0.5 might do the magic for those blocky and yet not quite hopeless videos :)

valdeski
14th October 2017, 01:59
With madVR v0.92.6 I often get video player freezes when launching another DX11 application, like a game.
I'm using MPC-HC Nightly, Lav filters nightly with D3D11 Automatic (Native).
Video freezes but audio keeps playing, also d3d11 native switches to d3d11 copyback in lav filter video decoder window setting.

Asmodian
14th October 2017, 03:14
Don’t use D3D11 native for better results....

Klaus1189
14th October 2017, 03:36
Tested with 0.92.4. Currently I‘m not in Germany, so I can‘t test 0.92.5 and 0.92.6 with my equipment.

Do not forget about me and my concern.

rivera
14th October 2017, 12:47
Is there any step-by-step explanation how to provide a 23.976 for Nvidia?

My TV (Panny 65VT60) already has a native "1920x1080@23" mode in Nvidia Control Panel.
According to madVR stats, this mode is actually 23.972.

I read a manual (http://madvr.com/crt/CustomResTutorial.html) but it gives a very poor explanation for my case.

ashlar42
14th October 2017, 13:48
I read a manual (http://madvr.com/crt/CustomResTutorial.html) but it gives a very poor explanation for my case.I have to say, having written the previous guide that adopted the same approach, with no direct madVR support back then, that I found hard to understand how to apply the optimization results.

I followed the instructions but could not see results. And I completely understand the underlying logic. It's just that I do not see the things that should be happening... well, happen. :)

steakhutzeee
14th October 2017, 15:27
Hi :) I use madvr on a 8bit monitor, an ASUS VC239H. Can i reproduce an H265 10bit on it? Think it's a dumb question :/

Razoola
14th October 2017, 15:36
Is there any step-by-step explanation how to provide a 23.976 for Nvidia?

My TV (Panny 65VT60) already has a native "1920x1080@23" mode in Nvidia Control Panel.
According to madVR stats, this mode is actually 23.972.

I read a manual (http://madvr.com/crt/CustomResTutorial.html) but it gives a very poor explanation for my case.

Its really very simple providing you monitor supports the new refreshrates. Using .095.6.1;

1) Make sure the monitor to receive the new refresh rate is not at the refresh rate you want to alter (so not at 23Hz in the nvidia control panel).
2) In the madVR custom resolution options, select the predefined 23Hz refresh rate in the list and click edit (that is your case).
3) Click 'test mode'.
4) The monitor will set the new resolution, confirm that you see it. If its fine click save.
5) Reboot PC

When you now play a video it should now be closer to 23.976. Once MadVR has played a video in the new resolution for 30 minutes or so you will be able to go back into the custom resolution and use the optimise option. In my case that was not needed as it was already bang on 23.976 with no need to optimise (1 dropped frame every 12 1/2 hours is good enough for me)..

ashlar42
14th October 2017, 15:36
I followed the instructions but could not see results. And I completely understand the underlying logic. It's just that I do not see the things that should be happening... well, happen. :)It appears that, in my case (GTX 660, Windows 10 x64, September drivers), a reboot was mandatory. I've managed to bring 23Hz mode to "no frame drops/repeats expected" in two passes. I like the "perfectly optimized" description. It gives that warm and fuzzy feeling we videophiles seek so much. Before I was simply resetting the GPU (which worked for me in CRU), rebooting worked.

Even though I've activated the "D3D hack to use 24Hz and 60Hz", I'm getting the "The GPU rejected this mode, for unknown reasons." error when trying to input original EDID's values for timings (pressing Edit the first time). And I do that while using a different refresh rate.

madshi
14th October 2017, 15:39
You should see it clearly with a little zoom on all the external edges of Jack shirt (Source / MadVR RRA + RDH / FineDehalo)
Thanks, I see it now. Do you have more images like this? Would help...

Hmm, I don't think I'd be particularly broken up about not having separate strengths for Luma and Chroma. I don't know if my results generalize to other videos, but if chroma generally benefits from a bit more strength than luma you could always use a multiplier internally to set the strength of chroma deblocking (e.g. 1.67x the luma strength). But this would probably need more testing than my subjective opinion on a single set of videos :P

With only 1 strength setting, you could just have checkboxes for luma and chroma that can be toggled independently.
My initial thought would be to make:
[] Enable deblock
Luma Strength <-------->
Chroma Strength <------> [] Lock Chroma

When "Lock Chroma" is selected, chroma slider/number will change relative to luma. So if a user has Luma 1, Chroma 2, then locks Chroma, and then slides luma to 2, chroma will change to 3.
Kind of like Ver Greeneyes multiplier selection only probably more annoying to implement :(
With Chroma initially being locked by default.
I haven't tested/have no idea if individual settings are worth it, sorry.
Of course all this would be possible. I just wonder how useful it would really be. How many users are going to enter the madVR settings dialog and try different luma + chroma deblock strengths? If you look through the thread, many users commented that they are too lazy to even *enable* deblocking on a per-movie base, let alone carefully tweak separate luma and chroma strengths!

As always, we need a good compromise between easy intuitive GUI, without taking too many useful options away.

I'm not sure right now what I'll do...

It fixes it for me. It no longer says that you can't save the active mode.
Yes that fixes the issue!

:thanks: Madshi
Yes it does and I have to say its now much easier adding a custom resolution with madVR than through the nvidia control panel.
I was FINALLY able to set up custom resolutions in madVR on my GTX1060.

A couple of things I learned:


Rebooting works better than Reset GPU.

Before you start, make sure the OS is showing only the native resolutions for your display and GPU.

Once the OS is aware of the new custom resolution you created, set the display to the new resolution via the OS to prepare for optimization.

After playing the video for 30 minutes, change the resolution on the display to a native resolution in the OS. Now when you click the Optimize button for the new resolution, you will finally get the optimization dialog.


All of this may not be necessary for everyone, but it worked for me on Win 10 Creators Update and the latest Nvidia driver. No more "The GPU has rejected this mode for some reason" errors.

The custom modes work perfectly, and I LOVE the results!
Glad to hear that!

Well, I'm using an old version for a long time (2017-01) now and until recently I didn't experienced this. So something's changed.
Edit: After downgrading to v0.91.10 the problem stops happening. (v0.92.3 is also bugged. I had these lying around didn't try other versions)
Yes, the problem is related to the new screenshot functionality which was recently introduced. *However*, although the problem was triggered by a madVR feature improvement, the actual bug is in PotPlayer, and as I already said, it should be fixed in the next PotPlayer build.

I don't use a newer version because of the aforementioned hang on file opening with madVR. (Which is far more likely to happen with newer versions)
Did you see anything useful in the debug logs?
Hmmmm... Did I miss a post of yours? I'm not sure...

Having the user do the calculations manually would be unfeasible, except for maybe a select few here. Most newcomers already struggle with creating simple resolution based preset scripts.

Hence the idea to move the intelligence and complexity into madvr itself, and provide a single value that can be used as an indicator for video quality.

MediaInfo can show which % of the file is video data. I checked a few files and those were between 75 and 95. So lets assume on average 85% of the file is video. It doesn't need to be super accurate.
Or maybe just subtract audio stream sizes. Those usually have a known (average) bitrate. Subtitles have negligible size.
Fair enough. I could assume 85% of the file is video. But what's the next step? What exact bitrates should I treat as which quality level? The codec would need to be involved, but also the video resolution and framerate, chroma subsampling etc. And bitrate requirements don't scale linear with video resolution. So judging which bitrate is "high enough" for a specific quality level seems pretty hard to me.

Anyway willing to do the leg work? Which means create an exact "formula" which outputs a quality level, based on:

- codec
- resolution
- frame rate
- chroma subsampling
- bitrate

after some testing i found this so far.

RCA is very useful but some more steps between 1 and 4 would be nice. NGU sharp and standard still look pretty bad with files that "need" RCA even with RCA.

RCA softs the image a lot so i tried to compensate it with a sharpener. sharpen edges does nothing when scaling a DVD to UHD while adaptive sharpening is still effective too effective smaller step between 0.0-0.1 would be nice and add grain after sharping would be highly preferred too it is really difficult to use with adaptive sharpening.

RRN is hard to judge i find it useful together with RCA but not much alone.
Thanks. There'll be a lower RCA quality step in the next build, maybe it helps, and also lower RRN steps, and a choice between 2 different RCA variants. AdaptiveSharpen will be tweaked once more, too.

I may add more RCA quality steps in between, but it's not as easy it might seem, so before I do that, I'll need more feedback first about all these new changes.

what is the right nvidia setting to set in the control panel. I have been using rgb 4k@60 8bit till now but I wonder if that's incorrect to playback 10bit files. When madvr switches to 4k@23, does it also set 10bit? I have tried looking into all my tv/avr settings and can't find anything that can confirm bitdepth and color format unfortunately.

I have set 10bit and above in madvr for the panel (Sony 75z9d). Should I set the control panel to YCbCr 422 and 10bit?

I also have a file with 4k@60, 4:2:0, 10 bit HDR. Yes its a 60hz UHD. This one really confuses me since i know rgb 4k@60 10 bit wont work over hdmi. So somewhere its either getting converted to 8 bit or a lower chroma? It plays fine and looks very good to my eyes, but I 'need' to know if some unnecessary conversion is getting done somewhere. Madvr OSD says P010, 10-bit, 4:2:0 but I am not sure if that's what the GPU is finally passing to the panel?

Card is nvidia 1080 (385.41), latest madvr + lav filters. I am using FSE and madvr auto switch resolution for 4k@23, 4k@24, 4k@60. DXVA copyback in LAV.

Also I would like to say that I think my pc with madvr has a much better picture than my uhd player. Thanks madshi.
madVR saying P010, 10bit, 4:2:0 is what the decoder delivers to madVR, it has no consequence of what is sent to the GPU.

HDMI 2.0 can't do 4Kp60 RGB with more than 8bit. So even if you tell the GPU *and* madVR to output 10bit RGB at 4Kp60, it won't happen. Someone somewhere will have to drop it down to 8bit. Probably it will be the GPU driver, and I'm not sure they'll apply proper dithering. So it's better if you take care of this yourself, e.g. by using profiles.

My recommendation is to always output RGB. 10bit is nice if your TV fully supports it (and benefits from it), otherwise 8bit is just fine, too, even for HDR content, thanks to madVR's high quality dither.

Is there option to disable image downscale, if source resolution exceeds monitor/tv?
Will be useful to capture UHD frames on FullHD display.
You mean for screenshots? Simply set the new madVR "rendering -> screenshots" settings to "100% view". Then your screenshots will automatically be done at original resolution. So this way you can very easily create UHD screenshots even if your TV is only FullHD.

The Custom Mode is still active after reboot...
So does the tweaked madHcCtrl.exe which I made available a couple posts ago fix the probem?

1. let madVR decide
2. convert HDR content to SDR by using pixel shader math
3. process HDR content by using pixel shader math

When using option 1, I have darker colors, when 2 bright colors and 3 washed out colors. Which one is the most similar experience to real HDR effect?
You can use 1 or 2. Option 1 should detect that your projector doesn't support HDR, and thus should automatically activate "convert HDR content to SDR by using pixel shader math". So basically options 1 and 2 should be identical.

There's one key difference, though: If you choose option 2, you can select a number of options for how madVR should do the HDR -> SDR conversion. If you choose option 1, you don't have these options, so madVR chooses itself.

You're saying you have darker colors when using option 1. That means you probably have a lower "display peak nits" number selected than madVR chooses for option 1. If you increase the "display peak nits" number, you'll probably get the same image as when using option 1.

I really preferred the previous Adaptive Sharpen, the new one enhances grain/fine detail too much and may alias edges more then the previus one.
Yeah.. If we stick with this I think I want more control over what it shapes than just ticking the box.. Madshi what's the chance of exposing some options for the new AA? If not I'll have to sit down and revisit my sharpener settings.
"new AA"? You mean new "AS"? I don't plan on offering options at this point, if there's any way to avoid it. Let's first try to make you happy without offering options, ok? The next build will have a tweaked AdaptiveSharpen algorithm, which sharpens grain a bit less than the current build. Maybe you will like that version more? Please let me know...

New build out maybe later today (6-7 hours from now), or maybe tomorrow.

After more testing, RCA@1 is fantastic for low-res hopeless files that could use some smoothing anyway but indeed a far lower value would be ideal for files that come with both details and blocking. Anywhere between 0.1 and 0.5 might do the magic for those blocky and yet not quite hopeless videos :)
There's be a new lower settings. It's as low as I can go, I think.

With madVR v0.92.6 I often get video player freezes when launching another DX11 application, like a game.
I'm using MPC-HC Nightly, Lav filters nightly with D3D11 Automatic (Native).
Video freezes but audio keeps playing, also d3d11 native switches to d3d11 copyback in lav filter video decoder window setting.
Is this a new problem with madVR v0.92.6 which didn't occur before? If so, can you please try to find out which exact madVR build introduced this problem? You can download older builds here:

https://www.videohelp.com/software/madVR/old-versions#download

Furthermore: Does this problem only occur when using the new "D3D11" decoder in LAV? Or does it also occur when e.g. using software decoding?

If I use madvr and enable "delay playback until renderer is full" the taskbar indicator (is it called that way?) displays pause and yellow color progress of file. Is that something that can be fixed? In MPC-BE or madvr?
That taskbar indicator is not known to me. It's probably MPC-BE's? If so, you may need to talk to the MPC-BE devs about this problem.

I have to say, having written the previous guide that adopted the same approach, with no direct madVR support back then, that I found hard to understand how to apply the optimization results.

I followed the instructions but could not see results. And I completely understand the underlying logic. It's just that I do not see the things that should be happening... well, happen. :)
I'm not sure I understand what you mean. Are you saying you're not fully happy with the tutorial text I've written? Or with the optimization procedure/logic? Or both? I'm open for improvement suggestions.

ashlar42
14th October 2017, 15:50
I'm not sure I understand what you mean. Are you saying you're not fully happy with the tutorial text I've written? Or with the optimization procedure/logic? Or both? I'm open for improvement suggestions.I simply needed to reboot instead of resetting GPU. Maybe it might be worth it to point out in the guide that resetting, in some cases, simply doesn't do anything.

See the other problem I described for 24Hz and 60Hz. I was writing at the same time as you :)

leeperry
14th October 2017, 15:55
There's be a new lower settings. It's as low as I can go, I think.
Great and please provide some fine-tuning between the current 1 & 2, the more headroom the better :)

Razoola
14th October 2017, 16:18
@madshi,

I know this was brought up years ago (I think it was leeperry who did) but have you any plans to add customisable enhancements to madVR in relation to 'near black' processing? I'm thinking something on the lines of being able for example to boost or manipulate brightness in the 0%-5% range. This would be for those with panels what no matter how well they can be calibrated, due to ABL or whatever else, shadow details are sometimes lost.

ashlar42
14th October 2017, 16:22
And now I get the "GPU driver rejected mode for unknown reasons" for 59Hz too...

mzso
14th October 2017, 16:39
Yes, the problem is related to the new screenshot functionality which was recently introduced. *However*, although the problem was triggered by a madVR feature improvement, the actual bug is in PotPlayer, and as I already said, it should be fixed in the next PotPlayer build.


Hmmmm... Did I miss a post of yours? I'm not sure...


I don't know. You asked for a debug log here (https://forum.doom9.org/showthread.php?p=1821353#post1821353). And I provided it here (https://forum.doom9.org/showthread.php?p=1821363#post1821363).

But I've been getting hang with madVR for ages and complained a few times here. Also did to the PP dev and the progDVB dev.

It's just that it's far more common of an occurrence with newer versions of PP, where I can reproduce a hang in seconds by quickly opening files after each other for playback.

Now if I get a different issue with older PP and new madVR I'm pretty screwed.

MuriKha
14th October 2017, 16:42
Hi this is my 1st post here. There are several articles related to madvr settings but i was wondering what is the optimal setting for my configuration.

Specs:
i7 4770k @4.2Ghz
Zotac GTX 1070 amp extreme SLI
16gb ram

I am using potplayer with lav filters.
I specifically want to know about how much important the artifact removal, image enhancements settings are and when i should use them?

MuriKha
14th October 2017, 16:49
With madVR v0.92.6 I often get video player freezes when launching another DX11 application, like a game.
I'm using MPC-HC Nightly, Lav filters nightly with D3D11 Automatic (Native).
Video freezes but audio keeps playing, also d3d11 native switches to d3d11 copyback in lav filter video decoder window setting.

This also happened to me but its not there anymore for me. It started to happen only after the lastest nvidia driver update with madvr v0.92.x

If i disable the d3d11 for rpesentation everything starts to work fine again. Right now i dont have the problem anymore and the only thing that changed for the is i updated msi afterburner and rivatuner with latest version.

Using win 10 rs3. Nvidia driver 387.92

Neo-XP
14th October 2017, 16:49
Thanks, I see it now. Do you have more images like this? Would help...

Sure, I did a test here some time ago : https://forum.doom9.org/showthread.php?p=1789253#post1789253

I will try to find more.

Razoola
14th October 2017, 17:11
I'm not sure I understand what you mean. Are you saying you're not fully happy with the tutorial text I've written? Or with the optimization procedure/logic? Or both? I'm open for improvement suggestions.

As far as nvidia is concerned I think the only change needed now to custom resolutions is for madVR to check the current refresh rate at the point the user presses the 'test mode' button (on either first adding or on optimise). If the display is already using the refresh rate to be altered madVR should either;

1) Automatically first change the current refresh rate to something other than the refresh rate setting to be tested.

2) Tell the user that madVR first needs to change the current display refresh rate which then happens after the user presses ok.

3) Stop with an error telling the user to first change the current refresh rate to something else.

el Filou
14th October 2017, 17:35
Regarding the idea by clsid for a quality variable, in the meantime I've found a workaround where I include the TV channel name in the filename of the recording, and then I've set rules in madVR that match specific channel names to an "awful source" profile :D
Only thing is this cannot work for live TV, only recordings.

valdeski
14th October 2017, 19:26
@madshi
I did some testing, all madvr settings to default but D3D11 fullscreen windowed on a second monitor. I deleted the settings.bin and reset the settings every time just in case.
v0.92.02
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) sometimes freezes for 2 or 3 seconds but no actual crashes and playback resumes like usual.
D3D11 cb direct(Hardware Device selected) No issues.

v0.92.03
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) Crashes, no error messages, MPC-HC freezes and CPU usage goes crazy.
D3D11 cb direct(Hardware Device selected) No issues.

v0.92.04
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) Crashes, no error messages, MPC-HC freezes and CPU usage goes crazy.
D3D11 cb direct(Hardware Device selected) No issues.

v0.92.05
DXVA2(Copy-Back) Crashes with "MPC-HC has stopped working" window.
D3D11 Automatic (Native) Crashes with "MPC-HC has stopped working" window.
D3D11 cb direct(Hardware Device selected) Crashes with "MPC-HC has stopped working" window.
All three happen just from going from in-game fullscreen to windowed mode, definitely a lot more sensitive that the previous releases.
Actually got a madvr crash error window with this version but got not log file(I assume it goes to the desktop, right?)

v0.92.06
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) Crashes, no error messages, MPC-HC freezes and CPU usage goes crazy, sometimes behaves similar to v0.92.02 with 2-3 second freezes and playback continues.
D3D11 cb direct(Hardware Device selected) No issues.


All of the above happens when launching a game or when closing the game or going from in-game fullscreen to windowed and vise versa, if you manage to get in-game without MPC-HC crashing then you're not very likely to encounter issues unless you do try to go into windowed mode or encounter a loading screen.
Some files seem to be more susceptible to crashing but it's not an issue of only happening with "x" specific file or "x" specific game.
GPU is Nvidia GTX 970, driver 385.69. Game was Battlefield 4 Fullscreen exclusive(it happens in other games too).

PurpleMan
14th October 2017, 20:27
@madshi

I'm not whether or not this has been previously reported or nobody noticed, but I see 2 very annoying issue with the "move subtitles to the bottom of the screen" feature (which as you know is extremely useful for 2.35:1 movies).

(I can't comment on whether it was okay in previous versions as I only now started using madVR with XYsubfilter).

Issue 1 - It seems that every subtitle is displayed in a slightly different horizontal position (more than a few pixels up or down).

Issue 2 - Unrelated to issue 1, which happens regardless, I think you're treating the subtitle as an image and just move it down not accounting for actual text or characters. A little complicated to explain, but I'll try -

Consider the following different subpictures:

SUB 1 - aaaaaaaaaaaaaaaaa

SUB 2 - aaaaaaaaaaapaaaaaaaaaaq

Because the lowest pixel in SUB1 is at the bottom part of the 'a' character, it will align the entire text in a certain horizontal position.

On SUB2, the lowest point is at the bottom of the 'q' and 'p' characters, and it will align the entire text based on that, so that the rest of the characters ('a' characters) are in a different position on SUB2 than they were in SUB1.

I know this example makes it seem as if it's a rare case, but in some languages, and even in English - this is EXTREMELY noticeable and as subtitles changing fast it make it seem that the entire sub picture stream is just moving up and down between subs.

Issue 3 - Some sub pictures are 1 line while others are 2 lines. When rendering subtitles, there's a fixed virtual position for each line (row 1 and row 2), so if you have just 1 line it's displayed on row 2 (the lower row) and if you have 2 of them they're displayed on both rows. What I'm seeing is that if there's a single line, it's actually displayed in a third location seemingly in between row 1 and row 2.

I couldn't find a better way to describe this, so let me know if you want me to include some screenshots to clarify. What I can tell you is that if you turn off the 'move subtitles to bottom' feature in madVR, while the subtitles are then rendered on the video itself instead of the black bars area, the positioning is perfect and you don't have any of the above issues, thus eliminating xysubfilter as the cause for this.

Thanks for all your hard work, much appreciated!

rivera
14th October 2017, 21:25
2) In the madVR custom resolution options, select the predefined 23Hz refresh rate in the list and click edit (that is your case).
3) Click 'test mode'.
4) The monitor will set the new resolution, confirm that you see it. If its fine click save.
5) Reboot PC
Negative:
1. Open madVR settings, go to "custom modes":
https://forum.doom9.org/attachment.php?attachmentid=16086&stc=1&d=1508013943
2. This 23Hz mode is displayed as "missing", although some 23Hz mode can be selected in Nvidia Control Panel.
3. If I open this 23Hz mode in this window and then press "Apply" in a corresponding dialog window, messagebox "The GPU rejected this mode, for unknown reasons" is displayed.
Tried with and w/o "D3D hack to use 24Hz and 60Hz" - same messagebox.
So, Nvidia Control Panel allows to select some mode with 23 Hz, but madVR does not.

One more mystery:
1. 59Hz mode is also present in Nvidia Control Panel, but is "missing" in "custom modes" window.
2. Open this mode, then press "Apply" button.
3. A message "the mode was successfully added" pops up.
4. But even after restarting the Windows this 59Hz mode is still "missing".

And there is one more mystery - 50Hz mode is always marked as "active", regardless of the actually selected mode in Nvidia Control Panel.

Q-the-STORM
14th October 2017, 23:42
So does the tweaked madHcCtrl.exe which I made available a couple posts ago fix the probem?

Just did some more testing with 0.92.6 and tweaked madHcCtrl.exe and it seems to work now, I'm posting my steps that got it working, so people with a nvidia card can easily replicate, though I'm doing this by memory, so I might miss something.
(So you don't have to find my original posts: I'm using gtx 1080 ti, windonw 10 pro x64, MPC-HC x64 and my original problem was since I have standard modes for 23 and 24Hz, I couldn't create a custom mode inside madVR and also couldn't edit the existing modes. With the tweaked madHcCtrl.exe, editing is possible now)


At the end some notes for madshi


- I deleted my custom resolutions, so I'm back to zero.

- Went into nvidia control panel, changed into 2160p30, full RGB and 12bit.

- Opened a 23.976fps video, went into madVRs custom modes tab and clicked on the 2160p resolution with 23Hz (listed as standard mode) and clicked on edit

- increased pixel clock by 0.01 mhz and clicked on test mode and clicked on Yes to save the custom mode.

- the 23hz mode is now listed as "custom timings"

- clicked on reset GPU

- closed MPC-HC, reopened the video.

- opened nvidia control panel and switched to my new custom mode (Note that in nvidia control panel the new custom mode is for 24Hz, not 23Hz for some reason)

- checked custom modes tab in madVR to see that the custom timings 23Hz mode is selected as active, which it is and clicked on optimize

- closed all menus and played the file for over 10min.

- in custom modes tab in madVR, I clicked on "optimize", there I selected "optimized pixel clock #1" (which was the first option that had no frame drops.) and clicked on test mode, then on Yes.

- played the file again and checked stats

- in the first 10 sec "1 frame repeat" climbs to 2 hours, in the next 30 secs it climbs to about 4-6hours and eventually stablizes at about 9.0X hours

This is again only for windowed fullscreen, with FSE I get the same output as standard 23 and 24Hz modes in FSE.

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

Notes for madshi: (probably all nvidia bugs)
1.
When I was switching around resolutions, trying things out I noticed that sometimes when I switch to the custom resolution and open nvidias control panel, in the "Resolution" section, it didn't show a custom resolution, but a new resolution at the bottom...

To make it more clear: there are normally 2 sections in the "Resolutions" list in the control panel, "Ultra HD, HD, SD" with a bunch of resolutions and under that "PC" with a few more resolutions, going up to 1280x1024. If you have a custom resolution there is a new section on Top "Custom", Making it 3 sections total.

*Sometimes* there is no "Custom" section, but the resolution created by madVR shows up at the top of the "PC" section with a new entry "3840x2160". When I switch to another resolution, the resolution under "PC" disappears and the "Custom" Section reappears.
Couldn't really see a pattern, also don't really want to test things here, since it works and doesn't seem to be an issue.

2.
When I was trying optimized pixel clocks, or other standard timings like "CVT Reduced Blanking v1" etc. I was always getting a black screen when I was in 8bit. I tried about 10 different modes, none worked. Then I went to nvidia control panel, switched to 12bit, then the timings suddenly worked. (this could obviously be caused by my TV or my AVR simply allowing more custom modes in 10/12bit)

Interesting thing is though, when I'm in my custom mode, nvidias control panel doesn't have an output color depth selected

https://i.snag.gy/7w9TKV.jpg

the field is empty and only 8bpc is available to choose

This is standard behaviour if you switch to a mode that doesn't have 10/12bit available, like when you switch from 30Hz 12bit to 60Hz, the field will be empty and only 8bit will be available to choose. The difference is, when I'm switching to 60Hz, I'm actually switching to 8bit, but when I switch from 30Hz 12bit to my custom resolution, I stay in 12bit, even though it's not available to choose afterwards. Confirmed visually with the 16bit gradient png with no dithering + the app for my AVR shows "RGB Full / 36bit" which is the 12bit mode, 8bit mode would show 24bit.
If I'm in my custom resolution and try to change bitdepth from "empty" to 8 bit, I get a black screen again. So I'm definitely in 12bit here (right?)

3.
Can you make it possible to change the "nvidia color settings" (output color depth, output color format and output dynamic range) inside madVRs custom modes tab? That way all settings are available from inside madVR. With all the bugs nvidia brings, I kind of trust madVR more than I do nvidia's control panel.


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

After all this writing I actually don't remember if there were any other things I wanted to point out, so it's those 3 things for now. Like I mentioned, probably just nvidia bugs, but those might be interesting to know, if you didn't know them already. Since I got 12bit and 9 hours without drops, I'm done with testing for now, unless you have something specific for me to test.

famasfilms
15th October 2017, 01:26
I just installed Fall Creators Update and now HDR is acting differently.

I have HDR off on Windows and madvr on HDR passthrough.

Before the update madvr would turn on HDR mode and turn it off after playback.

Following the update it seems that windows HDR mode is also being activated, this can lead to a washed out effect. After playback then windows HDR stays on

I haven't played around with it too much as it's late

austinminton
15th October 2017, 01:57
madVR saying P010, 10bit, 4:2:0 is what the decoder delivers to madVR, it has no consequence of what is sent to the GPU.

HDMI 2.0 can't do 4Kp60 RGB with more than 8bit. So even if you tell the GPU *and* madVR to output 10bit RGB at 4Kp60, it won't happen. Someone somewhere will have to drop it down to 8bit. Probably it will be the GPU driver, and I'm not sure they'll apply proper dithering. So it's better if you take care of this yourself, e.g. by using profiles.

My recommendation is to always output RGB. 10bit is nice if your TV fully supports it (and benefits from it), otherwise 8bit is just fine, too, even for HDR content, thanks to madVR's high quality dither.


Thanks madshi. I have read through your initial posts here for RGB and YCbCr and I understand why RGB is important. Has anything changed at all over the years with more focus of windows on hdr and wide color gamut? Still no apis to work with YCbCr data and avoid the conversion to RGB?

I have finally figured out how to see the final output of the gpu, and its 4k@60, RGB 8-bit. Definitely its the GPU converting it to 8-bit. If I get your suggestion correctly, I should create a new profile for 4k@60 videos to set the panel bit-depth at 8-bit instead? That should take away the GPUs 10bit to 8bit conversion and let madvr do it instead. I definitely prefer madvr handling any conversions over the gpu.

On a side note I use the 12bit trick mentioned earlier here and manage to get 12bit RGB for all other resolutions, including 4k@23 UHD. I am hoping in this case the gpu is just padding data to 12 bits.

Yes my TV is a native 10-bit panel.

Mark Regalo
15th October 2017, 06:21
madVR has a black screen within MPC-HC when playback is restarted from pause after hibernation wakeup. Audio works and timebar progresses but the video remains black even after resizing.

j82k
15th October 2017, 08:34
I just installed Fall Creators Update and now HDR is acting differently.

I have HDR off on Windows and madvr on HDR passthrough.

Before the update madvr would turn on HDR mode and turn it off after playback.

Following the update it seems that windows HDR mode is also being activated, this can lead to a washed out effect. After playback then windows HDR stays on

I haven't played around with it too much as it's late

Are you sure it's the Fall Creators Update doing this? Because the latest nvidia driver 387.92 is causing exactly what you just described, even without the Fall Creators Update.

j82k
15th October 2017, 08:46
As for 8-bit vs 10-bit vs 12-bit.
I have a LG 55C6V TV which is supposed to have a 10-bit panel and I tried this 10-bit test pattern to compare:
https://yadi.sk/d/RPrX2C7l3HEjPq/03.%20Grayscale/04.%2010bit%20test

I'm actually getting the best gradient using full RGB 8-bit output. Not sure why this is. Either my TV is crap or nvidia isn't outputting 10 and 12 bit correctly.

oldpainlesskodi
15th October 2017, 09:02
I just installed Fall Creators Update and now HDR is acting differently.

I have HDR off on Windows and madvr on HDR passthrough.

Before the update madvr would turn on HDR mode and turn it off after playback.

Following the update it seems that windows HDR mode is also being activated, this can lead to a washed out effect. After playback then windows HDR stays on

I haven't played around with it too much as it's late

If you are using an Nvidia card, try driver 385.41 (works here with the fall update, although FSE seems to be broken - I think Madshi mentioned a while ago that MS or Nvidia were dropping FSE),

K

madshi
15th October 2017, 10:39
my bad, sorry.

original (no scaling or refinement)
https://postimg.org/image/l5iw5ujtr/
no upscaling refinement
https://postimg.org/image/ksrhzcolr/
only thined edges
https://postimg.org/image/y9ogi8ecv/
previous AS +te
https://postimg.org/image/ix04at5cf/
new AS +te
https://postimg.org/image/3oa6x1r3j/
I've just looked into this. Unfortunately your images are useless because of JPEG compression artifacts. Sorry to be harsh, but there's nothing else I can say about your images. The JPEG compression artifacts are much bigger than any difference between the old and new AS version. Please *ALWAYS* use PNG for screenshots.

I simply needed to reboot instead of resetting GPU. Maybe it might be worth it to point out in the guide that resetting, in some cases, simply doesn't do anything.
Resetting the GPU worked well in my tests with AMD/Intel. Unfortunately my Nvidia GPU driver refuses to accept any custom modes ever. So I can't really fully test Nvidia atm.

I'll add a note that resetting the GPU might not be sufficient in some cases and a reboot might be necessary instead.

I know this was brought up years ago (I think it was leeperry who did) but have you any plans to add customisable enhancements to madVR in relation to 'near black' processing?
Maybe at some point in the future, but not soon. Too many other things to do.

And now I get the "GPU driver rejected mode for unknown reasons" for 59Hz too...
GPU driver bug.

I don't know. You asked for a debug log here (https://forum.doom9.org/showthread.php?p=1821353#post1821353). And I provided it here (https://forum.doom9.org/showthread.php?p=1821363#post1821363).

But I've been getting hang with madVR for ages and complained a few times here. Also did to the PP dev and the progDVB dev.
Looking at your first log, I can see that playback starts with "Oldboy", and seems to be running ok for about 2 seconds. Then playback switches to "John Wick", but before playback can even start properly, it switches back to "Oldboy", and then to "Cube". After it switched to "Cube", the decoder doesn't send any more video frames to madVR, for some reason.

Log 2 tries to play "John Wick", but the decoder never even sends a single frame.

A couple of questions:

1) Is the media player frozen, or is the media player GUI still responsive?
2) Does the madVR OSD (Ctrl+J) still work? If so, I suppose the decoder queue is empty in these situations, right?
3) Do you have the option "delay playback start until render queue is full" activated? If so, does deactivating that option help?

i was wondering what is the optimal setting for my configuration.

Specs:
i7 4770k @4.2Ghz
Zotac GTX 1070 amp extreme SLI
16gb ram

I am using potplayer with lav filters.
I specifically want to know about how much important the artifact removal, image enhancements settings are and when i should use them?
If there were a clear cut answer, madVR would auto select all those settings for you. But there is not. Artifact removal is useful/important if the video file you're playing has artifacts in them. Otherwise it's not important. Image enhancements are useful if the video file you're playing is overly soft. Some users like to have debanding enabled at all times at a low strength, it usually doesn't harm too much, but often helps a bit. Some users like things extremely sharp, so they may have image enhancements enabled at all times. But since these things also depend on the video you're playing, and on your taste, there's not a simple recommendation I can make for you.

Sure, I did a test here some time ago : https://forum.doom9.org/showthread.php?p=1789253#post1789253

I will try to find more.
Thanks, that's helpful.

As far as nvidia is concerned I think the only change needed now to custom resolutions is for madVR to check the current refresh rate at the point the user presses the 'test mode' button (on either first adding or on optimise). If the display is already using the refresh rate to be altered madVR should either;

1) Automatically first change the current refresh rate to something other than the refresh rate setting to be tested.

2) Tell the user that madVR first needs to change the current display refresh rate which then happens after the user presses ok.

3) Stop with an error telling the user to first change the current refresh rate to something else.
I had thought about this, but testing actually still works, so should I really reject testing already in this situation?

I did some testing, all madvr settings to default but D3D11 fullscreen windowed on a second monitor. I deleted the settings.bin and reset the settings every time just in case.
v0.92.02
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) sometimes freezes for 2 or 3 seconds but no actual crashes and playback resumes like usual.
D3D11 cb direct(Hardware Device selected) No issues.

v0.92.03
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) Crashes, no error messages, MPC-HC freezes and CPU usage goes crazy.
D3D11 cb direct(Hardware Device selected) No issues.

v0.92.06
DXVA2(Copy-Back) No issues.
D3D11 Automatic (Native) Crashes, no error messages, MPC-HC freezes and CPU usage goes crazy, sometimes behaves similar to v0.92.02 with 2-3 second freezes and playback continues.
D3D11 cb direct(Hardware Device selected) No issues.

All of the above happens when launching a game or when closing the game or going from in-game fullscreen to windowed and vise versa, if you manage to get in-game without MPC-HC crashing then you're not very likely to encounter issues unless you do try to go into windowed mode or encounter a loading screen.
Some files seem to be more susceptible to crashing but it's not an issue of only happening with "x" specific file or "x" specific game.
GPU is Nvidia GTX 970, driver 385.69. Game was Battlefield 4 Fullscreen exclusive(it happens in other games too).
Ok, thanks. I do have on my to do list to revisit D3D11 native decoder handling. I don't think I can find a quick fix for this right now, I'll have to modify the whole logic, unfortunately, which costs some time...

I'm not whether or not this has been previously reported or nobody noticed, but I see 2 very annoying issue with the "move subtitles to the bottom of the screen" feature (which as you know is extremely useful for 2.35:1 movies).

(I can't comment on whether it was okay in previous versions as I only now started using madVR with XYsubfilter).

Issue 1 - It seems that every subtitle is displayed in a slightly different horizontal position (more than a few pixels up or down).

Issue 2 - Unrelated to issue 1, which happens regardless, I think you're treating the subtitle as an image and just move it down not accounting for actual text or characters. A little complicated to explain, but I'll try -

Consider the following different subpictures:

SUB 1 - aaaaaaaaaaaaaaaaa

SUB 2 - aaaaaaaaaaapaaaaaaaaaaq

Because the lowest pixel in SUB1 is at the bottom part of the 'a' character, it will align the entire text in a certain horizontal position.

On SUB2, the lowest point is at the bottom of the 'q' and 'p' characters, and it will align the entire text based on that, so that the rest of the characters ('a' characters) are in a different position on SUB2 than they were in SUB1.

I know this example makes it seem as if it's a rare case, but in some languages, and even in English - this is EXTREMELY noticeable and as subtitles changing fast it make it seem that the entire sub picture stream is just moving up and down between subs.

Issue 3 - Some sub pictures are 1 line while others are 2 lines. When rendering subtitles, there's a fixed virtual position for each line (row 1 and row 2), so if you have just 1 line it's displayed on row 2 (the lower row) and if you have 2 of them they're displayed on both rows. What I'm seeing is that if there's a single line, it's actually displayed in a third location seemingly in between row 1 and row 2.

I couldn't find a better way to describe this, so let me know if you want me to include some screenshots to clarify. What I can tell you is that if you turn off the 'move subtitles to bottom' feature in madVR, while the subtitles are then rendered on the video itself instead of the black bars area, the positioning is perfect and you don't have any of the above issues, thus eliminating xysubfilter as the cause for this.

Thanks for all your hard work, much appreciated!
First of all, are we talking about bitmap type subtitles (VOBSUB, SUP, Blu-Ray m2ts included subs etc)? Or are we talking about text type subtitles (SRT, ASS, etc)? Can you please also test "the other type" to see if those are also affected?

Finally, a small video sample which shows all these problems you mentioned would be helpful. Or if it's hard to find one sample which reproduces all these problems, then I'm also fine with multiple smaller video samples, one for each problem.

Negative:
1. Open madVR settings, go to "custom modes":
https://forum.doom9.org/attachment.php?attachmentid=16086&stc=1&d=1508013943
2. This 23Hz mode is displayed as "missing", although some 23Hz mode can be selected in Nvidia Control Panel.
3. If I open this 23Hz mode in this window and then press "Apply" in a corresponding dialog window, messagebox "The GPU rejected this mode, for unknown reasons" is displayed.
Attachments don't work in this forum, unfortunately.

The "The GPU rejected this mode" is unfortunately a GPU driver bug, not much I can do about it. I've already reported it to Nvidia, a fix might be coming at some point in the future, but probably not very soon.

One more mystery:
1. 59Hz mode is also present in Nvidia Control Panel, but is "missing" in "custom modes" window.
2. Open this mode, then press "Apply" button.
3. A message "the mode was successfully added" pops up.
4. But even after restarting the Windows this 59Hz mode is still "missing".

And there is one more mystery - 50Hz mode is always marked as "active", regardless of the actually selected mode in Nvidia Control Panel.
50Hz mode being always marked as "active" seems *very* strange, no other user has reported this before. What happens if you change refresh rates through the OS display control panel instead of using the Nvidia control panel?

1.
When I was switching around resolutions, trying things out I noticed that sometimes when I switch to the custom resolution and open nvidias control panel, in the "Resolution" section, it didn't show a custom resolution, but a new resolution at the bottom...

To make it more clear: there are normally 2 sections in the "Resolutions" list in the control panel, "Ultra HD, HD, SD" with a bunch of resolutions and under that "PC" with a few more resolutions, going up to 1280x1024. If you have a custom resolution there is a new section on Top "Custom", Making it 3 sections total.

*Sometimes* there is no "Custom" section, but the resolution created by madVR shows up at the top of the "PC" section with a new entry "3840x2160". When I switch to another resolution, the resolution under "PC" disappears and the "Custom" Section reappears.
Couldn't really see a pattern, also don't really want to test things here, since it works and doesn't seem to be an issue.

2.
When I was trying optimized pixel clocks, or other standard timings like "CVT Reduced Blanking v1" etc. I was always getting a black screen when I was in 8bit. I tried about 10 different modes, none worked. Then I went to nvidia control panel, switched to 12bit, then the timings suddenly worked. (this could obviously be caused by my TV or my AVR simply allowing more custom modes in 10/12bit)

Interesting thing is though, when I'm in my custom mode, nvidias control panel doesn't have an output color depth selected

https://i.snag.gy/7w9TKV.jpg

the field is empty and only 8bpc is available to choose

This is standard behaviour if you switch to a mode that doesn't have 10/12bit available, like when you switch from 30Hz 12bit to 60Hz, the field will be empty and only 8bit will be available to choose. The difference is, when I'm switching to 60Hz, I'm actually switching to 8bit, but when I switch from 30Hz 12bit to my custom resolution, I stay in 12bit, even though it's not available to choose afterwards. Confirmed visually with the 16bit gradient png with no dithering + the app for my AVR shows "RGB Full / 36bit" which is the 12bit mode, 8bit mode would show 24bit.
If I'm in my custom resolution and try to change bitdepth from "empty" to 8 bit, I get a black screen again. So I'm definitely in 12bit here (right?)
Interesting. Don't know what to say about it. Seems like the Nvidia GPU driver has a lot of annoying bugs in this area.

3.
Can you make it possible to change the "nvidia color settings" (output color depth, output color format and output dynamic range) inside madVRs custom modes tab? That way all settings are available from inside madVR. With all the bugs nvidia brings, I kind of trust madVR more than I do nvidia's control panel.
Many things are possible, but I'm not going to replicate all of Nvidia's GPU control panel into madVR just because Nvidia's driver is buggy. I don't have the time for that.

Has anything changed
No.

I have finally figured out how to see the final output of the gpu, and its 4k@60, RGB 8-bit. Definitely its the GPU converting it to 8-bit. If I get your suggestion correctly, I should create a new profile for 4k@60 videos to set the panel bit-depth at 8-bit instead? That should take away the GPUs 10bit to 8bit conversion and let madvr do it instead. I definitely prefer madvr handling any conversions over the gpu.

On a side note I use the 12bit trick mentioned earlier here and manage to get 12bit RGB for all other resolutions, including 4k@23 UHD. I am hoping in this case the gpu is just padding data to 12 bits.

Yes my TV is a native 10-bit panel.
It's still worth checking if 10bit output actually looks better than 8bit output at all. See j82k's post.

madVR has a black screen within MPC-HC when playback is restarted from pause after hibernation wakeup. Audio works and timebar progresses but the video remains black even after resizing.
Hmmm... Could be a bug in madVR, but it doesn't seem very important to me right now, so it's very low priority.

As for 8-bit vs 10-bit vs 12-bit.
I have a LG 55C6V TV which is supposed to have a 10-bit panel and I tried this 10-bit test pattern to compare:
https://yadi.sk/d/RPrX2C7l3HEjPq/03.%20Grayscale/04.%2010bit%20test

I'm actually getting the best gradient using full RGB 8-bit output. Not sure why this is. Either my TV is crap or nvidia isn't outputting 10 and 12 bit correctly.
It's not all that surprising. Many TVs internally dither 10/12bit down to 8bit (or even 6bit) and madVR's dithering quality is probably better than what those displays are doing. So if you get best quality by using madVR's 8bit output, then use that, and don't worry too much about it.

ashlar42
15th October 2017, 11:23
Anyway, I'm up to "no drops/repeats" for 23.976, 50 and 59.94Hz. I have perfect timings for 50 out of the box, I had 1 drop every 2 days before in CRU, through madVR I optimized it perfectly, I optimized 59.94 in madVR too. Then I removed everything and I inserted the calculated values in CRU. Which worked with 59.94.

I'd say I'm 99% there. :)

As a side note... I've been an Nvidia HTPC user for more than 10 years. The mess that they had back then and the mess that they still have today concerning custom resolutions is beyond belief.

For the life of me I can't understand how a multi-billion company can neglect a portion of its control panel for so long.