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

Alexkral
23rd May 2019, 00:47
Any solution?

There is an issue in the c8 with some firmware not detecting the wide color gamut in PC Mode, it is supposedly corrected with firmware update (04.10.06).

thighhighs
23rd May 2019, 00:53
Anybody else tested 1903 and encountered some issues?
After the update, problems started with my 720p sources. Playback is not smooth, but the OSD shows no problems :scared: For example, 1080p sources work fine, which is a bit strange for me.
Since it seems that the new madVR build will not be soon and MS focused on more important features like blur, I used the magic button and rolled back to 1803. And everything works fine again :)
My current setup:
R7 2700, GTX 1660 Ti, 430.64, PotPlayer x64.

Daicon
23rd May 2019, 07:57
What version of AMD drivers and Windows 10?
Lastets both.


There is an issue in the c8 with some firmware not detecting the wide color gamut in PC Mode, it is supposedly corrected with firmware update (04.10.06).

I have firmware .15
And i try mode hdmi and pc and blueray, same result

DMU
23rd May 2019, 08:49
Anybody else tested 1903 and encountered some issues?
There is an assumption that in the 1903 version FSE does not work any more. It seems to work, but like FSW.

ryrynz
23rd May 2019, 10:09
FSE isn't working for me (1903 + latest Nvidia) but IDC 'cos I don't use it anyway.

suanm
23rd May 2019, 16:08
Does anyone know why the two optional pulldown lists named '①color tweaks for fire and explosions; ②highlight recovery strength' go grey and they don't work when i click the button 'tone map HDR using pixel shaders'?
I don't know whats going on?What should i do to activate the two optional pulldown lists and make them work normally?

suanm
23rd May 2019, 16:11
MadVR 0.92.17 is running on windows10 1803 OS and nvidia 385.28 display driver

el Filou
23rd May 2019, 16:48
@suanm: uncheck "compromise on HDR tone & gamut mapping accuracy" in rendering > trade quality for performance

Alexkral
23rd May 2019, 17:16
@Daicon

Save this as *.hlsl and load it in MPC-HC. It just convert the gamut to Rec.709 or DCI-P3. You can edit it as a text file, change the gamut option from the second line to DCI-P3 if you get oversaturation.

sampler s0 : register(s0);

static int GAMUT = 0; //Rec.709 = 0, DCI-P3 = 1

static float m1 = 2610.0 / 4096.0 / 4;
static float m2 = 2523.0 / 4096.0 * 128;
static float c1 = 3424.0 / 4096.0;
static float c2 = 2413.0 / 4096.0 * 32;
static float c3 = 2392.0 / 4096.0 * 32;

static float3x3 Rec709 =
{
1.660491, -0.5876411, -0.0728499,
-0.1245505, 1.1328999, -0.0083494,
-0.0181508, -0.1005789, 1.1187297
};

static float3x3 DCIP3 =
{
1.3435783, -0.2821797, -0.0613986,
-0.0652975, 1.0757879, -0.0104905,
0.0028218, -0.0195985, 1.0167767
};

float3 PQ_EOTF(float3 Ep)
{
float3 p = pow(Ep, 1 / m2);
return pow(max(p - c1, 0) / (c2 - c3 * p), 1 / m1);
}

float3 PQ_OETF(float3 Fd)
{
float3 p = pow(Fd, m1);
return pow((c1 + c2 * p) / (1 + c3 * p), m2);
}

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float3x3 mat;
float3 color = tex2D(s0, tex).rgb;
color = PQ_EOTF(color);
mat = GAMUT == 0 ? Rec709 : DCIP3;
color = saturate(mul(mat, color));
color = PQ_OETF(color);
return float4(color, 1);
}

anipeg
23rd May 2019, 18:56
Does madvr can separate the image scaling and rendering?

When use madvr with BlueskyFRC, it consume too much resource because madvr need upscale image to 4K in 60fps.
LAV decode(2K 24fps) -> BFRC(2K 24fps to 2K 60fps) -> madvr(2K 60fps to 4K 60fps) -> display

If separate the scaling and rendering, it should save 50% GPU resource because madvr only do image upscale in 24fps, not 60fps.
LAV decode(2K 24fps) -> madvr scaler(2K 24fps to 4K 24fps) -> BFRC(4K 24fps to 4K 60fps) -> madvr render(4K 60fps) -> display

Alexkral
23rd May 2019, 19:03
Does madvr can separate the image scaling and rendering?

No that's not possible, it happens the same to me with SVP.

Daicon
23rd May 2019, 19:34
@Daicon

Save this as *.hlsl and load it in MPC-HC. It just convert the gamut to Rec.709 or DCI-P3. You can edit it as a text file, change the gamut option from the second line to DCI-P3 if you get oversaturation.

sampler s0 : register(s0);

static int GAMUT = 0; //Rec.709 = 0, DCI-P3 = 1

static float m1 = 2610.0 / 4096.0 / 4;
static float m2 = 2523.0 / 4096.0 * 128;
static float c1 = 3424.0 / 4096.0;
static float c2 = 2413.0 / 4096.0 * 32;
static float c3 = 2392.0 / 4096.0 * 32;

static float3x3 Rec709 =
{
1.660491, -0.5876411, -0.0728499,
-0.1245505, 1.1328999, -0.0083494,
-0.0181508, -0.1005789, 1.1187297
};

static float3x3 DCIP3 =
{
1.3435783, -0.2821797, -0.0613986,
-0.0652975, 1.0757879, -0.0104905,
0.0028218, -0.0195985, 1.0167767
};

float3 PQ_EOTF(float3 Ep)
{
float3 p = pow(Ep, 1 / m2);
return pow(max(p - c1, 0) / (c2 - c3 * p), 1 / m1);
}

float3 PQ_OETF(float3 Fd)
{
float3 p = pow(Fd, m1);
return pow((c1 + c2 * p) / (1 + c3 * p), m2);
}

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float3x3 mat;
float3 color = tex2D(s0, tex).rgb;
color = PQ_EOTF(color);
mat = GAMUT == 0 ? Rec709 : DCIP3;
color = saturate(mul(mat, color));
color = PQ_OETF(color);
return float4(color, 1);
}

WOW, now yes!
I needed to install DirectX

What was happening?
I do not know what this does!
Is it necessary then?
Why have not I seen it in several manuals that I found?

MANY THANKS
I would like to know a little more what this is, and why it is necessary.

a detail:
The image is very very similar now yes. BUT, the color is still somewhat different, I only noticed it in X colors, not all of them. For example I noticed little little little difference in the face (in the image before upload)
But practically perfect

Any other suggestions / recommendations?

thankssssssss

Alexkral
23rd May 2019, 20:26
I think maybe your TV has some problem to select the right color gamut. With this shader you have the option to select it by yourself, but the result still depends on the gamut that the TV is using.

In MPC-HC you can see the changes you make to the shader in real time.

Asmodian
23rd May 2019, 20:41
The image is very very similar now yes. BUT, the color is still somewhat different, I only noticed it in X colors, not all of them. For example I noticed little little little difference in the face (in the image before upload)
But practically perfect

HDR tone mapping is not an exact science. Do not assume your results with PLEX are exactly correct, you will not match it perfectly using another tone mapping technique and neither is necessarily more correct, just different.

Warner306
23rd May 2019, 22:44
I think maybe your TV has some problem to select the right color gamut. With this shader you have the option to select it by yourself, but the result still depends on the gamut that the TV is using.

In MPC-HC you can see the changes you make to the shader in real time.

The AMD video drivers can sometimes change the color space. It has happened several times in the past. It must get confused with the input flag placed on the gamut by madVR...It is unlikely to be the TV because many others are using the same model with different GPUs.

el Filou
23rd May 2019, 22:45
If separate the scaling and rendering, it should save 50% GPU resource because madvr only do image upscale in 24fps, not 60fps.
LAV decode(2K 24fps) -> madvr scaler(2K 24fps to 4K 24fps) -> BFRC(4K 24fps to 4K 60fps) -> madvr render(4K 60fps) -> displayBut then FRC would need to process a 4K image instead of a 2K one, so madVR would have 2,5 x less work but FRC 4 x more work. Which takes more GPU time?

Alexkral
23rd May 2019, 23:43
But then FRC would need to process a 4K image instead of a 2K one, so madVR would have 2,5 x less work but FRC 4 x more work. Which takes more GPU time?

Hey, that's a good point, I had not noticed until now. I guess it could still do the calculations to the 2K image and interpolate the results to the upscaled 4K image, but obviously this is not available now.

suanm
24th May 2019, 00:50
@el Filou : Thank you very much.You are right.I do as you said above,the two pulldown listd work perfectly.thank you again.

bigboyman
25th May 2019, 20:58
Hello everyone. Recently I've been having some trouble getting decent performance out of madVR.
Even with all recommended "Trade quality for performance" options selected and fairly tame filtering I still get low performance (~15 fps when I should be getting at the very least 24, i.e, 10 frame drops per second).

Are my settings too high for my hardware?
Is there some hidden config I forgot to check?
Is it the drivers or the display settings?

My bulid: ~2-3 year old ASUS gaming laptop with

MPC-HC with LAV, madVR (https://www.videohelp.com/software/madVR), CCCP (https://www.videohelp.com/software/Combined-Community-Codec-Pack), XYsubfilter (https://www.videohelp.com/software/XySubFilter) and ASSmod (because they don't always both work)
i7-6700HQ @ 2.60 GHz
GTX 960 (4 GB)
16 GB DDR4 RAM
1TB HDD and 128GB SSD
Windows 10

Probably useful info:

The player uses up nearly all of my GPU's time (yes, the dedicated GPU) but not so much the CPU
Most of the GPU usage is for 3D (and a little bit for decoding)
I have Vsync enabled but it doesn't seem to improve performance at all
Integrated Graphics don't do anything (can't use both GPU's at once for the same thing)
I use madVR mostly for files with resolutions lower than 720p, so a decent chunk of the render time goes to upscaling
Render time is fairly low at the start of the video (20ms render time for like 3 minutes) but then quickly jumps to 70ms where it stays until I reboot my PC. This makes me believe it's not really an issue of my hardware not being good enough to use these settings with good performance.
The render queue is always nearly empty (1-2/24) and the decoder, subtitle and upload queues are always pretty much full (23-24/24)
The player should take at most 1/24 ~ 42ms for rendering each frame (else it drops frames like crazy [~10 per second])


Here's a link to my madVR and LAV settings (https://imgur.com/a/5HbY6iO).

Also if someone knows how to display more text in the OSD that would be very appreciated (so I can see all render steps and post what takes more time).

huhn
25th May 2019, 21:30
you are suing always super sampling don't do that. use 1.5 or 2.0 with your card i recommend 2.0.

can you make a screen of the OSD?

ashlar42
25th May 2019, 21:36
Here's a link to my madVR and LAV settings (https://imgur.com/a/5HbY6iO).
Is there a reason for having "Reduce compression artifacts" at 9? Such a high value could make sense just for really poor sources. I'd never use it on high resolution material, personally.

bigboyman
25th May 2019, 21:38
Tried using 2.0 instead of supersampling and it actually made it slightly worse (~70ms to ~80ms).

Here's the OSD with ShowRenderSteps (https://imgur.com/a/dQL6EwA) (as many as I can see)

bigboyman
25th May 2019, 21:40
Is there a reason for having "Reduce compression artifacts" at 9? Such a high value could make sense just for really poor sources. I'd never use it on high resolution material, personally.

I use this bulid mostly for files with resolution below 720p (often 480p) which is why it's so high.

huhn
25th May 2019, 21:44
your settings posted doesn't match the OSD and always supersampling or 2.0 have no effect in this case.

error diffusion is used which will melt the GPU. jinc scaling is used which will melt the GPU. most of the post processing filters are used which again will melt the GPU.

bigboyman
25th May 2019, 21:56
your settings posted doesn't match the OSD and always supersampling or 2.0 have no effect in this case.

error diffusion is used which will melt the GPU. jinc scaling is used which will melt the GPU. most of the post processing filters are used which again will melt the GPU.

What settings are different in the OSD?
And what alternatives do you suggest I use?

huhn
25th May 2019, 22:01
i don't even know where to start. deblocking should be used with NGU sharp for chroma to spare a bit of processing power but it alone is already alot of work for 960.
start from scratch.

Asmodian
25th May 2019, 22:07
Yes, for a 960 you will need to turn down or disable some settings, mostly you can only use a few pre/post processing filters. Ordered dithering is also great quality and much faster than error defusion.

If you really think it is something odd happening after three minutes do not look for issues in madVR, nothing changes in madVR after three minutes. That would be due to overheating or power saving options or similar. Is Optimus behaving badly again? That tech does not work very well in my experience. :mad:

Monitor GPU clocks while watching madVR, hwinfo is a good tool.

Edit: try running without any pre/post filters with show render steps so you can see all of them. Is anything obviously very slow?

bigboyman
26th May 2019, 01:46
Yes, for a 960 you will need to turn down or disable some settings, mostly you can only use a few pre/post processing filters. Ordered dithering is also great quality and much faster than error defusion.

If you really think it is something odd happening after three minutes do not look for issues in madVR, nothing changes in madVR after three minutes. That would be due to overheating or power saving options or similar. Is Optimus behaving badly again? That tech does not work very well in my experience. :mad:

Monitor GPU clocks while watching madVR, hwinfo is a good tool.

Edit: try running without any pre/post filters with show render steps so you can see all of them. Is anything obviously very slow?

Using fewer pre/post processing filters (image corrections, not upscaling/downscaling) does improve performance by about 10ms but it's also very important for good video quality at low-res meaning disabling kinda defeats the purpose of this whole setup.

Tried ordered dithering and it DOES improve performance without any visible quality loss but by only about 5ms so not a huge gain.

Clock is stable so not an issue but the GPU is hot (~85ºC - hot but not overheat hot) when madVR is working (with 70ms render time). But then again, that's probably due to the hardware limits and not so much Optimus drivers. I should also probably mention I don't have energy saving mode enabled.

Now that I can see the rest of ShowRenderSteps the composition of render time (~65ms because ordered dithering) is as follows (approximately):

Image corrections - 10ms
Deblock - 8ms
Chorma Upscaling - <1ms
Debanding - 2ms
Deringing - 7ms
NGU Doubling - 9ms
Jinc Upscaling - 10ms
Image scaling X+Y - 5.5ms
Subtitles - 7.5ms
Final Step - 3ms

What do you think I can afford to remove / compromise?

bigboyman
26th May 2019, 01:51
i don't even know where to start. deblocking should be used with NGU sharp for chroma to spare a bit of processing power but it alone is already alot of work for 960.
start from scratch.

Thanks for the advice. I don't notice any graphical difference (is there supposed to be one?) and can shave 5ms thanks to this.

So far, this thread has already made me lose about 10ms with next to no graphical compromise. Keep it up guys.

brazen1
26th May 2019, 02:15
bigboyman,

I've been using a GTX 960 4GB for years. I still do because I have no reason to upgrade until there is a reason. Every one of your settings is different from mine and I've been seeking the most performance I can obtain out of the 960. I'll go as far as telling you they are all completely wrong tbh. Even your LAV Filter settings. I use settings and profiles for every format there is because I have a very diverse collection. 3D, 2D, SDR, HDR, 2160p through 580p, etc. Imo, your best starting point, and perhaps ending point, is provided for you in the guide in my signature. You can d/l the madVR .bin file and replace yours in your madVR folder to make things very simple. It's a copy of what I use. There are also links to pictures with settings if you'd rather do it manually. Granted I am using a 4k display and I think you're using 1080p max. The settings still apply.

huhn
26th May 2019, 02:42
just show advanced rendertimes gives you higher rendertimes i never measured it but it's more then zero.

next problem is that you are currently scaling 480p the rendertimes with a 720p source for deblocking will sky rocket.

is this a 960m? what is the clock? 85 C is pretty high for a maxwell GPU.

subtitles should only take 1-3 MS on a 960 even at UHD.

when deblocking is used with a strong setting deringing doesn't do much anymore try to remove deringing if you still get ringing issues try a stronger deblocking/RRN setting.

upscale refinement is recommended over the use of image enhancement. try to replace the 4 top "image enhancer" with the way cheaper AdaptiveSharpen beware replacing image enhancement with upscaling cost more processing power and usually needs higher settings but Adaptive sharpening is so much cheaper and you are not creating as much upscaling artifacts. i can't remember a single use case where enhance details is useful for sources that are deblocked because a deblocking creates huge parts with no details.
the 4 top "enhancer" work best with clean/good source anyway.

using jinc after doubling has a high diminishing return lanczos 3 AR should be similar.

if you can't framerate match using smoothmotion is mandetory in my opinion.

NGU sharp should be massively better for chroma quality but in general it is not a chroma scaler i would use but it's free with deblocking unlike super XBR or NGU AA.

super XBR 100 is worth a shoot it should be faster then NGU AA mid but it looks clearly different.
you could also try always super sample for quadrupling (not for doubling) beware this can backfire spectacularly.

Using fewer pre/post processing filters (image corrections, not upscaling/downscaling) does improve performance by about 10ms but it's also very important for good video quality at low-res meaning disabling kinda defeats the purpose of this whole setup.
this is misguided using more doesn't mean it will result in "more".
see deringing as an example.

tp4tissue
26th May 2019, 02:42
where do i enable show render steps.

huhn
26th May 2019, 03:01
https://forum.doom9.org/showthread.php?p=1709584#post1709584
hidden options and there is a reason it is a hidden option.

bigboyman
26th May 2019, 18:54
bigboyman,

I've been using a GTX 960 4GB for years. I still do because I have no reason to upgrade until there is a reason. Every one of your settings is different from mine and I've been seeking the most performance I can obtain out of the 960. I'll go as far as telling you they are all completely wrong tbh. Even your LAV Filter settings. I use settings and profiles for every format there is because I have a very diverse collection. 3D, 2D, SDR, HDR, 2160p through 580p, etc. Imo, your best starting point, and perhaps ending point, is provided for you in the guide in my signature. You can d/l the madVR .bin file and replace yours in your madVR folder to make things very simple. It's a copy of what I use. There are also links to pictures with settings if you'd rather do it manually. Granted I am using a 4k display and I think you're using 1080p max. The settings still apply.

That seems pretty interesting and I'd definitely want to try it but I can't find any mention of the madVR .bin in the post in your signature.
Maybe because it's so long. If you could provide a direct link that would really help me out.

bigboyman
26th May 2019, 20:00
...

is this a 960m? what is the clock? 85 C is pretty high for a maxwell GPU.


As far as I've seen, 80ºC is the point at which the transition from 20ms to 60ms occurs. It doesn't really ever go above 85ºC.
Not sure what the significance of that is but it could be useful info.


subtitles should only take 1-3 MS on a 960 even at UHD.


Using the internal decoder instead of XYsubs or ASSmod doesn't make a difference.
Not sure what I could use here. What settings on madVR would reduce subtitle render time?


when deblocking is used with a strong setting deringing doesn't do much anymore try to remove deringing if you still get ringing issues try a stronger deblocking/RRN setting.


Do you mean to disable "Reduce ringing artifacts" or the anti-ringing filter?
Anyway, I disabled both. The difference is not insingificant - the ringing becomes a lot more obvious.
I wouldn't call it distracting, but definitely more noticeable.
Anyway, disabling "Reduce ringing artifacts" shaves about 8ms and the AR filter only about 1ms.
I chose to disable both since it's a huge performace gain (9-10ms) for only slightly annoying ringing and the AR filter barely improves ringing anyway.


upscale refinement is recommended over the use of image enhancement. try to replace the 4 top "image enhancer" with the way cheaper AdaptiveSharpen beware replacing image enhancement with upscaling cost more processing power and usually needs higher settings but Adaptive sharpening is so much cheaper and you are not creating as much upscaling artifacts. i can't remember a single use case where enhance details is useful for sources that are deblocked because a deblocking creates huge parts with no details.
the 4 top "enhancer" work best with clean/good source anyway.


Only saves like 2ms and looks significantly worse, so I'm not doing this one.


using jinc after doubling has a high diminishing return lanczos 3 AR should be similar.


Actually god-tier advice. Goes down by 9-10ms and looks the same.


if you can't framerate match using smoothmotion is mandetory in my opinion.


Don't think this is the problem not to mention my render time shoots up like crazy (30ms up).


NGU sharp should be massively better for chroma quality but in general it is not a chroma scaler i would use but it's free with deblocking unlike super XBR or NGU AA.
...

Already using it, thanks :)

------------------------------------------------------------------------------------------

So, just to recap: Right now, despite some slightly annoying ringing, I've managed to get render time ~42ms. This is pretty good, but I'd like it to be consistently lower since it's still to close to 1/24, which means there are still frequent (but massively less noticeable) frame drops.

EDIT: Also disabled "Disable scaling if image size ..." and bumped compression artifact reduction to 14 (still medium quality) since it improves image quality with about 0 added cost

bigboyman
26th May 2019, 20:53
One more thing I thought I should mention is that for some reason, using a 720p source bumps frame render time to around double what I have in 480p. This relationship seems to be linear with increasing resolutions. Should there really be such a pronounced increase in frame render time?

Asmodian
26th May 2019, 21:41
Yes, 960x720 has exactly twice the number of pixels that 720x480 does. This does indicate that most of your performance cost is due to chroma upscaling, artifact removal, and/or image enhancements (the things before upscaling). Upscaling is also slower with larger input sizes but it scales with output resolution as well, so it wouldn't be 2x slower.

As far as I've seen, 80ºC is the point at which the transition from 20ms to 60ms occurs. It doesn't really ever go above 85ºC.
Not sure what the significance of that is but it could be useful info.

This is the source of your performance issues.

Your laptop's cooling is not good enough so your GPU downclocks a lot to keep temps down. Is it too dusty or is a fan broken, or something? Have you checked clock speeds when this happens? You will need to keep temps at 80°C or below.

bigboyman
27th May 2019, 00:41
...
This is the source of your performance issues.

Your laptop's cooling is not good enough so your GPU downclocks a lot to keep temps down. Is it too dusty or is a fan broken, or something? Have you checked clock speeds when this happens? You will need to keep temps at 80°C or below.

I'm trying a laptop cooler but it doesn't do much.
It could be dusty but I'd have to open it and check.

Thing is, nVIDIA website says the max operating speed is around 100ºC.
Not to mention, even relatively inactive, my GPU still hovers around 80ºC, so it's not like madVR makes the temp shoot up like crazy. Is the throtelling threshold lower than advertised?

huhn
27th May 2019, 01:34
just give us GPU clock speed and we will know if it is throttling.

if you get 89 C at idle your system isn't cooled properly.

laptop usual are not using normal maxwell cards but tweaked far slower version with a similar name and it's unlike they will allow 100 C the GPU may survive that but that doesn't the rest around it.

as far as i know the throttling temp for maxwell was around 80 where it will at least not boost anymore.

bigboyman
27th May 2019, 01:56
just give us GPU clock speed and we will know if it is throttling.

if you get 89 C at idle your system isn't cooled properly.

laptop usual are not using normal maxwell cards but tweaked far slower version with a similar name and it's unlike they will allow 100 C the GPU may survive that but that doesn't the rest around it.

as far as i know the throttling temp for maxwell was around 80 where it will at least not boost anymore.

It goes from about 1200 - 900MHz to 405MHz the instant I open a file on the player (unless it's the first time it got to high temps since boot). Temperature doesn't even seem related to the clock change. It could be 83ºC before and 78ºC after and it still does this. It will sit for as long as it feels like it at that clock speed (even after closing the player) before going back.

huhn
27th May 2019, 02:14
that's how throttling works. as soon as the throttling temp is reach in your case ~80 it will lower the clock to avoid going over that temp.

the normal boost clock of a maxwell GPU is over 1200 mhz.
your system is "killing" itself right now. your system is throttling so hard i doubt the cooler is still working.

Asmodian
27th May 2019, 03:34
It is possible for the thermal paste in an old laptop to harden and "crack" off the GPU or cooler. This hurts cooling performance a lot and also shows that really fast throttling behavior because there is no thermal mass for the GPU to heat up before it starts throttling.

Not related to madVR, any 3D load like a game will have the same problem. :(

ttnuagmada
27th May 2019, 06:44
So i have a weird one that started happening maybe a month ago. Basically when I open a video with a player that is using MadVR, there is a chance that my computer will hard-lock. I cannot for the life of me figure it out. I have tried with both Potplayer and MPC-HC.

I'm running a 3770K and a 980ti. I had the CPU overclocked, but returning to stock seemed to have no effect.


There have been 2 situations where I've noticed it.


I'm opening a video - I never see a picture before it locks, it's always before there is a picture. This is without going fullscreen.
Changing out a 3Dlut.


I'm pretty solidly convinced that it is not a hardware/stability issue. I can game all day long without issues. I have stress tested the CPU with IBT and the GPU with 3dmark stress test and have had absolutely no issues with that or doing anything else. The PC is watercooled and my temps are fine. There are no WHEA errors or any other kind of hints in the event log either.

I have tried all of the different decoders in LAV. I have tried it without LAV installed at all. I have tried several different Nvidia driver versions, using DDU with each install.

I'm convinced it has something to do with MadVR, because I have tried to replicate it using the default renderer and it doesn't happen. It also seems to be completely random. Sometimes I'll have opened several videos before it happens, and then go several more before it happens again. Sometimes it will happen 5 times in a row.

The thing that gets me though is that I had made no changes to anything from before it started to when it started. I was running the same GPU driver, hadn't changed any MadVR settings or any other filter settings. Maybe there was a Windows 10 update that did it? I've been on 1809 for several months.

any help would be appreciated.

edit: also, most of my video is played over a network, so to rule out anything network/harddisk related I tried it with local videos as well and it will still happen.



Anyone have any ideas on this? I still cannot figure it out, and this is the only situation that anything like this happens. My computer is otherwise perfectly stable.

I've tried everything I can think of short of re-installing windows.

huhn
27th May 2019, 07:05
try debug mode and look into the log after you reboot. don't except anything from this.

jkauff
27th May 2019, 07:17
Anyone have any ideas on this? I still cannot figure it out, and this is the only situation that anything like this happens. My computer is otherwise perfectly stable.

I've tried everything I can think of short of re-installing windows.
Make a note of your madVR settings, and copy any scripts into a text file. Then run the "restore default settings.bat" file found in the madVR folder. Chances are good that the problem will be gone. Add your settings back one at a time until you get the problem again--if you do.

ttnuagmada
27th May 2019, 07:24
Make a note of your madVR settings, and copy any scripts into a text file. Then run the "restore default settings.bat" file found in the madVR folder. Chances are good that the problem will be gone. Add your settings back one at a time until you get the problem again--if you do.

I've uninstalled MadVR and reinstalled it, would that not accomplish the same thing?

ryrynz
27th May 2019, 11:25
No, there are registry settings also. Restore default settings.

ttnuagmada
27th May 2019, 12:53
No dice.

clsid
27th May 2019, 13:05
Use the debug version. Then you can see what madVR does right before the hang occurs.

Scan your harddrive for bad sectors.
Scan for damaged Windows files (https://www.ghacks.net/2018/03/16/use-dism-to-fix-issues-sfc-cant/).

mclingo
27th May 2019, 14:18
Anyone have any ideas on this? I still cannot figure it out, and this is the only situation that anything like this happens. My computer is otherwise perfectly stable.

I've tried everything I can think of short of re-installing windows.

i had a similar issue a couple of times before, maybe not exactly the same though.

before resorting to a full windows rebuild, have you chucked the full monty at it in one go, rather than doing everything bit by bit?, before you do a full rebuild try this all in one go.


Remove NVIDIA driver using DDU and reboot.

Remove MADVR completely

Remove Lav completely.

Reboot again

reinstall Nvidia driver.

Install MPC-BE and run up a movie just to check all is working ok at this point.

install LAV

Install MADVR in a !!NEW!! location

Switch MPC-BE render to MADVR and try it, leave MADVR at stock settings for now.