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

hannes69
1st March 2014, 12:10
One question beside the dithering hype:
I now replaced my old AMD HD4550 by a R7 250. Formerly I used Powerstrip for custom resolutions to get judder free playback of 23,976 / 24.000 / 25,000 / 29,970 fps movies. Powerstrip doesnīt support the newer GPUs so I switched to the EDID override method used by CRU utility. Works like a charm, so I have the four different refresh rates for my new GPU (refresh rate = fps x 2 each because Iīm feeding a projector which accepts refresh rates in the 30 - 60 Hz range). Now as a bonus i can use the madvrīs display switcher, works great too. No Powerstrip needed anymore, automatic switching. The custom resolutions are accurate enough for a judder free playback > 3h.
But there is one problem: In Windows the decimal numbers are truncated /rounded, so 48,000 and 47,952 Hz canīt be distinguished. It is not possible to keep both refresh rates side by side. I want to work with the display switcher and the accurate refresh rates, NOT with smoothmotion as workaround.
Does anybody know a solution for this problem? At the moment Iīm working with 720p48 /720p50 /720p60 in the display switcher (720p projector!) by using the 47,952 setting for 720p48, so I canīt use the 48,000 setting, I hope you know what I mean... There must be a solution, is there no place where you can fool Windows with the names, e.g. in the registry?
A possible workaround would be to use 24,000 or 72,000, but my projector doesnīt accept refresh rates so low / so high.
Hope somebody has worked around this problem and can give me some assistance.
:)
Hannes.

madshi
1st March 2014, 12:18
Can smallramp.ytp be used as a reference point? Got a 6-bit panel(u2412)with afrc and I get the smoothest result by setting madvr in 8-bit,to see the difference with dithering off though I got to stick my face on the screen.
Yes, if you zoom smallramp.ytp up you can use it as a reference point, because upscaling turns the original 8bit ramp into a high bitdepth ramp. Just make sure you don't use DXVA scaling because that outputs 8bit with some GPUs (Intel).

So rather, what you've posted there is RGB <-> YPbPr (analog) according to Poynton, rather than YCbCr (digital).

Does that mean YPbPr is equivalent to full-range YCbCr, or rather that this matrix can only be used if full-range YCbCr is first converted to YPbPr?
I'm not sure if the matrixes are any different between YPbPr and YCbCr. I think the usual YCbCr matrixes are for video levels, that's probably the only reason they're different.

Hi madshi, I just tested the fix for the green tint and it seems to work! This is how the distribution of green/magenta pixels looks now: link (http://i.imgur.com/BQKoBWs.jpg).
Cool, looks almost like a fractal... :D

Interesting, 3bit + dynamic causes some significant pulsing. It becomes less perceivable with 4bit.

Is that some effect of not doing dithering it in perceptually uniform colors and thus the different perturbations created by dynamic actually not being interchangeable? I guess at higher bit-depths it works fine because the differences can be approximated as locally linear, especially if neighboring pixels have similar colors.
You haven't seen 2bit... ;) It's blinking like crazy there. I'm not sure about the exact reason, haven't analyzed it, but it's probably because of doing the dithering in gamma light.

Yes, the attached gamma ramps are applied to the GPU ramps even when using overlay mode. It would be very cool if madVR did leave the GPU ramps alone when in overlay mode. :)
Could you please create a bug tracker entry for this? Thanks.

madshi: You want bug reports about dither only builds in the bug tracker?
Yes, please. I'm currently looking through the bugs in the tracker and having all bugs listed there makes my life quite a bit easier, because I can then sort the bugs in groups. E.g. look at all multi-monitor bugs first, then all NVidia-only bugs etc...

Also another issue has popped up with overlay, there is no screen in mpc-be or potplayer when the window is not maximized.
No screen? Don't know what you mean.

There's also always been video artifacts maximizing with overlay mode. It places the non-maximized window inside of the maximized window at the upper-left part of the screen for about 500ms. I can't figure out a way to show the issue, print screen and screen capping result in a blank overlay window.
Overlay mode does have some cosmetical issues when resizing. That is currently considered "by design". I don't think I can fix this, but I haven't tied too hard. And I won't in the near future. Cosmetical issues are very very low priority for now.

There is a slight issue with LAV Video decoder in that it doesn't clip WTW levels
The decoder is not supposed to clip anything! If other decoders clip I consider that a bug.

when you use 0-255 setting in madVR with a 16-235 ArgyllCMS 3DLUT to run white clipping pattern - you get yellow flashing bars.
The usual approach is to calibrate your display so that BTB and WTW are not visible. If you do that, there should be no yellow flashing bars.

This is procuding a lot of glitches here.

Btw: Error diffusion in general is causing dropped frames and presentation glitches with 1080p60 video in FSE. GPU is not well utilized.
Are you using the official v0.87.4 build or one of the recent test builds? The official v0.87.4 build still uses OpenCL to do error diffusion. The latest test builds use DirectCompute instead, which seems to work better for both AMD and NVidia GPUs. About glitches: Have you tried increasing the number of pre-presented frames, as I suggested earlier? If that doesn't work, then I don't know what else to do. As I said before, glitches are a problem between Direct3D and the GPU driver, so it's mostly out of my control.

*Touche*
1st March 2014, 12:24
I downloaded your images and checked again comparing using xnview and yes I can see the colored dithering screenshot has the VT50 delivering darker blacks in the darkest areas (the corners) of the image.

Yes, it's mostly visible in the corners, but it is the opposite on my ST60, colored one is brighter. :confused:

bacondither
1st March 2014, 13:18
You haven't seen 2bit... ;) It's blinking like crazy there. I'm not sure about the exact reason, haven't analyzed it, but it's probably because of doing the dithering in gamma light.

The video is flickering because a mismatch of video framerate and display framerate. I see flickering in 3bit mode too, but only with video that have a mismatched framerate to my display.

6233638
1st March 2014, 13:25
Is it normal that activating colored noise increases black levels or should that have been fixed?I'm seeing this as well, even without using a 3DLUT.
Mono Ordered Dither displays black correctly, Colored Ordered Dither shows some noise on black.

When using 3DLUTs, Mono dither does not show any noise with the Error Diffusion options, but does show noise on black with Colored noise.

You haven't seen 2bit... ;) It's blinking like crazy there. I'm not sure about the exact reason, haven't analyzed it, but it's probably because of doing the dithering in gamma light.I thought it might simply be due to the fact that there are so few colors, but I wonder if there might be a solution for this?

madshi
1st March 2014, 13:57
The video is flickering because a mismatch of video framerate and display framerate. I see flickering in 3bit mode too, but only with video that have a mismatched framerate to my display.
You're right! Playing a video with matching framerates gets totally rid of the flickering, even in 2bit and 1bit.

I'm seeing this as well, even without using a 3DLUT.
Mono Ordered Dither displays black correctly, Colored Ordered Dither shows some noise on black.
Nope. I just tried that with a black BMP test image, and mono ordered dither has some noise on black, too. And it must have, if the colored ordered dither has, it makes no sense any other way. The colored option does not increase the amount of noise, it just changes the distribution pattern.

Please feel free to report this as a bug in the bug tracker. It's not really a bug, but I should be able to add a limiter which stops pixels from getting noise if they're truely black.

James Freeman
1st March 2014, 14:02
I should be able to add a limiter which stops pixels from getting noise if they're truely black.

Yes please.
I also heard you got some funky 2-bit version...;)


When using Static dithering at low bit depth the image appears brighter, but in dynamic mode the gamma appears correct.
You can pause the video in dynamic mode (too look like Static) and press the Up/Down arrow and keep holding (volume) to update the picture and look like Dynamic but paused.
You can remove the OSD (Ctrl+J) to stop the refreshing every second that the OSD is doing.

bacondither
1st March 2014, 14:05
One thing that is noticable is that the image is getting brighter the lower bit depth you dither to.

Linear light would help here as stated before, so i made some graphs to took at how much brighter or darker the image gets when converting a bt709 gamma encoded image to linear, using power functions.

Curves! (http://i.imgur.com/NhOkxGe.png)

If you are using a power function to decode gamma i think ~1.85 would be the best approximation, it gives an integral between 0(black) and 1(white) of ~1.01. Perfect linear gamma gives an integral of 1.

And the previous discussion about linear light was a bit misleading because the discussed images was near black and almost invisible if not enhanced.

6233638
1st March 2014, 14:27
Nope. I just tried that with a black BMP test image, and mono ordered dither has some noise on black, too. And it must have, if the colored ordered dither has, it makes no sense any other way. The colored option does not increase the amount of noise, it just changes the distribution pattern.

Please feel free to report this as a bug in the bug tracker. It's not really a bug, but I should be able to add a limiter which stops pixels from getting noise if they're truely black.Sorry, I need to find a better test for this. I was using the "Black Clipping" test again,and I thought I was looking at the same frames, but apparently not.

Because it's a video file, it seems that one image showed noise on black and the other did not. It just coincided with me toggling the "use colored noise" option.

Normally, there is some amount of noise on black, but not below-black, and with a 3DLUT I'm seeing noise on below-black values (which should be clipped) too.

Looks like it's back to Error Diffusion and the "This display is already calibrated" options for me, which at least eliminates the noise on black for now.

James Freeman
1st March 2014, 14:35
Normally, there is some amount of noise on black, but not below-black, and with a 3DLUT I'm seeing noise on below-black values (which should be clipped) too.
Yep, here too.
Try to turn up Contrast (and/or turning down Brightness) in MPC-HC to see it clearer.


Looks like it's back to Error Diffusion and the "This display is already calibrated" options for me, which at least eliminates the noise on black for now.
Are you the one with the plasma that does not dim the black area because of this?

6233638
1st March 2014, 14:38
Are you the one with the plasma that does not dim the black area because of this?It's a full-array local dimming LCD, but yes it prevents the zones turning off. They only dim to a very low level instead.

James Freeman
1st March 2014, 14:53
Reference Black should be completely black, 3DLUT or not, Dithering or not.

iSunrise
1st March 2014, 15:11
One thing that is noticable is that the image is getting brighter the lower bit depth you dither to.

Linear light would help here as stated before, so i made some graphs to took at how much brighter or darker the image gets when converting a bt709 gamma encoded image to linear, using power functions.

Curves! (http://i.imgur.com/NhOkxGe.png)

If you are using a power function to decode gamma i think ~1.85 would be the best approximation, it gives an integral between 0(black) and 1(white) of ~1.01. Perfect linear gamma gives an integral of 1.

And the previous discussion about linear light was a bit misleading because the discussed images was near black and almost invisible if not enhanced.
Yes, like I said, we should try linear light again. Because some of the anomalies we see may not happen at all with LL. We dismissed LL way too early, because we just judged it by using some pre-defined power function that wasnīt necessarily "correct".

Still, we have to keep in mind that itīs a "half-hack" (like madshi already stated), because we would only need it for the final conversion anyway, not further processing.

Also, if we had access to a 2bit/1bit mode, too, we would be able to analyse this even better. When we analysed LL last time, we didnīt even have something like the 4bit mode "hack".

kasper93
1st March 2014, 16:06
Recently I've been using SomeImage (http://someimage.com/), as it allows images up to 15MB in size and hotlinking.

imgbox (http://imgbox.com/) is rock solid, I use it for years and it has everything you need from image hosting site.

Shiandow
1st March 2014, 16:16
The 'blinking' seems to be caused by performing smooth motion in linear light, and dithering the result in gamma light. If you either stop smooth motion or perform the blending in gamma light then the blinking stops. So if you want to solve the 'blinking' then dithering and smooth motion should both use the same linear light conversion (or none at all).

madshi
1st March 2014, 16:29
FWIW, I'm getting blinking here without smooth motion frc, too, if the framerates don't match.

Anyway, linear light error diffusion has serious algorithm problems. Without a limiter it should work, but it would increase noise quite noticeably. I don't plan to try linear light error diffusion again at moment.

The 8472
1st March 2014, 16:48
You're right! Playing a video with matching framerates gets totally rid of the flickering, even in 2bit and 1bit. Shouldn't SM fix this? It was enabled.

Edit: nvm, i should finish reading the thread before replying

bacondither
1st March 2014, 17:41
@madshi

Why is reference white dithered with error diffusion?.
There should be no error to spread to neighbour pixels. All testing is done in 8-bit output in madvr. No shaders, debanding or 3dlut is active.

Disabling colored noise or "dynamic dither" made no difference.
All images are contrast enhanced.

White clipping - ED1 (http://i.imgur.com/y645yon.png)

White clipping - ED2 (http://i.imgur.com/9sT3z6a.png)

White clipping - Random (http://i.imgur.com/4zAodX8.png)

I created a pure white image with RGB 255 on all pixels and with random dithering after contrast enhancment the image is white. With both ED modes it shows dither snow after enhancement, it should show all white!

RGB 255 - Random dithering. (http://i.imgur.com/N4s9olo.png)

RGB 255 - Error diffusion. (http://i.imgur.com/laIQf0A.png)

It is a minor issue but i dont understand why ED is dithering pure white. :confused:

James Freeman
1st March 2014, 17:47
@madshi
It is a minor issue but i dont understand why ED is dithering pure white. :confused:

And pure Black.


madshi,
Its already in the Bug Tracker by 6233638.
If you think its appropriate, do the same Limiting procedure to the whites.

madshi
1st March 2014, 17:53
Why is reference white dithered with error diffusion?
I don't know. Can you please add this to the bug tracker? Thx.

P.S: Yes, black is already in the bug tracker, but this might be a different issue, I don't know.

bacondither
1st March 2014, 17:54
And pure Black.


madshi,
Its already in the Bug Tracker by 6233638.
If you think its appropriate, do the same Limiting procedure to the whites.

No, error diffusion shows no noise on black. Black image with histogram clipped at 1 with ED-1.

RGB 0 - ED1 (http://i.imgur.com/ZotkuLm.png)

James Freeman
1st March 2014, 18:30
@bacondither

I can't reproduce this.
Everything is fine here: ED Whites (http://www.mediafire.com/convkey/b795/ni7lygnl5rv6p4tfg.jpg)

Are you sure you disabled all the post processing?


@madshi
I can see dithering on pure white with 3DLUT enabled.
This time it is the same problem as 6233638 posted about Blacks but on pure Whites.
Still, if you think its appropriate, do the same Limiting procedure to the whites.

bacondither
1st March 2014, 18:38
@bacondither

I can't reproduce this.
Everything is fine here: ED Whites (http://www.mediafire.com/convkey/b795/ni7lygnl5rv6p4tfg.jpg)

Are you sure you disabled all the post processing?

Yes, quadruple checked.

Can you upload a non modified image?

Did you take a screenshot or did you file->save image ?

James Freeman
1st March 2014, 18:44
Can you upload a non modified image?

White ED1 Untouched (http://www.mediafire.com/convkey/0bb9/73guf9yy914b1vbfg.jpg)
White ED1 Untouched 2 (http://www.mediafire.com/convkey/1b4c/58mux07lhksjm8ufg.jpg)

Maybe an upscaler?

Did you take a screenshot or did you file->save image ?
Screenshot of course.
*I'm not new to this.

bacondither
1st March 2014, 18:49
If i do file -> save image then i get no dithered whites. :confused:

Tried it on another display (1080p) no scaling and i still get dithered whites.

nevcairiel
1st March 2014, 18:52
If i do file -> save image then i get no dithered whites. :confused:

That uses a special way to extract the image, always use PrintScreen to get the same thing madVR renders on the screen.

James Freeman
1st March 2014, 18:59
Try: restore default settings.bat

bacondither
1st March 2014, 19:07
No difference.
I'm going to try another partion with with a fresh install of windows and different drivers just to check.

James Freeman
1st March 2014, 19:12
What about decoder settings? Check LAV Video Filter, Make sure everything is at default.

bacondither
1st March 2014, 19:14
Lav is default and is outputting video untouched.

Tried with catalyst 14.2 beta, same problem.

James Freeman
1st March 2014, 19:16
Try using "None" for Hardware Decoder in LAV.
Uncheck everything in MadVR Quality for Performance Settings

Can anyone upload an Untouched image to triple check it?

bacondither
1st March 2014, 19:28
Maybe it could be some difference in how Nvidia or AMD does math in pixel shaders or direct compute?

ED2 dither.

White clipping untouched (http://i.imgur.com/e90uHop.png)

James Freeman
1st March 2014, 19:40
Maybe it could be some difference in how Nvidia or AMD does math in pixel shaders or direct compute?

ED2 dither.
White clipping untouched (http://i.imgur.com/e90uHop.png)

Maybe,
That's why I wanted another AMD user to post an untouched image (not you bacon).
Till then I'm out of suggestions, sorry.

Yes, the dithering is already there in your image.

P.S
From your first images, I can see some sharpening Pixel Shader.
There should be no borders around the stripe in the clipped whites, which is clearly visible in your shots.
Also white border around the black letters, which I don't have in my enhanced images.

cyberbeing
1st March 2014, 19:47
Maybe it could be some difference in how Nvidia or AMD does math in pixel shaders or direct compute?
Have you triple checked your driver settings? Later today I'll check on my HD5770 if no one else confirms this issue only affects AMD before then.

No issue on NVIDIA at least with ED:
White clipping untouched (NVIDIA) (http://i1.someimage.com/zTZ6RbA.png)

bacondither
1st March 2014, 19:53
Maybe,
P.S
From your first images, I can see some sharpening Pixel Shader.
There should be no borders around the stripe in the clipped whites, which is clearly visible in your shots.
Also white border around the black letters, which I don't have in my enhanced images.

No no no. My first image was downscaled by madvr with lanczos3 anti ringing, no pixel shader.

James Freeman
1st March 2014, 19:55
Oh, Ok.

bacondither
1st March 2014, 20:04
With random dithering everything is fine. No dithering of reference white.
The image is untouched and not scaled.

White clipping untouched random (http://i.imgur.com/hMfWWap.png)

MistahBonzai
1st March 2014, 20:08
Later today I'll check on my HD5770 if no one else confirms this issue only affects AMD before then...

No issue on AMD (HD-7850):
White clipping untouched (https://www.mediafire.com/?3jgkest19m3omkz) (AMD HD-7850)

^The above image was using OD - No colored noise but dynamic.
The following image was set to ED option 2, colored noise, dynamic.

No issue on AMD (HD-7850):
White clipping untouched (http://www.mediafire.com/view/i5hm5o3l7wwa6z4/Image2.png) (AMD HD-7850)

James Freeman
1st March 2014, 20:14
MistahBonzai,
I can see some grey noise there, not pure white like in the Nvidia images.
Please repost this image with ED2, both dithering options checked, and without up/down scaling.

bacondither
1st March 2014, 20:15
No issue on AMD (HD-7850):
White clipping untouched (AMD HD-7850) (https://www.mediafire.com/?3jgkest19m3omkz)

You are using ordered dithering, please change to Error Diffusion - Option 1 or 2 and post the images again. :)

And you do have dithering on reference white with ordered dithering.

James Freeman
1st March 2014, 20:24
Thanks MistahBonzai.
Yep, its an AMD issue with Direct Compute, the last step of pure white is dithered.



@Madshi
One step before pure white looks fine.
Can you kill two birds with one stone...

madshi
1st March 2014, 20:28
FWIW, I can reproduce the noise on white clipping here.

bacondither
1st March 2014, 20:29
FWIW, I can reproduce the noise on white clipping here.
Are you using a AMD or NVIDIA gpu?

madshi
1st March 2014, 20:37
AMD, but I have a hard time believing that it would be GPU specific. Anyway, doesn't matter, as long as I can reproduce it.

MistahBonzai
1st March 2014, 20:41
Please repost this image with ED2, both dithering options checked, and without up/down scaling.

OK..hopefully this image is captured as requested:

ED(option 2), dynamic and colored.
Trade quality for performance = unchecked.
Jinc upscaling.
Catmull-ROM (AR and LL enabled) downscaling.
No MadVR "Processing".
ffdshow off - no external processing connected.

HD-7850 (http://www.mediafire.com/view/j1u560i0mevfura/Image3.png)

XMonarchY
1st March 2014, 21:23
madshi

My TV is set to 0-255 in drivers (using your NVidia 0-255 tool and verifying it) and in TV settings. It is also properly calibrated. I was in close contact with dispcalGUI developer, Fhoech, who did confirm that the issue is that WTW levels are not clipped by LAV Video decoder. When ffdshow is used instead of LAV Video - all is fine and peachy. Fhoech created a workaround for LAV Video decoder users - he allowed to create 3DLUTs with 16-235 input but 0-255 output in dispcalGUI 3DLUT generator. Such a 3DLUT will only work properly if madVR is set to 16-235. This does work, but I don't know what will happen if you use a true 0-255 source... This isn't really a bug, its just how it is. LAV Video does not clip WTW for a reason, and madVR is working how it should, so does ArgyllCMS/dispcalGUI when using either 16-235 output or 0-255 output for 3DLUTs. This has nothing to do with my TV, settings, or calibration. I never even ran across a true 0-255 source before, so I don't know what would happen... Maybe someone can link me to a legit 0-255 clip?

XMonarchY
1st March 2014, 22:28
What is the current consensus on the use of ED during madTPG pattern generation? I do not get a frozen black screen like some report - it works for me. Yet, some say that ED will make readings inaccurate. I do recall ArgyllCMS developer stating that random dithering should be used and not static images... Is that still true?

madshi
1st March 2014, 22:32
My TV is set to 0-255 in drivers (using your NVidia 0-255 tool and verifying it) and in TV settings. It is also properly calibrated. I was in close contact with dispcalGUI developer, Fhoech, who did confirm that the issue is that WTW levels are not clipped by LAV Video decoder. When ffdshow is used instead of LAV Video - all is fine and peachy. Fhoech created a workaround for LAV Video decoder users - he allowed to create 3DLUTs with 16-235 input but 0-255 output in dispcalGUI 3DLUT generator. Such a 3DLUT will only work properly if madVR is set to 16-235. This does work, but I don't know what will happen if you use a true 0-255 source... This isn't really a bug, its just how it is. LAV Video does not clip WTW for a reason, and madVR is working how it should, so does ArgyllCMS/dispcalGUI when using either 16-235 output or 0-255 output for 3DLUTs. This has nothing to do with my TV, settings, or calibration. I never even ran across a true 0-255 source before, so I don't know what would happen... Maybe someone can link me to a legit 0-255 clip?
I'm not sure what Fhoech and you talked about, but what you ended up doing is very wrong.

(1) A video decoder MUST NOT clip anything. So LAV does it correctly. And if your report is true then ffdshow is buggy.

(2) madVR requires 3dluts to have video level input and output. So creating a 0-255 output 3dlut is all wrong.

(3) If you configure madVR to output 0-255 then BTB and WTW are clipped by madVR. So I can only guess that you had set madVR to 16-235 output (which is not correct if you set your display to 0-255), or that your original 3dlut was buggy.

What is the current consensus on the use of ED during madTPG pattern generation?
The next official madVR builds will always use ordered dithering for madTPG, regardless of which settings you're using in madVR.

cyberbeing
2nd March 2014, 01:08
AMD, but I have a hard time believing that it would be GPU specific. Anyway, doesn't matter, as long as I can reproduce it.

I can confirm this issue also occurs on my ATI HD5750 (http://i1.someimage.com/WFgqtP2.png) with old crusty Catalyst 13.2 drivers using madVRfinalDither4, so it's certainly looking to be something GPU specific. Someone should probably check if they can reproduce this issue on an Intel Ivy|Haswell iGPU. For all we know, NVIDIA being unaffected could be a bug in itself. I'd be curious what the underlying cause is, once you track it down.

seiyafan
2nd March 2014, 01:09
Ok, 270x is here, but when I enter full screen mode MPC would just froze, what's the issue here?