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

HillieSan
10th January 2021, 13:13
Not to replace madVR but to be happy to have also another Video Renderer which supports HDR. I am happy with MPC Video Renderer.

I use HDR passthrough.

Klaus1189
10th January 2021, 13:17
I was replying to Siso :)

HillieSan
10th January 2021, 13:35
You are right it is judder. I will check your links.

Another problem is that the resolution jumps from 3840x2160 to 1920x1080 using MPC BE and Madvr on the TV (Samsung). I never had this before.

In madvr I am using:
- display modes: switch to matching display mode...
- list of all display modes: 2160p60, 2160p59, 2160p24, 2160p23, 2160p50

Some how the resolution is not in the list.


My mistake. I forgot to select the TV settings in madvr and I was looking at the projector setting. The list of all modes was “1080p23, 1080p24, 1080p25”. I changed it into “ 2160p60, 2160p59, 2160p24, 2160p23, 2160p50” and the TV doesn’t switch to 1080 anymore.

HillieSan
10th January 2021, 13:49
In madvr setup ‘tv>display modes>custom modes tab’ is see that the resolutions are in “standard mode, unknown timing details’. Is this the reason why the TV shows judder? Do I have to change the timing here? How?

Klaus1189
10th January 2021, 15:22
Play a 24p file and show statistics of madvr

Polopretress
10th January 2021, 15:25
if you ask me so nicely.
10 bit is always better in theory the source bit deep doesn't matter for this it's always float point math and having lower dither noise is objectively better.

practice is sadly something else.
Thank you both(huhn and VBB) for your answer.:thanks:

HillieSan
10th January 2021, 15:33
Play a 24p file and show statistics of madvr

What do you mean? Do you want to know the info or is madvr determining the timing? I am asking because how do I get madvr to measure? Do I have to play a movie for 30 min at least? I don’t understand this feature.

clsid
10th January 2021, 16:07
Press Ctrl+J to show the madVR statistics overlay. Check that rendertime isn't too high because that would cause frame drops.

Enable VSync in NVIDIA settings and disable GSync. Set "frame to present in advance" to 1 in madVR settings.

HillieSan
10th January 2021, 16:14
Rendering time is 14.44ms.

I just enabled V-sync. Let’s see what happens.

HillieSan
10th January 2021, 17:45
Enabling Vsync did it �� thanks ��

Nice to see that cru is no longer necessary with madvr. Only HDR switching in Windows 10 needs to be fixed.

I am using NGU sharp very high with lots of enhancement and refinements enabled. It’s runs well on the RTX 3060 Ti.

Does anyone know good settings for a JVC X5000 projector?

Siso
10th January 2021, 18:50
NGU Sharp is pretty sharp, I don't know why do you need more sharpening and etc.

HillieSan
10th January 2021, 20:49
I use NGU sharp, but not more sharpening. NGU sharp isn’t pretty sharp with eshift. NGU and NGU AA are soft on eshift.

VBB
10th January 2021, 20:52
The micro stutter issue with the 2- and 3-series cards really needs a sticky. This comes up almost daily both here and at AVS. Klaus has a link to clsid's recommendations in his thread, so that's good, but not all that visible. Klaus, you might want to put something more prominent directly above the Nvidia driver list, like:

If you have an Nvidia 20xx/30xx video card and you encounter micro stutter while using madVR without actually dropping frames, please try the following:

1. In the Nvidia control panel, go to Manage 3D Settings, scroll all the way down and set Vertical Sync to 'On'. You can do this either globally or just for the media player executable.

2. In the madVR settings, go to rendering -> general settings, and uncheck 'enable automatic fullscreen exclusive mode'

3. In the madVR settings, go to rendering -> windowed mode settings, and set 'how many video frames shall be presented in advance' to 1 or a maximum of 3

HillieSan
10th January 2021, 21:18
1. Done
2. FSE works fine.
3. Setting 1 gives a lips sync problem. I use default 8. Now I am back to FSE.

The JVC project uses a small motion enhancement which eliminates the micro stutter.

toniash
10th January 2021, 21:28
final steps is doing level conversation, dithering and calibration and may some other stuff we don't know.
3D LUT is well known to be able to increase this by a lot.
some bugs like bad power settings from the GPU can make it look like it takes a long time which isn't true. the same for the first renderstep which isn't the same in all cases.


:thanks: Huhn I had set dithering to "error diffusion"

el Filou
11th January 2021, 15:23
I attach some pictures. I apologize for some words in Italian but I think you understand the same.
No worries. From your screenshots, both players look set to use their own internal audio renderer, but I think they're different so maybe the problem comes from there. People here have said they use MPC-BE's audio renderer in MPC-HC, but from what I've read there are different versions of MPC-BE's renderer that work better or worse in MPC-HC and I have no experience with them.

Unfortunately your madVR screenshots were taken in pause mode.
Could you take screenshots again after a few seconds of playback without pausing?
You need to see another line between "composition rate" and "smooth motion" called "clock deviation" with a percentage, and check if it's different with the two players. The clock deviation can sometimes cause dropped frames.

brazen1
11th January 2021, 18:46
In the madVR Color and Gamma tab I can change values for SDR and the changes apply. When I make these changes for HDR nothing happens. Is this because I'm passing through or possibly some other setting blocking them? I notice the same behavior if I change in MPC-BE. SDR they apply. HDR they don't.

I ask because I'd like to control 'Saturation' on-the-fly by mapping the increase and decrease saturation settings to my remote. Some HDR appears over saturated and some don't. I want to fine tune on-the-fly if possible.

VBB
11th January 2021, 19:57
@brazen - Yeah, those settings only apply to SDR or when tone-mapping HDR to SDR. For HDR passthrough, which is pretty much all you and I can do with our 960s, you'll have to make your adjustments on the TV, if necessary.

interpolation
11th January 2021, 20:01
So I got a 3090 and it's able to output 4k@120Hz 4:4:4 10 bit to an LG CX with madvr+SVP. Really feels like the next gen of image processing past HDMI 2.0 limits.

brazen1
11th January 2021, 20:24
Yeah, that's what I thought. I've been doing it on the panel but there's no mapping the settings to my remote and thought if I could do it with the player or madVR I wouldn't interrupt playback. When you mention our 960's, I doubt another model would enable that ability unless you mean another model would allow tone mapping and because it would be SDR then the settings would apply. TBH, if I had a reason to upgrade the 960, I would still passthrough though. So far, personally, I've only one benefit if I upgraded; the ability to use RRN for HDR on very rare occasions. The 960 is too weak to use that algo. I'm searching for more reasons and unfortunately that alone just isn't worth it to me. I remember being attacked earlier because I mentioned GPU pricing is ridiculously high and told too bad I'm poor and can't afford a new GPU. This is a matter of principle to me... not my wealth. Eh, maybe I'll bump into enough justification as time goes by. After 5 years using the 960 I still haven't.

VBB
11th January 2021, 20:56
Oh, same here. The OLED guys are using tone-mapping, but with HDR output. Doing so would still give us access to all those crazy options that are in the beta right now. You could tweak your saturation there is what I meant :)

I've been watching a ton of HDR content recently, using pass-through. Still amazed by my now fairly old C7.

Klaus1189
11th January 2021, 21:07
...

@VBB:
OK. If you want something to be changed or added, let me know.

@all:
Fell free to reply if you have any other info that can be added. Best in the driver thread itself:
AMD, Intel and Nvidia driver issues and last recommended version (https://forum.doom9.org/showthread.php?t=176013)

quietvoid
11th January 2021, 21:14
FWIW I run madVR with tonemapping on a 970, the CPU seems to do most of the job since there's no hardware decoding. Running a 2700X.
No problem with 24p content, though I have to disable artifacts fixing and set dithering to ordered for 4K files. Play with the settings and you might be surprised.

For 60p, usually have to enable compromise on colors, and that drops the rendering to around 8ms.

These days I run madVR through a GPU passthrough VM, using 4 cores (8 threads) on Linux, same performance as when I used to boot into Windows.

VBB
11th January 2021, 21:15
Looks good, Klaus!

VBB
11th January 2021, 21:18
@quietvoid - Yeah, chros has been telling me to try TM, but I haven't had a compelling reason to so far. Been following the discussions here and at AVS from the beginning, but I think I'll wait not only until I finally replace the aging 960, but also until some of the more complicated settings are sorted out by the people who know what they're doing ;)

senzaparole
11th January 2021, 22:14
No worries. From your screenshots, both players look set to use their own internal audio renderer, but I think they're different so maybe the problem comes from there. People here have said they use MPC-BE's audio renderer in MPC-HC, but from what I've read there are different versions of MPC-BE's renderer that work better or worse in MPC-HC and I have no experience with them.

Unfortunately your madVR screenshots were taken in pause mode.
Could you take screenshots again after a few seconds of playback without pausing?
You need to see another line between "composition rate" and "smooth motion" called "clock deviation" with a percentage, and check if it's different with the two players. The clock deviation can sometimes cause dropped frames.

Hello! Thanks for the reply.

Here is the screenshot of MPC-HC in playback mode:
https://i.ibb.co/FXZrk6p/mpc-hc-2.jpg (https://ibb.co/kJb7VKZ)



Here is the screenshot of MPC-BE in playback mode:
https://i.ibb.co/qJs9P22/mpc-be.jpg (https://ibb.co/0sMZdzz)

VBB
11th January 2021, 22:21
Curious that the display refresh rate is off by one digit between the two, resulting in different amounts of frame repeats.

chros
11th January 2021, 22:37
@vbb, It's not complicated, almost everything is disabled :D Give this a try (https://www.avsforum.com/threads/improving-madvr-hdr-to-sdr-mapping-for-projector.2954506/post-59228954), it should work with 2160p@23p on 960 as well.
Btw, color and gamma settings does not work with hdr output.

@quietvoid, would you mind writing a bit about your madvr linux combo? Or link a good article? Thanks

quietvoid
11th January 2021, 22:43
@quietvoid, would you mind writing a bit about your madvr linux combo? Or link a good article? Thanks

It's just a Windows VM for which you passthrough the GPU via PCI, there are a bunch of articles about the method (sometimes referred as VFIO).
For example: https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
Usually requires multiple GPUs.

In my case I just use a separate SSD with my old Windows installation, and it boots just fine into a VM.

The rest is identical to how madVR would run, connected to the display via the passed GPU.
I am using Looking Glass (https://looking-glass.io) to be able to access the VM without turning on the TV all the time, and to pass the input devices.

ryrynz
11th January 2021, 22:47
Curious that the display refresh rate is off by one digit between the two, resulting in different amounts of frame repeats.

Actually this value does go up and down a bit early on so chances are it's not related to this and this in just the normal fluctuation that happens.

chros
11th January 2021, 22:55
@quietvoid, thanks, really interesting! I'll ask more if I manage to get that far :)

SirMaster
11th January 2021, 23:29
@quietvoid, thanks, really interesting! I'll ask more if I manage to get that far :)

I also run my HTPC with madVR on a Linux server in a Windows VM and have done so for years.

VMs work just as well as dedicated machines, but easier to manage overall IMO.

chros
12th January 2021, 00:12
Cheers

ryrynz
12th January 2021, 12:09
Will be interesting to see how the new AI upscaling processors on this years high end sets compare against madVR's algos, things may finally have caught up now.

jkauff
12th January 2021, 12:38
One thing they don't compare to is the price. :scared: The AI sets I've seen in the CES 2021 press releases seem to be mostly $3K to $5K.

el Filou
12th January 2021, 18:30
Hello! Thanks for the reply.
Here is the screenshot of MPC-HC in playback mode:
Here is the screenshot of MPC-BE in playback mode:As other people commented, they look close enough at least this doesn't explain the amount of dropped frames.
What happens if in both players, instead of using the internal audio renderers, you manually select the DirectSound audio device (Topping?) ? Do the frame drops stop then?
I know this is not what you want, but it's to find out if the audio renderer is the cause.

senzaparole
12th January 2021, 23:32
thank you so much. Everything works as you thought.

I changed the audio renderer:
https://i.ibb.co/R6mfB0N/render-audio.jpg (https://ibb.co/c8H0CFw)


now MHC-BE is perfect:
https://i.ibb.co/7S5vs8Y/mpc-be-ok.jpg (https://ibb.co/NFPxcQV)

I never thought madVR would get swayed by audio. I'm afraid there are no solutions. I would prefer to select "MPC AUDIO RENDERER" but it is not possible.

MPC-HC with its internal audio Renderer is no problem. MPC-BE only

Thanks everyone for the help, much appreciated.

ryrynz
13th January 2021, 01:05
MPC-HC with its internal audio Renderer is no problem. MPC-BE only


You should post all relevant info regarding this issue over in the MPC-BE forum so the audio renderer can be improved to prevent this from happening.
Wouldn't hurt to try the releases here (https://sourceforge.net/projects/mpcbe/files/MPC-BE/Release%20builds/) download the standalone filters packages (x64)
and register it in the system it will then come up as another audio output that you can select in the drop down, then test and see if you can find a version that works without dropping frames.

robl45
14th January 2021, 18:48
Hello, I've been using lav filters and Madvr for 3d for 4 or 5 years now with no issues. About a week ago, it stopped working. Anyone know anything about this? I've reinstalled madvr and lav and still it doesn't work, when it does flip into 3d, its like the 3d is in slow motion. I thought it might be my hdmi to ethernet converters screwing something up so I connected the computer to my spare projector with straight HDMI and it did the same thing. I thought it was one specific file as we had literally watched 3d the day before and then realized it was all of them. Anyone have any ideas? I'm thinking a windows 10 update maybe or something broke it. Its a windows 10 machine with I3 processor Skylake with internal intel graphics.

el Filou
14th January 2021, 19:33
Impossible to say without more information, things do not break like that by themselves.
Under "View update history" in Windows Update settings, you can see exactly what date Windows installed updates, and also uninstall them. Maybe check that. Maybe it installed a new graphics driver?

robl45
15th January 2021, 04:03
Impossible to say without more information, things do not break like that by themselves.
Under "View update history" in Windows Update settings, you can see exactly what date Windows installed updates, and also uninstall them. Maybe check that. Maybe it installed a new graphics driver?

Tried tonight after days of troubleshooting, reverted to previous version of windows and it works perfectly again, hopefully this helps someone.

el Filou
15th January 2021, 18:19
When you say "previous version", was it a monthly ("quality") update, or a full new release ("feature update")? Can you give the two versions before/after the update?

senzaparole
15th January 2021, 23:36
You should post all relevant info regarding this issue over in the MPC-BE forum so the audio renderer can be improved to prevent this from happening.
Wouldn't hurt to try the releases here (https://sourceforge.net/projects/mpcbe/files/MPC-BE/Release%20builds/) download the standalone filters packages (x64)
and register it in the system it will then come up as another audio output that you can select in the drop down, then test and see if you can find a version that works without dropping frames.

@el filou
@ryrynz

I solved the problem!!!!! In the MPC Audio Renderer settings it was enough to change the DEVICE BUFFER from 50 ms to DEFAULT!
Now I don't lose frames anymore and madVR's OSD is perfect!
Thanks for your help!

ryrynz
16th January 2021, 00:40
Cool thanks for letting us know.

webbo
17th January 2021, 12:41
thank you so much. Everything works as you thought.


now MHC-BE is perfect:
https://i.ibb.co/7S5vs8Y/mpc-be-ok.jpg (https://ibb.co/NFPxcQV)

I never thought madVR would get swayed by audio. I'm afraid there are no solutions. I would prefer to select "MPC AUDIO RENDERER" but it is not possible.

MPC-HC with its internal audio Renderer is no problem. MPC-BE only

Thanks everyone for the help, much appreciated.


Regarding the screenshot of madVR info - how did you manage to almost set / sync display Hz to video Hz ?

Setting the TV to 23 or 24Hz would that suffice?
Appreciated

Klaus1189
17th January 2021, 13:18
23Hz is for 23.976Hz
24Hz is for 24.000Hz

Silver12
17th January 2021, 19:53
Hi,
I have just downloaded beta 120, is there a way to copy HDR settings for different devices. I want to use the same settings, changing only DPL values. I don't know how to do that. Hopefully somebody can help me, thanks a lot to all of you

VBB
17th January 2021, 20:08
@webbo - That's AMD :) You won't get nearly as close with Nvidia, but it's not too bad right now (about a drop/repeat every 1.07 hours).

senzaparole
17th January 2021, 23:12
Regarding the screenshot of madVR info - how did you manage to almost set / sync display Hz to video Hz ?

Setting the TV to 23 or 24Hz would that suffice?
Appreciated

Hello! It is madVR that changes the TV refresh rate adapting it to the native one of the movie.

ashlar42
18th January 2021, 16:13
I see a GTX 3050 could be coming. Would 4GB of RAM be enough for proper madVR use? I think GPU power should be plenty enough (but correct me if I'm wrong).