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

huhn
2nd November 2017, 18:56
you are not by anychance using d3d11 decode?

pirlouy
2nd November 2017, 20:46
Btw. in case presentation glitches are driving you crazy all of a sudden: There seems to be an issue with the latest Nvidia driver or drivers when polling power sensor with tools like GPU-Z or Afterburner.
I've always had dropped frames with GPU-Z. That's why I use other tools like OpenHardwareMonitor or HWiNFO.

Mark Regalo
2nd November 2017, 20:49
@madshi, screenshots scales the cropped image to the encoded video size when a screenshot is taken.

e.g. If a 1920 x 1080 video which is cropped to 1920 x 816 by madVR, the screenshot will scale the 1920 x 816 image to 1920 x 1080 and the screenshot comes out vertically stretched.

Gopa
2nd November 2017, 22:01
This is what I have come up with, so far, for viewing anime (I admit, that I have no issue, with heavily processing anime, for my personal preference).
GTX 1070 + madVR + Samsung KU7500 (65” 4K)
use original source resolution (almost all anime is 720p); 10bit is preferred (smaller file size; enhanced color); NVIDIA control panel (usually, 2160p30); Viewing distance: 7-8’
madVR settings (example, with average quality 720p source):
10bit & above; switch to matching display mode (2560x1440p23)*
artifact removal: reduce banding artifacts (medium/medium), reduce ringing artifacts (yes), reduce compression artifacts (1), process chroma channels, too (yes), reduce random noise (2), process chroma channels, too (yes)
image enhancements: sharpen edges (3.5), crispen edges (no), thin edges (3.5), enhance detail (no), LumaSharpen (0.55), AdaptiveSharpen (0.3), linear light (no), activate anti-bloating filter (50%), activate anti-ringing filter (yes)
chroma upscaling (NGU Sharp, very high quality)
image downscaling (SSIM 2D – strength: 100%), scale in linear light (yes), activate anti-ringing filter (yes, strict), activate anti-bloating filter (no)
image upscaling (NGU Sharp, very high quality), everything else let madVR decide
upscaling refinement: sharpen edges (3.5), crispen edges (no), thin edges (3.5), enhance detail (no), soften edges (1), add grain (no), LumaSharpen (0.55), AdaptiveSharpen (no), activate anti-bloating filter (no), activate anti-ringing filter (yes), SuperRes (no), refine the image after ever 2x upscaling step
use Direct 3D 11 for presentation (yes), present a frame for every Vsync (yes), everything else unchecked
Error Diffusion – option 2, use colored noise (yes), change dither for every frame (yes)
trade quality for performance (all unchecked)
rendering: 34.00+, no dropped or repeated frames
image is very sharp & artifact free
Using, 720p, anime sources, plus, 1440p, resolution, results in, higher image quality, than, using 1080p, sources, or switching to matching modes, 1080p23, or 2160p23. 1440p, is a compromise, allowing better picture quality, than 1080p, while also allowing, madVR enhancements, at very high settings, which is not possible, with 2160p (unable to use some, madVR enhancements, or at least, only at lower settings). Also, for some reason, the Samsung, seems to prefer, upscaling 1440p, vs 1080p (?). MadVR, with higher settings, improves clarity, so much, that it is superior to native resolution, with lower madVR settings. For me, anything more powerful, than a GTX 1070, would not be utilized, for 720p anime, at least (GTX 1080, or 1080 ti, would only help, with, 1080p & 2160p sources). I thought, that using native resolution (2160p), would result in the best image quality: in my opinion, this is not true, with a GTX 1070 & 720p anime.
I also use win10 (customized win7 layout), plus 388.00 Nvidia Drivers & I have had no issues, at all, with win10 (including all updates), or the newest drivers, although I do not use HDR & have not yet calibrated (high on my list). Note: Some of my anime, looks simply awful, without madVR & with it, looks like 4K anime.
In summary:
No issues with win10; No issues with 388.00 drivers; 720p over 1080p anime sources; 1440p over 1080p or 2160p resolution. Any questions, or advice, are welcome.
Thank you, Madashi, for madVR! Best software, ever! Your new, reduce random noise, is really sweet! Is there anything, that I can do, to help?
So, what do you think, I could improve on? Am I missing something important? Anyone?

ABDO
3rd November 2017, 00:48
Thank you, Madashi, for madVR! Best software
tottly agree with that, Actually no software in the world can do what madvr do, even paid software.

madshi always Listen well to madvr users, and Respond to all queries, questions and problems,and he spend alot of time and effot for that for many years since first madvr version.

so we want him to know that we are realy Appreciate his effort and all the time he spend to make number1 and most powerfull software available for video fans like us.

madshi we love you :)

XMonarchY
3rd November 2017, 02:05
Now madVR has the screenshots feature, but screenshots taken are still pitch-black... Am I missing something? I use Print-Screen. I haven't found any other hot keys associated to taking screenshots within madVR's User Interface - Keyboard Shortcuts section...

ABDO
3rd November 2017, 02:15
Am I missing something? ...
use ( F5 ) for that.

XMonarchY
3rd November 2017, 03:21
use ( F5 ) for that.

Thanks!

XMonarchY
3rd November 2017, 03:27
The new update is really good!

XMonarchY
3rd November 2017, 05:11
use ( F5 ) for that.


It takes some kind of mirror screenshot... NO amount of rotation makes it like the original image... Is there a way to take normal screenshots that copy the image as is and don't create some mirror copy? I am doing it to a TGA image and the BMP image madVR produces is the mirror image of the TGA image...

EDIT: OK, I can deal with this issue with Paint.NET

I use MPC-HC x64 (latest) and noticed together with madVR DDS images look very different compared to how they look in Paint.NET. Is that due to DDS format?

Devrim
3rd November 2017, 10:15
What would be the recommended setting (Best quality wise) for image downscaling from 4k bluray source material to 1080p? Jinc with "scale in linear light" and anti-ringing filter activated?

ryrynz
3rd November 2017, 12:07
Nothing wrong with Jinc and yes use 'scale in linear light'. Bicubic 150 and SSIM 2D are other popular options. "Best quality" is subjective, you're asking for opinions nothing more.

Cinemancave
3rd November 2017, 16:39
I am trying to get the "custom mode" function to work, but I seem to be getting nowhere. When I select the "Optimize" button, it immediately takes me to the "optimize timing parameters" (I have never gotten to the measurement part, which I thought it would do first?!). When I select a timing with "no frame drops/..." and high compatibility, the display seems to sync up, indicating it would work - but what should I do next? Regardless of whether or not I choose to restart pc or "reset gpu" button, the display mode reverts back to what it was before and I no longer seem to have an option to trigger the suggested custom resolution. Where is it supposed to show up? In Nvidia Control Panel, I sometimes get a "PC custom resolution" (though never if I restart the PC, then there are no other than the standard resolutions and refresh rates to choose from), but if I select it and playback a movie, I get the exact frame drops as when I started out (one drop every 5 min). Am I missing something here? How do I actually get MadVR to start the measurement process in the first place?

On a side note, the only thing that has changed for me when trying to get this to work, is that I can no longer choose 2160p24 in the Nvidia Control Panel (only 23 Hz, 25, 30 etc shows up in the scroll menu...). It does however show up under Nvidia's "add custom resolution" though, but this still gets me the 1 drop every 5 min. I am running latest MadVR with a Geforce 1080 Ti. Nvidia Drivers are the ones that still work with HDR (so not the latest but from about a month ago). I am running everything through a Marantz AVR, connected to both an OLED display and a projector. Could it be the AVR that messes things up?

jkauff
3rd November 2017, 17:08
Did you maybe forget to list the modes madVR is allowed to auto-switch to? If your new custom resolutions are 23hz and 50hz, for example, do you have "2160p23, 2160p25" in the box on the first tab?

DragonQ
3rd November 2017, 17:52
I find it hard to believe it'd be throttling harder than a mobile chip in a laptop but I'll try to get someone with admin rights to help me out. Probably difficult though since all of these monitoring programs require administrator rights to run, not just install.

No luck on the monitoring tools yet but I've managed to get the drivers updated to latest and that didn't help. What I have noticed though is that the machine only has one RAM stick - as I understand it the performance of iGPUs rely heavily on RAM bandwidth so could this be the culprit?

One thing I have changed is the VRAM allocation, increasing it from 32 MiB to 256 MiB. Doesn't seem to have improved much.

YxP
3rd November 2017, 18:46
One thing I have changed is the VRAM allocation, increasing it from 32 MiB to 256 MiB. Doesn't seem to have improved much.

Is there a maximum limit? Because that's your problem right there. Add 3dlut to the mix and 1 GB might not be enough.

Blackwalker
3rd November 2017, 19:12
i have some iussue...

my htpc start and its already in HDR mode (my tv is a LG 65B6V) and it ok.

So i start to play the movie and it stay in hdr mode (i see the "hdr on" message), but when i double click on mpc-hc and it go to full screen not always stay in HDR mode, i mean the hdr mode go away....and i have to switch to full screen/windows mode several times, double cliccking, before i see "hdr on" in full screen mode....wondering why!

someone please? :thanks:

DragonQ
3rd November 2017, 20:39
Is there a maximum limit? Because that's your problem right there. Add 3dlut to the mix and 1 GB might not be enough.
I think 512 MiB is the maximum. I won't be using anything fancy like 3dluts at all, just basic scaling with smooth motion. This is just increasing the amount of DRAM that can be used by the iGPU though so I'm sure bandwidth is important also. I also ran madNV12Test on the system and got these results:

Windows 7 x64 Service Pack 1
Intel(R) HD Graphics 530

D3D9 Surface StretchRect:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (1-255)
D3DFMT_X8R8G8B8: lossy (1-255)
D3DFMT_A8B8G8R8: lossy (1-255)
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (1-255)
D3DFMT_A2B10G10R10: lossy (1-255)
D3DFMT_A16B16G16R16: lossy (1-255)
D3DFMT_A16B16G16R16F: lossy (1-255)
D3DFMT_A32B32G32R32F: StretchRect failed

D3D9 Surface VideoProcessor:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-255)
D3DFMT_X8R8G8B8: lossy (0-255)
D3DFMT_A8B8G8R8: lossy (0-255)
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (1-255)
D3DFMT_A2B10G10R10: lossy (1-255)
D3DFMT_A16B16G16R16: VideoProcessBlt failed
D3DFMT_A16B16G16R16F: VideoProcessBlt failed
D3DFMT_A32B32G32R32F: VideoProcessBlt failed

DXVA Surface StretchRect:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (1-255)
D3DFMT_X8R8G8B8: lossy (1-255)
D3DFMT_A8B8G8R8: lossy (1-255)
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (1-255)
D3DFMT_A2B10G10R10: lossy (1-255)
D3DFMT_A16B16G16R16: lossy (1-255)
D3DFMT_A16B16G16R16F: lossy (1-255)
D3DFMT_A32B32G32R32F: StretchRect failed

DXVA Surface VideoProcessor:
D3DFMT_R8G8B8: creating GPU texture failed
D3DFMT_A8R8G8B8: lossy (0-255)
D3DFMT_X8R8G8B8: lossy (0-255)
D3DFMT_A8B8G8R8: lossy (0-255)
D3DFMT_X8B8G8R8: creating GPU texture failed
D3DFMT_A2R10G10B10: lossy (1-255)
D3DFMT_A2B10G10R10: lossy (1-255)
D3DFMT_A16B16G16R16: VideoProcessBlt failed
D3DFMT_A16B16G16R16F: VideoProcessBlt failed
D3DFMT_A32B32G32R32F: VideoProcessBlt failed

D3D9 Surface speed test:
NV12: upload 269 fps, download 11 fps, trick download failed
YV12: upload 123 fps, download 18 fps, trick download failed
A8R8G8B8: upload 115 fps, download 5 fps, trick download failed

DXVA Surface speed test:
NV12: upload 249 fps, download 10 fps, trick download failed
YV12: upload 123 fps, download 18 fps, trick download failed
A8R8G8B8: upload 113 fps, download 5 fps, trick download failed

A8R8G8B8 Texture speed test:
default: upload 188 fps, download 96 fps
dynamic: upload 162 fps, download 5 fps, trick download 94 fps
A lot of the "download" FPS figures are horrific but I am not sure what they would typically be for such a low-end GPU.

Snowknight26
3rd November 2017, 21:58
madshi, any chance of adding a method of changing the OSD font size? Playing/Paused in the upper left are fine, but on a 2160p 65" screen, the duration and progress times on the FSE progress bar in the bottom right are almost impossible to read from a reasonable distance.

Polopretress
3rd November 2017, 23:58
@madshi
Thank you so much for all these great things added.
I have multiple remarks and questions and it is sometime difficult to search for similar topics in all the previous pages that go very fast to be filled !

I have tried the custom modes. It works fine but i had 2 minors troubles with it :
1. we do not know really if an optimization is in progress when we wait for , at least, 30 minutes, to check the result. Is it possible to add a flag on the screen to show that optimization is on process ?
2. once , an optimization is done (but not done correctly , for example , during only 5 minutes), it seems impossible to clear the first result and go for an other optimization. Again it is not clear in case of a second optimization launched, if it is really launched and will replace the first one.
I did not found where these datas are stored on the computer. Could you give more information how to clean an optimization ? (because if the custom mode is removed and created again from scratch, the result of previous optimization is re-used and displayed)

For the 0.92.8, i have tested the modification done on "reduce compressions artefact" and "reduce random noise".
For RCA, it is better because the adjustement is more precise.
At the opposite, the RRN seems too much heavy compared to 0.92.7. (even at 1)

For Adaptive sharpen, the option LL is not clear because it removes the sharpen added by the algo itself. In fact, i do not understand this option and maybe i miss something about the added value of this new option. Is there a section where the LL behaviour is explained ?

And the last :
On this post https://forum.doom9.org/showthread.php?p=1271417#post1271417, it is explained how to configure profile rules but i do not know how to use it to switch between 1 profil done for bt2020 and the other one done for bt709 since it is not present in the "Supported boolean values" list.
Is it done using "hdr" ?

Thank you !

leandronb
4th November 2017, 01:07
Just doing a follow up about my problem with black screen in madvr. Is all caused by windows 10.
The problem is ocurring on Fall creators update.
Going fullscreen just shows a black screen and audio keeps playing fine. This is solved by enabling D3D11 in madvr, but with this other problems appears. Going fullscreen at 24hz and hovering mouse on seek bar the video start stuttering, and when going back to windowed mode the screen shows a static image, is the last image before going fullscreen, the audio still works fine. On 60 hz this do not happen, but the stuttering on seek bar still happens. Tried on 385.69 and 388.13 nvidia driver, same problem.

Today i installed windows 7 to do some testing and none of the problems happened, madvr worked fine even without D3D11 option selected. No black screen, no stuttering when hover on seek bar and video plays just after returning from fullscreen.

I don't know why MS screw windows so bad like this.

Razoola
4th November 2017, 09:00
someone please? :thanks:

You do not want it to be in HDR mode always. You only want HDR to enable when there is HDR content and then switch HDR off after. If it is not working like this, when you watch non HDR content the colors will be wrong.

If you have a nvidia GFX card the last driver that I know of where this works correctly is 385.41

My advice is don't set up your htpc to boot directly into HDR mode, let madVR handle turning it on and off.

Blackwalker
4th November 2017, 10:05
You do not want it to be in HDR mode always. You only want HDR to enable when there is HDR content and then switch HDR off after. If it is not working like this, when you watch non HDR content the colors will be wrong.

If you have a nvidia GFX card the last driver that I know of where this works correctly is 385.41

My advice is don't set up your htpc to boot directly into HDR mode, let madVR handle turning it on and off.

thx i'll check the driver and i'll set up my htpc to boot in non HDR mode! i'll try later and i'll let you know, thanks a lot! :thanks::thanks:

madshi
4th November 2017, 11:59
Enabling reduce compression artifacts and/or reduce random noise with NNEDI3 chroma (image is fine) upscaling crashes madvr. Win10 x64 GTX 1060 388.00. This doesn't really affect me but I thought I'd mention. Maybe someone else can reproduce this?
Crash report? Please try 385.xx. Newer drivers are known to be buggy.

Not directly related to madvr, but I have a question for you madshi because you have a jvc projector like me. Do you have some panning flickering playing at 23hz? I know that is normal for film content (there is flicker at the theater too) but with my jvc the effect is more apparent on some bright high contrast movies like for example Everest. Do you think I will see any improvements in motion if I play a movie with a high end player like the oppo 203? or it will be the same because of the projector?
"Flicker" is something *completely* different to "judder". What you describe sounds like judder, but you say it's flicker. So I'm not really sure what you mean or how to reply.

When I try to do 23hz, however, the monitor accepts it and plays just fine, but when I try to save I always get the "GPU did not accept" error message.
GPU driver issue.

I can set up 23.976hz using CRU 1.3.1, and it works fine, but of course I get no optimizations. What are you doing to set custom resolutions that is different from CRU, and is there anything you can change so that the GPU accepts the resolution?
I'm using Nvidia/AMD/Intel private APIs, while CRU does an EDID override. These are totally different solutions.

Which version of AMD driver is currently the best for madVR / Win8.1 / HD7850?
I don't know.

What are the most powerful AMD videocards that is worth to use with madVR with Xeon L5240 / Xeon X5260 / Xeon E5430 / Xeon 5160 (please specify per CPU)?
"worth to use" is very subjective. Generally, when doing video playback with madVR/LAV, CPU sits mostly idle, except when using very specific features like black bar detection, copyback video decoding etc. So generally, the CPU got nothing to do with which GPU you choose. At least not for video playback.

@madshi, screenshots scales the cropped image to the encoded video size when a screenshot is taken.

e.g. If a 1920 x 1080 video which is cropped to 1920 x 816 by madVR, the screenshot will scale the 1920 x 816 image to 1920 x 1080 and the screenshot comes out vertically stretched.
I can reproduce it with "crop black bars" activated. You can uncheck this option for a temporary workaround.

reduce random noise (2), process chroma channels, too (yes)
Most people seem to find "reduce compression artifacts" to work better than "reduce random noise". So it might make more sense to increase the "reduce compression artifacts" strength and instead disable "reduce random noise". That will result in less GPU power consumption, too.

image enhancements: sharpen edges (3.5), crispen edges (no), thin edges (3.5), enhance detail (no), LumaSharpen (0.55), AdaptiveSharpen (0.3), linear light (no), activate anti-bloating filter (50%), activate anti-ringing filter (yes)
There are too many sharpening algos in madVR. Of course you can use them all, but it's usually better to pick one you like to use that with a higher strength, and disable the others. But if you did image comparisons to come up with the settings you selected, then that's fine with me.

chroma upscaling (NGU Sharp, very high quality)
I'd say chroma is not that important, so I'd use high quality, only. But then, if you have GPU power to spare, why not high quality, as long as you don't have to compromise elsewhere because of that.

upscaling refinement: sharpen edges (3.5), crispen edges (no), thin edges (3.5), enhance detail (no), soften edges (1), add grain (no), LumaSharpen (0.55), AdaptiveSharpen (no), activate anti-bloating filter (no), activate anti-ringing filter (yes), SuperRes (no), refine the image after ever 2x upscaling step
Image enhancements sharpen the image before upscaling, upscaling refinements sharpen after upscaling. If you have the GPU power, sharpening after upscaling usually result in better quality. So I'd suggest to do that (maybe increase strength there) and disable image enhancements. However, if the video doesn't happen to need upscaling, then you'd get no sharpening that way.

Thank you, Madashi, for madVR! Best software, ever! Your new, reduce random noise, is really sweet! Is there anything, that I can do, to help?
tottly agree with that, Actually no software in the world can do what madvr do, even paid software.

madshi always Listen well to madvr users, and Respond to all queries, questions and problems,and he spend alot of time and effot for that for many years since first madvr version.

so we want him to know that we are realy Appreciate his effort and all the time he spend to make number1 and most powerfull software available for video fans like us.

madshi we love you :)
Thanks guys! :)

Now madVR has the screenshots feature, but screenshots taken are still pitch-black... Am I missing something? I use Print-Screen. I haven't found any other hot keys associated to taking screenshots within madVR's User Interface - Keyboard Shortcuts section...
Print-Screen doesn't work in FSE mode.

It takes some kind of mirror screenshot... NO amount of rotation makes it like the original image... Is there a way to take normal screenshots that copy the image as is and don't create some mirror copy? I am doing it to a TGA image and the BMP image madVR produces is the mirror image of the TGA image...

EDIT: OK, I can deal with this issue with Paint.NET

I use MPC-HC x64 (latest) and noticed together with madVR DDS images look very different compared to how they look in Paint.NET. Is that due to DDS format?
That sounds very weird. I don't get any mirroring on my PC. This may be specific to the madVR settings you've selected, but I'm not sure. DDS? I don't even know what that is!

I am trying to get the "custom mode" function to work, but I seem to be getting nowhere. When I select the "Optimize" button, it immediately takes me to the "optimize timing parameters" (I have never gotten to the measurement part, which I thought it would do first?!). When I select a timing with "no frame drops/..." and high compatibility, the display seems to sync up, indicating it would work - but what should I do next? Regardless of whether or not I choose to restart pc or "reset gpu" button, the display mode reverts back to what it was before and I no longer seem to have an option to trigger the suggested custom resolution. Where is it supposed to show up? In Nvidia Control Panel, I sometimes get a "PC custom resolution" (though never if I restart the PC, then there are no other than the standard resolutions and refresh rates to choose from), but if I select it and playback a movie, I get the exact frame drops as when I started out (one drop every 5 min). Am I missing something here? How do I actually get MadVR to start the measurement process in the first place?

On a side note, the only thing that has changed for me when trying to get this to work, is that I can no longer choose 2160p24 in the Nvidia Control Panel (only 23 Hz, 25, 30 etc shows up in the scroll menu...). It does however show up under Nvidia's "add custom resolution" though, but this still gets me the 1 drop every 5 min. I am running latest MadVR with a Geforce 1080 Ti. Nvidia Drivers are the ones that still work with HDR (so not the latest but from about a month ago). I am running everything through a Marantz AVR, connected to both an OLED display and a projector. Could it be the AVR that messes things up?
When you "test" a suggested optimized mode, can you afterwards apply/save it? Or does madVR complain that the GPU didn't accept it?

Can you please make a screenshot of your "custom modes" tab in the madVR settings? Please upload it somewhere else and then link to it here. Don't attach the screenshot here, doesn't work.

A lot of the "download" FPS figures are horrific but I am not sure what they would typically be for such a low-end GPU.
The "download" numbers should mainly only matter for LAV "copyback" decoding, which will probably not work well for you.

madshi, any chance of adding a method of changing the OSD font size? Playing/Paused in the upper left are fine, but on a 2160p 65" screen, the duration and progress times on the FSE progress bar in the bottom right are almost impossible to read from a reasonable distance.
It's on my to do list, but not with a high priority atm.

1. we do not know really if an optimization is in progress when we wait for , at least, 30 minutes, to check the result. Is it possible to add a flag on the screen to show that optimization is on process ?
Why would it ever not be in progress?

2. once , an optimization is done (but not done correctly , for example , during only 5 minutes), it seems impossible to clear the first result and go for an other optimization. Again it is not clear in case of a second optimization launched, if it is really launched and will replace the first one.
Every time you restart video playback, measurements are also restarted. They are stored in the registry, but only if video playback runs totally uninterrupted for more than 10 minutes. New measurements always overwrite old.

I did not found where these datas are stored on the computer. Could you give more information how to clean an optimization ? (because if the custom mode is removed and created again from scratch, the result of previous optimization is re-used and displayed)
Deleting a custom mode should also remove the measurements. Are you sure that's not working? Measurements are stored in:

HKCU\Software\madshi\madVR\DisplayModeMeasurements

For the 0.92.8, i have tested the modification done on "reduce compressions artefact" and "reduce random noise".
For RCA, it is better because the adjustement is more precise.
At the opposite, the RRN seems too much heavy compared to 0.92.7. (even at 1)
v0.92.7 at strengths 1 and 2 did practically nothing, they pretty much left the image unchanged. So it's clear that 0.92.8 at strength 1 does more.

For Adaptive sharpen, the option LL is not clear because it removes the sharpen added by the algo itself. In fact, i do not understand this option and maybe i miss something about the added value of this new option. Is there a section where the LL behaviour is explained ?
It's a technical difference whether sharpening is applied in gamma or linear light. The result looks slightly different.

On this post https://forum.doom9.org/showthread.php?p=1271417#post1271417, it is explained how to configure profile rules but i do not know how to use it to switch between 1 profil done for bt2020 and the other one done for bt709 since it is not present in the "Supported boolean values" list.
Is it done using "hdr" ?
What exactly do you want to achieve?

Just doing a follow up about my problem with black screen in madvr. Is all caused by windows 10.
The problem is ocurring on Fall creators update.
Going fullscreen just shows a black screen and audio keeps playing fine. This is solved by enabling D3D11 in madvr, but with this other problems appears. Going fullscreen at 24hz and hovering mouse on seek bar the video start stuttering, and when going back to windowed mode the screen shows a static image, is the last image before going fullscreen, the audio still works fine. On 60 hz this do not happen, but the stuttering on seek bar still happens. Tried on 385.69 and 388.13 nvidia driver, same problem.

Today i installed windows 7 to do some testing and none of the problems happened, madvr worked fine even without D3D11 option selected. No black screen, no stuttering when hover on seek bar and video plays just after returning from fullscreen.

I don't know why MS screw windows so bad like this.
I keep telling you guys to use Windows 8.1.

madshi
4th November 2017, 12:08
madVR v0.92.9 released

http://madshi.net/madVR.zip

* added "reduce compression artifacts" quality option "high"
Not much time for madVR atm, so I've only added a "high" quality option to the RCA algorithm. The previous RCA algorithm is still available as "medium" quality. The "high" option is quite a bit slower. At very low strengths I don't see much of a difference, but at medium to high strengths, "high" quality does look a bit better to me. What do you guys think?

Sebastiii
4th November 2017, 14:31
Thanks as usual :)

Lansky
4th November 2017, 14:40
madVR v0.92.9 released

Thanks a lot, I'll try it out immediately. :)

el Filou
4th November 2017, 14:55
Is there a maximum limit? Because that's your problem right there. Add 3dlut to the mix and 1 GB might not be enough.AFAIK the setting for video memory in the BIOS is only used by Windows XP and previous versions. With Vista and later, iGPUs can use dynamic memory allocation.

I also ran madNV12Test on the system:
D3D9 Surface speed test:
NV12: upload 269 fps, download 11 fps, trick download failed
YV12: upload 123 fps, download 18 fps, trick download failed
A8R8G8B8: upload 115 fps, download 5 fps, trick download failed

DXVA Surface speed test:
NV12: upload 249 fps, download 10 fps, trick download failed
YV12: upload 123 fps, download 18 fps, trick download failed
A8R8G8B8: upload 113 fps, download 5 fps, trick download failed

A8R8G8B8 Texture speed test:
default: upload 188 fps, download 96 fps
dynamic: upload 162 fps, download 5 fps, trick download 94 fps

A lot of the "download" FPS figures are horrific but I am not sure what they would typically be for such a low-end GPU.Here are the results for my Sandy Bridge HD 3000 with 2 sticks of DDR3-1333:

D3D9 Surface speed test:
NV12: upload 353 fps, download 9 fps, trick download failed
YV12: upload 95 fps, download 14 fps, trick download failed
A8R8G8B8: upload 142 fps, download 4 fps, trick download failed

DXVA Surface speed test:
NV12: upload 328 fps, download 9 fps, trick download failed
YV12: CreateSurface failed
A8R8G8B8: CreateSurface failed

A8R8G8B8 Texture speed test:
default: upload 176 fps, download 133 fps
dynamic: upload 235 fps, download 11 fps, trick download 141 fpsLooks like your single memory stick is impacting memory bandwidth.
Interestingly, I also tested with the iGPU in "High Performance", and the results were lower, especially dynamic A8R8G8B8 download which was 6 fps instead of 11.

Here are screenshots playing 1080i25 with it with DXVA scaling and smoothmotion off and on (Edit: decoding mode was D3D11 copyback, didn't think to check it before): https://postimg.org/gallery/1t6zfomuk/

I don't know why MS screw windows so bad like this.They want to be able to display their "Game bar" over all games including those who use Exclusive Mode, that's why they had to make Exclusive Mode not-so-exclusive anymore starting from 1703. They keep trying to tweak it to make it more compatible while at the same time minimizing performance loss and graphical glitches but it seems it's not going that well.
I personally never had any problems on any hardware with madVR in Windowed Mode on Windows 10, but I don't use 3D and I don't have other stuff using the GPU when playing movies.

amayra
4th November 2017, 15:00
i have problem madvr drop performance everytime i turn on "use Direct3D 11 for presentation (Windows 7 and newer)" i have glitch repeating frames and to solve this i need to reduce quality option but with some setting work flowless with D3D9D
and this happend with HD 4000 with i7-3770

ABDO
4th November 2017, 15:21
Thank you madshi
After quick look, i think (RCA high) can keep some image details deeper and alittle bit noticeable than (RCA med), and the quality difference become biger noticeable if we add some sharp after image upscaling.

definitely (RCA high) is nice quality option for every one looking for quality befor Anything else.

edit:
in very bad real world Source, (RCA high) can treat the edges lines better than (RCA med).

DragonQ
4th November 2017, 16:50
i have problem madvr drop performance everytime i turn on "use Direct3D 11 for presentation (Windows 7 and newer)" i have glitch repeating frames and to solve this i need to reduce quality option but with some setting work flowless with D3D9D
and this happend with HD 4000 with i7-3770
Yeah this seems to affect all Intel iGPUs and has done for months if not years.

amayra
4th November 2017, 17:17
Yeah this seems to affect all Intel iGPUs and has done for months if not years.
weird it work fine in MPDN this happen only with madvr some old ver work fine to me but i don't remember which one

BluesFanUK
4th November 2017, 17:54
Can I deactivate MadVR if a specific file is played? I'm trying to avoid 4K stuff using it, for some reason all settings are driving my GPU crazy, until I get it replaced, i'd like MadVR to work, but ignore all 4K content, or deactivate/disable based on a file name. Is that even possible? I use PotPlayer as my media player.

jkauff
4th November 2017, 18:33
Can I deactivate MadVR if a specific file is played? I'm trying to avoid 4K stuff using it, for some reason all settings are driving my GPU crazy, until I get it replaced, i'd like MadVR to work, but ignore all 4K content, or deactivate/disable based on a file name. Is that even possible? I use PotPlayer as my media player.
That's something the media player would have to handle. You're asking it to use a different renderer for different types of content. You should ask the Potplayer folks if such a thing is possible.

leeperry
4th November 2017, 19:04
The "high" option is quite a bit slower. At very low strengths I don't see much of a difference, but at medium to high strengths, "high" quality does look a bit better to me. What do you guys think?
Looks great, love it! even with RCA@1 + quad NGU Sharp + SSIM 2D + SR :thanks:

mzso
4th November 2017, 19:39
@madshi
Hi! Will you still look into the freeze reports, or is it forgotten already? :)

BluesFanUK
4th November 2017, 19:42
Huge resource hog isn't it? Brings my 980ti to its knees on high setting.

Anima123
4th November 2017, 19:58
Oh, my good ole 880m can hardly handle the new RCA high.

oldpainlesskodi
4th November 2017, 20:03
madVR v0.92.9 released

http://madshi.net/madVR.zip

* added "reduce compression artifacts" quality option "high"
Not much time for madVR atm, so I've only added a "high" quality option to the RCA algorithm. The previous RCA algorithm is still available as "medium" quality. The "high" option is quite a bit slower. At very low strengths I don't see much of a difference, but at medium to high strengths, "high" quality does look a bit better to me. What do you guys think?

Interesting....thanks for the update as always Madshi.....Unless I am going blind, I can see other changes in the PQ beyond the new RCA....Thanks for the awesome work - now off to watch a film with the new version with the wife :p

K

toniash
4th November 2017, 21:21
That's something the media player would have to handle. You're asking it to use a different renderer for different types of content. You should ask the Potplayer folks if such a thing is possible.

That's something you can do wit PotPlayer presets (preferences(F5) -> Configuration)

Gopa
4th November 2017, 22:09
Madashi:
Turned-off, "reduce random noise" & increased, "reduce compression artifacts" (high). Turned-off, "image enhancements" & increased, "upscaling refinements" (fewer sharpeners). Results: lower render-time, even with, NGU sharp, very high, chroma & luma,with significantly improved image quality. Thank you!

Asmodian
5th November 2017, 06:34
No! Using anything but the native resolution is a very bad idea. Nothing in madVR is worth running a non-native resolution and the results would not be similar at all.

Turning up NGU quality or high for reduce compression artifacts are very minor improvements compared to the terrible quality from running the wrong resolution. Resolution is absolutely the last thing you would ever touch to get playback working. Switch to EVR before dropping the resolution.

ryrynz
5th November 2017, 06:55
Oh, my good ole 880m can hardly handle the new RCA high.

Use it only on the content that needs it most.. so ~480-720 Vres for the post part. Didn't see much of a difference at low strengths.

Dorohedoro
5th November 2017, 08:52
Thank you for the answer madshi, I've fixed the issue, it was the hdmi cable, now everything is running smooth.

Cinemancave
5th November 2017, 10:41
When you "test" a suggested optimized mode, can you afterwards apply/save it? Or does madVR complain that the GPU didn't accept it?

Can you please make a screenshot of your "custom modes" tab in the madVR settings? Please upload it somewhere else and then link to it here. Don't attach the screenshot here, doesn't work.

I managed to solve the issue I was having, here's what I did trying to optimize 2160p23:
- I started a 25Hz movie in order to *not* get the "you cannot edit the active resolution" when doing the following:
- Under "custom modes" tab I deleted the mode I was trying to optimize (2160p23)
- I then had to also delete 2160p23 in the regular "Display Modes" tab
- Under "custom modes" tab, I edited 2160p23 - test mode - success - reset gpu - optimize
- go back to "Display Modes" tab, I add back 2160p23
- Close the 25Hz movie
- Start a 23 Hz movie
- Wait 30 min
- Start the 25Hz movie again - choose to optimize the 2160p23 custom mode - choose a timing with no dropped frames - Test mode - success
- Close
- Start a 23 Hz movie, wait a couple of minutes - no dropped frames for 2-3 days - iterate the process if I want to

So to summarize my thoughts as someone who was doing this for the first time and using your guide: It seems I have two options when doing this iterative process, either I edit the custom modes when playing a movie with the framerate I am trying to optimize in the background (alt A), or when playing a movie with a different framerate than the one I am trying to optimize (alt B). The intuitive way is to do alt A, which is where I ran into most problems. If I choose to test a mode with the desired timings, I will get the "you cannot because of this being the active mode"-message. The only way to get around this (as far as I understand?) is to, say, have the display running in 60Hz (or something other than 23 Hz), and then delete the 2160p23 under "Display modes" - go to Custom Modes - optimize 2160p23, test, success, now go back to the "Display Modes" tab and then once again add the 2160p23 - close the program - start a 23Hz movie. Since this alt A seems to be the intuitive way of doing this as a newbie, the big problem is having to delete the 2160p23 mode under "Display Modes" tab, in order for the "optimize" button to work without getting the "activate display" error message - and then *adding it back* directly afterwards before closing and then starting a 23Hz movie again in order for MadVR to do its calculations when running an optimized mode.

That's why I choose alt B, which is totally counter-intuitive - because why would I playback a 25Hz (or 30Hz, it doesn't matter) movie when I am trying to optimize a 23 Hz mode? Well, because this lets me access MdVR settings and go into the "custom modes" tab, choose to optimize 2160p23, test mode, success - *without having to delete the "2160p23" under the "Display Modes" tab everytime I want to iterate the process*. I then, off course, close the program and start a 23 Hz movie to let MadVR do its calculations - close program - open a 25Hz movie - and do it all again.

Maybe I am missing something? This could be solved if I could edit MadVR settings *without having to playback a movie in the first place*. This way I could be in 60Hz, edit settings, exit, and then start a clip which forces the display into the mode I am tryng to optimize. Is there a way to do edit MadVR settings when not playing anything? If not, I would suggest that MadVR tells you (or the guide) that if you run a 23Hz movie in the background, and this is the mode you want to optimize, you have to delete the 2160p23 under the "Display Modes" tab everytime you want to iterate the process - and then adding it back directly afterwards once you have tested the new timings under "Custom Modes" tab.

I apologize if I have missed something basic, but like I said, as a newcomer this is how I approached it, and the guide didn't tell me that I needed to do this "delete the mode under display modes tab, go into custom modes to test timings, go back into display modes tab and add it back" - then playback movie to calculate - iterate.

On another note - I saw some comparison screenshots of blu-ray upscaled with NGU compared to UHD bluray that only has 2K Digital Intermediate - and the NGU ones were clearly better. So congrats Madshi - you officially beat Hollywood. :thanks: so much for all your effort, it is truly appreciated!

hannes69
5th November 2017, 12:38
Is there a way to do edit MadVR settings when not playing anything?
Go to your installation folder of madVR. There you´ll find madHcCtrl.exe. Double click and now you should see the madVR icon in your system tray and you have access to madVR without movie playback. :)

Cinemancave
5th November 2017, 13:31
Go to your installation folder of madVR. There you´ll find madHcCtrl.exe. Double click and now you should see the madVR icon in your system tray and you have access to madVR without movie playback. :)

Wow thanks! Can't believe I've missed that :o Maybe a good idea would be if this was pointed out in the custom mode tutorial, madshi? Thay way, no one else would have to do what I did...

scollaco
5th November 2017, 14:05
So I'm not an expert at these things but constantly trying to learn what I can.

I have a Roku Ultra and when playing 4K HDR material from Netflix, my projector reports:

3840x2160/24p
YCbCr 4:2:2
HDR10
BT.2020

There is no banding and everything looks excellent!!

Now I also use madVR for all my personal movie playback and I'm wondering what is the output to set? I have an Intel Nuc7i5BNK with Windows 10 and I set the Graphics Card to "Full Range", madVR output to RGB (0-255) and then my projector is set to Auto. Everything looks correct to me in terms of black levels etc...but I'm wondering if what I have set is the best possible setting to avoid banding and any other issues. Currently my projector reports

3840x2160/24p
RGB
BT.709

I also have the option on the Graphic card to set YCbCr. What is the the BEST output to the projector through madVR with my current HTPC?

Cinemancave
5th November 2017, 14:11
...I also have the option on the Graphic card to set YCbCr. What is the the BEST output to the projector through madVR with my current HTPC?

Color space should be left at RGB. If there is an option in your PC's video settings for 12-bit instead of 8-bit, toggle that on. If you press ctrl+j during playback, you can see what MadVR is doing (and frametimes info etc.).

scollaco
5th November 2017, 14:52
Color space should be left at RGB. If there is an option in your PC's video settings for 12-bit instead of 8-bit, toggle that on. If you press ctrl+j during playback, you can see what MadVR is doing (and frametimes info etc.).

Thanks Cinemancave. I don't have any option to set 12-bit in the Intel Graphics settings :( I wish Intel would add that control in the future.