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

647830
31st January 2025, 15:05
Yes you are right huhn, using NULL renderer for sound does not address the issue. Should i change my PC and/or GPU?

huhn
31st January 2025, 17:32
the issue doesn't make sense the GPU can decode that so the CPU shouldn't matter.

a hardware decoder shouldn't fall behide ever but that seems to be the case here.
try the build in decoder from mpc-be. try lavfilter software to figure out what is going on first.

lvqcl
31st January 2025, 18:29
Bit rate : 94.2 Mb/s

Maybe bitrate is too high?

huhn
31st January 2025, 19:32
that's below UHD blu ray spec should be a clear no.
even a 960 can do that with ease.
pascal is far far better.

647830
31st January 2025, 19:35
Tried MPC-BE built-in decoder, but the issue remains. From time to time frame rate drops as low as 14 or even below (movie is 24).
It happens only on some movies, all are UHD, so maybe too high bitrate (video + Dolby Atmos) for my set-up to render properly?
I also did a latency check with LatencyMon, it was not very good and I stopped some processes o/w Defender antivirus live monitoring but not sufficient. In windows task manager however GPU does not exceed 25%, CPU and RAM max 20%. And video also stops from time to time in Kodi built-in player with this movie (although i unticked DXVA2 acceleration as otherwise the movie with green/pink).

Sunspark
31st January 2025, 19:35
There's a contradiction here.

>Windows 10 22H2 build 19045.5247
>I have win10 1806 (Oct '18)

Are you talking two separate machines/partitions?

Rule out the USB bus for the skips. Copy the media file to your internal boot drive and see if it still happens there.

huhn
31st January 2025, 19:42
yes your storage is maybe to slow or if it is lan you need 1gbit for UHD BD 100 mbit is not enough

647830
31st January 2025, 19:51
There's a contradiction here.

>Windows 10 22H2 build 19045.5247
>I have win10 1806 (Oct '18)

Are you talking two separate machines/partitions?

Rule out the USB bus for the skips. Copy the media file to your internal boot drive and see if it still happens there.

Yes, I restored a backup this morning, that's why, but same issue with both versions...

647830
31st January 2025, 19:53
yes your storage is maybe to slow or if it is lan you need 1gbit for UHD BD 100 mbit is not enough

It is lan 1gbit with synology nas.

huhn
31st January 2025, 20:09
try it local.

647830
31st January 2025, 22:32
try it local.

You were right. When playing it local, it works perfectly!
So this is my LAN, 1Gbit is not enough, and I would have never thought about this, so thank you for your help and support, very helpful!
I just have to upgrade my network to 2.5Gbit or 5.0Gbit now.
Hope this can also help others who might have the same issue.

Sunspark
31st January 2025, 23:43
The filesystem of the drive makes a difference too. ExFAT has trouble under certain conditions. If your drive is that filetype, reformat it as NTFS. It might be all that you need to do.

clsid
1st February 2025, 00:16
Try to significantly increase the queue settings in LAV Splitter so that it can buffer more data.

A high amount of network activity can also be a cause of the high DPC latency.

File fragmentation on your storage drive can also cause dips in reading speed.

huhn
1st February 2025, 01:34
You were right. When playing it local, it works perfectly!
So this is my LAN, 1Gbit is not enough, and I would have never thought about this, so thank you for your help and support, very helpful!
I just have to upgrade my network to 2.5Gbit or 5.0Gbit now.
Hope this can also help others who might have the same issue.

no your nas has just major performance issues. try clsid recommendation.
this is also a possible indicator for a dying disk.
or your nas is running at 100 mbit happens.
1000 mbit is plenty for normal encodes i have/had a couple of files that need NVME disc as a source AVC 1080p120 4:4:4 predictable lossless and stuff like that. nothing lossless encoded should need more then 1000mbit there is a good chance your NAS can't even do that and still more then plenty fast.

Try to significantly increase the queue settings in LAV Splitter so that it can buffer more data.

A high amount of network activity can also be a cause of the high DPC latency.

File fragmentation on your storage drive can also cause dips in reading speed.
i used very high lav settings where i was buffering entire blu ray. this made the issue much worse because the nas was starting to put the disc to sleep. don't over do it!

VergiL
1st February 2025, 10:41
Hello everyone, I have just installed mpcbe madvr and lav on my brother's PC (rtx 3050) everything works fine but the change of upscaler and/or processing has no effect on the rendering time (still ~ 14ms).. although CTRL+j tells me the right parameters and is correct. Any idea where this could come from? I would like to point out that I have already installed madvr on several PCs and I have not had this problem.

https://i.goopics.net/800/kbj55m.jpg (https://goopics.net/i/kbj55m)

Skylinestar
2nd February 2025, 05:34
I have ripped my 1080p bluray via makemkv. I have problem where the PGS subtitle is outside of the video screen area. I want the PGS sub to be inside the video area. I understand PGS is just an image, and could be as large as a 1080p (am I correct?). Is it still impossible for madvr, with MPC-BE player, to shift up this subtitle?

https://i.imgur.com/m6sWfKD.jpeg

dbcooper
2nd February 2025, 11:52
Win11 24H2 had some audio bugs in update from earlier this month. Latest update supposedly fixes (some of) them.

The audio hardware provides the reference clock during playback. So issues with unstable clock deviation are indeed likely coming from audio stack. Such as a buggy driver. But there are also power saving options in Windows that can for example temporarily turn off USB/Bluetooth audio device during inactivity, causing delays when receiving sound again.

In case of audio issues always check DPC Latency (https://resplendence.com/latencymon).

The recent update preview fixed a problem I was having with using my USB-DAC (introduced in January or December windows updates for win11 2024h2).

dbcooper
2nd February 2025, 11:53
Disabling Hardware-Accelerated GPU Scheduling has worked for several people to fix the sudden presentation glitch stuttering problems on Win11 24H2.

I seem to still be getting a single frame stutter every few minutes. Hopefully recent updates have fixed it.

GCRaistlin
2nd February 2025, 19:01
The solution is [x] hack Direct3D to make 24.000 Hz and 60.000 Hz work

Unfortunately it reduces the render queue dramatically (from "7-8/8" to "3-5/8") causing a lot of dropped frames from time to time. So I have to refuse either using FSE mode or using 24 Hz and 60 Hz refresh rates. What is the lesser evil? Mostly I watch NTSC films with Reclock at 24 fps.

Asmodian
2nd February 2025, 19:24
Why would you want to use FSE today?

GCRaistlin
2nd February 2025, 19:34
Asmodian
MadVR and your graphics driver take full controll of the display, bypassing the Windows desktop manager. This means less interferences from other applications and better clock adjustment = less stutter / less dropped or repeated frames.
https://www.reddit.com/r/htpc/comments/uy3p9v/what_does_the_exclusive_fullscreen_mode_in_madvr/
Isn't it true?

GCRaistlin
2nd February 2025, 19:37
Also:
[Enabled] madVR has exclusive access to the display, nothing else can draw to the display without dropping out of this mode. This is the most stable mode for madVR because it has the most control over when and how video frames are displayed. There is a slight flicker and delay as madVR enters and exits this mode. Required for 10 bit in Windows 7 or 8.
http://forum.doom9.org/showthread.php?p=1709764#post1709764

I do use 10 bit color depth for my projector (though I'm not sure if FSE required for 10 bit in Windows 8.1).

huhn
2nd February 2025, 20:04
Why would you want to use FSE today?
to get rid of presentation issues. which are very common at the moment.
Asmodian

https://www.reddit.com/r/htpc/comments/uy3p9v/what_does_the_exclusive_fullscreen_mode_in_madvr/
Isn't it true?
not on win 10 it is by default simulated to get the "real" FSE you need compatibility mode with disabled FSE optimization
Also:

http://forum.doom9.org/showthread.php?p=1709764#post1709764

I do use 10 bit color depth for my projector (though I'm not sure if FSE required for 10 bit in Windows 8.1).

if i remember correctly win 10 added support for WFS 10 bit surface 8 can't do that you may need FSE to have any chance of getting 10 bit.

GCRaistlin
2nd February 2025, 20:15
huhn
How do I know that 10 bit color depth doesn't work?

huhn
2nd February 2025, 20:25
this line: https://i.postimg.cc/HW2zrCGg/thisline.png
that is what the GPU driver get's the GPU driver needs to output 10 bit too or else it is dither or worse it to 8 bit.

on the past madVR did never send 10 bit to the nvidia GPU driver when the GPU driver was set to 8 bit. that doesn't seem to be the case anymore and i'm able to send 10 bit to the GPU driver when i'm outputting 8 bit on the GPU (this was results in massive banding in the past).
this was always possible on AMD but no major bugs where known. HDR wasn't working in 8 bit so you known... kind of needed.

GCRaistlin
2nd February 2025, 20:45
huhn
I opened this png with MPC-HC and made it fullscreen. The picture looks ugly as it stretched vertically. Or what should I do with it?

huhn
2nd February 2025, 20:49
you read what is on in. the last part tells you if it is 10 bit or not.
if that line in your player with what ever file is saying 10 bit madVr is sending 10 bit.

GCRaistlin
2nd February 2025, 21:17
What do you mean by "with what ever file"? I can get this line in my player only if I open this and only this file in my player. And I see "(10 bit)".

huhn
2nd February 2025, 21:34
how do i fix that.

ahhh uff just open any file what so ever anything you like.
now search in your OSD for a line shown in my image usually line 4 and read it that's it.

it should look like the image i shared.

GCRaistlin
2nd February 2025, 23:08
Thanks, now I got it. "8 bit" unfortunately.

Rittberg
5th February 2025, 08:57
Hello,
My system Win 10 x64 , with RTX 4070 super , projecting the image to Sony VPL-XW 7000es.
In order to watch 4K HDR materials I am using the MPC – HC + MadVr ,
The MadVr is calibrated according to the guide in the following link:
https://nicko88.com/misc/madVR settings/
I find that with the above-mentioned calibration selecting “tone map HDR using pixel shaders” in MadVr – dark scene looks excellent.
But when selecting – “Passthrough HDR to display” the darks scene looks with less details but from the other side the all picture is more vibrant.
Is there a way to select “tone map HDR using pixel shaders” option, and to keep the vibrant picture?

Thanks for any Idea .

toki
14th February 2025, 16:27
stuttering is driving me crazy! I have windows 11, tried vsync in gpu, power adaptive, high performance in windows, frames in advance to 1 and 3. nothing is working. It was working fine until I had to replace my m.3 drive.

Asmodian
14th February 2025, 20:44
Have you turned off 'Hardware Accelerated GPU Scheduling'?

toki
14th February 2025, 21:27
It's off in mpc-hc. I have it on dxva2 (native)

Asmodian
14th February 2025, 22:46
It is a Windows setting.

For Windows 11 it is in System -> Display -> Graphics -> Advanced graphics settings.

toki
14th February 2025, 23:46
so the advanced graphics section kept crashing everytime I tried opening it, ran scans, now it's open, turned off acceleration. Now testing. Will report back... Turning it off seems to have fixed it. Now I'm afraid to update graphics driver, lol. Thanks for the help

toki
15th February 2025, 02:14
ok, it didn't fix it, still doing it

Childofbodom
15th February 2025, 13:16
ok, it didn't fix it, still doing it

Same for me, Disabling HAGS doesnt fix it! I have also tried MPCVR but the stutter (presentation glitch) issues seem decoder independent as that renderer gives the same glitches on Win 11 24H2.

I had to revert to windows 11 23H2, that is the only way to fix it.

Hope either MadVR gets patched, NVdia fixes their driver OR M$fT fixes its shitty OS.

Fingers crossed..

Sunspark
15th February 2025, 15:43
You guys don't have to use Windows 11.. 10 will still be receiving updates to 2032.

clsid
15th February 2025, 19:37
Also disable low latency mode in driver settings.

huhn
15th February 2025, 20:26
you can also install the newest beta it will not show gliches anymore at least for me the counter isn't there anymore.

mzso
15th February 2025, 22:44
Hi!

Is the HDR rendering supposed to be this obnoxiously resource intensive? At first I couldn't figure out why the GPU usage goes so high, went to nearest neighbour on chroma upscaling and such.
But it turns out it's the HDR tone mapping using pixel shaders. It prevents me from having a smooth playback with UHD files.
If I disable it GPU usage drops to like tenth of what it was. But then of course I can't watch the HDR files.

huhn
16th February 2025, 00:32
trade quality for performance yes it is supposed to be like that.

mzso
16th February 2025, 00:39
trade quality for performance yes it is supposed to be like that.

Which option makes the most sense to be traded?
"compromise on HDR luminance channel quality" seems to free up the most performance. "don't measure HDR frame peak luminance" is barely noticeable. "compromise on HDR tone & gamut mapping accuracy" is somewhere in the middle.

huhn
16th February 2025, 00:57
you are asking the wrong person.
i barely experimented with that.
if i remeber corectly "compromise on HDR luminance channel quality" does barely anything positive negative while "compromise on HDR tone & gamut mapping accuracy" is day night. "don't measure HDR frame peak luminance" sounds like it is the most important thing if it comes to DTM without it you are just TM...

mzso
17th February 2025, 12:53
you are asking the wrong person.
i barely experimented with that.
if i remeber corectly "compromise on HDR luminance channel quality" does barely anything positive negative while "compromise on HDR tone & gamut mapping accuracy" is day night. "don't measure HDR frame peak luminance" sounds like it is the most important thing if it comes to DTM without it you are just TM...

Thanks.

Childofbodom
17th February 2025, 18:48
you can also install the newest beta it will not show gliches anymore at least for me the counter isn't there anymore.

which beta? Measure 207? for me there are still glitches with that one. (on win11 24H2)

huhn
17th February 2025, 19:32
beta 208

ttnuagmada
18th February 2025, 01:35
Quick question if anyone can answer, I'm too lazy to pull my gear out to test:

So long as MadVR is passing metadata to the display, does it matter if Windows HDR is on? Watching a little bit of content on my C1, I don't see any concerns, but I haven't tested extensively.

huhn
18th February 2025, 02:53
just a different API that's it.
it is usually preferred not to use HDR toggled on in windows with madVR and let the other API take over.

please don't use this "logic" for a lack of a better word for other software or games where this is different. Microsoft wants user to use windows HDR for HDR.