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 March 2026, 09:39
it will be in sync cause it really doesn't care what madVR is doing.to do changes to the speed you need VRR.

with SM you actually get always no matter what double the source frame rate as long as that fids changed by the audio clocks speed.
and SM takes the speed of the audio where other algorithm do not matter only audio speed matters. and that's why it can change speed by syncing it to audio something a scaler can not do.

if you could slightly change speed with a scaler the A/V be so far off after just mins it would be utterly unwatched able.

and yes SM changes stuff and why couldn't that happen without cause VSYNC. to get difference you need to get tearing and if you have that you really messed up!

and if the "AI" says a vsync frame send to GPU for presentation can have a different "timing" based on the rendertime of "heavy" algorithm then the AI is not the only one imagination right now.

yes let GPU load change the frame duration on an HDMI signal what could possible go wrong the AI said that's possible... why couldn't that happen? cause a render pipeline is not blending. audio video just stays in sync using MAGIC.
why would older hardware have different smaller buffer? the presentation queue is a buffer we set that up not by hand.
the only difference you can get is an entire VSYNC and if that is "slightly" different i'm lost.

utz
6th March 2026, 21:41
I have a problem with madVR. Every recent Nvidia driver (latest I tried without problems was 581.80) causes madvr to have washed out colors and raised black. As if gamma was suddenly incorrect? Adjusting gamme setting in madvr doesn't fix it however. I've been using madvr for over 10 years now on a variety of systems and never experienced that before. Reverting back to 581.80 fixed the problem but that's not a permanent solution.

Help??

Sunspark
7th March 2026, 05:07
Sounds like a PC 0-255/video 16-235 levels mismatch. Look in the madvr settings for display and see if changing that does anything.

clsid
7th March 2026, 15:54
Either a driver bug, or the display output settings in driver settings were changed to incorrect value.

utz
7th March 2026, 16:54
Sounds like a PC 0-255/video 16-235 levels mismatch. Look in the madvr settings for display and see if changing that does anything.

That's what I tried first. Doesn't dix it. It's not just levels it looks like a gamma issue.

Something that madvr uses must have changed in the driver. Does nobody else have this problem?

Either a driver bug, or the display output settings in driver settings were changed to incorrect value.

Nothing changed, everything default. When reverting back to the old driver everything is fixed.

huhn
7th March 2026, 17:29
are you using anything related to DXVA2?
if yes stop that.

doffen
8th March 2026, 11:35
What about DXVA2 (copy-back)?

huhn
8th March 2026, 12:43
if you have that problem yes also that while that will be the last place i expect to fix that but still yes.

doffen
8th March 2026, 12:56
I haven't noticed that problem, the question was about avoiding anything related to DXVA2, and alternatives to DXVA2 copy-back.
My settings have been the same for years with no apparent need to change anything, and I'm still using windows 10 for media playback. Although I might have to update to windows 11 in the end.

huhn
8th March 2026, 13:27
if you see no issue DXVA2 copyback should be bit perfect. but that is something that can break with a GPU driver update

doffen
8th March 2026, 14:47
Perfect, thanks!

Sunspark
14th March 2026, 18:30
Where downscaling from 1080p to 768p is concerned on my Intel Broadwell igpu the DXVA downscaling option is noticeably superior--used with either copy-back or software decoding for best flexibility with other features.

Most of the madvr software downscaling algorithms are blurry or not quite to satisfaction. Some of them are manageable, but they are not worth the incredible hit to CPU/GPU load when they don't provide better results than DXVA in this (now-old) generation. Even SSIM 1D, 2D or Jinc are not better. Intel must have tuned it with polyphasic or something back then for specific viewing conditions since 32" 768p TVs were very common when this cpu came out. It almost looks 1080p! Testing with upscaling chroma and sending 1080p and having the TV downscale it to 768p looks bad so it really makes a difference if you're using 1:1 pixel mapping or not and the quality of the algorithm.

Different gpu manufacturers will have different outputs, and even different generations from the same manufacturer will have different output so this isn't a 'must-use this' recommendation. Just an observation on a specific hardware setup because too often people believe the most expensive setting will give the best result, and it's not true.

Most people upscale, and probably not that many downscale from 4K to 1440 or 1080, but worth testing if you do to see what your hardware comes with.

huhn
14th March 2026, 19:55
just make a screen shootshoot comparison...
https://www.mediafire.com/download/49ahiwm5ukfu6c9/7640_CO40_FM1-175pct_sRGB.jpg

Sunspark
14th March 2026, 22:38
Which site do you recommend for upload to?

huhn
15th March 2026, 01:00
https://slow.pics

Sunspark
15th March 2026, 16:28
huhn, the rgb jpg isn't compatible with the video processor. It expects yuv. I did try using ffmpeg to convert it into a yuv format file but it wouldn't display which might be a possible splitter issue.

Have to use video instead. Found an interesting collection of test clips here https://media.xiph.org/video/derf/ of note, some of them are 4:2:2 and 4:4:4 which is not common. You'll probably like that there's 1 HDR test clip in there too.

huhn
15th March 2026, 21:06
no jpg isn't rgb ever. doing lossy compression in RGB is just bad. in the past this was decoded by lavfilter and co and decoded as yuv that time is gone and we get the generate still image trash maybe that was ffdsow...

ffmpeg strikes again me.
ffmpeg.exe -f rawvideo -pix_fmt yuv420p -video_size 3744x5616 -i 420.y4m -c:v libx264 -x265-params crf=0 420.mkv
corruption
x264.exe --crf=0 --output 420.mkv 420.y4m
don't even tell me what is in there i got your back.
how was it created?
ffmpeg.exe -i sRGB.jpg -vf scale=out_color_matrix=bt709:flags=lanczos -pix_fmt yuv420p 420.y4m
can ffmpeg read there own y4m with the same pix_fmt no why would it?

so yeah i do not blame you that yuv from ffmepg did not work... will they ever confirm a one liner will not work no...
https://trac.ffmpeg.org/ticket/11568 i guess i could waste my time and add there "rare" case of doing 420 to this issue.

here you go: https://drive.google.com/file/d/1bY6lSZoGnHVGTpTRezv4q2z3_Z7Z2C5M/view?usp=sharing

Sunspark
16th March 2026, 20:38
Thanks huhn for the file, it works well. Quite the torture test it is. I have been taking screenshots and resolving bumps along the way. One of the ones I ran into was puzzlement as to why with the software algorithms everything seemed so incredibly oversharpened which was affecting the colours, but I figured out it was the checkboxes inside madvr for screenshots. So to be clear, for a neutral correct presentation, every single checkbox should be unchecked in the screenshot options, right?

huhn
16th March 2026, 20:49
just use alt print

matbezlima
18th March 2026, 05:39
What are the best settings to tonemap from HDR to SDR? I use the standard curve BT.2390 and 100 nits of target peak brightness. The version of MadVR I have is the latest stable one, I installed it today.

huhn
18th March 2026, 14:42
rule 12.
get the beta find someone that actual tone maps cause the "stable" has nothing todo with modern tone mapping.

matbezlima
19th March 2026, 05:53
rule 12.
get the beta find someone that actual tone maps cause the "stable" has nothing todo with modern tone mapping.

Ok, I'll get the latest beta. After that, what should I do to find all the best settings, custom curves, and so on? Please, don't be afraid of being as detailed as possible in your reply.

Another question: is there any video converter that allows one to reencode a video to SDR so that the output is what MadVR renders? I would love a program that is able to use madVR for the tonemapping from the HDR input to the SDR output file. I know that MadVR in itself is just a renderer for live playback.

VergiL
19th March 2026, 08:24
Hello, I recently installed my old GPU (RTX 3070) in another PC. This PC is a low-end setup with an IGPU in the Ryzen 4200G. Everything worked perfectly on the 1080p TV with the integrated GPU. Once I installed everything, there were some major inconsistencies in the CTRL+J menu, notably the V-Sync at 40.70, the maximum rendering stats being far too high, and even the display frequency being much too far from the reference, well beyond what I was getting with this card on another monitor. Any ideas what could be causing this? Because I've never encountered this issues on any of the PCs where I've installed MadVR...
https://i.ibb.co/fYMjps62/IMG-20260319-081636.jpg

huhn
19th March 2026, 13:27
hags. if your tv can do 120 do 120.

VergiL
19th March 2026, 15:50
Hags is disabled, pc is on windows 10. Tv is 1080. I have presentation glitches. The max stats rendering is much too far from average stats. Old Nvidia driver does not solve the problem. Vsync is activated.

Klaus1189
19th March 2026, 18:34
What exact tv?

VergiL
19th March 2026, 19:21
An old Samsung 48h6400.

Sunspark
19th March 2026, 19:40
@VergiL You are upscaling chroma at NGU Sharp (med). This is way too much load for very little return for just chroma. Change it to superxbr-150 if you still want to have something high that won't destroy your system as much.

It's interesting how it says 10-bit, even though the display and the file are both 8-bit. What decoder are you using? Change it to D3D11 (Automatic).

clsid
19th March 2026, 22:43
D3D11 (automatic/native) can give freezes and other stability issues. Use copy-back mode.

Reduce frames presented in advance to 3 or less.

huhn
19th March 2026, 23:36
rendering 10 bit when the GPU is set to 8 is usually not allowed by madVR and will results in massive banding. it is very odd this is working with nvidia. this works fine with AMD.

Sunspark
20th March 2026, 00:15
@huhn Sorry about the delay, here is the slowpics comparison.. I included the original, you'll probably want to uncheck it as it's throwing the canvas scaling off.
3 pics (I can do more) 1 is the original, 2 is DXVA from Broadwell, 3 is M-N for chroma, Jinc for luma (no AR for either). I did play around with other combinations to see but there wasn't a great deal of difference.

I would suggest zooming 400% or more, and looking at the diagonal pulley by the blue boat on the deck in the center, the dark planking in the shed on the right, the brickwork.

Seems like the DXVA has less ringing which is interesting. It's not perfect, but my argument here is that this is a great result for only 3-4% GPU load on this old system according to gpu-z. If I set it to Jinc AR/Jinc AR that load will go up to 50%. SSIM 1D 100 is less load, about 25%. (Clarification: the load is with a regular 4:2:0 1080p video, not the test image which is very heavy.)

https://slow.pics/c/4mZG0ryr

huhn
20th March 2026, 01:01
as expected massive aliasing massive artificing it creates giant rings on the tower similar to bilinear just much much weaker. there is no need to zoom at all.

this is a bad implementation of some kind of bicubic like all dxva downscaler. bicubic 60 AR will beat this hands down by not creating artifacts.

what is m-n for chroma? NN?

matbezlima
20th March 2026, 01:59
Ok, I'll get the latest beta. After that, what should I do to find all the best settings, custom curves, and so on? Please, don't be afraid of being as detailed as possible in your reply.

Another question: is there any video converter that allows one to reencode a video to SDR so that the output is what MadVR renders? I would love a program that is able to use madVR for the tonemapping from the HDR input to the SDR output file. I know that MadVR in itself is just a renderer for live playback.

Please, someone help me with this.

Sunspark
20th March 2026, 02:01
M-N is Mitchell-Netravali. Most of the chroma choices are fine, but it's luma for downscaling that presents an issue.. it's not ideal to make it too sharp because then the eye drags, and not ideal to make it too soft either because then the eye hunts. Or at least it does for me. The tower isn't really a fair test because most content will not be set up to create moire-like patterns.

The content I'm watching right now is a 70s TV show that was transferred to bluray at some point so it isn't digitally filmed like the new stuff is, so perhaps a bit of aliasing is good?

VergiL
20th March 2026, 04:52
D3D11 (automatic/native) can give freezes and other stability issues. Use copy-back mode.

Reduce frames presented in advance to 3 or less.

I use copy-back and i have already tested d3d11. I have also tested 1 to 3 frame presented in advance and it not resolved presentation glitches issues.

Sunspark
20th March 2026, 04:58
If it's only the 3 glitches when switching to or out of fullscreen, that is normal.

VergiL
20th March 2026, 06:43
I know that, the presentation glitches occur continuously during playback every 15-20 seconds, approximately.

Sunspark
20th March 2026, 06:56
Try seeing if you have better luck with the mpcvr renderer. It has good d3d11 support.

VergiL
20th March 2026, 07:07
This will be a last resort; the goal here is to use madvr like on all other PCs and understand what's wrong.

VergiL
20th March 2026, 12:55
Presentation glitches still here with superxbr for chroma. No presentation glitches when i'm not in fullscreen (windowed or exclusive)... Could it be that this only happens in fullscreen because I am then in d3d11 10bit and not in 8bit?

huhn
20th March 2026, 13:15
windowed is always 8 with madVR. you are throwing 10 bit at the GPU driver which is sending 8 bit limited this very very suboptimal and shouldn't even work maybe a new limitation int eh new version which breaks more stuff then it fixes. the next issue is that your clock deviation is catastrophic

VergiL
20th March 2026, 14:25
I force madvr in 8 bit in fullscreen but presentation glitches still here.. And for clock déviation i don't know what to do. Also if I disable image enhancement, there are no more presentation glitches.

Sunspark
20th March 2026, 17:00
Huhn, what do you mean catastrophic clock deviation? It's only a frame repeat every 13 minutes. I also have a composition rate mismatch with the display refresh rate and the only setting that made the two match was using D3D11 Exclusive, except I don't trust the number it is reporting there because sometimes it reports the same number as the other paths and other times not. It's just because of the compositor.

huhn
20th March 2026, 17:13
this deviation is so big the vsync is reported as 41.70 instead of 41.71ms.

13 mins is just terrible. the composition rate has nothing todo with deviation and is meaningless if it is off by a tiny bit if 59p get flat 60 HZ composition rate this should not create issues.

VergiL
20th March 2026, 20:38
And what could cause this?

Sunspark
20th March 2026, 20:39
Playing around some more with screenshots.. so, usage of linear light for downscaling is no good. Do not use it.

Here are two pics, the only change between the two is with one of them linear light is off and the other is on. You can very clearly see clicking with your mouse that the bricks get washed out as does the text "Cunera" on the ship.

This LL washing out shows on all the algorithms. It is not related to AR, I checked with AR turned off on both chroma and luma. The original jpeg photo does not have this washing out.

https://slow.pics/c/fKzX4qkW

-sTi-
20th March 2026, 20:53
Playing around some more with screenshots.. so, usage of linear light for downscaling is no good. Do not use it.

Here are two pics, the only change between the two is with one of them linear light is off and the other is on. You can very clearly see clicking with your mouse that the bricks get washed out as does the text "Cunera" on the ship.

This LL washing out shows on all the algorithms. It is not related to AR, I checked with AR turned off on both chroma and luma. The original jpeg photo does not have this washing out.

https://slow.pics/c/fKzX4qkW
What you perceive as bug ("washing out") is actually a feature (preserving small highlights) :)
https://www.ericbrasseur.org/gamma.html?i=1

huhn
20th March 2026, 21:01
LL downscaling while it often looks not as good it is just to sharp is also called correct downscaling.

the math behind that makes a lot of sense it fixes which pixel are seen as more important by removing the gamma first.

this was also tried with upscaling but discarded later there is still sigmoidal light or something like that where gamma of ~1.6 is used

Sunspark
20th March 2026, 21:19
Very interesting! It's tougher to test this with the original without scaling.. so what I am doing now, I have opened the original image at 100% scaling, it is large. And the screenshots I took I can position them next to the original image, changed the browser zoom to 400% to make it a bit easier to see, click back and forth to see which version looks more like the non-scaled image.

On the windmill, the shadow at the top of the windmill's arched door is more visible without LL just like the original non-scaled image.. and at the top of the windmill where there is the curved scrollwork below the date, with LL the green shrinks in width, with LL off, the green expands in width and looks more like the original non-scaled image. I don't think the width of the green should be changing.

Another place you can see sizes changing is the chimney cover on the house's right chimney, one image will shrink it, the other will have it a more normal looking size.

huhn
20th March 2026, 21:26
your browser will just use bilinear.