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

scollaco
13th March 2014, 17:28
madVR supports custom pixel shaders just fine. Just load them like you would for EVR, in MPC-HC at least. Needs to be supported in your player.

FineSharp is an avisynth plugin. It's probably the best sharpening algorithm out there but there's no way to use it post-resize with madVR due to ffdshow raw not being able to go after madVR in the processing chain.

I started playing with LumaSharpen 1.4.1 which can be added as a post resize filter. Anyone else using this or has any opinions about it? I don't have ffdshow....but using LAV instead. Any other sharpening filters considered subjectively better than lumasharpen?

StinDaWg
13th March 2014, 17:35
Then why would you quote a post about pixel shaders?
You're free to port it to a pixel shader though.
Did you even read madshi's response? The question I quoted was about using FineSharp. If I knew how to port it to a MPC-HC compatible shader I wouldn't be in here asking this question.

I started playing with LumaSharpen 1.4.1 which can be added as a post resize filter. Anyone else using this or has any opinions about it? I don't have ffdshow....but using LAV instead. Any other sharpening filters considered subjectively better than lumasharpen?
I'm using LamaSharpen right now as well, but from what I understand FineSharp is better because it doesn't mess with the contrast of the picture and give off that unsharp mask look where whites get brighter and everything has a bit of a glow effect to it.

James Freeman
13th March 2014, 17:37
IMO, nothing currently beats LumaSharpen 1.4.1.
Its the best looking sharpen algorithm, I use it myself.

I use:
#define sharp_strength 1.5
#define sharp_clamp 0.05
#define pattern 3

or

#define sharp_strength 0.7
#define sharp_clamp 0.05
#define pattern 8

scollaco
13th March 2014, 17:56
IMO, nothing currently beats LumaSharpen 1.4.1.
Its the best looking sharpen algorithm, I use it myself.

I use:
#define sharp_strength 0.7
#define sharp_clamp 0.05
#define pattern 3

Yes...I tried those settings as well...it's looking real good. Torn between the default and these ones. How did you arrive at these settings?

I've never tried FineSharp but my curiosity is piqued.

James Freeman
13th March 2014, 18:01
I edited my previous post.

scollaco
13th March 2014, 18:15
I edited my previous post.

Yes...both sets of numbers look good. Pretty happy with the image.

sexus
13th March 2014, 18:42
wait what , so you guys use pixel shaders as well , now im confused only one ive ever used was for pre-resize pixelshader > gamma conversion of video RGB to linear RGB for floating point surfaces

and for post-resize pixel shaders> gamma conversion of linear RGB to wide gamut RGB for floating point surfaces


hell apparently you can stack shaders as well , atleast in potplayer , not sure the use thou

what am i missing out on here and for debanding i use madshis default settings aka default debanding strength low and strength during fade in/out high < this replacing ffdshows excellent high quality default setting debanding as i understand , only reason why ive ever held onto it since it removed banding in black , most noticeable in animes displaying greys and blacks

scollaco
13th March 2014, 18:49
So after comparing the images it looks like sRGB was the closest match to the original for me. Power curve 2.2 being the next closest. I did output my nvidia card to PC (0-255) and my display is also set to accept full RGB levels.

|- gamma (http://madshi.net/avatar2bitGamma.png) -|- original (http://madshi.net/avatar8bit.png) -|- linear (pure power 2.22) (http://madshi.net/avatar2bitLinear.png) -|- linear (pure power 2.4) (http://madshi.net/avatar2bitPurePower24.png) -|- linear (sRGB 2.4) (http://madshi.net/avatar2bitSRGB.png) -|- linear (BT.709 2.22) (http://madshi.net/avatar2bit709.png) -|- linear (BT.709 2.4) (http://madshi.net/avatar2bit709_24.png) -|
So now that sRGB seemed to be the closest match...what do I put in the "calibrated to" and "desired gamma" settings?

I had another noob doubt question. If my display is calibrated to sRGB image and I was told that conforms to approx 2.2. Why does madshi's post say "linear(sRGB 2.4)"? That image was the closest match to the original on my projector. Should I set "calibrated to" to 2.2 or 2.4? and then adjust "desired gamma" to taste.

scollaco
13th March 2014, 18:54
wait what , so you guys use pixel shaders as well , now im confused only one ive ever used was for pre-resize pixelshader > gamma conversion of video RGB to linear RGB for floating point surfaces

and for post-resize pixel shaders> gamma conversion of linear RGB to wide gamut RGB for floating point surfaces


hell apparently you can stack shaders as well , atleast in potplayer , not sure the use thou

what am i missing out on here and for debanding i use madshis default settings aka default debanding strength low and strength during fade in/out high < this replacing ffdshows excellent high quality default setting debanding as i understand , only reason why ive ever held onto it since it removed banding in black , most noticeable in animes displaying greys and blacks

I never used to use filters since madVR is so excellent. But recently tried the LumaSharpen 1.4.1 and it subjectively makes the image have more crispness to me..especially for 720p stuff. 1080p looks good with/without it..again subjectively :)

For debanding...I just use madVR default (low) and the fade-in setting set ot high (Is there another suggestion for this that's better?

James Freeman
13th March 2014, 18:59
An sRGB curve is 2.4 but with a linear portion for the first black steps in its formula.
It averages (how it looks) to about 2.2 power curve, its well known.


I wonder what madshi is cooking, he hasn't said a word all day long...

the_weirdo
13th March 2014, 19:08
Did you even read madshi's response? The question I quoted was about using FineSharp.

Did you even read madshi's response? According to the response you quoted, madshi just said he's going to "add support for custom pixel shaders" for madVR, which he's already did in recent versions. He didn't say anything about making FineSharp works with madVR, but implied that if someone ports it to pixel shader then it'll be supported by madVR. IIRC, he's stated that he may add sharpening feature in a future version of madVR, though.

scollaco
13th March 2014, 19:44
An sRGB curve is 2.4 but with a linear portion for the first black steps in its formula.
It averages (how it looks) to about 2.2 power curve, its well known.


I wonder what madshi is cooking, he hasn't said a word all day long...

Thanks for the clarification!

yok833
13th March 2014, 19:47
Would you say that Lumasharpen is good to use with HD content or do you prefer finesharp? Actually I m using LSF and I m pretty happy with it but nobody seems to mention it as an option?

Envoyé de mon GT-I9300 en utilisant Tapatalk

scollaco
13th March 2014, 19:54
Did you even read madshi's response? The question I quoted was about using FineSharp. If I knew how to port it to a MPC-HC compatible shader I wouldn't be in here asking this question.


I'm using LamaSharpen right now as well, but from what I understand FineSharp is better because it doesn't mess with the contrast of the picture and give off that unsharp mask look where whites get brighter and everything has a bit of a glow effect to it.

hmm...I'm not noticing any unsharp effect or blooming glow effect with LumaSharpen. I've not tried FineSharp...so I'm curious how they differ.

MSL_DK
13th March 2014, 20:10
I want to take some screenshot with and without a 3DLUT applied to compare and prove the effect and quality. How is this done with an 3DLUT?

huhn
13th March 2014, 21:09
print screen. don't forget these screens only work right on the source screen!

madshi
13th March 2014, 21:23
Uuh, a lot of comments, not all of them madVR related. I'll skip most of them. Here just a few replies:

But I still have two questions regarding that. Where and how is the gamma correction (if any) applied? And what transfer function does smooth motion use to go to and from linear light?
Gamma "correction"? You mean gamma processing? That is done somewhere in the middle of the processing chain, IIRC. Gamma "correction" (as in fixing incorrect display gamma response) is done by the 3dlut or the 1dluts, which is done as the next to last step, right before dithering.

Smooth motion uses a pure power function of 1/0.45.

STEPS:
1) I cycle through the images using some kind of image viewer?. Whichever looks closet to the "original" image is the one that my projector uses.
Yeah, but *PLEASE* make sure you view the images in 100%. If your image viewer scales the images in any way, the results will get totally screwed.

I've said this before, but just as a reminder, ICC profiling is designed *precisely* to solve this very problem. ICC has one job and one job only: to describe the display's response. If madVR supported ICC color management (instead of manual 3DLUTs), this problem would go away entirely. madVR could achieve complete awareness of the display's transfer function.
That's nice. But this only solves one problem out of many. If I actually wanted to make use of this information from the ICC profile, I'd probably have to build 1dluts for all linear<->gamma conversions where I'd want to use the display's native transfer function. Which would slow processing down, and potentially lower accuracy (linear lut interpolation is not as accurate as math functions). Furthermore, there's still the headache of a hundred different setups which all use a different processing pipeline. E.g. GPU gamma ramps or not. Overlay mode or not. 3dlut or not. That alone makes 8 combinations, each of which probably has different consequences. Some things I don't even know how to properly evaluate: E.g. if my dither is using the exact native display transfer function, but the GPU applies 1d ramps *after* I've done the dithering, I've no idea what effect that would have. Maybe I could take this into account for dithering somehow, but then I'd have to know in which bitdepth the GPU applies the 1d ramps, and that differs depending on output port type (analog/digital) etc. This is all so complicated, and if I don't think every potential processing chain combination through perfectly without making any mistakes, I could screw things up more than I improve things. And if I *do* think everything through perfectly, it would probably cost me several 8-hour working days to implement this properly for all possible combinations, and make the code more difficult to understand and more complicated to handle in the future, too. And all of this for incredible small image quality benefits? No thanks, I think I'll rather stick to using a simple power function for linear <-> gamma light conversions.

I presume that the final LL build might yield different/better results so I'm really looking foward to trying it :)
It will be different for lower bitdepths, but not for 8bit.

On a completely different subject, might it be possible to increase the number of backbuffers in Windowed mode beyond 8?
They are some things on my PC which seem to "reset" the present/backbuffer queues (or drop a lot) and in FSE mode with 16 frames presented in advance it drops down to 1-15/16 or 0-15/16 but never seems to actually drop frames so playback remains smooth.
In Windowed mode where the limit is 8, this causes it to drop/repeat frames.
Offering more buffers shouldn't be much of a problem, but I doubt it will help. I'm not sure why the backbuffer/present queue drops down in FSE mode so much, but I think the reason why you still get smooth playback is not because of the higher number of backbuffers, but just because FSE mode is simply better. What happens if you reduce the number of pre-presented frames to 8? Do you then get the same problems as in windowed mode?

I believe in windowed mode the real bottleneck is not the number of backbuffers, but the natural limitations of windowed mode. I don't see much use in more backbuffers in windowed mode, due to the way it works internally.

Going above 16 in FSE mode might be nice too.
I've had serious playback problems when trying that. Ok, that was quite some time ago, maybe these were solved in the meanwhile. But I'm afraid some users will get really bad problems this way and then I might get flooded with complaints about audio/video desync, stuttering etc. I'd rather play it safe for now and stick with 16. Maybe some time in the future we can revisit this, but not now.

I've noticed that in the latest versions of madVR/madTPG it is no longer possible to enable both VideoLUTs and 3dlut calibrations at the same time, which I thought would be helpful to test the result of a 3dLut on top of GPU gamma ramps.

Is there a reason why this option is no longer offered?
madTPG doesn't allow you to "enable" these things. You can just disable them, or not disable them. So I'm not 100% sure what you mean. If you have GPU gamma ramps loaded, and haven't told either madVR nor madTPG to disable them, then they should stay active/installed - unless the software which remote controls madTPG tells madTPG to disable the GPU gamma ramps. ArgyllCMS does that, I think. But HCFR not, AFAIK.

Separately, as I've noticed that on a dual display system, Windows gets confused with loading the right ICC/gamma ramps for a given display (when switching between two calibrated displays, etc.)
This is already listed in the madVR bug tracker.

is generating a 3dlut via madTPG with both VideoLUTs and 3dlut disabled and setting madVR to disable GPU gamma ramps the right approach, or is there a better solution?
This is more a topic for the AVSForum "madVR / ArgyllCMS" thread, I think. I'm not really a big expert on calibration. You might get better help about this topics there.

I'm quoting this post from 2012. I've been playing around with FineSharp and I really like the look of it, but it kills me that I can only use this pre-resize due to the way ffdshow raw works. FineSharp is better used post-resize otherwise it just oversharpens the image. Is there just no way I can get this to work with madVR?
Yes, there is a way: You can scale with ffdshow/AviSynth, then apply FineSharp, then let madVR do the rest. Of course this way you can't use madVR's upscaling methods.

I want to take some screenshot with and without a 3DLUT applied to compare and prove the effect and quality. How is this done with an 3DLUT?
Use normal windowed mode, then press the PrintScreen key.

madshi
13th March 2014, 21:26
madVR v0.87.7 released

http://madshi.net/madVR.zip

* added linear light processing for ordered dithering and error diffusion
* added "trade quality for performance" option for linear light dithering
* fixed: #175: Banding appears if bitdepth is set to '7 bit'
* fixed: crash in MC19 when switching videos with native DXVA decoding
* random dithering doesn't round down to less than 8bit, anymore
* "present several frames in advance = off" now auto-disables error diffusion
* display bitdepth can be be set to as low as 1bit (just for testing)
* fixed rare overlay stability problems introduced in v0.87.5
* added silent exception handling for Intel OpenCL initialization crashes
* madTPG now optionally supports APL windows (gamma and linear light)
* madTPG now has a minimum image area of 4% instead of 10%
* madTPG now draws a 20 pixel black border around the measurement area
* madTPG now properly supports dynamic dithering (didn't before)
* madTPG dithering was optimized to not dither for integer test patterns
* madTPG headers and demo projects updated
* madVR in a media player no longer supports test pattern, only madTPG does
I'm now using an sRGB curve for dithering of bitdepths smaller than 8bit. For 8bit dithering I'm using a pure power 1/0.45 curve.

turbojet
13th March 2014, 21:53
madshi: Is overlay being at least 16 shades(?) darker than window and FSE mode over nvidia svideo an issue that can be corrected by madvr?

6233638
13th March 2014, 22:01
Offering more buffers shouldn't be much of a problem, but I doubt it will help. I'm not sure why the backbuffer/present queue drops down in FSE mode so much, but I think the reason why you still get smooth playback is not because of the higher number of backbuffers, but just because FSE mode is simply better. What happens if you reduce the number of pre-presented frames to 8? Do you then get the same problems as in windowed mode?

I believe in windowed mode the real bottleneck is not the number of backbuffers, but the natural limitations of windowed mode. I don't see much use in more backbuffers in windowed mode, due to the way it works internally.Unfortunately, it looks like you are correct. Windowed mode drops 30+ frames at a time, Windowed Overlay drops 1-2 at a time, and FSE doesn't drop frames even if I reduce it to only presenting two frames in advance.

Now that the refresh rate issues are fixed, I'm able to use FSE mode again, but I was so used to playback being seamless when using Windowed mode that I'll have to see if I can find another solution.

I'm now using an sRGB curve for dithering of bitdepths smaller than 8bit. For 8bit dithering I'm using a pure power 1/0.45 curve.Cue 10 pages of arguments...
(I'm OK with this)

XMonarchY
13th March 2014, 22:02
And yet another grand release
From mighty "mad" - my soul's caprice.
He's "mad" but also "shi", yes - "shi",
A great name combo for all times to be!

The above was written with assumption that madshi is pronounced like madshee, and not madshy/madshai


I'm now using an sRGB curve for dithering of bitdepths smaller than 8bit. For 8bit dithering I'm using a pure power 1/0.45 curve.

Does that mean the image will be darker if the display is set to use BT.1886 gamma via 3DLUT in contrast to the previous madVR release?

hannes69
13th March 2014, 22:12
2 short questions:
1. I have a 6bit + FRC LCD display. What is the "right" setting (I know you hate this kind of question:cool:) for "the native display bitdepth is:" ?
a) 6 bit
b) 8 bit
c) use test patterns and decide whatīs looking best for you:p

2. Is there a workaround for using 23,976 and 24,000 Hz refresh rates side-by-side in Windows for use with the display switcher (I donīt want to use smoothmotion or Reclock and my projector only accepts refresh rates in the 30Hz - 60 Hz region so actually I want to use 47,952 and 48,000 Hz with the EDID override method, I have to lower both refresh rates because of the clock deviation, so I end up with two 47,xxx refresh rates, Windows canīt distinguish them...)

Thanks for your help ;)

XMonarchY
13th March 2014, 22:21
I apologize for off-topic, but how do I add this LumaSharpen 1.4.1 script or custom whatever-it-is to madVR? I use JRiver with madVR... I also have MPC-HC. I keep hearing people talk about it as something worth a try!

JarrettH
13th March 2014, 22:24
What is the 7-bit bitdepth option for anyway? :p

edit: Hannes69 asked the same question as me basically

Is linear light processing for dithering supposed to be better? In general, I'd be interested in a little blip about linear light processing. Thanks madshi

turbojet
13th March 2014, 22:28
I apologize for off-topic, but how do I add this LumaSharpen 1.4.1 script or custom whatever-it-is to madVR? I use JRiver with madVR... I also have MPC-HC. I keep hearing people talk about it as something worth a try!

You can't use it with jrmc until it or madvr adds pixel shader support. To use it with mpc-hc copy the script (check my sig) into a txt file, rename it .hlsl and put it in mpc-hc's shaders directory. In mpc-hc right click>shaders>select shaders.

The defaults are horrible, I'd suggest pattern 3 and adjusting strength between 0.5-2.0, increasing clamp improves really fine detail without artifacts if adjusted correctly, I use 0.5.

noee
13th March 2014, 22:53
madshi,
I think there's a problem with jRiver. If I start playback on my secondary monitor (FSE mode) all looks good, but then when I click on anything like an icon or a window on my primary, video goes to black, but it keeps playing and I still get audio. I can get it back by double-clicking (to display mode back to primary) and then going full screen again. No issues like this with any prev madVR versions...

CCC14.2B, jRiver MC19 b122

Lemme know if you want a log.

Shiandow
13th March 2014, 23:11
Gamma "correction"? You mean gamma processing? That is done somewhere in the middle of the processing chain, IIRC. Gamma "correction" (as in fixing incorrect display gamma response) is done by the 3dlut or the 1dluts, which is done as the next to last step, right before dithering.

Oh I see, I didn't expect gamma processing and gamma correction to be treated differently. I also expected both to come after smooth motion. Doing gamma processing before smooth motion makes it more or less impossible to do the linear light correction at the same time. I still think that doing the gamma processing 'implicitely' by using two different gamma curves for smooth motion is somewhat more elegant, since you can interpret it as displaying the source using an ideal monitor and then encoding the result using the gamma curve of the actual monitor (or an approximation thereof). This approach seems more intuitive and flexible, but I'd understand if you don't want to spend too much time on something which doesn't really improve picture quality.

DigitalLF
13th March 2014, 23:54
MadShi!!!! ESET Smart Security think your newest version is a virus.. "Probably unknown NewHeur_PE virus"... I'm just informing you even if there is no virus...

JonnyRedHed
14th March 2014, 00:39
MadShi!!!! ESET Smart Security think your newest version is a virus.. "Probably unknown NewHeur_PE virus"... I'm just informing you even if there is no virus...

I've reported it to ESET.

XMonarchY
14th March 2014, 01:10
I received an e-mail from nVidia regarding OpenCL <-> D3D9 interop problem. They are investigating it still, but at least we (or I) know they are aware of it.

Eiffel
14th March 2014, 01:17
madTPG doesn't allow you to "enable" these things. You can just disable them, or not disable them. So I'm not 100% sure what you mean. If you have GPU gamma ramps loaded, and haven't told either madVR nor madTPG to disable them, then they should stay active/installed - unless the software which remote controls madTPG tells madTPG to disable the GPU gamma ramps. ArgyllCMS does that, I think. But HCFR not, AFAIK.


What I meant is that with the latest versions of MadTPG (at least until today), it is no longer possible to 'not disable' both the VideoLUTs and 3dlut at the same time. In other words, at least one of the two buttons is "blue"

HCFR has options to disable the VideoLUT or 3dlut (under Measure - Generator - Configure), but it can't undo what is disabled by MadTPG

seiyafan
14th March 2014, 01:23
Sorry I missed the party, what visual improvement does "linear light processing for ordered dithering and error diffusion" do?

sexus
14th March 2014, 01:34
I received an e-mail from nVidia regarding OpenCL <-> D3D9 interop problem. They are investigating it still, but at least we (or I) know they are aware of it.

after all the money ive spent on that titan , they better get this fixed asap , but as said something tells me this is just theyre usual run o the mill automated email response they send out to all the other bugfix tickets they send out :mad:

XMonarchY
14th March 2014, 03:21
after all the money ive spent on that titan , they better get this fixed asap , but as said something tells me this is just theyre usual run o the mill automated email response they send out to all the other bugfix tickets they send out :mad:

This one was not automated - I am quite certain that a real person is really looking into, maybe even reading this exact post because I linked them to this thread.

Asmodian
14th March 2014, 04:41
What I meant is that with the latest versions of MadTPG (at least until today), it is no longer possible to 'not disable' both the VideoLUTs and 3dlut at the same time. In other words, at least one of the two buttons is "blue"

HCFR has options to disable the VideoLUT or 3dlut (under Measure - Generator - Configure), but it can't undo what is disabled by MadTPG

Do you have a a set of linear VidoeLUTs attached to your 3DLUT (collink option "-a")?

James Freeman
14th March 2014, 06:58
I'm now using an sRGB curve for dithering of bitdepths smaller than 8bit. For 8bit dithering I'm using a pure power 1/0.45 curve.
Good choice.
Thank you for another great build.

ryrynz
14th March 2014, 07:28
2 short questions:
1. I have a 6bit + FRC LCD display. What is the "right" setting (I know you hate this kind of question:cool:) for "the native display bitdepth is:" ?
a) 6 bit
b) 8 bit
c) use test patterns and decide whatīs looking best for you:p


I would say a) and c) although you should always do c) anyway.

What is the 7-bit bitdepth option for anyway? :p



Less bitdepth will give you a "sharper" or noiser display, many people wouldn't be able to tell the difference between 8bit and 7bit, pick what you prefer.

Sorry I missed the party, what visual improvement does "linear light processing for ordered dithering and error diffusion" do?

I believe it's just to be more accurate, I did a comparison and the changes are so slight I doubt anyone could notice them, hey but I'm always down for more image quality/accuracy no matter how slight.
That's what makes MadVR what it is, no compromises. I do hope madshi updates the screenshots when 1.0 hits.. things have changed a bit now. Quite impressed how far things have come along since the early days, it's been fun.

andybkma
14th March 2014, 13:55
madshi, I am getting lots of "madVR reports: - Creating direct3d device failed (8876086a)" errors with this new build 87.7 when starting to play various vids. Cannot find a pattern but it is happening alot. I have to close and reopen Zoom Player then it works again.

With previous build 87.6 I didn't get these, not once.

leeperry
14th March 2014, 14:57
I'm also getting quite a lot of "this device doesn't support overlay" and I'm seeing tearing in windowed/FSW even though I'm quite sure that wasn't the case with older builds like 2 weeks ago. I've got Aero disabled BTW.

madshi
14th March 2014, 15:03
madshi: Is overlay being at least 16 shades(?) darker than window and FSE mode over nvidia svideo an issue that can be corrected by madvr?
You should fix it by creating custom resolutions in the NVidia control panel for all modes you're interested in. The key problem is that seemingly in windowed and FSE mode NVidia does violence to madVR's output. Of course it would be possible for me to offer different settings for Overlay mode compared to windowed/FSE mode, but that's not really a good idea. Because if you get different levels in Overlay mode that just proves that windowed/FSE modes are broken for you. And "broken" means you get suboptimal quality with banding artifacts etc.

The above was written with assumption that madshi is pronounced like madshee
Yes.

Does that mean the image will be darker if the display is set to use BT.1886 gamma via 3DLUT in contrast to the previous madVR release?
Linear light processing makes the dithered image ever so slightly darker, but at 8bit you will probably not be able to see a difference in brightness.

2 short questions:
1. I have a 6bit + FRC LCD display. What is the "right" setting (I know you hate this kind of question:cool:) for "the native display bitdepth is:" ?
a) 6 bit
b) 8 bit
c) use test patterns and decide whatīs looking best for you:p
You already know the right answer, don't you? :p

2. Is there a workaround for using 23,976 and 24,000 Hz refresh rates side-by-side in Windows for use with the display switcher (I donīt want to use smoothmotion or Reclock and my projector only accepts refresh rates in the 30Hz - 60 Hz region so actually I want to use 47,952 and 48,000 Hz with the EDID override method, I have to lower both refresh rates because of the clock deviation, so I end up with two 47,xxx refresh rates, Windows canīt distinguish them...)
From what I can see, this got nothing to do with madVR. The problem is that the OS can't handle your EDID override. madVR is not involved there at all. I've no experience with EDID overrides, so I can't really help you there.

What is the 7-bit bitdepth option for anyway? :p
The internal processing of some displays can't properly display 8bit images without introducing banding artifacts. Setting madVR to 7bit or 6bit could help work around that, on the cost of a slightly higher noise floor.

Is linear light processing for dithering supposed to be better? In general, I'd be interested in a little blip about linear light processing.
Yes. Linear light processing is usually more accurate. Image upscaling is a noticeable exception to this, though. When using image upscaling I rather recommend turning linear light off.

I think there's a problem with jRiver. If I start playback on my secondary monitor (FSE mode) all looks good, but then when I click on anything like an icon or a window on my primary, video goes to black, but it keeps playing and I still get audio. I can get it back by double-clicking (to display mode back to primary) and then going full screen again. No issues like this with any prev madVR versions...
Which previous version were you using? v0.87.6? Or an older build? If it was an older build then please try to find out which build introduced this problem.

Oh I see, I didn't expect gamma processing and gamma correction to be treated differently. I also expected both to come after smooth motion. Doing gamma processing before smooth motion makes it more or less impossible to do the linear light correction at the same time. I still think that doing the gamma processing 'implicitely' by using two different gamma curves for smooth motion is somewhat more elegant, since you can interpret it as displaying the source using an ideal monitor and then encoding the result using the gamma curve of the actual monitor (or an approximation thereof). This approach seems more intuitive and flexible, but I'd understand if you don't want to spend too much time on something which doesn't really improve picture quality.
Yeah, I kinda want to leave this topic behind me for now. Thinking about all the complex complications makes my head hurt... :p

MadShi!!!! ESET Smart Security think your newest version is a virus.. "Probably unknown NewHeur_PE virus"... I'm just informing you even if there is no virus...
False positive.

I received an e-mail from nVidia regarding OpenCL <-> D3D9 interop problem. They are investigating it still, but at least we (or I) know they are aware of it.
Thanks.

What I meant is that with the latest versions of MadTPG (at least until today), it is no longer possible to 'not disable' both the VideoLUTs and 3dlut at the same time. In other words, at least one of the two buttons is "blue"
You mean you can't "unpress" both buttons at the same time? Works just fine on my PC. Are you talking about madTPG running on its own? Or while ArgyllCMS and/or HCFR are doing measurements through madTPG? In the moment when ArgyllCMS/HCFR take control of madTPG, they have the "power" to enforce these buttons to be pressed. However, as long as no other software is remote controlling madTPG, it should be possible to unpress both of those buttons at the same time.

Sorry I missed the party, what visual improvement does "linear light processing for ordered dithering and error diffusion" do?
Compare it at 2-4bit, and you'll see for yourself. Of course at 8bit the difference is very very small.

madshi, I am getting lots of "madVR reports: - Creating direct3d device failed (8876086a)" errors with this new build 87.7 when starting to play various vids. Cannot find a pattern but it is happening alot. I have to close and reopen Zoom Player then it works again.

With previous build 87.6 I didn't get these, not once.
:( Is this with Overlay mode on or off? Does it only happen in FSE mode, or also if you stay in windowed mode? How often is "alot"? How many times out of how many? Does it only occur on the secondary monitor or also on the primary? And how can I reproduce this on my PC? I need more details!!

noee
14th March 2014, 15:06
Which previous version were you using? v0.87.6? Or an older build? If it was an older build then please try to find out which build introduced this problem.

Yes, 87.6 with or without the 3 LLDither2 libs. I am currently on 87.6 with LLDither2 copied in and all is golden with jRiver MC19.

madshi
14th March 2014, 15:10
Hmmmm... I have my doubts, but does this one help?

http://madshi.net/madVR877b.rar

noee
14th March 2014, 15:19
Hmmmm... I have my doubts, but does this one help?

http://madshi.net/madVR877b.rar

Okay, so with just 87.7, everytime I click on a window on the primary, madVR seems to jump out of FSE to Windowed. Sometimes the secondary (where the video is playing) remains black, other times it comes back and switches back to FSE apparently.

With the "b" version above, it works as per 87.6

leeperry
14th March 2014, 15:19
does this one help?

http://madshi.net/madVR877b.rar
I'm still seeing tearing with this build and overlay in windowed/FSW(with Aero disabled), I was under the impression that it wasn't the case a few weeks ago.

James Freeman
14th March 2014, 15:25
leeperry, why don't you download an older version and check it again to not be "under impression"?

madshi
14th March 2014, 15:30
Okay, so with just 87.7, everytime I click on a window on the primary, madVR seems to jump out of FSE to Windowed. Sometimes the secondary (where the video is playing) remains black, other times it comes back and switches back to FSE apparently.

With the "b" version above, it works as per 87.6
Interesting. So this really did fix the problem?

@andybkma, does it fix your problem, too?

I'm still seeing tearing with this build and overlay in windowed/FSW(with Aero disabled), I was under the impression that it wasn't the case a few weeks ago.
leeperry, why don't you download an older version and check it again to not be "under impression"?
^ Agreed.

FWIW, I think Overlay should not have tearing, not totally sure right now, though. And Overlay only works for NVidia and Intel. Don't you have an AMD GPU atm? That one doesn't support Overlay. I'm sometimes seeing tearing with my AMD, after running several days/weeks without rebooting. Usually a power cycle fixes this issue.

MSL_DK
14th March 2014, 16:14
print screen. don't forget these screens only work right on the source screen!

Use normal windowed mode, then press the PrintScreen key.

Thanks

leeperry
14th March 2014, 16:36
Right, I've only been on W7 for like a month but I just tried with 0.876/875 & 874 and I can still see tearing.

This said I haven't restarted my box in weeks, the tearing is at the very bottom of the picture so it's invisible on anything smaller than 1.78 AR and it's only been a few days that I get the "overlay mode not supported" error message from time to time. I guess I can turn down the option altogether if overlay's a no-go on AMD.

aufkrawall
14th March 2014, 16:37
Odd, my presentation glitches and dropped frames issue have disappeared (with current and previous madVR version).
I haven't changed much recently, but at least the Nvidia driver (now 335.23).
The only thing I have to do now is raising GPU queue size to 16 (or at least a higher value than 8) for debanding and using non DX11 Compute dithering for 4k video (670 is too slow with expensive scaling algorithms).
One of the most amazing software installed on my PC, thanks. :)

Need a GK110 for Error Diffusion. :devil:

jmonier
14th March 2014, 17:37
madshi, I am getting lots of "madVR reports: - Creating direct3d device failed (8876086a)" errors with this new build 87.7 when starting to play various vids. Cannot find a pattern but it is happening alot. I have to close and reopen Zoom Player then it works again.

With previous build 87.6 I didn't get these, not once.

FWIW (and I have not yet tried 87.7), this happened to me on several test builds prior to 87.5 (I'm pretty sure that one of these builds was the last one prior to 87.5). It was fixed on 87.5 and 87.6.

It was very random (might only happen 1 time in 10 on any kind of material). It did not happen on random dithering, only ordered (and I did not get a chance to check error diffusion). I was exclusively in FSE. I'm afraid that I have no other info on reproducing the problem.

Hope this helps.