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

SamuriHL
26th November 2021, 17:29
Yes, the performance should be better running native 64 bit code on a 64 bit processor with a 64 bit OS. Running 32 bit in that case provides no benefit at all.

LordX2
26th November 2021, 17:50
Ok - I know years ago there were stability differences between the 32 and 64 bit versions - so I figured I would ask since I am experiencing some of those odd issues.

Speaking of that - I watched some 24.000 fps content the other day, and was experiencing stuttering playback (23.976 content was playing fine). MadVR changed the resolution to 24.000 just fine, and was showing no dropped frames or glitches.

Turns out setting the present cue frames down to 1 solved that issue (I had randomly set this to 3 when trying to mess with my previous problem).

So thanks to Asmodian! I remembered he specifically had to set his present to 1.

Odd that 23.976 content played fine, but not 24.000 - but both are doing well now!

brazen1
26th November 2021, 18:31
I have something set incorrectly in madVR for this profile. The jagged stair stepped edges are terrible. Other players without madVR display better. Tried a few different settings in madVR but it didn't clean-up. Hoping for some tips from you guys.

https://imgur.com/pgscKtF

https://imgur.com/pgscKtF

lvqcl
26th November 2021, 19:20
Hoping for some tips from you guys.
Don't use D3D11 Native decode, use D3D11 copyback or DXVA2.

huhn
26th November 2021, 19:58
tiem to say it again stop recommanding d3d11 native for madVR it can not use it correctly.

Meaning better performance?

if you don't have access to enough memory performance is not an issue anymore because it will crash.

SamuriHL
26th November 2021, 20:26
^^^ LMAO! Yea, that's definitely one way to look at it. :) It is correct but it's also funny.

brazen1
26th November 2021, 20:38
Don't use D3D11 Native decode, use D3D11 copyback or DXVA2.

Thank you so much for the suggestion. LAV DXVA2 cleaned it right up.

I have a very diverse collection of just about every format I can think of. Apart from this one low 480p res video, will using DXVA2 instead of D3D11 Native have a negative impact on other videos such as 1080p SDR or 2160p HDR?

clsid
26th November 2021, 21:10
You can also enable software deinterlacing in LAV Video to solve the problem. Then it will automatically switch from Native to Copyback mode when needed.

LordX2
26th November 2021, 21:56
Wait - so DON'T use D3D11 native?

I thought I saw a post a little while back specifically saying not to use DXVA2 Native.

I don't use black bar detection - so is there any reason to use copyback at all?

If I don't need copyback, which Native is the right one to use, D3D11 or DXVA2?

QBhd
26th November 2021, 22:41
Software decoding is so much simpler. I'm glad that I always have a CPU that can handle anything I throw at it!

QB

huhn
27th November 2021, 01:24
Wait - so DON'T use D3D11 native?
using it is fine it should just not be recommended to other user or this will sooner or later happen.

I thought I saw a post a little while back specifically saying not to use DXVA2 Native.
yes don't use it with madVR it will lower image quality in terms of chroma and chroma position with nvidia.
I don't use black bar detection - so is there any reason to use copyback at all?
to get deint,
If I don't need copyback, which Native is the right one to use, D3D11 or DXVA2?
there is no clear answer to that. d3d11 native has perfect quality while been fast but all copyback decoder have also perfect quality but they also support all kinds of features unlike d3d11 native.

the issue is on madVR d3d11 native did nothing wrong here just to make that clear.

LordX2
27th November 2021, 01:33
using it is fine it should just not be recommended to other user or this will sooner or later happen.


yes don't use it with madVR it will lower image quality in terms of chroma and chroma position with nvidia.

to get deint,

there is no clear answer to that. d3d11 native has perfect quality while been fast but all copyback decoder have also perfect quality but they also support all kinds of features unlike d3d11 native.

the issue is on madVR d3d11 native did nothing wrong here just to make that clear.

Thank you for the detailed response huhn!

What are the issues with MadVR and D3D11 Native? The jaggies that the other user experienced?

Using D3D11 Native and NGU Anti-Aliasing on High, I don't notice any jaggies in particular. Although my content is limited to 4K and 1080p - so de-interlacing should also never come into the equation.

Asmodian
27th November 2021, 02:19
What are the issues with MadVR and D3D11 Native? The jaggies that the other user experienced?

Only the missing features, like deinterlacing and black bar detection. The "jaggies" are due to missing deinterlacing when watching interlaced video, if do not watch anything interlaced this is not an issue.

If you do not need those then D3D11 Native is the fastest option, and it has no quality issues, unlike DXVA2 Native (with Nvidia). :)

LordX2
27th November 2021, 02:49
Only the missing features, like deinterlacing and black bar detection. The "jaggies" are due to missing deinterlacing when watching interlaced video, if do not watch anything interlaced this is not an issue.

If you do not need those then D3D11 Native is the fastest option, and it has no quality issues, unlike DXVA2 Native (with Nvidia). :)

Awesome! Thank you.

vanschneidermann
27th November 2021, 02:54
What can I do when madvr do not work on the second display ? :(

Windows 11
Driver 496.73

LenniePaz
27th November 2021, 04:24
If we have D3D11 chosen in LAV Video, along with choosing the GPU, that enables copy back, correct? My MadVR OSD is still saying D3D11 fullscreen windowed, but shouldn't it say copy back?

Sent from my SM-N975U using Tapatalk

huhn
27th November 2021, 08:00
What can I do when madvr do not work on the second display ? :(

Windows 11
Driver 496.73

wait for madshi to finish his win 11 build.

If we have D3D11 chosen in LAV Video, along with choosing the GPU, that enables copy back, correct? My MadVR OSD is still saying D3D11 fullscreen windowed, but shouldn't it say copy back?
the lavfilter d3d11 doesn't affect madVR presentation they are not directly related no decoding setting will change the presenation mode.

the line below at teh end in the ()that tells you where it get's the image/decoded image from which is for nothing copyback, software or even a capture card it just means from the "CPU" doesn't matter where it was before that. d3d11 from a d3d11 application usually a d3d11 decoder and DXVA2 from a d3d9 application.

LenniePaz
27th November 2021, 15:00
wait for madshi to finish his win 11 build.





the lavfilter d3d11 doesn't affect madVR presentation they are not directly related no decoding setting will change the presenation mode.



the line below at teh end in the ()that tells you where it get's the image/decoded image from which is for nothing copyback, software or even a capture card it just means from the "CPU" doesn't matter where it was before that. d3d11 from a d3d11 application usually a d3d11 decoder and DXVA2 from a d3d9 application.I don't quite understand what you're saying. Do I have copy back enabled, or no?

Sent from my SM-N975U using Tapatalk

Selur
27th November 2021, 16:07
Hi I got a HP Z27q 27-inch IPS 5K display, see: https://support.hp.com/us-en/document/c04591534
Problem is madVRs identification does show totally wrong values for it:
https://i.ibb.co/y02JHtS/identification.png (https://ibb.co/y02JHtS)
-> How can I fix this? Is there something to fix?
(to be clear: not the hdr part, but resolution and bit depth)

pragmatick
27th November 2021, 19:13
Has anybody noticed stutters / frame drops lately, perhaps with nivida GPUs? I haven't changed anything on my system lately (apart from installing a new driver) and I'm getting short frame drops / stutters that aren't reported by madVr but clearly visible.

claw
27th November 2021, 20:25
Nvidia Control Panel has been changing the options for Power Management and Vertical Sync in recent driver versions.

It used to be with my RTX 2080 Ti and an older driver that I would set
Power to Adaptive
Vertical Sync to ON

With the driver and Control Panel I use with my RTX 3080 Ti, the options are different.

I found this works for me to eliminate the stutter.
Power to Normal
Vertical Sync to Adaptive.

huhn
27th November 2021, 23:01
I don't quite understand what you're saying. Do I have copy back enabled, or no?

Sent from my SM-N975U using Tapatalk

if you choice a GPU for d3d11 it will use copyback.

Hi I got a HP Z27q 27-inch IPS 5K display, see: https://support.hp.com/us-en/document/c04591534
Problem is madVRs identification does show totally wrong values for it:
https://i.ibb.co/y02JHtS/identification.png (https://ibb.co/y02JHtS)
-> How can I fix this? Is there something to fix?
(to be clear: not the hdr part, but resolution and bit depth)

it's a dual input setup as long as everythign works ignore it.

Selur
28th November 2021, 14:15
it's a dual input setup as long as everythign works ignore it.
Okay, thanks. :)

Stonga
29th November 2021, 00:10
Okay, so I have figured out that the "peak brightness" setting in madVR's pixel tone mapping menu means that madVR wont do any tone mapping before the source exceeds the nits chosen. I tried experimenting with it and when the nits is exceeded, it dims the highlighted parts of the picture and makes them a lot dimmer than my TV outputs even with "HDR Tone Mapping" disabled on the TV.

Why would I want this?

My LG C1 is manufactured this month. It is damn bright in HDR10 and Dolby Vision. Even without enabling the TV's own HDR Tone Mapping.

The only sources that exceeds my TV's peak nits are animation movies like "Into the Spider-Verse" and such and not regular movies and TV series.

Most movies report a 1000 nit source as peak nits and I rarely see any higher than 400. Other movies report a 600 nit source. "Into the Spider-Verse" reported almost 10000 as source, but never exceeded around 1000.

There is no write-ups anywhere that explains what any of the settings do except the basic ones from the non-beta branches.

One more question though. Is the TV doing double tone mapping even though I turn off "HDR Tone Mapping" on the TV?

Asmodian
29th November 2021, 00:33
I tried experimenting with it and when the nits is exceeded, it dims the highlighted parts of the picture and makes them a lot dimmer than my TV outputs without DTM.

Why would I want this?

Saturation also increases. The LG TVs can get pretty bright with pure white, but a bright pure red (or any color) cannot get that bright.

I don't use madVR's tone mapping for my CX, but that is why you might want to. :)


One more question though. Is the TV doing double tone mapping even though I turn it off on the TV?

Yes, you cannot turn off all HDR tone mapping. Dynamic Tone Mapping is more dynamic than it should be. I suggest leaving it off even if using passthrough in madVR.

Stonga
29th November 2021, 01:10
Saturation also increases. The LG TVs can get pretty bright with pure white, but a bright pure red (or any color) cannot get that bright.

I don't use madVR's tone mapping for my CX, but that is why you might want to. :)

What do you mean by that I might want to use madVR's tone mapping on the C1 and why are you not using it?

I'm not sure even where to start with the settings. I don't need the "best" settings, but something that looks better than the TV can do natively.

Yes, you cannot turn off all HDR tone mapping. Dynamic Tone Mapping is more dynamic than it should be. I suggest leaving it off even if using passthrough in madVR.

I did watch "No Time to Die" from a external HDD in Dolby Vision with HDR Tone Mapping forced enabled through the "Cinema Home" picture mode on the TV since madVR doesn't support Dolby Vision. I have to say it looked pretty good.


From what I understand, LG's own HDR Tone Mapping doesn't only make the highlights brighter, but the whole picture because it isn't dynamic like madVR's pixel shaders?

Thanks for the input and suggestions.

Asmodian
29th November 2021, 06:29
LG's own tone mapping doesn't only make the highlights brighter, but the whole picture.

Do you mean Dynamic Tone Mapping? DTM often makes the whole picture brighter, which is why to not use it. If you turn off Dynamic Tone Mapping it will be more faithful to the ideal image within the brightness range it can display, but it will still be doing tone mapping.

I don't use madVR's tone mapping because I haven't found settings that make all content look better than my TV on its own (without DTM). I can tune it to look better for some content, but then I find something else that goes really wrong. LG's never seems to go really bad, at least. madVR's tone mapping is still rather experimental, but I don't watch that much HDR and I haven't tried too hard with recent betas either. :o

Stonga
29th November 2021, 12:52
Do you mean Dynamic Tone Mapping? DTM often makes the whole picture brighter, which is why to not use it. If you turn off Dynamic Tone Mapping it will be more faithful to the ideal image within the brightness range it can display, but it will still be doing tone mapping.

I'm sorry if I mislead you. When I said "DTM" I meant "HDR Tone Mapping" on the tv OR madVR's pixel shaders. From my understanding is that LG's Tone Mapping is not dynamic like madVR's own Tone Mapping, but static. Or is that the HDR10 limitation vs HDR10+ and Dolby Vision?
I don't even have a setting called "Dynamic Tone Mapping" on my TV. I have "Auto Dynamic Contrast", but I never use that. Looks bad.


I don't use madVR's tone mapping because I haven't found settings that make all content look better than my TV on its own (without DTM). I can tune it to look better for some content, but then I find something else that goes really wrong. LG's never seems to go really bad, at least. madVR's tone mapping is still rather experimental, but I don't watch that much HDR and I haven't tried too hard with recent betas either. :o

The LG tv got a setting called "HDR Tone Mapping", not " Dynamic Tone Mapping". I guess we're talking about the same thing though?

I have updated all my posts to reflect what I actually meant.

tp4tissue
30th November 2021, 03:07
Don't know when it happened, but Nvidia's 23hz works really nice now, 23.9759 vs 23.9755 before.

12bit modes also survive reboots :D

el Filou
30th November 2021, 17:48
Has anyone ever experienced dropped frames and presentation glitches caused by... a perfectly still wireless mouse?
I experienced linked (ie : happening at the same time) dropped frames / presentation glitches every 20 seconds or so. Couldn't solve it no matter what settings I tried.
At one point I just had a hunch and switched off my mouse (Logitech MX Anywhere 2S, there is a on/off switch on it).
Problem solved, but the mystery remains…Does that mouse use the "Options" software? I have this software with my K830 and my MX Master, and it causes presentation glitches when it displays on-screen messages for Caps Lock or Battery Low, but I've never seen do it every x seconds. Try disabling the "battery low" reporting to see if maybe that's the cause. Or report it to Logitech (good luck, their support for bug reports is horrible). Downgrading the mouse software to an older version is also something to try, you never know.

tp4tissue
1st December 2021, 01:32
Or get their g305, problem solved.

Asmodian
1st December 2021, 03:53
The LG tv got a setting called "HDR Tone Mapping", not " Dynamic Tone Mapping". I guess we're talking about the same thing though?

I am not sure now. Maybe they changed the name? :o
https://hosting.photobucket.com/images/dd496/asmodian3/Dynamic_Tone_Mapping.jpg?width=590&height=270&fit=bounds

Stonga
1st December 2021, 11:55
I am not sure now. Maybe they changed the name? :o
https://hosting.photobucket.com/images/dd496/asmodian3/Dynamic_Tone_Mapping.jpg?width=590&height=270&fit=bounds

I believe they're the same. If it doesn't show in SDR content and only in HDR mode, they should be the same. Don't take my word for it though.

I think the LG C1 actually does a good job with Tone Mapping in HDR10. Not so much with Dolby Vision. The "AI picture" also helps with the highlights in HDR. People should experiment more with it rather than just turning it off from the start. Not to be confused with "AI Brightness" and "AI Genre selection"

flossy_cake
6th December 2021, 00:14
Does that mouse use the "Options" software? I have this software with my K830 and my MX Master, and it causes presentation glitches when it displays on-screen messages for Caps Lock or Battery Low, but I've never seen do it every x seconds. Try disabling the "battery low" reporting to see if maybe that's the cause. Or report it to Logitech (good luck, their support for bug reports is horrible). Downgrading the mouse software to an older version is also something to try, you never know.

I downloaded the Logitech Options software the other day and noticed its GUI contains embedded video which triggers LAV Filters to run in the system tray. I'd imagine it has something to do with that -- perhaps LAV is having to filter multiple streams at once.

I had a similar issue with Firefox and YouTube where I can only play a maximum of one video at a time otherwise I can get a few dropped frames every now and then regardless of CPU usage. Even if one of the videos is just a static image with music playing in the background, it still causes some dropped frames with the playback of the video in the active tab.

____________________________

MadVR feature request: could we please get a hotkey added to the MadVR hotkeys for "toggle image enhancements on/off". This would be useful for media files which are a little on the soft side and I'd like to add a little sharpening to without having to dig through menus and then remember to turn it off afterwards.

Even better: could we have some functionality where we can place a video settings configuration file inside the folder containing our videos, which MadVR could use only when playing videos inside that folder? eg. suppose you have a whole season of videos which you want to add some sharpening to, then the user doesn't have to remember to toggle it on/off at the beginning of every video.

edit: just saw the tips.txt file which explains how to add tags to media files to automatically apply settings... it seems this may be possible with the [profile=] tag. But.. I've noticed an issue where the enhancements shaders aren't getting applied properly in full screen mode. Specifically, they are applied, but very weakly compared to windowed mode. So weakly that even at max values there is only a slight change in image. In both cases image is downscaled since the source res is higher than my display res (768p) so it's not a pre/post resize thing cause it's being downscaled in both windowed and full screen.

edit2: I'm now thinking it is a pre/post resize thing as I can't explain it any other way. Basically in windowed mode the MadVR enhancements seem to get applied pre-resize, while in full screen mode they are applied post-resize (which makes the enhancements extremely weak and pretty much unusable).

edit3: so I guess this feature request is for a checkbox on the image enhancements page to toggle between applying the enhancements pre/post resize.

edit4: I also observe the anti ringing and anti bloating filters have a much stronger effect when in full screen mode, which is suppressing the sharpening by a huge amount. With those 2 disabled, the result I observe is consistent with full screen mode getting the sharpening filters post-resize and windowed mode getting them pre-resize. Although I'm still not 100% sure if that is the explanation.

flossy_cake
6th December 2021, 03:03
edit2: I'm now thinking it is a pre/post resize thing as I can't explain it any other way. Basically in windowed mode the MadVR enhancements seem to get applied pre-resize, while in full screen mode they are applied post-resize (which makes the enhancements extremely weak and pretty much unusable).

I'm able to trigger the pre/post resize behaviour by zooming the image in with the numpad 1 and 9 keys in MPC-HC. The threshold appears to be at 1.2 zoom level.

i.e at 1.0 - 1.19 zoom, MadVRs image enhancements shaders appear to be applied pre-resize, while at 1.21+ zoom it appears post-resize (and thus much weaker):

1.0 zoom (image enhancements sharpening enabled to very high values for visibility)
https://i1.lensdump.com/i/gNK8Pa.png

1.19 zoom (no visible change in sharpening compared to 1.0 zoom)
https://i2.lensdump.com/i/gNKWje.png

1.21 zoom (the sharpening is now much weaker, and is the same as what appears in full screen mode with zoom 1.0)
https://i3.lensdump.com/i/gNKiqk.png

However this doesn't appear to be MadVR's fault at all, since the same thing occurs when applying sharpening enhancements through MPC-HC's own shaders dialog.

Therefore I believe MPC-HC may implementing a global rule, something like: if image is scaled by a factor > 1.2x, then apply shaders post-resize, else pre-resize.

I wish to disable this behaviour so that I can control exactly when the shaders are applied at all times.

I have seen MPC-HC's own pre/post resize setting, however that does not change the outcome with respect to the 1.2x threshold.

flossy_cake
6th December 2021, 03:26
However this doesn't appear to be MadVR's fault at all, since the same thing occurs when applying sharpening enhancements through MPC-HC's own shaders dialog.



Nope, I was wrong. Changing the renderer to something other than MadVR solves the issue.

Therefore it is MadVR that is implementing the pre/post resize scaling rule with respect to shaders.

Please can we have an option in MadVR to globally lock the application of shaders to pre/post resize so that we can get consistent results.

flossy_cake
6th December 2021, 03:54
Here is the debug osd when the issue occurs (animated png)

https://i1.lensdump.com/i/gNp1n0.png

The issue seems to occur when the scaling switches from "luma downscaling" to "image downscaling" (red arrow next to Picard's shoulder) which occurs when scaling crosses the 1.2x threshold (red arrow at bottom).

I have tried changing the scaling algorithm in MadVR settings without success.

flossy_cake
6th December 2021, 05:50
I have some 90s sitcoms that have a slight aspect ratio error in the horizontal direction. Basically the frame is slightly stretched horizontally by maybe 2% or something, but it's just enough to notice and make actors faces look slightly unfamiliar in the uncanny valley. The geometry is just slightly off and it's easy to fix with MPC-HC's hotkeys numpad4&6 which stretch and shrink horizontally by small increments.

But this is obviously a pain to do manually after opening every media file so I'm trying to script it with MadVR. It seems MadVR does allow applying a profile to all episodes in a folder by adding [profile=name] to the parent folder name, but it doesn't seem to support a way to do the aspect adjustment inside a profile -- or does it?

mclingo
6th December 2021, 15:46
Hi, MADVR development is pretty much dead fella, you wont see any feature updates we'll be lucky to even get any bug fixes at this point. Assume the worst and look for workarounds.

SamuriHL
6th December 2021, 18:24
Yea, at this point if it's not HDR related, it's not getting changed any time soon if ever. The rumor is the Windows 11 issues might get fixed in the coming months but that's about it. Anything outside of HDR tone mapping is unlikely to get touched.

ryrynz
6th December 2021, 19:35
I think he should address the forum at this point. Given how development has been in the past and how it's continuing at this point (actively) and the time that's progressed without any real communication I feel its bordering on disrespectful.

mclingo
6th December 2021, 21:34
i'm going to post the question on the tone mapping column to see what happens, he can only ignore it I guess.

VBB
6th December 2021, 22:20
I don't think madshi will ever come back to doom. These days, he replies only in the Envy (https://www.avsforum.com/threads/official-madvr-envy-video-processor-owners-thread%E2%80%9D.3173897/) thread over at AVS. I hope he'll prove me wrong ;)

biship
6th December 2021, 23:08
He only shows up in the projector thread when he needs us to test software changes that he is putting into his hardware product.

mclingo
7th December 2021, 00:36
its not quite as one sided as that implies, everyone gets the benefit of the better tone mapping, it works well for all low brightness or non HDR TVs, displays and projectors, MADVR + a software player is still the best tone map to SDR option even if the others are catching up now.

SamuriHL
7th December 2021, 01:49
Others will indeed eventually catch up. I've already switched my usage to another product at this point. Yes, madvr is still the king of quality. However, on an OLED the quality I get with a different solution is damn good and improving daily. You are correct that the madvr HDR tone mapping updates are NOT one-sided. It was the bargain madshi struck with the community but he made it very clear that it was going to be strictly HDR tone mapping focused until that feature is "done". Several years later and it's still nowhere near complete. What I mean is there are many things that can and eventually will be improved. Just realize that the reason behind it is to improve the Envy to make it more competitive. As long as you accept that and the time limited betas and spending quite a bit of time configuring each one as things change, you can keep an updated madvr HTPC going. How long this bargain lasts is anyone's guess. I have no more desire to chase down that last few percentage of image quality these days. I'm quite satisfied with a solution that simply works without fussing with it.

VBB
7th December 2021, 05:15
I have no more desire to chase down that last few percentage of image quality these days. I'm quite satisfied with a solution that simply works without fussing with it.

Couldn't agree more. What's the other product, if you don't mind me asking? I know you've been using your laptop and the SHIELD since your PC died ;)

SamuriHL
7th December 2021, 05:18
Still am. On the laptop I'm using jrvr. It's been making some really nice strides the last few weeks. But I don't want to derail this thread which is why I didn't originally specify.

Sent from my SM-G998U1 using Tapatalk

VBB
7th December 2021, 05:33
Gotcha!

Aceman21
7th December 2021, 18:52
https://uploads.tapatalk-cdn.com/20211207/516559128c35705f71bfbff201b3ec60.jpg
What does the dynamic target nits do and what’s the difference between all the contrast recovery’s ?