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

glc650
8th January 2019, 10:55
Hi,

I just upgraded from a Gigabyte Radeon HD 7870 to a XFX Radeon RX 580 GTS and now I get dozens of presentation glitches every second when playing any video if the HDMI Scaling slider is set above 0% in the AMD Radeon Settings GUI.

I tried updating the Radeon drivers to 18.12.2 (was on 17.12.1 with the old card). but still get the issue. I've also tried restoring madVR's default settings. And I tried it with the same madVR settings I used with the previous card. I also tried the previous version of madVR.

Never had this issue with the 7870 and I had the HDMI scaling slider set to 3% (which is where I also need it set for the new card).

Thanks,

>g.

actarusfleed
8th January 2019, 13:03
Did someone ever compared (only with madvr) a gtx 1070ti vs rtx 2070?

Some YouTube videos are about this but only on the videogame side...

I'm only interested to evaluate this by the madvr point of view...

tp4tissue
8th January 2019, 16:46
Did someone ever compared (only with madvr) a gtx 1070ti vs rtx 2070?

Some YouTube videos are about this but only on the videogame side...

I'm only interested to evaluate this by the madvr point of view...


Peeps are just cranking the upscaling to arbitrarily high setting to saturate their cards.

I'm not sure we can call that Performance.. :rolleyes:

at 2 meters from my tv, I can't even see the difference between bilinear chroma and nnedi..

I guess you could make a case for scaling 4K up to 8K tvs..

I have an old 7970, and it can do 4K jinc chroma, shader to SDR in 15ms..

tp4tissue
8th January 2019, 17:39
do you have a screen that can do more than DCI P3? well no so you don't have to care the 3D LUT will do the gamut mapping anyway. just use the default setting.


clearly not 10000 so feel free to use the measured peak brightness.
i personally don't think this is a useful measuring anyway on an x900f the peak brightness for 10% is far higher than 2%.

You misunderstood my question huhn..

My question is,

How does changing the Sent meta data from rec2020 to dci-p3 change the image, if at all.

How does changing the peak nit part of the meta data affect the image..

If, there is a change at all, what does the tv DO with that meta data, does it pop into different modes.

SirSwede
8th January 2019, 18:01
Peeps are just cranking the upscaling to arbitrarily high setting to saturate their cards.

I'm not sure we can call that Performance.. :rolleyes:

at 2 meters from my tv, I can't even see the difference between bilinear chroma and nnedi..

I guess you could make a case for scaling 4K up to 8K tvs..

I have an old 7970, and it can do 4K jinc chroma, shader to SDR in 15ms..

Still on Bicubic 75 for Chroma here; never changed it. Looks splendid on my TV. Two metres here as well. :p

But, then again, it is madVR - after all. :D

border.community
8th January 2019, 19:47
I am mostly playing UHD mkv rips and was wondering which madvr settings actually affect the picture since I am neither upscaling or downscaling.

Seems like only the settings under Devices, Processing and Rendering would make a difference, and Scaling Algorithms would not---but if I were to change NGU Anti-Alias to "High quality" it would obviously affect performance which begs the question: what are Scaling Algorithms doing to files that do not need to be scaled?

SamuriHL
8th January 2019, 19:52
Chroma still needs to be scaled. It's not about resolution. Chroma data is stored in 4:2:0 and needs to be scaled to 4:4:4 or 4:2:2 depending on what you're sending to your display. However, whether you can tell the difference between NGU High AA or bicubic75 or not is an individual thing and only you can decide with your eyes if you can see a difference.

border.community
8th January 2019, 20:15
Chroma still needs to be scaled.

Ah, thanks. I have a 1050ti and a C8 as well. Chroma upscaling is really the only thing I have turned on. Do you have anything else turned on, such as any of the Processing options?

SamuriHL
8th January 2019, 20:58
I've got a 1060 6gb and I've got quite a few things enabled yes. I've had to change some of my settings recently because of new HDR tonemapping options that will be in the upcoming madvr release. It's a little more punishing than it is in the current release build. It's always a trade off of performance vs quality which is why you see so many people shelling out cash for 1080's and 2080's to make sure they have some breathing room. Everyone's configuration in madvr is going to be different based on what content they're viewing and what they're looking for in terms of quality.

huhn
8th January 2019, 21:51
How does changing the Sent meta data from rec2020 to dci-p3 change the image, if at all.
if your screen can do bt 2020 natively it would do something if it is close to DCI P3 it should do nothing at all.
How does changing the peak nit part of the meta data affect the image..

If, there is a change at all, what does the tv DO with that meta data, does it pop into different modes.

who knows literally what ever they want. HDR tonemapping doesn'T have a real one way is correct spec.
the difference should be the image dynamic until it hits it max brightness then it does what ever it wants.

as i said before there is no clear answer.
Chroma still needs to be scaled. It's not about resolution. Chroma data is stored in 4:2:0 and needs to be scaled to 4:4:4 or 4:2:2 depending on what you're sending to your display.

and in madVR case it will always be scaled to 4.4:4 and only RGB is send to the GPU driver that's why sending 4:2:2 or 4:2:0 is bad for the applied dithering and chroma quality the driver has to RGB -YCbCr convert which alone creates floatpoint numbers downsacle the chroma which again results in float point numbers. chroma sub sampling is just storing chroma in a lower resolution than luma so it's pretty much resolution.

and as a fun fact 8 bit RGB has more BPP as 10 bit YCbCr 4:2:2.

chroma is for most scenes not important up to a point that bilinear will be enough but as soon as an image get's chroma heavy or even based (red text on black background as an example) it shows significant differences especially on BDs where you are now literal using an good scaler on SD.

NM20
8th January 2019, 22:00
O.k. I have read a fair bit and you guys (and gals) seem to know what you are talking about.

I have a 1080ti and sending the image to a JVC projector that is 4k capable.

My questions are:

I am using 'tone map HDR using pixel shaders'. Would ticking 'measure each frame's peak luminance' be the correct thing to do?

Also, where do I check the DXVA scaling/decoding? Is it in LAV filters?

Thanks

SamuriHL
8th January 2019, 22:04
Quite true. That's where the compromises come into play if you're on a performance limited card, however. Do you lean more toward the HDR processing (I am right now) or toward chroma upscaling? It really depends on what you've got under the hood and the content you're trying to watch. And that's also where profiles can come into play. Something I've still not delved into myself yet but really should soon. Cause you can crank up chroma upscaling if you're e.g. scaling a blu-ray to UHD resolution and sacrifice chrome upscaling to save performance for HDR tonemapping when watching UHD content. That's just one example, but, you get the idea.

At the moment I'm fighting with my 1060, AVR, and TV to get my picture to not be cut off. I tried activating scaling in the nVidia control panel but it kills HDR as soon as I enable it. So I'm stuck with native res that's now for whatever reason getting cut off on the TV. I really can't win. LOL

ryrynz
8th January 2019, 22:26
However, whether you can tell the difference between NGU High AA or bicubic75 or not is an individual thing and only you can decide with your eyes if you can see a difference.

Yeah, there will be scenes where I think I would notice a difference but it's not a question of that, it's that I know from my own investigations that NGU AA is superior to Bicubic 75 and I have the performance to use it, the card is there to be used to why not eek everything I think is worth it out of it? Nothing wrong with Bicubic 75 though, it's one of the better lower end choices, nobody is going to knock you for using that.

It really depends on what you've got under the hood and the content you're trying to watch. And that's also where profiles can come into play.

Very much this, people need to be using profiles, they're so easy to set up.
For full HD content on my 1080 I do a 2x supersample with NGU sharp and downscale with SSIM 2D, it's demanding as hell but because I have no other sharpening on my set or with madVR the resulting picture is very nice.. the edges are sharp and the picture does not look sharpened at all and the whole thing has a very high res sort of pop to it.
For hand drawn animated content I don't do this because the detail isn't there (most anime is actually captured at 720P, so much of it is upscaled anyway) and I've tested what I gain from supersampling this and it's next to nothing.. You got to know where to invest those resources. From the 750ti->960->1060 6GB-> 1080 it's been a balancing act I think I've managed particularly well, not a lot has changed when it comes to non HDR content upscaling/processing.

O.k. I have read a fair bit and you guys (and gals) seem to know what you are talking about.

I am using 'tone map HDR using pixel shaders'. Would ticking 'measure each frame's peak luminance' be the correct thing to do?


It's something you can do for better highlights, there's nothing right or wrong about any of the options. If you can enable it without frame drops then do it.


Also, where do I check the DXVA scaling/decoding? Is it in LAV filters?


Yes, those options are under 'Hardware decoder to use'.
You may wish to select the chroma DXVA options in 'Trade quality for performance' if you want the best performance from your card at the expense of image quality, evaluate for yourself.

NM20
8th January 2019, 23:24
Yes, those options are under 'Hardware decoder to use'.
You may wish to select the chroma DXVA options in 'Trade quality for performance' if you want the best performance from your card at the expense of image quality, evaluate for yourself.

What option should I be picking in LAV with a 1080ti to get the best performance and the HDR tone mapping? CUVID? Native? Copy back?

Thanks for the help so far.

SamuriHL
9th January 2019, 00:14
Yeah, there will be scenes where I think I would notice a difference but it's not a question of that, it's that I know from my own investigations that NGU AA is superior to Bicubic 75 and I have the performance to use it, the card is there to be used to why not eek everything I think is worth it out of it? Nothing wrong with Bicubic 75 though, it's one of the better lower end choices, nobody is going to knock you for using that.


I only changed to bicubic75 in the latest test build because I'm preferring the tonemapping options right now as they are quite impressive. Eventually I'll tweak everything and settle on a happy medium somewhere. I agree wholeheartedly that NGU AA absolutely rocks and I can definitely see a difference depending on content. I'll get back to it. Then again, I'm looking at some rebuilding of machines this year at some point so I'll have the horsepower to crank everything back up. The 1060 was a compromise when I bought it. I really wanted a 1070 but the stupid crypto nonsense was going on and I couldn't find one local and online prices were ridiculous. Everything is a compromise.


Very much this, people need to be using profiles, they're so easy to set up.
For full HD content on my 1080 I do a 2x supersample with NGU sharp and downscale with SSIM 2D, it's demanding as hell but because I have no other sharpening on my set or with madVR the resulting picture is very nice.. the edges are sharp and the picture does not look sharpened at all and the whole thing has a very high res sort of pop to it.
For hand drawn animated content I don't do this because the detail isn't there (most anime is actually captured at 720P, so much of it is upscaled anyway) and I've tested what I gain from supersampling this and it's next to nothing.. You got to know where to invest those resources. From the 750ti->960->1060 6GB-> 1080 it's been a balancing act I think I've managed particularly well, not a lot has changed when it comes to non HDR content upscaling/processing.


Profiles are absolutely my next time investment. I just haven't gone there yet but it's definitely needed now. When I get back from vacation that's top of the list.

SamuriHL
9th January 2019, 00:16
What option should I be picking in LAV with a 1080ti to get the best performance and the HDR tone mapping? CUVID? Native? Copy back?

Thanks for the help so far.

Unless you NEED copy back for whatever reason (black bar detection, deinterlacing, etc), I would personally recommend D3D11. It's what I've been using for a long time now and it works very well.

ryrynz
9th January 2019, 00:17
Should really be asked in the LAV forum, but use D3D11 preferably as Samurai said.

Warner306
9th January 2019, 00:17
Definitely D3D11 Native with pixel shader tone mapping.

tp4tissue
9th January 2019, 01:16
if your screen can do bt 2020 natively it would do something if it is close to DCI P3 it should do nothing at all.




who knows literally what ever they want. HDR tonemapping doesn'T have a real one way is correct spec.
the difference should be the image dynamic until it hits it max brightness then it does what ever it wants.

as i said before there is no clear answer.




So, everything pretty much work as expected now on my 1050ti and 1060. thx alot huhn.

However, my basement ATI 7870xt isn't showing the measure screen nit and the highlight restoration seems to have no effect.. is it not hooking into the old gpu's direct compute ?

el Filou
9th January 2019, 02:15
I just upgraded from a Gigabyte Radeon HD 7870 to a XFX Radeon RX 580 GTS and now I get dozens of presentation glitches every second when playing any video if the HDMI Scaling slider is set above 0% in the AMD Radeon Settings GUI.Sounds like an AMD driver bug then. As scaling for TV overscan compensation is one of the very last driver steps before sending out the picture, it may explain the presentation glitches.
Have you tried exclusive mode? Does your TV really not have any mode with no overscan, even an hidden one like in a service menu or something?

glc650
9th January 2019, 04:55
Sounds like an AMD driver bug then. As scaling for TV overscan compensation is one of the very last driver steps before sending out the picture, it may explain the presentation glitches.
Have you tried exclusive mode? Does your TV really not have any mode with no overscan, even an hidden one like in a service menu or something?If it was an AMD bug wouldn't this have shown up on my previous AMD based card though?

I tried exclusive mode but it made no difference.

My TV is pretty old (Mitsubishi LaserView, purchased in '08) and doesn't have many options. The video format options it does has are more for people dealing with black borders or 4:3 content. And I only have slight (1 or 2 letters cutoff on the madvr ODR) overscan on all 4 sides. Not really noticeable when I'm watching something but enough to make navigating Windows fun.

huhn
9th January 2019, 05:23
SHowever, my basement ATI 7870xt isn't showing the measure screen nit and the highlight restoration seems to have no effect.. is it not hooking into the old gpu's direct compute ?

without knowing your setup i can only guess.

@glc650

look into the AMD driver for something similar to adjust desktop size and position that nvidia has.

this option is creating a smaller moved image not by scaling it down like an underscan but by creating a new resolution so everything stays bit perfect on the PC side which is preferable worth a shoot my fix the presentation issue.
what type of windows version are you running and can you make a screen of your OSD.
forced over scan is sadly a not unusually for older screens.

glc650
9th January 2019, 10:00
@glc650

look into the AMD driver for something similar to adjust desktop size and position that nvidia has.

this option is creating a smaller moved image not by scaling it down like an underscan but by creating a new resolution so everything stays bit perfect on the PC side which is preferable worth a shoot my fix the presentation issue.
what type of windows version are you running and can you make a screen of your OSD.
forced over scan is sadly a not unusually for older screens.I'm not sure how to do this. There is a "Custom Resolutions" section in what is left of the Catalyst Control Center settings but I'm not sure what to input. I'm already running at 1920x1080 according to both Windows Display Properties and AMD CCC/Radeon settings.

edit: enabling the option in CCC made it available in Radeon Settings (see pic)
https://1drv.ms/u/s!AnsGKXR_EKR0hCYcEtxKSYFM0GeS

madjock
9th January 2019, 13:40
I seem to be going backwards some days with the HDR side.

What seems to be the most constant nVidia drivers for toggling HDR ?

It seems it all depends on which way the wind is blowing, I did have no issues, but now it does toggle with no TV indication and I have to re-select the input on my TV for it to actually display ? I have tried various drivers, some work, then stop, I think the hard part is its mostly indications on my TV I am having issues with as it does look to go to HDR as such, as when I reslect the TV input and the HDR Signal comes on the screen, nothing changes apart from the feedback I get from the TV on colour space.

huhn
9th January 2019, 14:00
I'm not sure how to do this. There is a "Custom Resolutions" section in what is left of the Catalyst Control Center settings but I'm not sure what to input. I'm already running at 1920x1080 according to both Windows Display Properties and AMD CCC/Radeon settings.

edit: enabling the option in CCC made it available in Radeon Settings (see pic)
https://1drv.ms/u/s!AnsGKXR_EKR0hCYcEtxKSYFM0GeS

i don't use AMD cards right now i don't even know if they have something like this it would just be a little bit more disappointing then usual if they don't have this. a custom resolution may work to.

you didn't say what windows version this is but you seem to have 2 displays and this can create a lot of presentation glitches.

Klaus1189
9th January 2019, 14:42
I seem to be going backwards some days with the HDR side.

What seems to be the most constant nVidia drivers for toggling HDR ?

It seems it all depends on which way the wind is blowing, I did have no issues, but now it does toggle with no TV indication and I have to re-select the input on my TV for it to actually display ? I have tried various drivers, some work, then stop, I think the hard part is its mostly indications on my TV I am having issues with as it does look to go to HDR as such, as when I reslect the TV input and the HDR Signal comes on the screen, nothing changes apart from the feedback I get from the TV on colour space.

Try 18.11.2 and do a complete uninstall of currently installed driver.
This is the first time an AMD driver makes some trouble, on Nvidia side I had already more than 5 times trouble with driver.

@all: Do you think a dedicated thread for driver versions and its issues of AMD/Intel and Nvidia would be a nice idea?
Then you don't have to look up one specific post of this monster thread.

Warner306
9th January 2019, 14:48
If you wanted to maintain a thread on driver versions, go ahead. You would likely get few reports to verify if the reports are true or false for everyone.

madjock
9th January 2019, 14:54
If you wanted to maintain a thread on driver versions, go ahead. You would likely get few reports to verify if the reports are true or false for everyone.

Especially when I was asking about nVidia drivers :)

chros
9th January 2019, 16:08
I remember that madshi said that 4K HDR pixel shader internally uses 2.2 gamma. Is there any "hard" rule what gamma (2.2/2.4/bt1886/etc) should be used in the actual device? Or is it like with SDR content?

Btw, here's the current state of madVR in this regard: image comparison (https://www.avsforum.com/forum/26-home-theater-computers/3040072-madvr-tool-madmeasurehdr-optimizer-measurements-dynamic-clipping-target-nits-5.html#post57388852)

huhn
9th January 2019, 16:21
the brightness level of the none compressed parts match at gamma 2.2.

so if you want the correct brightness levels you set this screen is already calibrated to your screens response where unlike SDR madVR will automatic change your "gamma" for HDR sources to 2.2.

as i said before i'm not a friend of this inconsistent behaviour between HDR and SDR.

tp4tissue
9th January 2019, 17:49
the brightness level of the none compressed parts match at gamma 2.2.

so if you want the correct brightness levels you set this screen is already calibrated to your screens response where unlike SDR madVR will automatic change your "gamma" for HDR sources to 2.2.

as i said before i'm not a friend of this inconsistent behaviour between HDR and SDR.

What does this mean ?

I have a rec709 3dlut (2.4 gamma)

I turn on pixel shader hdr->sdr

The shader outputs 2.2 gamma, then the rec 709 lut brings it down to 2.4 gamma ?

Or does everything still come out at 2.2 ?

Should I make a rec709 lut for 2.2 gamma ?

huhn
9th January 2019, 18:20
in this case it kind of needs a 2.2 3D LUT to make correct brightness levels that match HDR. madVR has to assume it'2 2.2 not sure if newer version can read from the 3D LUT what gamma it uses or if this is present in the 3D LUT at all.

sat4all
9th January 2019, 18:20
What does this mean ?

I have a rec709 3dlut (2.4 gamma)

I turn on pixel shader hdr->sdr

The shader outputs 2.2 gamma, then the rec 709 lut brings it down to 2.4 gamma ?

Or does everything still come out at 2.2 ?

Should I make a rec709 lut for 2.2 gamma ?

fhoech (Displaycal):
<<For SDR, madVR doesn't alter relative luminance of the original signal at all (unless you enable gamma processing or choose "this display is calibrated to" with a gamma that is not 2.2), so if a calibration 3D LUT is used that really is the only thing (apart from the display itself) that affects the resulting tone response (and if not using a 3D LUT, the display itself is the only thing affecting relative luminance of the decoded signal).
For HDR to SDR, madVR decodes the signal with SMPTE 2084 (PQ), applies BT.2390 roll-off and re-scaling using the chosen target peak nits, and then re-encodes to gamma 2.2, and then feeds it into any SDR calibration 3D LUT. So, in both cases, a gamma 2.4 SDR calibration 3D LUT makes the result darker compared to a gamma 2.2 SDR calibration 3D LUT. For SDR, this may be the desired effect (e.g. BT.1886 on an OLED results in an effective 2.4 pure power curve), but for HDR PQ, which is based on absolute luminance, this effect is undesirable.>>

So you should make an rec709 lut for 2.2 gamma.

tp4tissue
9th January 2019, 23:19
fhoech (Displaycal):
<<For SDR, madVR doesn't alter relative luminance of the original signal at all (unless you enable gamma processing or choose "this display is calibrated to" with a gamma that is not 2.2), so if a calibration 3D LUT is used that really is the only thing (apart from the display itself) that affects the resulting tone response (and if not using a 3D LUT, the display itself is the only thing affecting relative luminance of the decoded signal).
For HDR to SDR, madVR decodes the signal with SMPTE 2084 (PQ), applies BT.2390 roll-off and re-scaling using the chosen target peak nits, and then re-encodes to gamma 2.2, and then feeds it into any SDR calibration 3D LUT. So, in both cases, a gamma 2.4 SDR calibration 3D LUT makes the result darker compared to a gamma 2.2 SDR calibration 3D LUT. For SDR, this may be the desired effect (e.g. BT.1886 on an OLED results in an effective 2.4 pure power curve), but for HDR PQ, which is based on absolute luminance, this effect is undesirable.>>

So you should make an rec709 lut for 2.2 gamma.


You make I understand. I thank you !! :D

glc650
9th January 2019, 23:36
i don't use AMD cards right now i don't even know if they have something like this it would just be a little bit more disappointing then usual if they don't have this. a custom resolution may work to.

you didn't say what windows version this is but you seem to have 2 displays and this can create a lot of presentation glitches.The option exists with AMD (see the pic I posted). Most of what I read online seems to be adding custom resolutions for resolutions that aren't there in the first place. I'm already using the default 1920x1080 so I'm just not sure what I would fill out for all the values.

Latest Windows 10 pro. One of the monitors (shows up as #1 under Windows) is actually a display port to hdmi adapter w/HDMI cable going to my AVR (my AVR is too old to use as a switch). The actual monitor being used is of course my TV (via standard HDMI cable).

mclingo
10th January 2019, 00:04
The option exists with AMD (see the pic I posted). Most of what I read online seems to be adding custom resolutions for resolutions that aren't there in the first place. I'm already using the default 1920x1080 so I'm just not sure what I would fill out for all the values.

Latest Windows 10 pro. One of the monitors (shows up as #1 under Windows) is actually a display port to hdmi adapter w/HDMI cable going to my AVR (my AVR is too old to use as a switch). The actual monitor being used is of course my TV (via standard HDMI cable).

out of interest why are you using scaling if you are using the default 1080p, dont you just need to use normal scaling to full panel?

Have to admit I dont know much about this, havent had to scale anything for a decade or more and ive never even seen that slider in my settings.

glc650
10th January 2019, 01:29
out of interest why are you using scaling if you are using the default 1080p, dont you just need to use normal scaling to full panel?

Have to admit I dont know much about this, havent had to scale anything for a decade or more and ive never even seen that slider in my settings.The image is not displayed perfectly (it's cutoff/offscreen a bit on all 4 sides) on my TV. I was using the HDMI Scaling option in Radeon Settings to make this more livable. Without it, things like mpc-hc's status bar are cutoff to where it is hard to read the time indicator. And the first couple letters of the madvr stats are cutoff and the Windows start button is only half visable. And the X to close windows is partially cutoff. My TV's horiz/vert adjustments (available in PC or game mode) only allow for moving the entire imagine up/down and left/right buth with those controls and HDMI Scaling set to 3% I am able to basically make all the stuff in the examples above fully viewable again with only the outermost parts of the image un-viewable.

el Filou
10th January 2019, 04:41
What are your presentation times in madVR stats? Do they increase when the 3% overscan compensation is enabled?
You could try lowering some madVR setting for rendering and see if it improves things? Maybe if the rendering + presentation is too close to frame time it can cause problems when the GPU has to do overscan compensation on top.

I don't know why the issue appeared when you just changed from one Radeon to a newer one, maybe the newer one is using a different way to do overscan compensation.
Is it exactly the same driver? Did you try doing a total driver cleanup with DDU and then reinstalling it?
Edit: did you try a reset to defaults of madVR settings and then reconfiguring it manually?

huhn
10th January 2019, 05:00
The option exists with AMD (see the pic I posted). Most of what I read online seems to be adding custom resolutions for resolutions that aren't there in the first place. I'm already using the default 1920x1080 so I'm just not sure what I would fill out for all the values.
that a screen of the custom res that not what i'm talking about. this may work but there is no way to know for me the number you have to type in.
i would use screen shoot technic to figure the numbers out with some simple math. nvidia has an on screen guide to do that where you just have to line up some lines and every console too. AMD should have something like this too but i can'T check.
Latest Windows 10 pro. One of the monitors (shows up as #1 under Windows) is actually a display port to hdmi adapter w/HDMI cable going to my AVR (my AVR is too old to use as a switch). The actual monitor being used is of course my TV (via standard HDMI cable).

so "one of your monitors" soi you have 2 or more?
i still need a screen shoot of the OSD to get a better picture.

glc650
10th January 2019, 08:44
that a screen of the custom res that not what i'm talking about. this may work but there is no way to know for me the number you have to type in.
i would use screen shoot technic to figure the numbers out with some simple math. nvidia has an on screen guide to do that where you just have to line up some lines and every console too. AMD should have something like this too but i can'T check.Sorry I don't follow.


so "one of your monitors" soi you have 2 or more?
No. I only have one monitor/tv/display hooked up. But I also have an AVR hooked up (but for audio only).


i still need a screen shoot of the OSD to get a better picture.What OSD? The TVs?

huhn
10th January 2019, 09:56
No. I only have one monitor/tv/display hooked up. But I also have an AVR hooked up (but for audio only).
that's a dual screen setup for windows and that can easily produce presentation glitches.
What OSD? The TVs?

control+j the madVR OSD where you saw the presentation gliches.

zapatista
10th January 2019, 10:17
can some of you video experten please comment on my Q below. i am going slightly troppo trying to setup mpc-hc madvr for playing 4k video files on my HTPC

setup. intel 4770k i7 (haswell) , 32 gb ram, 1060 3gb, with latest lav and madvr on win 8.1 64 bit
display: 1080 tv with 10/12 bit RGB 4.4.4 60fpsec input setting confirmed as working correctly over hdmi 1.4 input

Q: with some of the earlier advice given in this thread i can now play many of my 4k video files fairly well (will need further tweaking in madvr for quality improvement) eg many 4k AVC and 4k HEVC files at different frame rates, mbsec, and bit depth rates
- cpu load +/- 20%, GPU load 50-60 % with only 50 - 60 % of 3GB vram used usually

but some 4k video files play very poorly (lots of stutters) , and their specs all seem to be 4k AVC 10 bit rec 709 with HDR.
- cpu load goes bezerk to 98%, but GPU activity drops to 10% and only 20% of gpu vram used
- i am aware 4k bluray discs should be using HEVC, but some of the 4k test files i found online seem to be AVC and include official 4k promotion files provided by samsung or sony etc..

do i have a setup error in mpc-hc madvr options that is shifting the workload to the CPU ? how can i divert this to the GPU ?

or am i using some "out of spec" test video files (found online) that are not compliant with the video decoder instruction set of my pascal GPU ?
these nvidia spec sheets would seem to suggest that for 4k AVC video files the limit might be 8 bit ?
https://developer.nvidia.com/nvidia-video-codec-sdk
https://developer.nvidia.com/video-encode-decode-gpu-support-matrix
- the confusing part is that the next newer nvidia series (2070 etc) according to those same spec sheets seem to have similar limitation with 4k 10 bit AVC files, and i would have expected newer hardware to gradually increase features

and if my logic so far is correct, does the pascal GPU simply then defaults to letting the CPU try and deal with the video file and this overloads its processing ? (explaining the stuttering video on screen, but madvr is not reporting any dropped frames ?), and are newer intel cpu's able to cope with hardware decoding/playing this file format ?

huhn
10th January 2019, 10:28
AVC 10 bit isn't supported by hardware decoder and this will nearly for sure never change.

so looks like your CPU can't handle it. AVC decoding scales pretty well with more core so they a newer high end consumer CPU may play it in realtime.

nevcairiel
10th January 2019, 10:36
the confusing part is that the next newer nvidia series (2070 etc) according to those same spec sheets seem to have similar limitation with 4k 10 bit AVC files, and i would have expected newer hardware to gradually increase features

10-bit AVC/H.264 has never been used commercially, and practically no consumer hardware supports it. Additionally, no-one is going to invest into improving AVC support now, because if you want 10-bit, you use newer codecs like HEVC, VP9 or maybe even AV1 already, all of which have (or will have) hardware support.
Honestly if anyone makes 10-bit AVC files with HDR, they are just doing it wrong. Use HEVC, or VP9.

glc650
10th January 2019, 11:28
that's a dual screen setup for windows and that can easily produce presentation glitches. Except it didn't with my previous video card. And it doesn't with the new video *IF* HDMI scaling is at 0. And I have to cable my system up this way as I've had too many issues when using my AVR as and HDMI switch.


control+j the madVR OSD where you saw the presentation gliches.Well now I'm getting another result with scaling on lots of dropped frames and high queue times. Before it was lots of glitches with normal queue times.

https://1drv.ms/u/s!AnsGKXR_EKR0hCfOm_6m0n5aXCFL

chros
10th January 2019, 12:29
What does this mean ?
:D I had to read @huhn's answer couple of times as well to understand it :)

I have a rec709 3dlut (2.4 gamma)
...
Should I make a rec709 lut for 2.2 gamma ?
Exactly that's why I asked it, thanks!

What target nits setting do you use with gamma 2.4 3dlut? And what's the actual brightness of your display? (See below why ...)

fhoech (Displaycal): ...

So you should make an rec709 lut for 2.2 gamma.
Thanks for quoting! Perfect answer!

I watched contents with 2.4 gamma 3dlut + hdr2sdr pixelshader on SDR TV in the last 3 months: screen brightness is ~120 nits, I use target nits 120 (!) in madVR. The result is vivid/alive and still nothing too bright with these settings. (The only (obvious) title was (out of those I watched) The Meg with which I had to modify the target nits value.)

After reading your answer and creating a 2.2 gamma 3dlut@120nits for the TV yesterday, I compared couple of frames (although it's not that easy since you have to look at them on the actual display, after changing every settings in madVR and on the TV as well) with the new and previous settings. This is what happened (I compared the 2.2 frames to the 2.4 ones, since I got used to latter one in the past months):
- to reach similar (but not the same!) results with gamma 2.2 I had to raise the target nits to at least 150 but with some frames in the same movie even to 180/200
- images are more alive, have more pop with 2.4 settings than with the raised 2.2 settings (maybe over-saturation, higher gamma, etc ?)

It's like gamma 2.4 would balance the brightness of the content more.
I'm not telling that it's the correct way to use it, all I'm telling is how it behaves.

as i said before i'm not a friend of this inconsistent behaviour between HDR and SDR.
Thanks, what do you think would be a better approach?

zapatista
10th January 2019, 12:30
@ nevcairiel & huhn,

thank you for the clarification :)

mclingo
10th January 2019, 13:00
Except it didn't with my previous video card. And it doesn't with the new video *IF* HDMI scaling is at 0. And I have to cable my system up this way as I've had too many issues when using my AVR as and HDMI switch.

Well now I'm getting another result with scaling on lots of dropped frames and high queue times. Before it was lots of glitches with normal queue times.

https://1drv.ms/u/s!AnsGKXR_EKR0hCfOm_6m0n5aXCFL

its unusual to have scaling issues these days with a HDTV, have you got an odd aspect ratio on your TV, what model is it, assume you are not using two displays?


You may also have better luck using FSE, turning off motion smoothing and using refresh rate switching.

huhn
10th January 2019, 14:03
Thanks, what do you think would be a better approach?

move it to color & gamma by adding a HDR-SDR gamma processing that is ticked by default with pure gamma curve 2.20 and a warning to not change it.
this makes sure you can still properly gamma process SDR and don't ruin HDR with this option.

this makes sure gamma is only processed with this tab and well 3D LUTs so it is consistent as it should be.

the next thing i would add is an info in the 3d LUT what the gamma this 3D LUT target is so this will be treated like "this display is already calibrated" and you are done with 3D LUT and get the correct gamma.

i guess for BT 1886 you take the effective gamma and add this as an info. it's usually between 2.1-2.4 and this is better then nothing.

@glc650
windows is changing the WDDM driver like they have nothing better to do. your old card may just use an older better working WDDM i have no deeper look into this i just know they change it and this can produce presentation issue with are pretty normal with 2 screens.

try dx9 FSE. overlay would be a workaround too. but i doubt AMD added it.
it's clearly an presentation issue.
if it comes from the scaling alone and no other combinations of settings you need to send an custom resolution and hope the TV except it this is an advanced topic. doesn't look like amd has an resize feature someone else would have pointed out the name of it in this thread already the HDMI scaling or custom resolution are not the same.

glc650
10th January 2019, 14:23
its unusual to have scaling issues these days with a HDTV, have you got an odd aspect ratio on your TV, what model is it, assume you are not using two displays?


You may also have better luck using FSE, turning off motion smoothing and using refresh rate switching.It's 16:9. Mitsubishi LaserView 65". I have a TV attached to the only HDMI port on the card and an AVR attached to one of the display ports with a DP to HDMI adapter (I can't use my AVR as an HDMI switch). FSE doesn't work for me even with scaling at 0. I have to use motion smoothing as my TV doesn't handle 23/24 properly.