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

brazen1
5th September 2024, 16:19
Should at least put a text message on screen saying it's expired or something.

The non-beta final 0.92.17 is unlimited usage right? Right? :eek: :scared: :confused:

I've been using 113 a very long time with no problems and there is no timeout. I have no reason to use more advanced tone mapping since I passthrough and don't mind using this reliable build since it meets all of my requirements.

huhn
5th September 2024, 22:15
Should at least put a text message on screen saying it's expired or something.

The non-beta final 0.92.17 is unlimited usage right? Right? :eek: :scared: :confused:

well it does for like a month.

flossy_cake
6th September 2024, 02:44
well it does for like a month.

cool and good

Nicholas Steel
6th September 2024, 10:53
well it does for like a month.

That just says it is out of date, not that it will suddenly stop working.

Goeggel
6th September 2024, 13:57
I am considering building a dedicated, isolated HTPC (using madVR) with older software and hardware components to avoid the seemingly inevitable issues with newer graphics card drivers, OS versions or graphics hardware. Those issues on newer rigs come to mind:

- "vsync on" necessary
- stuttering
- presentation glitches
- HDR colours working only in full screen mode
- max performance mode necessary (Nvidia)

- Which was the last Windows 10 version (service pack etc.) with the least issues?
- Which was the last Nvidia graphics driver with the least issues?
- Which was the last Nvidia card (10xx or 20xx) with the least issues? The card should support 4k 60Hz 10bit and preferably be passive cooled if available.

Sunspark
6th September 2024, 17:14
madshi said a few years ago that Windows 8.1 is most compatible with this.

ryrynz
7th September 2024, 00:59
Anyone using 8.1 specifically for madVR playback based on some out of date recommendation is nuts.

Sunspark
7th September 2024, 01:48
Why? He said isolated dedicated machine. 8.1 is faster than 7 and everything in madvr is supported like fullscreen exclusive and nvidia does have drivers for it.

He made that recommendation back when 10 was still new, true, but in the years since, madvr hasn't been updated to keep up with the changes in 10, so..

In a similar vein, flossy still is/was until very recently still using 7.

JarrettH
7th September 2024, 02:30
I am considering building a dedicated, isolated HTPC (using madVR) with older software and hardware components to avoid the seemingly inevitable issues with newer graphics card drivers, OS versions or graphics hardware. Those issues on newer rigs come to mind:

- "vsync on" necessary
- stuttering
- presentation glitches
- HDR colours working only in full screen mode
- max performance mode necessary (Nvidia)

- Which was the last Windows 10 version (service pack etc.) with the least issues?
- Which was the last Nvidia graphics driver with the least issues?
- Which was the last Nvidia card (10xx or 20xx) with the least issues? The card should support 4k 60Hz 10bit and preferably be passive cooled if available.

Can't answer everything here:

I run a passive ASUS GT 1030 GDDR5 (this is the the last passively cooled NVIDIA to my knowledge). I was looking forward to a passive 1600 series card, but one hasn't surfaced. I'm on Windows 10. No issues version to version. I don't play any HDR stuff, only DVDs, blu-rays. You should follow the reddit threads for official driver releases. The current recommended driver by the community there is 551.86. Would you consider MPC Video Renderer? I haven't moved to it yet, but since getting a 120 hz monitor, I don't need Smooth Motion anymore. The algorithms in MPC Video Renderer are getting there too.

Siso
7th September 2024, 13:53
You consider mpc video renderer as alternative to madvr? It doesn't even have a gamma selection for sdr.

Sunspark
7th September 2024, 15:55
About the gamma, on Linux I mostly use vlc because I can't be bothered right now to hand-construct a config file for mpv. People here rap it, but it actually does have stuff under the hood. If you look in the advanced settings>video>output modules>opengl you will see that there are 9 different display primaries that can be selected, and also 9 different display gamma/transfer functions. On the same tab, 6 different tone-mapping algorithms (presumably for HDR). I cannot speak to the quality of implementation, I am just saying that there is stuff present. If using opengl however, the scaling algo is whatever the card's hardware uses.. There is a software scaler in filters with 10 choices, but it only works if you're using a non-hardware accelerated renderer. If you want gamma/primaries, you have to give up the scaler choice.

Anyway, about the gamma, on my monitor with that, I've set BT.709 for the display and IEC 61966-2-4 for the transfer function. I did try BT.1886 but it was too bright, in part because due to my screen not being calibrated I use mac gamma (likely 1.8) in the panel.. so using 2-4 with the panel's setting balances out better than using BT.1886 with either setting (too dark or too bright). You have to try them all to see.

I don't use vlc on Windows but for some of you with HDR displays it might be worth experimenting with to see what happens with the tone-mapping choices, if you do, output module choice will have to be changed away from automatic which will default to direct3d which doesn't have those options.

huhn
7th September 2024, 16:24
i guess that is why.

bt 1886 to bright than sRGB. what a great implementation of bt 1886.

mac isn't using 1.8 for like a decade now.

https://github.com/mpvnet-player/mpv.net

flossy_cake
8th September 2024, 10:52
I am considering building a dedicated, isolated HTPC (using madVR) with older software and hardware components to avoid the seemingly inevitable issues with newer graphics card drivers, OS versions or graphics hardware. Those issues on newer rigs come to mind:

- "vsync on" necessary
- stuttering
- presentation glitches
- HDR colours working only in full screen mode
- max performance mode necessary (Nvidia)

- Which was the last Windows 10 version (service pack etc.) with the least issues?
- Which was the last Nvidia graphics driver with the least issues?
- Which was the last Nvidia card (10xx or 20xx) with the least issues? The card should support 4k 60Hz 10bit and preferably be passive cooled if available.

I am in the process of doing a HTPC build with a i5-12600, RTX3060, and Win10Pro 22H2 (with this (https://github.com/memstechtips/UnattendedWinstall) IoT LTSC-like autounattend.xml debloat).

I will let you know how it goes when I have everything configured to perfection and confirmed flawless playback with all rates 23/24/25/29/30/50/59/60 which could take another week or two, but I think it's gonna be okay based on what I'm seeing so far.

I am extremely sensitive to noise as well and use these floating rubber grommet 5.25" bay mounts for my drives (they are the only type I trust to truly silence 3.5" drives) and fans must be inaudible although I think on a warm day even the Noctua CPU fan are going to create some standing waves / humming that may be audible at certain seating positions so you can't fully escape it on a warm day although I went with Noctua D15S for the 140mm fan and bigger heatsink so that one may actually be fine on a warm day, yet to be tested. For GPU fans check the dB measurements at techpowerup, the best ones for quietness are 3 fans, and some of the 2 fan ones like Asus Dual are very quiet too like the Asus Dual 4060.


In a similar vein, flossy still is/was until very recently still using 7.

Yep I still have the Windows 7 machine in the lounge room for main HTPC duties while I work slowly and steadily on this new Windows 10 build. I'm taking it slow cause I wanna make sure I get everything right and taking an image with Clonezilla between major software installs. My latest progress was that I seem to have successfully blocked Windows updates via URL blocking of Microsoft's update servers at my router, combined with a bunch of Group Policy and Registry tweaks (the Windows Update settings GUI now says auto updates are being controlled by your organisation which I believe is the group policy which I set, plus I have tried to force it to update and it just keeps doing the spinner animation and no internet traffic on task manager which I think confirms my router level blocking is working). Idling at desktop I have 67 processes I think that's pretty decent for Windows 10 my mum's computer has 180 processes :scared:

QBhd
8th September 2024, 12:55
I don't do anything fancy... and I have a lot of stuff running on my PC at all times, and I only have 86 processes running on my Windows 10 right now. I am sure if I turned everything off it would be much lower.

Edit:

LOL... I'm an idiot... missed the other 80 Windows Processes!!

QB

flossy_cake
8th September 2024, 15:17
LOL... I'm an idiot... missed the other 80 Windows Processes!!
QB

There is a counter in the performance tab > CPU > Processes

And my Windows 7 machine only has 37!

But Windows 10 maybe "feels" slightly faster to load stuff, but I think it's mostly fake trickery of preloading commonly used apps and stuff. Either that or it's the 80MB/sec 4k randoms of the NVMe vs the 45MB/sec of the SATA on the Win7 machine.

Sunspark
8th September 2024, 17:11
It is trickery.. it still has to load/start the services same as 7.. the difference is that the older OSes tended to do that upfront and the later ones let you log in while the startup process was still continuing.. you can see this with the task manager, the CPU and disk load is active for a bit as processes and services continue to get started even though you're sitting at the desktop. But yeah, it's heavy.. I have 175 processes running compared to something like 50 on the 7 partition.

I know what you mean by the fans. After 9+ years the little blower is definitely noisy on load.. need to replace it sometime.. laptop style blower fans are harder to replace because of their more custom configuration/size. You can't just order a "standard" size.

flossy_cake
8th September 2024, 17:42
It is trickery.. it still has to load/start the services same as 7.. the difference is that the older OSes tended to do that upfront and the later ones let you log in while the startup process was still continuing

Hmm well I made the administrator account without a password so it just goes straight to desktop without login screen.

Plus, I disabled fast startup so every power on really is a full cold boot not the pseudo hibernation thing it normally does.

And I still think it's smart caching regularly used apps more than win7 does.

QBhd
9th September 2024, 03:56
Yeah Windows 10 is definitely smarter... even a browser left open with a lot of tabs will power down the processes and not really be doing anything after a few minutes.

QB

Nicholas Steel
11th September 2024, 08:01
Thankfully the vast majority of Processes running in Windows, are idle and consume no CPU time until you do something that requires them. So no reason to stop them.

flossy_cake
11th September 2024, 16:54
Thankfully the vast majority of Processes running in Windows, are idle and consume no CPU time until you do something that requires them. So no reason to stop them.

Well I sit and watch the list of processes sorted by CPU usage on a 180 process machine and see processes coming to the top every now and then to do things occasionally. Idle CPU is definitely not staying pegged solid at <1% like I am used to. Spikes up to maybe 5% every now and then, more when doing regular auto updates for Chromium-based browsers or Windows Security or who knows what "service host" is doing. Not that this would necessarily cause bad performance, the scheduler is a lot better with putting background tasks on e-cores, and I think it's probably better at recognising when user is doing "multimedia" like video or games, compared to Windows 7.

Perenista
12th September 2024, 04:27
An incompatibility with madVR and MPC-BE when dealing with Matroska files with multiple video tracks has been noticed, which oddly does not happen with MPC-HC.

Not sure if this has been discussed here, or whose fault is it, but if it's not MPC-BE's, madVR needs to address this bug...

Look into these series of posts:
https://forum.doom9.org/showthread.php?p=2006820#post2006820

Sunspark
12th September 2024, 05:39
Nothing to do with madVR, madVR is a renderer. Handling of multiple video tracks is an issue with the player and the source filter. If it's working with HC, you have your answer as to the renderer.

whitestar999
12th September 2024, 06:03
I am planning on building a new pc mainly for HTPC/downloaded video files playback (no gaming) & in the coming major sale in my region I am likely to get 3060 12GB & RX7600 & maybe 3060Ti at around same price. PC will be connected to a 1080p SDR TV & a 4k HDR TV (in near future) & content will be mostly 1080p sdr or 4k hdr which I am planning on playing to their respective screens (1080p sdr on 1080p sdr tv & 4k hdr on 4k hdr tv) to keep complications to minimum. I will use madvr last stable/permanent version on win 10 22H2 & some other alternatives like mpc-vr if I find it good enough. What is the best option for me in terms of cards then considering all the above factors? I will not have any colorimeter so whatever the TVs allow me to change via its colour/contrast/similar settings will be what I will use for colour correction.

flossy_cake
12th September 2024, 08:08
What is the best option for me in terms of cards then considering all the above factors?

Because you said you won't be using the beta versions of madvr that means the most demanding scenario is that you would be having madvr do BT.2390 tonemapping of a 4k60 HDR video file and that can be done in around 5 milliseconds per frame on a 3060 so either a 3060 or 4060 would be fine for your needs.

But if you want to do more advanced HDR tonemapping than BT.2390 which only the beta versions of madvr can do, then you would need something more powerful.

Personally I don't watch 4k60 HDR apart from gawking at the demo clips, the most I would watch is 4k24 HDR movie, and for that my 3060 is overkill and ideally I would like to be able to use Intel iGPU for future HTPC builds but it seems iGPU is just too pissweak for madvr, it can barely even do anything at all, like the UHD730 GPU in a 12100 cannot even do anything more than bilinear scaling in madvr. I don't know if that's a madvr optimisation issue or if UHD730 is just very slow, but according to benchmarks even my ancient Radeon 6770 from 2011 is much faster than a UHD730 from 2021 so it's kind of annoying that you have to spend all this money on a 4060 just to get baseline performance for a HTPC. It used to be that there were more lower end cards to choose from that made more financial sense for a HTPC-only build.

whitestar999
12th September 2024, 08:22
Because you said you won't be using the beta versions of madvr that means the most demanding scenario is that you would be having madvr do BT.2390 tonemapping of a 4k60 HDR video file and that can easily be done in around 5 milliseconds per frame on a 3060 so either a 3060 or 4060 would be fine for your needs.

But if you want to do more advanced HDR tonemapping than BT.2390 which only the beta versions of madvr can do, then you would need something more powerful.

Personally I don't watch 4k60 HDR apart from gawking at the demo clips, the most I would watch is 4k24 HDR movie, and for that my 3060 is overkill and ideally I would like to be able to use Intel iGPU for future HTPC builds but it seems iGPU is just too pissweak for madvr, it can barely even do anything at all, like the UHD730 GPU in a 12100 cannot even do anything more than bilinear scaling in madvr. I don't know if that's a madvr optimisation issue or if UHD730 is just very slow, but according to benchmarks even my ancient Radeon 6770 from 2011 is much faster than a UHD730 so it's kind of annoying that you have to spend all this money on a 4060 just to get baseline performance for a HTPC. It used to be that there were more lower end cards to choose from that made more financial sense for a HTPC-only build.

I will likely be watching 4k 24/30fps in most cases. Also, I thought tonemapping isn't required for hdr content if just passing through via hdmi to hdr capable display which is the default setting in video player/OS. What is your opinion about RX7600 as amd seems to have fixed some major driver issues in 7xxx series as per the latest driver issues & last recommended version thread?

flossy_cake
12th September 2024, 10:48
Also, I thought tonemapping isn't required for hdr content if just passing through via hdmi to hdr capable display which is the default setting in video player/OS.

Yeah madvr's tonemapping is for converting HDR to SDR which I figured you may want to do on your SDR display that you mentioned. Apparently some people also use it to make improvements to their their HDR display's internal HDR tonemapping like for some TVs that have a buggered up HDR mode.

AlsoWhat is your opinion about RX7600 as amd seems to have fixed some major driver issues in 7xxx series as per the latest driver issues & last recommended version thread?

My AMD GPUs are all old so my comments on them wouldn't be relevant. I did have some issues with driver crashes and switching to the stable "enterprise" driver version resolved that, but I would bet that's probably not an issue anymore. Maybe someone else can comment.

Sunspark
12th September 2024, 16:13
flossy I don't know why you're saying the igpu can't handle stuff.. it can, if you don't have everything maxed out. More computationally intensive algorithms don't necessarily mean a better rendering.

To make my system load a little lighter on this broadwell, I outsource the image scaling to the monitor (I don't see the soft scaling it does as a disadvantage, it works for both anime and old grainy material), and that's certainly an option (I used to do image scaling on the igpu too). Handle chroma and dithering choice on the PC side, and let the panel scale the image. If you're using a 4K screen, they're probably pretty ok at scaling by now after all this time no?

You don't need a top of the line nvidia. A few well-chosen choices and you're fine.

For chroma I use Mitchell-Netravali with anti-ringing.
Image downscaling: Mitchell-Netravali, scale linear light, activate relaxed anti-ringing
Image upscaling: Mitchell-Netravali, scale in sigmoidal light, activate anti-ringing
Dithering: Ordered dithering, use colored noise off, change dither for every frame off

Calibration set to match my display, color & gamma enabled also matched.
Display modes on to switch to the resolution and refresh I want.. this way madvr is only doing chroma scaling not luma, the panel handles the luma upscaling.

Letting the panel do the luma also means if you don't like Mitchell you can use some other algo that is more computationally intensive with no big deal of it.

I do sometimes upscale luma using software instead when I don't want the refresh rate changed because sometimes that is tied to a resolution change and when the old source material is something like 640x480 or 720x480.

I can use these settings because I don't have a single thing that is 4K or HDR so I just don't need tonemapping or any of the other stuff.

flossy_cake
12th September 2024, 17:02
flossy I don't know why you're saying the igpu can't handle stuff.. it can, if you don't have everything maxed out. More computationally intensive algorithms don't necessarily mean a better rendering.

I'm not a scaling snob, even on the main HTPC I'm totally fine with Lanczos scaling. Even without antiringing I would be willing to accept it if it meant saving $400 on having to buy a standalone GPU.

The UHD 730 in the i3-12100 that I used for my parents computer couldn't handle anything more than bilinear scaling for a 1080p60 video. Lanczos was too much for it, as was bicubic and Mitchell-Netravali. Anything more than bilinear and the render times would be too high, extreme fps stutter and GPU load in the 90% range according to task manager. I couldn't believe it when I saw it but that's all the UHD 730 could manage.

I'm still skeptical the UHD 730 is that weak and leaning towards thinking madVR's shaders just aren't optimised for iGPUs, or maybe the other way round and iGPU's drivers don't know how to optimise the execution of madVR shaders.

I do rely on the AdaptiveSharpen shader for softer DVD content and that just blows the render time out even more, but since the resolution and fps of DVD is lower it creates enough GPU headroom for bilinear + AdaptiveSharpen.

I don't have that PC with me anymore but from memory it could handle 1080p60 with Lanczos scaling with the MPC video renderer, so I think it's more of an optimisation issue with the madvr shader and iGPU combination.

Sunspark
12th September 2024, 19:38
I downloaded a 13-second clip of big buck bunny 8-bit 1080p60 to test. Using copy-back, with chroma-only scaling the CPU load was about 45% and according to gpu-z the GPU load was 42% on a dual-core cpu/iGPU hd 6000. Changing it to do image scaling as well from 1080 to 1152, GPU load went to 100% (not good, but playable). Using overlay which has more cpu.. changing it to windowed was 40% cpu and 38% gpu. Changing it to dxva2-native could not display. Changing it to D3D11 decoding and also for presentation using chroma-only scaling, 25% cpu and gpu load 45%. With image scaling too, 25% cpu, 92% gpu but many dropped frames.

So, on a 9 years old dual-core cpu using bicubic, you can do 25% cpu and 45% gpu at 60fps if it's just chroma.

With 23.876 1472x1080 8-bit h.264 of a regular show, it's much lower of course for chroma-only.. 15%/15% roughly w/ d3d11, 18%/13% with copyback overlay.

In BE with EVR w/ the BBB clip, 18% cpu, 45% gpu w/16-bit fp, 18/34 w/8-bit integer. MPCVR about 13% cpu, 37% gpu using d3d9 dxva scaling (includes image, not just chroma) w/16-bit. 10% cpu, 13% gpu if 16-bit floating point is replaced with auto. Using the shaders it's about 30/55 w/ 16, about 20/35 w/ auto.

That's pretty amazing that you can get 10/13 on this old cpu with dxva scaling on a 60 fps clip using mpcvr if you use 8-bit textures.

And on that 1472x1080, about 5/5 w/ 8-bit texture. 8/10 w/ 16-bit.

So flossy, something is non-optimal on that UHD 730 setup if I am getting these numbers with something 8-9 years older.

Perenista
12th September 2024, 22:37
Nothing to do with madVR, madVR is a renderer. Handling of multiple video tracks is an issue with the player and the source filter. If it's working with HC, you have your answer as to the renderer.It was due to another setting from MPC's Video Decoder, instead of D3D11, DXVA2, opting for D3D12cb did the trick.

So MPC-BE and madVR work together, with this new setting, for MKVs with multiple video tracks.

flossy_cake
13th September 2024, 06:41
So flossy, something is non-optimal on that UHD 730 setup if I am getting these numbers with something 8-9 years older.

It sounds like you got the same on your DX11 test:


With image scaling too, 25% cpu, 92% gpu but many dropped frames.


And you were scaling from 1080 to 1152, I was scaling 1080 to 1440.

And I couldn't get GPU decoding working at all, always just got a black screen. Maybe with GPU decoding that could have opened up some headroom for scaling.

From memory I was not able to use DX9 rendering on that machine as I kept getting random black frames in full screen mode. I remember trying all the rendering options in madvr settings, but I'll go back there later this week and have another play around. I did play around with it already for about an hour, pretty sure I didn't miss anything.

edit: this was the test clip I used https://youtu.be/JBM_gqOeUXY , h.264 stream I believe

flossy_cake
13th September 2024, 07:17
something is non-optimal on that UHD 730 setup if I am getting these numbers with something 8-9 years older.

Your 2014 HD 6000 may be more powerful than 2021 UHD 730 for shader workloads due to the higher core count (384 vs 192).

https://www.techpowerup.com/gpu-specs/hd-graphics-6000-mobile.c2626

https://www.techpowerup.com/gpu-specs/uhd-graphics-730.c3765

Sunspark
13th September 2024, 08:27
Nice clip, 45/42 with my usual madVR config. 15/36 mpcVR. 20/46 evr-cp.

I use D3D9 for both decoding and rendering because it's old.

Maybe use DDU and chuck out the driver and let it download a new one from windows update catalog or use intel's download.

flossy_cake
13th September 2024, 09:30
I watch mostly DVDs so upscaling from 480p60 to 1080p60/4k60 with sharpening filters is a big part of the viewing experience for me personally so I need something that can handle at least Lanczos quality scaling preferably with antiringing , and I just don't think 192 shader cores of a UHD 730 can do that. A 3060 has 3582 shader cores and twice the clock speed, it just steamrolls everything I throw at it, doesn't even make enough heat to spin the fans and I've only got a 2-fan MSI Ventus which isn't even as quiet as 3 fan cards.

I will go back and check everything but it was a clean install for a new build so there wouldn't have been any residual drivers interfering, and the driver was auto updated from windows update cause it installed the new Intel control panel in the windows app store. I think UHD 730 is just a shit GPU.

Sunspark
13th September 2024, 17:46
I still have a hardware decoder card for DVDs from back in the day. No motherboard to plug it into, but I remember it had a good picture.

If you get a 7680 × 4320 display, you can do an integer multiple of scaling with 480. :)

NeonPhoenix
14th September 2024, 22:25
Hey guys, I've heard that unchecking some trade quality for performance settings actually make the quality worse, so I do not know which ones to keep. I use DXVA2 (copy-back), tone map HDR using pixel shaders, using 10 bit display at the refresh rate of the movies. What are the best trade quality for performance settings in this case? https://imgur.com/a/1kpvvsQ

flossy_cake
15th September 2024, 08:20
I wouldn't tick use dxva for chroma, that's known to be buggy in terms of chroma alignment.

huhn
15th September 2024, 09:15
doesn't matter.
with dxva native or deint the chroma is wrong align anyway the scaler doesn't do anything anymore. and this is nvidia only issue.

flossy_cake
15th September 2024, 09:44
this is nvidia only issue.

He uses nvidia

the scaler doesn't do anything anymore.

I compared it a while ago and the chroma alignment was different with DXVA native exclusively vs DXVA native + MadVR chroma upscaling

But they were both bad so he should avoid the issue altogether by simply making sure not to use DXVA native, in which case those perf optimisation check boxes won't affect him

NeonPhoenix
15th September 2024, 14:33
So is there nothing I can do for better quality? Btw yes I use nvidia 4070 and dxva copy back so i did not change any setting.

flossy_cake
15th September 2024, 15:22
So is there nothing I can do for better quality?

What quality issues are you having?

Sunspark
15th September 2024, 16:31
flossy, is the both bad avoided by using the D3D11 automatic decoder w/ D3D11 presentation path?

I remember there was discussion when it first came out that the advantage of this pairing was that it would fix the chroma problem that nvidia has with dxva2-native.

neon, if you have an overpowered system, you also have the option of doing as huhn does and use "none" for decoding (software, look at task manager to see how much cpu usage increases on the performance tab). But generally, if you're already using copy-back, then all the rest will just come down to your algorithm choices for scaling, dithering, etc. Don't get too carried away, more cpu/gpu usage does not always present a better image.

flossy_cake
15th September 2024, 17:07
flossy, is the both bad avoided by using the D3D11 automatic decoder w/ D3D11 presentation path?

I can't recall, there were some reports a few years ago about D3D11 decoding being broken but that may no longer be relevant.

Regardless, I'm not sure D3D11 decoding is as "tried and tested" as DXVA2-copyback which I've been using for years without issue.

But I recently stopped using it for everything except 4k60/HEVC cause even a i3-12100 can easily decode everything below that without breaking a sweat.

huhn
15th September 2024, 20:08
for the like 20 times to the same people madVR doesn't have a d3d11 path it is always d3d9 always.

so the presentation of d3d11 and the decode have nothing todo with each other.

with d3d11 native decode the first thing madVR does is copy that back to d3d9.
with d3d11 presentation it just copies from d3d9 to d3d11 these operation are not free but also not expensive well on a iGPU they kinda are. only presentation is done using d3d11.

this is totally different with proper d3d11 renderer like mpcVR which fully supports d3d11. scaling deint super rez you name it it supports it while madVR can only accept a frame from it and copy that back to d3d9 that's it.

Sunspark
15th September 2024, 20:40
I was playing around earlier with monitoring power consumption using hwinfo64. Usually we look at load %s on the CPU and GPU, but total power consumption is I think possibly a better measure. You can right click and have it show graph for total on the cpu package, or individual graphs like IA, GT and DRAM.

madVR is the most power-hungry renderer, even when using DXVA.

flossy_cake
16th September 2024, 14:02
the presentation of d3d11 and the decode have nothing todo with each other.

but the chroma issue occurs with LAV's DXVA-native so by changing the decoder in LAV to D3D11 is the chroma issue resolved?

Sunspark
16th September 2024, 17:01
That's what nevcariel and madshi said back then. That it was a damage-free method of doing native decoding. The presentation path is not very relevant imo because I have observed it is entirely possible to use D3D11 native decoding with a D3D9 presentation path.

I didn't see any test images and I can't test because I don't have nvidia.

Two pairs would have to be looked at in this context:
d3d11n decode-d3d11 pres (even if it's interopped)
d3d11n decode-d3d9 pres

If both the same, and since you already know what it looks like with dxva2n you will have the answer fast.

Asmodian
16th September 2024, 17:14
Two pairs would have to be looked at in this context:
d3d11n decode-d3d11 pres (even if it's interopped)
d3d11n decode-d3d9 pres


The purpose is testing for the chroma bug in native decoding, right? If so, you do not need to test different present methods. They have no connection and no one has ever suggested there was an issue with presentation in either D3D9 or D3D11. There is no "native" or "copy back" for presentation and presentation is done in RGB; a chroma bug similar to the one with DXVA2 native is not even possible.

Worrying about presentation in this case simply over complicates testing.

huhn
16th September 2024, 17:27
but the chroma issue occurs with LAV's DXVA-native so by changing the decoder in LAV to D3D11 is the chroma issue resolved?

DXVA2 can not handle a YCbCr image over.
so madVR actually gets a DXVA2 scaled RGB image and just uses some math to undo it.

it doing
splitNv12stretchrect
RGBtoYCbCr
YCbCr to CbCr
chroma scaler

d3d11 can hand over a image without touching it in any way.

Sunspark
16th September 2024, 18:52
Is the answer for everyone who is able to do D3D11-native decoding, to stop using copy-back as unnecessarily loading on the system when this method exists?

Using copy-back with my settings on total CPU package power (which includes iGPU) I was averaging 12.5 watts on a video's intro. Changing it to D3D11-native increased the power consumption by 1 watt to 13.5. Changing presentation mode to D3D11 down from D3D9 overlay increased the power consumption a further 3 watts to 16.5. Using "None" back on D3D presentation was about 11.5 watts.

I suppose it would change on codec/resolution/scaling, etc. Interesting that "none" for this h.264 piece was 1 watt less than a copy-back operation and that D3D11n was more (implies drivers aren't optimized), which would be fine if it was nvidia and avoided the chroma issue.

Everyone's setup will be different.