Log in

View Full Version : madVR - high quality video renderer (GPU assisted)


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 [925] 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329

huhn
5th October 2017, 02:17
file works normally for me.

varekai
5th October 2017, 08:38
How to export/import madVR settings?

el Filou
5th October 2017, 09:07
You can either give write access to the folder madVR is installed in (usually somewhere in Program Files) to your user account and then it will create a settings.bin file in it, or you can export the HKEY_CURRENT_USER\SOFTWARE\madshi\madVR key from the registry (the resulting .reg is quite big, so zip it if you want to share it).

@madshi Would it be possible for madVR to store the settings.bin in %ProgramData% ? That folder has the advantage of having write access even for standard users.

feelingblue
5th October 2017, 09:37
hi

Has the full/limited issue been fixed with new nvidia drivers?
Selecting RGB Full in both desktop section and video section, is 0-255 correctly displayed?

thanks

Anime Viewer
5th October 2017, 16:34
I'm noticing small white horizontal dashes (most of the time white, but on occasion black) flash on the screen at what may be random times during playing of videos. I've also noticed they flash on quite frequently (although not always) right after I pause videos too. Its a brief flash, and doesn't remain on the screen making me unable to take a screen shot.
(MadVR, MPC-HC 64, LAV-64, XySubfilter)

I'll post my settings if needed, but before that I thought it may ring a bell to a few of you who may have encountered it yourselves in the past. Any theories on what may be causing it, or a setting I should try changing to remedy it?

varekai
5th October 2017, 18:10
...or you can export the HKEY_CURRENT_USER\SOFTWARE\madshi\madVR key from the registry...
Excellent, thanks for the info! Much appreciated!

el Filou
5th October 2017, 18:27
Has the full/limited issue been fixed with new nvidia drivers?
Selecting RGB Full in both desktop section and video section, is 0-255 correctly displayed?I updated to 385.69 and it's not fixed for me, but then most people don't have this problem so it will probably be difficult to have NVIDIA acknowledge it.

Just one remark: the Dynamic range setting in Adjust video colour section shouldn't have an effect on madVR.

Asmodian
5th October 2017, 21:19
Yes, that is very strange. I haven't had a problem with Nvidia + full range RGB in years.

dvd1
5th October 2017, 21:49
If you do not notice a difference just use Jinc or something. There is no need to overthink it.

I compare by switching settings and re-watching shorter sections of different types of content.
why jnc does not need overthink?

Siso
5th October 2017, 22:08
I was wondering which decoder to use, CPU decoding, or GPU decoding (DXVA copy-back). CPU is XEON X5650, GPU is GTX 1050 Ti.

strumf666
5th October 2017, 22:17
why jnc does not need overthink?
Jync is a decent enough scaler so you can set it and forget it, if you can't be bothered to do some testing of your own.

Asmodian
5th October 2017, 22:18
why jnc does not need overthink?

Jinc is the the highest quality non-doubling scaler. It is a simple very high quality choice if you do not notice the difference from NGU.

el Filou
5th October 2017, 23:36
I was wondering which decoder to use, CPU decoding, or GPU decoding (DXVA copy-back). CPU is XEON X5650, GPU is GTX 1050 Ti.The video block in the 1050 decodes pretty much everything and hardly consumes any power, and it's dedicated so you're not using other processing resources. The only case I'd see in your situation for not using it would be if copy-back mode has problems (usually with UHD content).

el Filou
6th October 2017, 05:39
Btw, i'm trying and trying and now i barely see a difference :P Maybe you can see it. I'm thinking, i tried to reset madvr settings after i edited the name file... maybe the problem was really there? :OI'm not using any processing/enhancement/refinement, and yet on my system the picture looks more similar to your madVR screenshot than to your VLC one (albeit with more banding artefacts).
I noticed that madVR produces a 1920x800 image and your VLC screenshot is 1920x804, the aspect ratio is different. I don't know much about VLC, but what renderer and decoder does it use? If it's DXVA and/or EVR, are you sure your graphics card video 'enhancements' are not processing the image? And how does it produce screenshots? Or did you use print screen?
I also tried basic EVR, and the resulting image is 1920x804 like your VLC screenshot, but with the same brightness levels as madVR. I think the VLC image is the bad one here.

Edit: this scene is a very good showcase of how much better at rendering madVR is than GPU drivers & EVR, btw! :)

Siso
6th October 2017, 08:21
The video block in the 1050 decodes pretty much everything and hardly consumes any power, and it's dedicated so you're not using other processing resources. The only case I'd see in your situation for not using it would be if copy-back mode has problems (usually with UHD content).

I watch only 1080p content :D So copy-back is the right choice?

Tobiwan
6th October 2017, 10:11
Can someone give me tips for faster skipping/jumping inside low quality formats like porn? It needs 2-4sec to rebuild after jumping with my high settings on NGU AA, but maybe I did something wrong. HD 1080p movies work without delay.

I have tried to lower the setting and deactivate the NGU, but it doesn't really help, so it seams something else is wrong.

dvd1
6th October 2017, 11:00
Jync is a decent enough scaler so you can set it and forget it, if you can't be bothered to do some testing of your own.
I'm testing them but I do not see any difference between the various scalers, maybe I can not figure out what the differences are and with what images i have to do the tests?

mzso
6th October 2017, 12:03
I've installed ProgDVB and tested with the same setup you would like to use: software decoding in LAV but with GPU deinterlacing and madVR.
Here's a screenshot (https://drive.google.com/open?id=0B2r1Nd4XdRcbcm1jTFBnT1NrV00)
GPU deinterlacing is definitely working, no combing whatsoever as in your screenshot.
I left madVR at its default settings.

I may be wrong, but could madVR + GPU deinterlacing be too much for your graphics card? Have you tried with EVR just to see if deinterlacing works without madVR? Have you tried lowering madVR processing quality?

EDIT: I see your average processing time is ~23 ms. 50i video deinterlaces to 50 fps, not 25, so it means 20 ms per frame. I think it's likely your GPU has no processing resources left to deinterlace in addition to madVR processing. I know Radeons at some point had a 'feature' that disabled some video processing options if the GPU was maxxed out, I don't know much about NVIDIA GPUs yet but could it be that's what happening?

I just realize that when you were testing this I didn't know yet that it only breaks when I change channels.
Could you try it that way? (If you're still around)

jkauff
6th October 2017, 12:23
Can someone give me tips for faster skipping/jumping inside low quality formats like porn? It needs 2-4sec to rebuild after jumping with my high settings on NGU AA, but maybe I did something wrong. HD 1080p movies work without delay.

I have tried to lower the setting and deactivate the NGU, but it doesn't really help, so it seams something else is wrong.
Maybe you should edit out the boring stuff before playing the video. ;)

Tobiwan
6th October 2017, 12:48
Maybe you should edit out the boring stuff before playing the video. ;)

Haha :D

When I skip/jump the decoder queue goes up over the set limit from 16 to 19/21 for a few sec, in this time the video stops.

I'm using a i7 7700k, should I set the decoder queue higher then the default to fix the problem?

ryrynz
6th October 2017, 12:52
Been noticing a few instances recently with seeking where the picture freezes but audio continues. Seeking sometimes fixes it. Was using NGU Sharp and d3d11. Haven't done any testing. Anyone else had this recently?
Only appear to have this happening when I pause.

Tobiwan
6th October 2017, 13:03
Been noticing a few instances recently with seeking where the picture freezes but audio continues. Seeking sometimes fixes it. Was using NGU Sharp and d3d11. Haven't done any testing. Anyone else had this recently?

Audio continues and picture freezes yes, but I only have the problem on low quality videos. I test it with NGU AA, Sharp, xbr, and CIVID, D3D11 but there was no different.

I only found that decoder queue overflow at seeking.

mzso
6th October 2017, 13:59
Hi!

Can anyone tell me how do I use the madVR internal decoders? They don't appear as a system codec so I can't set them in media software to be used. So how?

The DXVA decoders are surely there because apparently they somehow got enabled in strange circumstances (https://forum.doom9.org/showpost.php?p=1820884&postcount=22243):
https://abload.de/thumb/clipboarder.2017.10.05qsnv.png (http://abload.de/image.php?img=clipboarder.2017.10.05qsnv.png)

Even deinterlacing started working. So how do I the built in decoder normally?

nevcairiel
6th October 2017, 14:37
madVRs built-in decoders have been removed a long time ago, in v0.87.15 to be precise. If the OSD says DXVA, that means the decoder is delivering frames in DXVA2-Native mode, but not that madVR is doing the decoding.

strumf666
6th October 2017, 15:04
I'm testing them but I do not see any difference between the various scalers, maybe I can not figure out what the differences are and with what images i have to do the tests?
Official comparison by madshi available here:
http://www.madvr.com/

Unless you have a very bad eye sight (or something terribly wrong with your display), the difference in sharpness should be very apparent when watching a movie. You can also make a screenshot of the same frame using different scalers, for comparison, but if you do not see the difference during playback it's a waste of time.

mrmarioman
6th October 2017, 15:05
Quick question.
So what's the better/right option here for HDR movies?

madVR: 0-255 nvidia: 0-255 TV: 0-255
madVR: 0-255 nvidia:16-235 TV: 16-235

in some movies with everything set to full-rgb the blacks look washed out.

mzso
6th October 2017, 15:14
madVRs built-in decoders have been removed a long time ago, in v0.87.15 to be precise. If the OSD says DXVA, that means the decoder is delivering frames in DXVA2-Native mode, but not that madVR is doing the decoding.


Well, I saw that, but it only says "removed software decoders" and not DXVA decoders. So that's confusing.

Also, I tried removing the files and it works the same way. Which is even weirder. Maybe LAV wasn't working at all this way?

The icon certainly didn't appear and the settings certainly don't reflect using DXVA. (I don't see LAVVideo.ax in the threads either.)

Where are the settings for LAV Video normally stored?

nevcairiel
6th October 2017, 15:15
Well, I saw that, but it only says "removed software decoders" and not DXVA decoders. So that's confusing.

There never was anything but the software decoders in the first place.

el Filou
6th October 2017, 15:39
@mzso I reinstalled ProgDVB and tested again. With the default config you're indeed right that deinterlacing gets turned off after the first channel change and there is no way to get it enabled again without fully stopping and opening a channel again.
Fortunately I was able to fix it by changing this setting in the options: Main => Speed of channel changing = Fast
Note that this value probably requires that the same decoder filters be used for all formats because they are kept active upon channel change. It's not really a problem because you can use LAV for all formats.
Afterwards, deinterlacing stays on even after a channel change.

Please confirm it works on your side too so I can uninstall ProgDVB, I can't stand this software. :D

Asmodian
6th October 2017, 15:42
Quick question.
So what's the better/right option here for HDR movies?

madVR: 0-255 nvidia: 0-255 TV: 0-255
madVR: 0-255 nvidia:16-235 TV: 16-235

in some movies with everything set to full-rgb the blacks look washed out.

Those are both correct, the first is preferred but they should look basically the same if the TV handles both limited and full range correctly.

HDR or not changes nothing. How are you displaying HDR? If you are using pixel shader math to convert to SDR try turning up "this display's peak nits:"

Tobiwan
6th October 2017, 16:00
Is D3D11 faster then CUVID or the same at the end? What's the benefit?

mzso
6th October 2017, 16:25
@mzso I reinstalled ProgDVB and tested again. With the default config you're indeed right that deinterlacing gets turned off after the first channel change and there is no way to get it enabled again without fully stopping and opening a channel again.
Fortunately I was able to fix it by changing this setting in the options: Main => Speed of channel changing = Fast
Note that this value probably requires that the same decoder filters be used for all formats because they are kept active upon channel change. It's not really a problem because you can use LAV for all formats.
Afterwards, deinterlacing stays on even after a channel change.

Please confirm it works on your side too so I can uninstall ProgDVB, I can't stand this software. :D

Sadly, no. This way channel switching is completely broken. Either I get an exception (with microsoft demultiplexer) or broken aspect ratio, hung video and such (with prog demuxer).

I set it all to lav video while testing.

el Filou
6th October 2017, 16:40
I'm afraid you'll have to contact ProgDVB devs about this, I don't see another way to fix this.
With MediaPortal I don't have any problem on channel switch with madVR so I guess the issue is on ProgDVB's side.

mrmarioman
6th October 2017, 17:10
Those are both correct, the first is preferred but they should look basically the same if the TV handles both limited and full range correctly.

HDR or not changes nothing. How are you displaying HDR? If you are using pixel shader math to convert to SDR try turning up "this display's peak nits:"

Thanks. I thought HDR content used full rgb.

Both options look similar, but using 16-235 looks a bit better on my TV.

For HDR I use 'let madVR decide' or 'passthrough' options.

aufkrawall
6th October 2017, 17:46
Is D3D11 faster then CUVID or the same at the end? What's the benefit?
Cuvid only has drawbacks over D3D11VA:
It wastes power by preventing downclocking of the card, is less maintained by Nvidia regarding bugs and there is only a copyback mode available with LAV Filters + madVR, which causes overhead on both CPU, GPU and RAM.
Only current advantage for Cuda would be deinterlacing, which is not yet implemented into madVR with D3D11VA. I think it's also just a myth that Cuda deinterlacing would be better in terms of quality. It's not better than D3D11VA and still inferior to YADIF.

Drakko01
6th October 2017, 18:03
Cuvid only has drawbacks over D3D11VA:
It wastes power by preventing downclocking of the card, is less maintained by Nvidia regarding bugs and there is only a copyback mode available with LAV Filters + madVR, which causes overhead on both CPU, GPU and RAM.

Thatīs kinda answers my question https://forum.doom9.org/showthread.php?p=1820811#post1820811 I see a major improvement on svp smoothness ,but i do not knows if is only for that change of settings.

aufkrawall
6th October 2017, 18:13
Can't judge SVP, haven't really ever used it. I'd expect that there are no differences as long as system performance is sufficient.
One possibility might also be that Cuda applications are favored for best performance by the driver over other applications.

Tobiwan
6th October 2017, 18:14
Thanks aufkrawall! :)

nevcairiel
6th October 2017, 18:16
Cuvid only has drawbacks over D3D11VA

On top of the listed things, CUVID can also not fully handle HDR.

aufkrawall
6th October 2017, 18:30
On top of the listed things, CUVID can also not fully handle HDR.
Is that because it can't fully transport metadata in general?

nevcairiel
6th October 2017, 18:32
Correct, it doesn't expose the SEI data. While one could parse that manually out of the bitstream before giving it to CUVID, thats just not done, and would also be quite annoying.

bitterman
6th October 2017, 18:37
I seem to have a problem with x265 (H.265) video files.

The image freezes but the audio continues playing, resulting in massive dropped frames.

It happens sporadically.

I made a video about it with madvr statistics enabled.

https://www.youtube.com/watch?v=Ljlp67uHH_0

It even happens with a 300mb re-encode video file. Such as with e.g. Annabelle.2014.BluRay.1080p.H265-20-40.

If needed here is the Mediainfo output of the file:
https://pastebin.com/p2M9X2QM

My pc specs are:
- i7 4770k
- geforce gtx 650 ti (latest drivers)
- 8gb ram
- w7 64 bit

My MadVR settings are close to default.

And my settings in LAV are also on default. I only changed the hardware decoder to dxva2 copy-back.

Can anyone tell me what is causing this to happen?

Any help would be greatly appreciated. Thanks!

aufkrawall
6th October 2017, 18:41
Correct, it doesn't expose the SEI data. While one could parse that manually out of the bitstream before giving it to CUVID, thats just not done, and would also be quite annoying.
:thanks:
It's really good to have D3D11VA support now, probably avoids a fair amount of trouble or oddities for every driver.

iSeries
6th October 2017, 18:48
Using D3D11 copyback, the crop black bars/zoom functions do not seem to work. They work fine with DXVA2 copyback. Is that expected?

huhn
6th October 2017, 18:52
yes it by default it is using native mode for copyback select a GPU in the drop down menu.

iSeries
6th October 2017, 18:54
yes it by default it is using native mode for copyback select a GPU in the drop down menu.

Yeah I did that, I made sure it is using copyback. Zoom function doesn't work with it

huhn
6th October 2017, 19:09
well working perfectly fine here: https://abload.de/img/workingfine3wukf.png

sneaker_ger
6th October 2017, 19:24
I seem to have a problem with x265 (H.265) video files.
[...]
- i7 4770k
- geforce gtx 650 ti (latest drivers)

And my settings in LAV are also on default. I only changed the hardware decoder to dxva2 copy-back.

Can anyone tell me what is causing this to happen?
I don't know what is causing it but I would recommend to simply deactivate hardware decoding for HEVC and move on. Neither i7-4770k nor GTX 650 Ti have ASIC for HEVC. Not worth the trouble.

bitterman
6th October 2017, 19:35
I don't know what is causing it but I would recommend to simply deactivate hardware decoding for HEVC and move on. Neither i7-4770k nor GTX 650 Ti have ASIC for HEVC. Not worth the trouble.

Thanks. So upgrading to a GTX 970 would fix this?

This is almost pretty unbelievable that you need a super high end system just for playing x265 (h.265) files. I'm stunned.

I can't imagine how many people are still in the same boat as me.

sneaker_ger
6th October 2017, 19:38
GTX 970 is not good. GTX 950, GTX 960 or GTX 10xx (Pascal) would be better. (Or Intel Kaby Lake and later)

But why not just use software decoding? Your CPU is more than fast enough for at least 1080p, probably also for most 4Kp24 stuff.