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

Warner306
30th March 2018, 22:01
So my question is why after matching tv refresh rate to movie such problem started to occur? and steps i should i do to try make this sorted.

btw. i have smooth option off if does matter or not in this situation, but from what i remember when i had on, there were issues with smooth playback

what i notice as well that :
- decoder, upload, render, present queue cant stabilize, i can see every few seconds changes there

cheers

It's called clock jitter and it's normal for all HTPCs. The clocks are often worse at 24p. Most won't notice these frame repeats/drops, but they can be improved.

Read this tutorial on how to combat it: http://madvr.com/crt/CustomResTutorial.html

Asmodian
30th March 2018, 22:08
At 60Hz each refresh is less than half the frame time so you do not get repeated frames reported even if madVR needs to hold a frame for an extra refresh. The same with displaying a frame for one less refresh, every frame normally gets at least two refreshes so even if madVR needs to drop a refresh to resync the frame is still displayed, just for less time, so no dropped frames are reported.

With a matching refresh rate any need to resync the video to the audio will result in dropping or repeating entire frames. You need to use the custom refresh rate tab of madVR to optimize your refresh rate to match your audio clock. Do not pay attention to the clock deviation reported in the OSD to judge this, the reported dropped or repeated frames are more accurate indicators.

Small fluctuations in the queues are normal, as long as none of them have a 0 it should be fine.

maxkolonko123
30th March 2018, 22:18
At 60Hz each refresh is less than half the frame time so you do not get repeated frames reported even if madVR needs to hold a frame for an extra refresh. The same with displaying a frame for one less refresh, every frame normally gets at least two refreshes so even if madVR needs to drop a refresh to resync the frame is still displayed, just for less time, so no dropped frames are reported.

With a matching refresh rate any need to resync the video to the audio will result in dropping or repeating entire frames. You need to use the custom refresh rate tab of madVR to optimize your refresh rate to match your audio clock. Do not pay attention to the clock deviation reported in the OSD to judge this, the reported dropped or repeated frames are more accurate indicators.

Small fluctuations in the queues are normal, as long as none of them have a 0 it should be fine.

Thought reclock will do all the magic for me, cause this sounds to me like blakc magic :D

all my refresh rates are standard mode with unknown timing details

Asmodian
30th March 2018, 22:51
If you are using reclock and still getting dropped or repeated frames something is wrong somewhere. :o

maxkolonko123
30th March 2018, 23:17
If you are using reclock and still getting dropped or repeated frames something is wrong somewhere. :o

It all started from adding 2160p23 and 24p and making nvidia refresh rate match movie rate. Like i said when i play movie on 59hz without matching to 23.97fps it was all good and 1 frame repeat was at 44min not 7min.

I didnt change any other settings in madvr just this refresh rate


So annoying, always something wrong god dammit :(

el Filou
30th March 2018, 23:21
I'm confused. Increasing the "display's peak nits" setting in the HDR tab makes it more washed out for me.Setting a high 'peak nits' value clips (Edit: compresses) the highlights less severely (so you get more dynamic range) but the picture will have lower overall brightness and contrast.
Setting a very low 'peak nits' value will make the picture brighter and with more contrast but with lower dynamic range as highlights will be clipped (Edit: compressed) more severely.

Do you know the real max brightness of your monitor in cd/m² (nits)? If yes then try setting the backlight of your monitor to its highest possible value (or better make a profile for madVR HDR if possible), and then set the 'peak nits' setting to your monitor's maximum light output value. Many PC LCD monitors can easily get to 300-350, which is blindingly bright for native SDR but useful for madVR's HDR downconversion.

Asmodian
30th March 2018, 23:43
It all started from adding 2160p23 and 24p and making nvidia refresh rate match movie rate. Like i said when i play movie on 59hz without matching to 23.97fps it was all good and 1 frame repeat was at 44min not 7min.

Well, to be fair 23p or 24p on 60Hz is never "all good" without smooth motion. You are not getting told there are issues but there is a lot of judder in the playback. Frames are displayed for 2 or 3 refreshes, with rare frames displayed for 1 or 4 refreshes, but no reported frame drops or repeats. Reclock does not do anything in this situation either, it cannot sync the audio clock to the video rate to correctly display 23p at 60Hz because it is impossible to correctly display 23p at 60Hz (without smooth motion).

Stop using Reclock and use smooth motion with 60Hz (disable display modes) or keep Reclock and use a matching refresh rate. Check your Reclock settings if you are getting reported dropped or repeated frames watching 23p at 23 Hz. Ignore the "1 frame repeat/drop every X minutes" in the OSD when using Reclock, Reclock messes up madVR's predictions because it is constantly adjusting the audio speed to prevent dropped or repeated frames (edit: except when the video frame rate is too far away from the refresh rate, like 23p at 60Hz, in which case it does not do its adjustment).

brazen1
30th March 2018, 23:46
When you play at 59Hz, all is not good. You have judder and motion problems unless you use 'smooth motion' setting which helps.
If you have a native 60hz display, use that old setting with smooth motion on.
If you have a native 120Hz display, use how we are trying to explain to you for best results.
Is your display native 60Hz or 120Hz? Google 'refresh rate' for your model.

Statick
30th March 2018, 23:57
is there a way to enable upscaling refinements only when a certain level of upscaling has taken place? I like to have various enhancements enabled when upscaling SD DVD content to 1080, but when I watch stuff which is already in HD I get dropped frames unless I disable them, and I don't really need the enhancements enabled then anyway

I'm running MadVR on a HTPC so I don't really want to be fiddling with settings every time I watch something, ideally I want one setting that works all the time (which currently means I have to keep some of the enhancements disabled)

also, is there a way to choose a basic upscaling algorithm other than Jinc when a doubling algorithm is selected? I have xbr selected for doubling, with Lanczos3 for "if any (more) scaling is required", but when I watch 4:3 1080 content with black bars zoomed 50%, it scales the image using Jinc AR regardless

maxkolonko123
31st March 2018, 00:12
When you play at 59Hz, all is not good. You have judder and motion problems unless you use 'smooth motion' setting which helps.
If you have a native 60hz display, use that old setting with smooth motion on.
If you have a native 120Hz display, use how we are trying to explain to you for best results.
Is your display native 60Hz or 120Hz? Google 'refresh rate' for your model.

I have lg e6 so native is 60hz. That's why im trying to figure it out how to get it sorted so i can play movies at original refresh mode how u guys recommend, just dont know where to look for solution in my settings.

When i was using smooth motion with 59hz they i had really stuttering playback, that's why now is off.

Do you think that my issue might cause of

Display 23.97852hz
composition 23.976hz

Would this small difference matter?

Reclock showing : refresh rate 24.000hz DDR, while in nvidia planel is 23hz insted 24 like it says in reclock, but dont know if this matter

Warner306
31st March 2018, 00:17
is there a way to enable upscaling refinements only when a certain level of upscaling has taken place? I like to have various enhancements enabled when upscaling SD DVD content to 1080, but when I watch stuff which is already in HD I get dropped frames unless I disable them, and I don't really need the enhancements enabled then anyway

I'm running MadVR on a HTPC so I don't really want to be fiddling with settings every time I watch something, ideally I want one setting that works all the time (which currently means I have to keep some of the enhancements disabled)

also, is there a way to choose a basic upscaling algorithm other than Jinc when a doubling algorithm is selected? I have xbr selected for doubling, with Lanczos3 for "if any (more) scaling is required", but when I watch 4:3 1080 content with black bars zoomed 50%, it scales the image using Jinc AR regardless

You need to create profile rules for different content. madVR was designed this way. The first page has an explanation on how to create these rules. I suggest using resolution for the rules covering the scaling category in the madVR control panel.

Warner306
31st March 2018, 00:21
I have lg e6 so native is 60hz. That's why im trying to figure it out how to get it sorted so i can play movies at original refresh mode how u guys recommend, just dont know where to look for solution in my settings.

When i was using smooth motion with 59hz they i had really stuttering playback, that's why now is off.

I looked up your display previously and it supports 24p playback. If using ReClock, you must output the audio as PCM streams. That is the trade off. Using custom modes is necessary when bitstreaming. Or you could watch some content and see if you actually notice the frame drops/repeats.

maxkolonko123
31st March 2018, 01:11
I looked up your display previously and it supports 24p playback. If using ReClock, you must output the audio as PCM streams. That is the trade off. Using custom modes is necessary when bitstreaming. Or you could watch some content and see if you actually notice the frame drops/repeats.


Hmmm

So shall i accept bitstream or no in reclock ? when i untick it my AVR shows MUTICH when i tick accept bitstream then im getting right audio mode like dts hd etc.

Warner306
31st March 2018, 01:38
Hmmm

So shall i accept bitstream or no in reclock ? when i untick it my AVR shows MUTICH when i tick accept bitstream then im getting right audio mode like dts hd etc.

Media speed correction only works with PCM output. You lose Dolby Atmos and DTS:X if you need these. I would come to grips with custom modes. The tutorial posted earlier was written by the developer madshi.

Edit: I should say bitstreaming technically works with ReClock, but it drops/dupes packets of data to keep time. When I’ve tried this, madVR judders. It can also lead to audio dropouts.

maxkolonko123
31st March 2018, 02:08
Media speed correction only works with PCM output. You lose Dolby Atmos and DTS:X if you need these. I would come to grips with custom modes. The tutorial posted earlier was written by the developer madshi.

Edit: I should say bitstreaming technically works with ReClock, but it drops/dupes packets of data to keep time. When I’ve tried this, madVR judders. It can also lead to audio dropouts.

For now i will try this guide https://sunmaiblog.wordpress.com/2010/09/24/how-to-configure-ffdshow-and-reclock-for-bitstreaming-hd-audio/ and stick to bitstream with wasapi exclusive and see how it goes, it showed me 2 dropped 1 repeated in reclock but didnt had any dropped frames in madvr, but i just watched few minutes on windowed mode in mpc-hc, will watch something as it should and see then.

If wasapi exclusive wont help or i will still have dropped frames, i will try stricte PCM mode and re watch same movie and compare dropped frames to bitstream mode.

When u mentioned the audio dropouts, sometimes i have clicks in avr, like sound mode change or so but its not, so maybe it's the bitstream case then.

The custom modes in madvr i would love to try this but it's hard for me to get my head around it even with this tutorial, main thing is i watched movie for over 10min and didnt get any timing details, so i dont know if i need to add again my 23hz mode or what, to make madvr measure my video playback :confused:

In custom modes the : delete and optimize is greyed out i can only do edit and reset gpu. So if someone would be so kind and help me out a lil bit more how to get this started, i would try to sort my issue trough custom display modes and then see if messing with custom mode and bitstream can work together without any issues :)

Asmodian
31st March 2018, 07:01
In custom modes the : delete and optimize is greyed out i can only do edit and reset gpu. So if someone would be so kind and help me out a lil bit more how to get this started, i would try to sort my issue trough custom display modes and then see if messing with custom mode and bitstream can work together without any issues :)

Click on the refresh rate you want to customize (make sure it is not the active mode) and click edit. Choose "CVT Reduced Blanking v2" as a good starting point. Click Test Mode, and then click Yes when it asks if you want to save these custom timings. The status has to say "custom timings", not "standard mode", for madVR to measure and optimize a refresh rate.

Then watch something for at least 10 minutes, the longer the better. Do not seek, pause, look at menus, etc. while watching; ideally simply start a movie playing and then don't touch anything for the entire movie. After it is over go back into custom modes and click optimize. :)

Do not use Reclock while doing this.

maxkolonko123
31st March 2018, 11:04
Click on the refresh rate you want to customize (make sure it is not the active mode) and click edit. Choose "CVT Reduced Blanking v2" as a good starting point. Click Test Mode, and then click Yes when it asks if you want to save these custom timings. The status has to say "custom timings", not "standard mode", for madVR to measure and optimize a refresh rate.

Then watch something for at least 10 minutes, the longer the better. Do not seek, pause, look at menus, etc. while watching; ideally simply start a movie playing and then don't touch anything for the entire movie. After it is over go back into custom modes and click optimize. :)

Do not use Reclock while doing this.


Ok so CVT v1 and v2 doesnt work, screen go blank then comes after while and there is no option to click yes etc.

CVT CRT after test mode showed me option to save settings, and now it says custom timing,optimization data avaible, so when did madvr measure data ? cause i didnt watch movie after doing test mode CVT CRT, either i cant apply any of the avaible timing paramters when in the customize , its shows only Test Mode and Cancel


Started everything from scratch got to the point custom settings not mesured yet -> watched movie for about 20min -> optimization data available and plenty to chose from but there is no Apply button only Test mode :/

Razoola
31st March 2018, 12:05
Reclock works fine with bitstreaming for me, I have always used it that way. You must of course be using custom refresh rates or youll get dropped/repeated audio packets. I never saw a situation where a dropped audio packet caused a video judder, only issue you can get is audio pops and crackles if your refessh rate is not close enough.

maxkolonko123
31st March 2018, 12:28
Reclock works fine with bitstreaming for me, I have always used it that way. You must of course be using custom refresh rates or youll get dropped/repeated audio packets. I never saw a situation where a dropped audio packet caused a video judder, only issue you can get is audio pops and crackles if your refessh rate is not close enough.

The main thing what i've notice sometimes when bitstream in reclock i've got clicks on avr every now and then, same click sound when changing audio mode/source but it never affected movie, but yeah clicks are consistent.

Warner306
31st March 2018, 17:56
The main thing what i've notice sometimes when bitstream in reclock i've got clicks on avr every now and then, same click sound when changing audio mode/source but it never affected movie, but yeah clicks are consistent.

The correct way to use ReClock is to output in PCM. This is because ReClock can resample the audio (it actually upsamples the audio like Dolby TrueHD 96K Upsampling) and then slows it down or speeds it up to keep time. The change in pitch is so minor as to be imperceptible. So this option should still be considered lossless or close to lossless.

ReClock can't touch a bitstream source because it needs to be unpacked into separate PCM channels first. So it uses another approach when bitstreaming that is not failsafe or lossless, to say the least.

Given the trouble you are having with custom modes, I would try using ReClock with PCM output. As stated previously, you lose Dolby Atmos and DTS:X if you need these. You can bitstream with ReClock, but it is not the recommended way to use this software. It even warns you about this in its configuration panel.

Or, you could just live with these dropped frames. I did for years and rarely, if ever, noticed them. It is one frame we are talking about, not several at a time. It all depends on how much of a perfectionist you are.

maxkolonko123
31st March 2018, 18:34
The correct way to use ReClock is to output in PCM. This is because ReClock can resample the audio (it actually upsamples the audio like Dolby TrueHD 96K Upsampling) and then slows it down or speeds it up to keep time. The change in pitch is so minor as to be imperceptible. So this option should still be considered lossless or close to lossless.

ReClock can't touch a bitstream source because it needs to be unpacked into separate PCM channels first. So it uses another approach when bitstreaming that is not failsafe or lossless, to say the least.

Given the trouble you are having with custom modes, I would try using ReClock with PCM output. As stated previously, you lose Dolby Atmos and DTS:X if you need these. You can bitstream with ReClock, but it is not the recommended way to use this software. It even warns you about this in its configuration panel.

Or, you could just live with these dropped frames. I did for years and rarely, if ever, noticed them. It is one frame we are talking about, not several at a time. It all depends on how much of a perfectionist you are.

You got me here with this perfectionist :D main thing is i cant stop thinking about those dropped frames.

Like i said above i did get to the point in custom modes that madvr did optimize timings parameters but in tutorial i can see Apply option in my situtation there is Test mode option insted apply and i dont know why is like this ?


Ok i think i got it sorted :) manage to choose optimized pixel clock with no frames dropped/repeated expected with 95% compatibility. Reclock switched off for now.

Now my question is shall i bitstream trough LAV audio or shall i send PCM or in this situation doesnt matter ?

Update on my case :

Just finished movie with those technical details :

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 2 h 20 min
Bit rate : 9 597 kb/s
Width : 1 920 pixels
Height : 808 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive


By the end of the movie i've got 175 dropped frames and 34 repeated frames ! funny thing is neither me or my missus noticed juddering, stuttering etc Madvr was played with custom timings without reclock in use

SamuriHL
31st March 2018, 23:44
I spent all afternoon on that very problem for 1080p. With my panasonic plasma I was not able to come even remotely close to eliminating dropped/repeated frames and I do notice them. So, I've finally given up on bitstreaming and use JRiver's video clocking ability for smooth playback. The reality is that the receiver is going to decode the audio anyway so you're really not losing anything so long as you have a proper audio decoder for the formats you use. I'm not doing Atmos or DTS:X yet so for me this is fine for now. When I move to a UHD screen with new receiver I'll revisit this whole mess. If you notice the dropped frames and you aren't able to fix it with a custom res, then try PCM and see what happens.

Warner306
1st April 2018, 00:22
Try another custom mode. This time one in yellow or green for compatibility, even if it isn’t perfect. I had to settle for one frame repeat every 19 minutes.

maxkolonko123
1st April 2018, 00:24
I spent all afternoon on that very problem for 1080p. With my panasonic plasma I was not able to come even remotely close to eliminating dropped/repeated frames and I do notice them. So, I've finally given up on bitstreaming and use JRiver's video clocking ability for smooth playback. The reality is that the receiver is going to decode the audio anyway so you're really not losing anything so long as you have a proper audio decoder for the formats you use. I'm not doing Atmos or DTS:X yet so for me this is fine for now. When I move to a UHD screen with new receiver I'll revisit this whole mess. If you notice the dropped frames and you aren't able to fix it with a custom res, then try PCM and see what happens.

I did bitstream but without using reclock, just direct audio device and lav filters, nothing else.

I will watch some movie tomorrow without bitstream just PCM but i gave a tried alrdy for few minutes and still had some occasional drops.

maxkolonko123
1st April 2018, 00:26
Try another custom mode. This time one in yellow or green for compatibility, even if it isn’t perfect. I had to settle for one frame repeat every 19 minutes.

Ok will do :)

Can i use reclock with it or not ?

brazen1
1st April 2018, 00:37
Good job Max. You got it. Personally I wouldn't pay attention to the stats. Most of what you see could have been from the initial start or a rewind or fast forward as well. If both of you didn't see anything, then you didn't see anything. Now you can ditch Reclock and gain back your audio bitstream. Maybe check a couple other titles so you are happy.

P.S. Try Wasapi, not Direct.

maxkolonko123
1st April 2018, 00:54
Good job Max. You got it. Personally I wouldn't pay attention to the stats. Most of what you see could have been from the initial start or a rewind or fast forward as well. If both of you didn't see anything, then you didn't see anything. Now you can ditch Reclock and gain back your audio bitstream. Maybe check a couple other titles so you are happy.

P.S. Try Wasapi, not Direct.


I always clear osd in madvr after going into fullscreen etc so i start from 0 dropped frames.

Do you mean to use Wasapi in Reclock or how ? or there is wasapi in mpc-hc?

Do you mean in mpc-hc : options -> playback -> output -> audio renderer : Direct Sound -> internal filters -> Audio renderer -> Device : Direct Sound Exclusive mode : check Allow bitstream : check ??

tyrindor
1st April 2018, 09:59
I think I figured out my problem where MPC-BE resizes all my windows after playback. My receiver has 2 identications, one for 4K and one for 480p. It is set to the 480p one by default, and won't let me delete it because it's "active". The 4K one is inactive and can be deleted... It seems my receiver was once correctly detected as 4K, but now detects as 480p. This is confirmed in NVIDIA drivers as it claims my native resolution is 720x480. I still can select 3840x2160 @ 60hz... but my windows constantly resizes to 480p sizes after MadVR playback. Screenshot of two entries: https://i.imgur.com/tRrdYSp.png

Receiver in question is a Denon X7200WA.

Any idea how to fix this? Seems like a HDMI handshaking issue, but I've already tried power cycling all the devices.

maxkolonko123
1st April 2018, 11:01
I think I figured out my problem where MPC-BE resizes all my windows after playback. My receiver has 2 identications, one for 4K and one for 480p. It is set to the 480p one by default, and won't let me delete it because it's "active". The 4K one is inactive and can be deleted... It seems my receiver was once correctly detected as 4K, but now detects as 480p. This is confirmed in NVIDIA drivers as it claims my native resolution is 720x480. I still can select 3840x2160 @ 60hz... but my windows constantly resizes to 480p sizes after MadVR playback. Screenshot of two entries: https://i.imgur.com/tRrdYSp.png

Receiver in question is a Denon X7200WA.

Any idea how to fix this? Seems like a HDMI handshaking issue, but I've already tried power cycling all the devices.

I would assume you need find it in registry or edit EDID in windows

tyrindor
1st April 2018, 11:09
I would assume you need find it in registry or edit EDID in windows

I figured out a way to force it to 3840x2160 using CRU, however Windows still resizes to 480p size after HDR playback.

Sigh, gonna have to just live with it and hope HDMI 2.1 isn't so damn fragile when it comes to handshaking. :(

nevcairiel
1st April 2018, 11:33
Sounds to me like your receiver is kinda whacky if it reports a 480p mode as the native resolution in the first place. You might want to stroll through its option and figure out what causes that. On Windows it can sometimes help to delete the monitor configuration entirely (from Windows, not madVR).
Its easy to just blame it on HDMI, but HDMI is just a cable, there is two devices talking to each other over that - so look at those devices, not the cable. :)

maxkolonko123
1st April 2018, 11:58
Sounds to me like your receiver is kinda whacky if it reports a 480p mode as the native resolution in the first place. You might want to stroll through its option and figure out what causes that. On Windows it can sometimes help to delete the monitor configuration entirely (from Windows, not madVR).
Its easy to just blame it on HDMI, but HDMI is just a cable, there is two devices talking to each other over that - so look at those devices, not the cable. :)

I bet is not the cable, cause i have same issue, after playing game or watching movie in HDR all open staff get resized and pushed to top left corner. I've read about and it's something between TV native resolution and windows programs native resolution if it makes sense.

maxkolonko123
1st April 2018, 12:01
I figured out a way to force it to 3840x2160 using CRU, however Windows still resizes to 480p size after HDR playback.

Sigh, gonna have to just live with it and hope HDMI 2.1 isn't so damn fragile when it comes to handshaking. :(

Did u check this ? https://superuser.com/questions/267086/how-to-stop-windows-resizing-when-the-monitor-display-channel-is-turned-off-sw

read 7th post

tyrindor
1st April 2018, 12:25
I bet is not the cable, cause i have same issue, after playing game or watching movie in HDR all open staff get resized and pushed to top left corner. I've read about and it's something between TV native resolution and windows programs native resolution if it makes sense.

Yea that's exactly what happens. It also screws up Kodi (using MadVR/MPC-BE as an external player). It happens mainly on 3D and 4K HDR content.

Did u check this ? https://superuser.com/questions/267086/how-to-stop-windows-resizing-when-the-monitor-display-channel-is-turned-off-sw

read 7th post

I will give everything in there a try, but i've already tried the registry entries and I cannot use a DVI-HDMI adapter because I need lossless/Atmos/DTS-X. The persistent windows program running in the background might be my best bet.

mclingo
1st April 2018, 12:38
Hi, I know a few people on here also use KODI DS, anyone know whats happened to the KODI DS thread? "INVALID FORUM" - has it moved?

oldpainlesskodi
1st April 2018, 12:57
Hi, I know a few people on here also use KODI DS, anyone know whats happened to the KODI DS thread? "INVALID FORUM" - has it moved?

Did you check the date today?

https://forum.kodi.tv/showthread.php?tid=330410

:)

K
PS - sorry for being off-topic, just helping mclingo out.

mclingo
1st April 2018, 13:01
yes, however its after noon though and not really much of a joke is it?

mclingo
1st April 2018, 13:03
https://kodi.tv/article/kodi-no-more

i'm guessing this is the "issue", I guess they are using this "joke" in order to take time to update something on their servers, cant see any reason to take a forum down for a day as a joke otherwise.

tyrindor
1st April 2018, 13:28
http://www.ninjacrab.com/persistent-windows/

I can confirm that this fixes my windows resizing issues after HDR playback. It's not a great solution though, it's an alpha program that was abandoned in 2015 and it must be ran 24/7. Surprisingly I could find no alternatives.

I tried everything else, and even manually editing EDID to force 4K at all times didn't fix it. My theory is that windows loses connection to the TV/Receiver completely for a split second while HDR is being disabled. When loss of HDMI handshake occurs windows briefly goes into 480p, which screws up all your window sizes and positions. Honestly, why windows still can't remember window sizes based on resolution is beyond me.

maxkolonko123
1st April 2018, 13:28
Yea that's exactly what happens. It also screws up Kodi (using MadVR/MPC-BE as an external player). It happens mainly on 3D and 4K HDR content.



I will give everything in there a try, but i've already tried the registry entries and I cannot use a DVI-HDMI adapter because I need lossless/Atmos/DTS-X. The persistent windows program running in the background might be my best bet.

Masybe remove everything in registry i mean like whole string restart pc and see what is there, or maybe look trough there if there isnt anywhere:

ActiveSize.cx =
ActiveSize.cy =

with your dodgy native 480p resolution and change it to 3180x2160

tyrindor
1st April 2018, 13:37
Masybe remove everything in registry i mean like whole string restart pc and see what is there, or maybe look trough there if there isnt anywhere:

ActiveSize.cx =
ActiveSize.cy =

with your dodgy native 480p resolution and change it to 3180x2160

I deleted that entire reg directory and restarted, the end result was 1 entry that was set to 3840x2160. I then played HDR, had it resize my windows, restarted again, and still only 1 entry. Editing those entries fixed my dual monitor woes in the past, but I think this issues is entirely different.

I feel it is caused by windows briefly losing HDMI handshake completely as the receiver or TV switches modes (HDR on to HDR off). Windows handles this very poorly, and seems to force a 480p signal while it waits for a display to be detected again. Windows lacks the ability to remember window size based on resolution, so all your windows just get resized to 480p. I removed all other resolutions but 4K from the EDID on my receiver/TV and it still didn't fix the issue, I don't know what else it could possibly be. Since I am not the only one with this happening, I can only assume it's a bug with NVIDIA or Windows, and the lack of reports might be because there aren't many people running 4K HDR displays yet.

I'll be setting up MadVR on a friend's computer soon, and I am interested to see if it happens on his too. Though, he has the same TV, graphics card, and receiver so I fully expect it to.

Warner306
1st April 2018, 16:40
Ok will do :)

Can i use reclock with it or not ?

Don't bother using ReClock for custom modes. ReClock is for PCM output only. Just pick another custom mode that reports frame drops in a smaller number than you currently have. They are in yellow and green from the optimization screen. These are more compatible than the perfect clock optimizations.

I get one frame repeat every 19 minutes. In a two hour movie, that is six repeated frames. That is six repeated frames out of 172,800 total frames. You have to understand what you need to correct and don't need to correct.

e-t172
1st April 2018, 16:45
I get one frame repeat every 19 minutes. In a two hour movie, that is six repeated frames. That is six repeated frames out of 172,800 total frames. You have to understand what you need to correct and don't need to correct.

When running at 24 Hz, a frame drop/repeat can be quite visible because it lasts a long time (42 ms). If you're out of luck and you get one of these six repeats in the middle of a panning shot, it's going to be extremely noticeable.

A good discontinuity interval is 2 hours or more, so that it is unlikely to happen in the span of a movie (or if it does, no more than once). Anything less than that is unacceptable for serious video playback.

brazen1
1st April 2018, 16:56
Do you mean in mpc-hc : options -> playback -> output -> audio renderer : Direct Sound -> internal filters -> Audio renderer -> Device : Direct Sound Exclusive mode : check Allow bitstream : check ??

Yes, this one.

Warner306
1st April 2018, 18:32
When running at 24 Hz, a frame drop/repeat can be quite visible because it lasts a long time (42 ms). If you're out of luck and you get one of these six repeats in the middle of a panning shot, it's going to be extremely noticeable.

A good discontinuity interval is 2 hours or more, so that it is unlikely to happen in the span of a movie (or if it does, no more than once). Anything less than that is unacceptable for serious video playback.

Ok, it's unacceptable to you, but not me. If I could do better, I would. That was the only custom mode that was compatible with my equipment. Do the best you can with the limitations of the custom mode option and live with the results.

zaemon
2nd April 2018, 08:15
Hey guys!

I have two questions/problems and I'm pretty sure someone has some answers for me:

- Following an Nvidia driver update (GTX 1080), once I launch a video in fullscreen (exclusive mode), the screen blinks/flashes green/pink with the video playing on the background. Solution: exiting fullscreen and reentering fullscreen. I gotta do this everytime I play a new video. I'm using latest LAV with DXVA copy-back (see below) but I have the same problem with MPC-HC internal filters
- I recently installed latest LAV to activate D3D11 instead of DXVA copy-back. With D3D11 and 4K 10-bit HEVC videos, the video never starts and the screen stays black. Play/pause is unresponsive. With HD H-264 8-bit videos, play starts normally.

Thanks in advance if you have any input.

RainyDog
2nd April 2018, 08:35
Hey guys!

I have two questions/problems and I'm pretty sure someone has some answers for me:

- Following an Nvidia driver update (GTX 1080), once I launch a video in fullscreen (exclusive mode), the screen blinks/flashes green/pink with the video playing on the background. Solution: exiting fullscreen and reentering fullscreen. I gotta do this everytime I play a new video. I'm using latest LAV with DXVA copy-back (see below) but I have the same problem with MPC-HC internal filters
- I recently installed latest LAV to activate D3D11 instead of DXVA copy-back. With D3D11 and 4K 10-bit HEVC videos, the video never starts and the screen stays black. Play/pause is unresponsive. With HD H-264 8-bit videos, play starts normally.

Thanks in advance if you have any input.

This sounds like the issue I had which I fixed by manually selecting my GPU in the Hardware Device to use section of LAV video's properties.

This forces D3D11 to use copy-back mode otherwise it defaults to native if left set to Automatic.

zaemon
2nd April 2018, 08:44
This sounds like the issue I had which I fixed by manually selecting my GPU in the Hardware Device to use section of LAV video's properties.

This forces D3D11 to use copy-back mode otherwise it defaults to native if left set to Automatic.

Doesn't it defeat the purpose if I force LAV to use copy-back instead of native?

It works though (thanks) but performance is horrible, got dropped frames now.

RainyDog
2nd April 2018, 08:51
Doesn't it defeat the purpose if I force LAV to use copy-back instead of native?

No as you'll still be using D3D11 as the hardware decoder (if selected obviously) but in copy-back mode instead of native.

ryrynz
2nd April 2018, 08:55
Nevermind. I've been doing it wrong >.<