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

Warner306
13th November 2018, 13:29
No, I get this problem on my 2080 ti even if I match the resolution (for no upscaling). The rendering times are very very low but the problem persists.

The only way to avoid stuttering is to enable FSE.

This was not a problem on my 1080 which was the exact same vendor and model (asus strix).

Try using something other than NGU for chroma and image upscaling.

austinminton
13th November 2018, 13:38
Stuttering with cubic chroma and xbr scaling as well.

clsid
13th November 2018, 15:26
Don't forget to set NVIDIA "power management mode" option to "Adaptive".

Betroz
13th November 2018, 17:51
Don't forget to set NVIDIA "power management mode" option to "Adaptive".

Or even better, "Prefer maximum performance".

nevcairiel
13th November 2018, 18:45
Or even better, "Prefer maximum performance".

Adaptive is perfectly adequate, unless you want to heat your room.

Siso
13th November 2018, 20:28
Adaptive is perfectly adequate, unless you want to heat your room.

Not in every case tho, adaptive makes rendering spikes in the avg stats and max stats.

ryrynz
13th November 2018, 20:48
Who cares about the stats really? They're a means to an end. As long as it falls under frame time for every frame and the noise/heat is acceptable to you then you're fine, how hard the card is operating at isn't that obvious from the stats alone.
Adaptive is perfectly adequate as Nev said, Prefer maximum performance is clock speed and power consumption overkill as Adaptive does a really good job of sorting the right clock speeds for the job.
If you're pushing ~90% of your frame time you may run into frame drops though.

fireattack
14th November 2018, 03:19
I encountered a weird problem: when using MadVR (with any player) + dual screen, everytime I minimize/restore the player on main screen, the playback will stutter for a bit. It doesn't happen on 2nd mon, or if I only connect one monitor.

does anyone have clue how to fix it? The OS is Win764.

Thanks in advance.

ryrynz
14th November 2018, 07:58
I think it's something madshi was going to look at sometime in the future, not much you could do other than try changing the power mode for your graphics adapter and perhaps increase/decrease the GPU buffer.
Try playing with a few options and see what helps if anything, do defaults still do this?

austinminton
14th November 2018, 10:21
Don't forget to set NVIDIA "power management mode" option to "Adaptive".

Yes power management mode is set to adaptive. I have tried all the usual solutions and nothing fixes the stuttering besides FSE. A couple of other users have mentioned the same issue on their new 2080 ti cards as well. Is there anyone who can get stutter free playback on their 2080 ti without FSE? If so please share your settings and I will try them at my end too.

ryrynz
14th November 2018, 11:30
Probably those Windows notification settings.. Disable Focus Assist, disable Automatic rules and all 'notifications & actions' options.

j82k
14th November 2018, 20:41
NV HDR is broken again with 416.94. Good job Nvidia....

Warner306
14th November 2018, 20:43
If you're not playing video games, stop updating your drivers unless there is a good reason for it.

ryrynz
14th November 2018, 21:10
Boys gotta play, nice to know. The good reason is knowing if they've finally delivered an update worthy of replacing 385.28 :P

brazen1
15th November 2018, 00:11
I have no problems with the new driver for HDR. However, 3D is broken and only for one player:
PowerDVD is fine.
MPCHC is fine.
MPCBE reduces the player to the upper left corner of the display.
This is not the first time I've seen big differences between MPC HC/BE.
All players are nightlies or latest version as of today fwiw.

HD Audio driver is still junk regarding auto switching stereo to 7.1 in Windows Audio properties and vice versa which does affect playback of certain audios but more importantly, desktop usage vs video mode. I replaced the driver with the last working version in the install package and am finding it routine with every update. Hoping one day they will fix this audio driver problem along with adding an RGB 10bit mode which is why I keep upgrading the driver and testing. My advice is roll back to the previous driver and fix the audio (if you care) or live with the new 3D problem that MPCBE may or may not deal with and fix the audio in this latest driver (I'm going to) or install 385.28 and fuggetaboutit.

ryrynz
15th November 2018, 02:15
Build 4166 may fix that perhaps, check nightlies in a few hours, also BE has differed quite a bit from HC for some time now so differences aren't unexpected.

Grimsdyke
15th November 2018, 09:45
@all, I have two questions.
- Is there a way to expand the UI at least vertically ?
- I am currently looking into my profiles to maybe find some optimizations especially for UHD and I was wondering about the rendering modes !!
Is flush-flush&wait (loop)-don't flush-don't flush still the recommended setting for UHD ? Unfortunately there are too many combinations possible so I thought I better ask.
Thx

ryrynz
15th November 2018, 11:07
You mean the madVR settings window? That can't be changed.
Flush and wait (loop) looks to place slightly more burden on the GPU, hence the slightly lower render times. Defaults should be best.
Optimizations would be things like the trade quality for performance options or lowering the buffers.

Grimsdyke
15th November 2018, 11:42
Years ago on Win7 I had a little tool installed that made all windows sizeable but I unfortunately don' t remember the name - found others but they don't work so well.

When I set "after copy to backbuffer" to "flush" render times drop here on my system by ca. 2 ms !! However, I am worried that this creates other problems in the overall performance.
Guess I have to do some night sessions to further test this. Madshi is currently not active here, right ?

austinminton
15th November 2018, 12:31
I am using FSE after a long time and I noticed that it shows "composition rate" at 60hz even though I have a 24p video playing at 24hz refresh rate. Should composition rate really matter in FSE? Is there some setting I am missing somewhere please?

Betroz
15th November 2018, 13:00
I am using FSE after a long time and I noticed that it shows "composition rate" at 60hz even though I have a 24p video playing at 24hz refresh rate. Should composition rate really matter in FSE? Is there some setting I am missing somewhere please?

I'm wondering about the same myself.

madjock
15th November 2018, 13:12
I'm wondering about the same myself.

It is a display bug as far as I am aware. You would get lots of frame drops and the likes if it was really at 60. I think there was a fix but I was too lazy to try and find it once I got FSE working again, I don't use it inside KODI anyway.

mclingo
16th November 2018, 12:11
i've had that issue myself with my AMD card, where the composition rate didnt match and i was getting frame drop which is very odd for an AMD card, i tried what I thought was everything to resolve, even a system restore but I couldnt fix it. I finally managed to get it sorted by completely removing MADVR and installing it in a new location. i tried this first by moving location and using settings.bin but this didnt work.

its easy to test though, just run the uninstall MADVR but leave the folder intact, reinstall it in a new location from scratch, if it doesnt work go back to the old location and you've only lost a few minutes.

This is more likely a driver issue though but its doing exactly the same thing that happened to me.

SirSwede
16th November 2018, 13:51
This might be a bit of a silly question to the more experienced of you users, but it makes me nervous - so here goes it:

Using Windows 7 Home Premium, is it possible to make any changes in Windows (excluding madVR's own settings, MPC-HC's settings, LAV Filter's settings, graphics card settings and changing the Windows Theme), that will affect how madVR displays the picture and how the picture looks on the TV, using madVR? :confused:

:thanks:

huhn
16th November 2018, 18:47
aero and color management should do that.

I am using FSE after a long time and I noticed that it shows "composition rate" at 60hz even though I have a 24p video playing at 24hz refresh rate. Should composition rate really matter in FSE? Is there some setting I am missing somewhere please?

FSE should ignore the desktop composition but this is a hard topic because there is no FSE on win10 so hard to say there.

overlay rendering is ignoring the composition rate and i'm unsure of windowed d3d11 10 bit which is a special mode on it's own.

SirSwede
16th November 2018, 19:31
aero and color management should do that.

Yeah, but nothing else?

huhn
16th November 2018, 20:03
the GPU driver but that is not microsoft.

SirSwede
16th November 2018, 21:01
the GPU driver but that is not microsoft.

Yeah, I never touch that. This PC is completely dedicated to madVR and I never make any changes (at least not on purpose) - all I do is open the Windows Explorer, transfer the file, close the Explorer, mark the file, click Enter, play the file, program ends, move the file to the Recycling Bin and emptying it.

JNW
18th November 2018, 01:53
Do you guys overclock your GPU’s? I have a VAIO with an old AMD Radeon 5470 that I use to watch stuff on in bed. I wanted to use super-xbr for chroma and upscale using Jinc but was falling short a few ms on some videos so I would have to fallback chroma to Jinc also. So I decided to do a slight overclock to squeeze that little bit more performance. I’m in happy day’s now lol but don’t usually overclock. Temps are the same though and all looks good. Guess I’m paranoid of damaging something lol. It’s old but a lovely laptop. People mention there cards and settings but never mention if they’ve done anything to there cards or not so I guess I was just curious.

QBhd
18th November 2018, 04:34
All I do is push the "power control" to +20% on my factory OC'd R9 270X... without this I would have to dial NGU back a notch... the card starts to throttle to quickly without the power control pushed to +20%

QB

Asmodian
18th November 2018, 05:45
I overclock a lot, on a 2080 Ti now, but ideally I de-volt for madVR. I don't need the full power for my ideal settings so running lower volts/clocks saves power/heat. I have never had issues damaging a video card by overclocking but madVR is one of the most intensive things you can run, if running close to 100% GPU usage, so make sure cooling is sufficient.

100% usage can use very different amounts of power with different loads, madVR is not Furmark but it takes more power than most games.

ryrynz
18th November 2018, 06:07
Kinda silly not to overclock the memory at the least. If you don't need the extra performance to unlock a particular option then just leave things as they are unless you're gaming also.

Asmodian
18th November 2018, 09:38
True, madVR really likes a memory overclock too.

Siso
18th November 2018, 12:58
True, madVR really likes a memory overclock too.

Why is that?

Asmodian
18th November 2018, 20:07
It gets a lot of rendering performance with a memory overclock, some workloads get faster with a memory overclock and some don't. madVR gets a lot faster with memory speed, at least on Maxwell, Pascal, and Turing.

Edit: I think it is the improved latency that is the benefit, not bandwidth, because it has a similar effect on GPU's with vastly different amounts of memory bandwidth.

brazen1
18th November 2018, 21:26
I noticed I could use higher madVR settings when I overclocked my nVidia. I was using EVGA Precision and my card is EVGA fwiw. Problem is, the overclock settings do not survive a reboot and I got sick of re-overclocking constantly. Took a while to figure out why high madVR settings worked one day but not the next too. What the heck were they thinking when designing that software? What do you guys use to overclock nVidia that survives a reboot? TIA.

nevcairiel
18th November 2018, 22:18
MSI Afterburner has an option to load the overclock on reboot, works fine for me. I would be surprised if the EVGA thing didn't also have that option somewhere.

Asmodian
18th November 2018, 23:37
MSI Afterburner works on EVGA cards too, and I know it has a little button that applies the overclock after a reboot. I am almost certain EVGA Precision also has this option but I like Afterburner a lot more.

Edit: I had forgotten to hit post and agree with nevcairiel. ;)

brazen1
19th November 2018, 02:08
Installed MSI AB and overclocked GPU and memory. Survives a reboot. Thanks guys. Upped some madVR settings. So far, so good. I'll be perfectly honest. For me, it always takes time to make sure upped settings work for a wide range of titles. Right now I've only upped 2160p and checked one of my larger RIPs - The Hunger Games. I went from Scaling chroma AA med to NGU Sharp high and played for 10mins. Didn't miss a beat and rendering time is within spec. I know the jump is drastic but I had it at AA med to quite down CPU fan, not because it struggled to decode. Now CPU fan is quiet with higher setting. I guess clocking the GPU up takes some pressure off the CPU? I'll know in time if I exceeded my settings when used with other RIPs. Hope not. Anyway, pretty happy. Thanks for the reco.

ryrynz
19th November 2018, 03:33
Should be negligable CPU difference between those two.
Also NGU sharp isn't exactly an upgrade for chroma, compare first.

braddock
19th November 2018, 05:21
I created a custom 2160p 23.976 refresh rate for my gtx 1080 using the madvr optimizer. It works great in MPC-HC. However when I use this refresh rate with Kodi 18 or PowerDVD (I use these programs for some of my BD isos for full menu access) this refresh rate is noticeably stuttering every few seconds. Any idea why that would be happening?

Warner306
19th November 2018, 18:02
Post an image of the display modes menu in the control panel. Something could be amiss with your rules.

COOLak
19th November 2018, 18:16
Post an image of the display modes menu in the control panel. Something could be amiss with your rules.

Sorry, figured that myself, so I deleted that post. The wrong device was selected as my TV. Previously it wouldn't show me the right device in the device list, but now it did show it for the first time. The refresh rate change feature now works for me.

--------

However, I have another question. I have thousands of both dropped and repeated frames and presentation glitches (the amount of those varies depending on the video), but I don't see any actual problems at all. Render times are OK. The refresh rate matches video. Should I worry about that?
There are no presentation glitches in the exclusive mode, but I don't like it, so I guess it's fine that I have thousands of presentation glitches if it doesn't affect my perception of the material in any way?
As for dropped/repeated frames, there is equal amount of them when I watch a 1920x1080 29.970 fps interlaced video. Also not affecting performance in any way.

huhn
20th November 2018, 05:59
what do you under stand under "render times are ok"

jmonier
20th November 2018, 21:32
I have a problem with activating HDR via DisplayPort. This is with a LG 34BK95U - 5120x2160 which requires DP 1.4 to get the full width. HDMI (which limits it to 3840 width) works fine.

Basically, it seems that madVR does not recognize that HDR is supported via DP, and thus always does the HDR-to-SDR conversion. (And I have checked that HDR can be activated otherwise via DP.)

This is a heads up to anyone else who has or is thinking of getting this monitor (note that the LG 34WK95U is exactly the same).

I'll be generating a bug report after I gather some more data.

EDIT: I should mention that I have a Nvidia card. AMD could be totally different.

Olivier C.
21st November 2018, 04:27
Hi madshi,

We can call IMadVRSettings::SettingsGetBinary in order to get the field value "displaymodesdata" (type : binary) but there isn't any SettingsSetBinary method to set it.

Could you add it in a near future ?


Set methods :
STDMETHOD_(BOOL, SettingsSetString )(LPCWSTR path, LPCWSTR value) = 0;
STDMETHOD_(BOOL, SettingsSetInteger)(LPCWSTR path, int value) = 0;
STDMETHOD_(BOOL, SettingsSetBoolean)(LPCWSTR path, BOOL value) = 0;

Get methods :
STDMETHOD_(BOOL, SettingsGetString )(LPCWSTR path, LPCWSTR value, int* bufLenInChars) = 0;
STDMETHOD_(BOOL, SettingsGetInteger)(LPCWSTR path, int* value) = 0;
STDMETHOD_(BOOL, SettingsGetBoolean)(LPCWSTR path, BOOL* value) = 0;
STDMETHOD_(BOOL, SettingsGetBinary )(LPCWSTR path, LPVOID* value, int* bufLenInBytes) = 0;



Thanks a lot

yiandev
21st November 2018, 19:21
Hi how can i set a manual renderer device for madvr? why is it automatically using the GPU to which the monitor player is located on.
I have a FHD TV connected to hdmi to a gt 430 because my main GPU rx580 has some issues running my monitor and my TV so i use a gt430 for TV, but when i use potplayer and move it to the TV madvr renderer is using gt 430 for rendering and it drops lots of frames since gt 430 is too weak gpu.
How can i set my main gpu RX 580 to render even when the player in located on a TV/monitor connected to a different GPU(gt430)?
I tried setting LAV video decoder to RX 580 instead of automatic but madvr still renders on gt430 :(

Please madvr developer create an option to allow us GPU selection, dont render automatically on the gpu the screen is connected on thats just please no, dont do that.

nevcairiel
21st November 2018, 19:25
Rendering on any other GPU then the one connected to the screen would be extremely bad for performance, and extremely niche of a feature. Don't hold your breath.

huhn
22nd November 2018, 09:25
you can already use a different GPU to render the on your screen. it's a default feature of windows 10.

you go to settings-> display-> graphics settings -> browse ->add your player

now you go to options and select high performance which should be your AMD card.

in my very limited experiences this works great with intel as the renderer and nvidia as the presentation GPU and totally terrible with nvidia as the renderer and intel as the presentation GPU.

you may run into vsync issues like tearing, PCIe bandwidth limitations, sync issues A/V and "stuff"...

and you may need to change the registry and disable the IGPU if present completely.

svengun
22nd November 2018, 09:37
driver and windows version have nothing todo with that.

what is your end device and is a AVR in between?

What would it matter , if there was an AVR in between. My Marantz SR6010 has a 4:4:4 UHD bypass, would there still be a sgnal or quality loss to be expected ?