Log in

View Full Version : [GUIDE] Smooth playback with madVR and no Smooth Motion/Reclock


Pages : [1] 2 3

ashlar42
7th June 2016, 22:45
How to limit the number of drops/repeats with madVR and custom resolutions.

At a basic level, to reach a low enough number of drops/repeats, you need to:

* Increase your refresh rate in case of madVR reporting frames dropped
* Decrease your refresh rate in case of madVR reporting frames repeated.

You will discover that you don't need "perfect" 23.976 refresh rate for smooth playback, as the target refresh varies according to the different clocks in your system.

I simply explain how to do this the right way.

What follows is a guide that hopefully will allow you to maximise playback smoothness using a DirectShow based player with madVR.
Before we begin, I would like to express a heartfelt thank you to hannes69, the Kodi forums user that inspired me to learn this stuff and without whose help this guide would never have happened.

The problem: with PC based playback it's pretty hard to get perfectly smooth playback without the odd frame being repeated or dropped.

The reason this happens is that, unlike regular DVD/BD players, our machines use different clocks inside them. Tipically we are looking at three clocks being used in a PC: video, audio and system clock, with the first two being crucial for video playback.
Unfortunately, it's just a matter of luck for audio and video clock being in sync. When this doesn't happen, we have frames dropped or repeated during playback. More or less frequently according to how much audio and video clock are out of sync.

I think it's better to let madshi speak about this, quoting him from a 2013 post (http://forum.doom9.org/showthread.php?p=1612690#post1612690):There are 3 clocks during video playback:

(1) System clock ("time").
(2) Video refresh rate.
(3) Audio hardware clock.

The system clock really doesn't have anything to do with video playback, but madVR uses it to measure and compare the other two clocks. Now it is possible (even probable) that the system clock is not perfect. But that's not a big problem because if it's e.g. slightly too fast, both video and audio clocks will be measured wrong in the exact same way, so everything's fine.

If the video and audio hardware clocks are "perfect", there should be no dropped or repeated frames (if your PC is fast enough). However, video and audio clocks are usually both imperfect. If both are imperfect in the same way (e.g. being 0.1% too fast), again there's no problem. But if the amount of "deviation from perfectness" of audio and video clocks is not identical then madVR has to either drop frames (video clock slower than audio clock) or repeat frames (video clock faster than audio clock) to make sure video and audio stay in sync.

The refresh rate as shown in the first line in the madVR OSD is madVR's measurement of the video clock, measured by using the system clock. The audio "deviation" in the madVR OSD shows how much the audio clock deviates from "perfectness", measured by the system clock. If e.g. the measured refresh rate is 24.24000Hz (1% too fast for 24.000 content) and the audio deviation is exactly 1%, too, then there should be no frame drops/repeats. If the video/audio deviation differs, there have to be drops or repeats.

In this post madshi gives us all the info we need to try and solve the problem, while acting on the video side. Acting on the audio side means resampling sound so as to "adapt" it to the video clock difference. It's what Reclock does, it's what Kodi does with "Sync to display" activated, it's what Sanear is scheduled to do in the future.

For people who want to bitstream, or who would prefer to leave their audio untouched even when decoding via software, Reclock is not an option, though.
This method acts on the refresh rate you send to your screen, taking into account the interaction between audio clock and video clock discrepancies, compared to the "ideal" refresh rate.

If you follow this procedure, results are not 100% guaranteed as I've discovered some inconsistencies on specific 59.940fps files (while hannes69 has everything working almost perfectly). Nonetheless, even for most problematic cases, we've managed to get the drops/repeats down to less than 1 every two hours. Which, in my book, qualifies as good enough (and for the grand majority of files we are instead down to 1 every 9 hours or more).

The first step is deciding which refresh rate you intend to operate on. I suggest working first on the resolution/refresh that accomodates the majority of content you watch. In the example provided we will use 2560x1440@50.000.

1) Download and install Custom Resolution Utility (CRU) (http://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU).

2) Visit Pixel Clock Calculator (PCC) (http://www.monitortests.com/pixelclock.php).

3) For CRU use the instructions provided by ToastyX in its release thread, linked above.

If you are using audio through HDMI or DisplayPort be sure to add the relevant extension block files in CRU, as explained in the above link. I quote from there below.
For audio support, import one of these extension block files:

hdmi-audio.dat (http://www.monitortests.com/hdmi-audio.dat) (HDMI audio)
hdmi-bitstream.dat (http://www.monitortests.com/hdmi-bitstream.dat) (HDMI bitstreaming for A/V receiver)
displayport-audio.dat (http://www.monitortests.com/displayport-audio.dat) (DisplayPort audio)

What I do is use CRU's Automatic LCD standard timings as a starting point, as those keep the right values for front porch/back porch/sync, setting resolution and refresh and then switching to Manual timings.
Then, using Pixel Clock Calculator I aim for the correct refresh, down to the 5th or 6th decimal (talking about the @ portion in data entry). Under "Maximum decimal places" insert 2, as that, unfortunately, it's the maximum precision offered in controlling the pixel clock in our GPUs.

Comparing the standard LCD timings offered by CRU, fill in the minimum blanking and maximum blanking. As a minimum I tend to use the value offered by standard timings, with 2-300 more pixels as a maximum. Being more precise requires knowing the exact specifications of the screen you are using and it's clearly beyond the scope of this guide. What I suggest is what I've been doing, nothing more.

Keep in mind this:

Active = visible pixels
Front porch + sync width + back porch = blanking
Active + blanking = total

These numbers are *important* if you want to preserve all bitstreaming formats, as they are carried in the "invisible" portion of the HDMI signal (if you're using HDMI, that is). As an example, CEA standard timings require front porch at 638 for 1080p24Hz and 528 for 1080p50Hz.
For the "Multiple" entry, I've found 2 for horizontal and 1 for vertical to be working for me on my plasma TV, while hannes69, on a PC monitor, can use 1 for both horizontal and vertica. Your situation might be different, you can only test here. Suggestion is to start with PCC defaults at 8 horizontal / 1 vertical and slowly decrease the horizontal value if you don't get precise enough results (ie. you don't get refresh rates close enough to what you'll need).

Once you have filled in all the numbers in PCC, hit submit query and find a set of values to use for a new custom resolution in CRU. The three values PCC offers are in line with CRU, so you can use horizontal total, vertical total and refresh (up to the third decimal position) in CRU's window.

http://i64.tinypic.com/24qmsnb.jpg

Front porch and sync width will stay at the values coming from standard timings, back porch and blanking will vary according to the total values you'll input. Save, restart the driver, check that there are no wrong colors, shimmering pixels, distortion (if there are, choose different timings) and move to the following point.

http://i63.tinypic.com/xqdct3.jpg

In the example we aim for 2560x1440, with a refresh rate of 50.000Hz. PCC suggests 2720x1475 lines with a pixel clock of 200.60 MHz. Leading to a calculated refresh rate of 50.000Hz.

4) Find a video lasting at least 45 minutes and start playing it. Leave it playing for at least 30 minutes, more if you can (measurements will be more precise). Note: ReClock is known to produce inaccurate clock deviation figures, even when bitstreaming. For an accurate clock deviation, try Sanear (https://github.com/alexmarsev/sanear/releases) or the default audio renderer.

5) After the prescribed amount of time, bring up madVR OSD (CTRL+J). Take note of the following values, if you want to be rigorous, you might want to start a spreadsheet (or txt, whatever suits you) with these info, name of the file, moment of the day you tested the file (ideally here you should note for how long the PC had been running before the test).

a) movie 50.000 fps (says source filter) - I've had one case where madVR erroneusly reported 23.970 for a 23.976fps file. If something like that happens, change the file, otherwise all calculations would be skewed.
b) 1 frame repeat every x.xx minutes/hours/days (this is the value we wil try to optimize, take note of drop or repeat here, as that's crucial). In the example we get 1 frame dropped every 56.21 minutes. That is 1 frame dropped every (56.21 x 60) = 3372.6 seconds. It appears the audio clock is extremely precise, while the video clock deviates somewhat.

http://i66.tinypic.com/25te2on.jpg

To calculate the error we need to compensate for, the formula is:

1 / (number of seconds before a drop/repeat * movie framerate)

In the above example the formula becomes 1 / (3372.6 * 25.000) = 0.00001186028, that is 11.86028ppm.

To apply the compensation, we add to the refresh rate in case of frames dropped, we subtract from the refresh rate in case of frames repeated.
Given this, our compensated refresh rate in the example becomes:

50.000 * (1+11.86028ppm) ---> 50.000 * (1+0.00001186028) ---> 50.000 * 1.00001186028 = 50.00059301 (we approximate to the eight decimal here).

6) With the compensated refresh rate at hand, we go back to PCC and input it.

7) Now it's again to CRU where we input the new values (use the closer ones you manage to use with no distortion, wrong colors, etc.). For our example, we choose 2750 x 1541 with a pixel clock of 211.89MHz (it's not the closest one, but it's useful for showing you the possible iteration of the process), leading to a calculated refresh rate of 50.00058994Hz.

8) You go back to point 4 and check your new results. 45 minutes of playback and check. Ideally, you'll now find frame drops/repeats in the days range, if not "no frame drops/repeats expected".

9) In our case, instead, we get 1 frame drop every 11 hours.

http://i66.tinypic.com/j8mgrp.jpg

We then decide to go back to 5 and try to compensate some more. With the calculations shown, we get that our error diminished and is now 1.01ppm. That is 1 / ((3600 * 11) * 25)) = 0.00000101. Since we have frame drops, we add to the previous refresh rate like this: 50.00058994 * (1+1.01ppm) = 50.00064044.

Going back to PCC we get a 2860 horizontal total, 1639 vertical total and 234.38 pixel clock custom resolution leading to a calculated refresh rate of 50.00063999. Not perfect but closer. By going back to 4, we get 1 frame drop every 18.15 hours. This is definitely in the "good enough" region, as it offers some serious margin for clock variations due to temperature, etc.

http://i67.tinypic.com/149v8zo.jpg

We could iterate some more or we could be luckier than in this example and have a more precise video clock/GPU/timings relation. The process remains the same. With this configuration the closer I managed to get was 1 frame drop every 1.02 days, with a calculated refresh rate of 50.00067942Hz.

http://i65.tinypic.com/t0n2ht.jpg

Bear in mind that, during our experiments, we discovered that there are some "regions" where the GPU refuses to behave according to the input provided (lowering refresh when timings should make it rise, for instance). If you meet one of those regions, try working around it. Unfortunately, in cases like that, it becomes more a matter of trial and error than it would be ideal.

9) You can now calculate the factor by which the audio and video clock differ. 50.00067942, in our example, is the refresh rate that gives optimal results. The factor then is 50.00067942 / (2 * 25.00), using double the frame rate of the video being played back, as that's what's being displayed by madVR. The calculations gives 1.0000135884. The video clock, in this case, deviates by -13.588ppm, that is 1 - 1.0000135884.

10) You can now apply the factor calculated in the previous point to other refreshes needed. For 23.976, as an example, we would need to aim for 23.976 * 1.0000135884 = 23.97635580. As we discover our PC monitor doesn't accept such a low refresh rate, we double it. 47.952 * 1.0000135884 = 47.95265159. We go back to 3 and discover that with these values we have 1 frame drop every 17.43 hours.

http://i63.tinypic.com/ej9q9.jpg

Most definitely already in "good enough" territory, although we might want to iterate some more as shown above. Doing that, I managed to get to this:

http://i66.tinypic.com/9suuzq.jpg

Bear in mind that clock deviation can vary with temperature (https://en.wikipedia.org/wiki/Quartz_clock#Explanation), so try and get the absolute best result possible as far as drops/repeats are concerned, as that will give you some headroom to handle clock variations due to long sessions playback, room temperature changes, etc. Feel free to take periodic measurements in order to better compensate for the most likely use case.

Again a big thank you to hannes69 for all the knowledge he shared with me. :)

ashlar42
9th June 2016, 10:21
312 views and not a single comment? Is the guide useful? Everybody knew this already (I've been looking for a "clean" solution to the problem for the past 10 years and never found a good write up)? Is this not the right place to post it? Is it a giant steaming pile of crap? :D

QBhd
9th June 2016, 11:50
Fear not, Some good info here... I sure most of us are just trying to find the time to actually fine tune their Custom Resolutions. I use the built in Custom Resolutions of Crimson and use ReClock, and I think this info here can help me fine tune to even better results than I got by fiddling around with trial and error :P

I will post again when I have the time to get to it.

QB

pirlouy
9th June 2016, 18:59
312 views and not a single comment?
I was in those 312 views. Something bugged me. In the title, you mention bitstreaming. Isn't this past ? Bitstreaming seems pointless today. We can decode it with LAV filters libraries plus Windows can output 24 bits 96 kHz untouched (without exclusive mode).

For the display frequency, with 24Hz movie, I use 60Hz with smooth motion and I don't notice dropped/double frame.
For 25Hz movie, I use 50Hz, and I don't notice frames issues.

Plus your guide is to go from 1 frame lost every 45 minutes to 1 every 45 hours. So it's complicated for something you won't really notice (1 frame every 45 minutes).

Don't get me wrong. Your guide is very interesting, but it is essentially aimed at those who want perfect numbers. In real life, you can use madVR LAV filters and Windows DirectSound output and still get a smooth/perfect playback.

For those who want to tweak, it's really helpful.

hannes69
9th June 2016, 19:49
I use 60Hz with smooth motion and I don't notice dropped/double frame.
Of course smoothmotion is a valid solution for the given problem. Same as Reclock is a solution. But I consider both of these methods as a kind of "workaround" from a purist´s point of view. Both these methods work, but one alters video material, one alters audio material.
Why workaround when it can be done as it is supposed to be:D
It is supposed that a movie with a given framerate is being played back with the corresponding accurate refresh rate (multiple of the framerate). And if the underlying technology isn´t accurate enough but we can compensate that, it should be compensated:cool:
But of course I can understand that many people like to use practical solutions without fiddling around. Not everybody is built for perfection.:sly:
I am. :D

Your guide is very interesting, but it is essentially aimed at those who want perfect numbers.
YES. The guide makes use of madvr which itself is made for perfection:rolleyes: We all want results as good as possible. This guide is part of that philosophy...

ashlar42
9th June 2016, 23:51
Maybe it's the fact that if I am actually *watching* something, I notice dropped/repeated frames always.

In any case, in the guide I specify it's not just for bitstreaming, do I not?

For people who want to bitstream, or who would prefer to leave their audio untouched even when decoding via software, Reclock is not an option, though.

Of course, using Smoothmotion solves everything... But that modifies video, by design.

huhn
10th June 2016, 14:21
think about a new thread name.

people usually understand something else under a guide for smooth playback.
or with other words the name sound like "yet another madVR guide"


maybe think about some information like "A LOT of TV's can't do proper 23/24P no matter what they are doing a 3/2 pullup".

ashlar42
10th June 2016, 18:31
I don't think I can change the thread title. If a moderator has a better idea... be my guest. :)

Probably the title of the guide itself "How to limit the number of drops/repeats with madVR and custom resolutions." would be better. What do you think?

huhn
10th June 2016, 18:41
i'm not good at this naming stuff but that would be a lot better.

but think about a shorter name. i guess.

Warner306
10th June 2016, 23:28
This is pretty complicated for a noob. You should spend some time defining all of the different timing parameters and explaining what they do (e.g. Front porch: definition, Blanking: definition, etc.).

ashlar42
11th June 2016, 14:14
This is pretty complicated for a noob. You should spend some time defining all of the different timing parameters and explaining what they do (e.g. Front porch: definition, Blanking: definition, etc.).They would just complicate the guide, don't you think? As you don't interact and don't need to interact with all those other values to reach the objective.

Horizontal total, Vertical total, Pixel clock. That's it.

I could, I suppose, add a glossary at the end. But, again, incorporating it in the guide would lead people to believe they *need* to understand all that, while that's definitely not the case.

CarlosCaco
12th June 2016, 00:56
man this is great! but there´s a chance to make some solution for intel users... on intel custom resolutions theres no blanking control, the blanking is not showing at all turning things much much harder... we can calculate blanking by the total showed on the end in intels cp but its really hard to fine tune things...
worst is how custom resolution works, you can only make a 24 mode and intel automatic deliverys a 23.976 mode, same to 60 and 59.94 and 30 and 29.970...

ashlar42
12th June 2016, 15:07
For Intel you might want to have a look at this, that's been created with Intel GPUs in mind, if I recall correctly: http://www.clevertec.co.uk/productsfree.htm#dtdcalc with instructions here http://www.avsforum.com/forum/26-home-theater-computers/947830-custom-resolution-tool-intel-graphics-easier-overscan-correction.html

CarlosCaco
12th June 2016, 16:21
This method don t work on intel modern gpus, a least on my two laptops don t work, but i can use intel custom resolutions on intel control panel with my tv on, but is much harder to fine tune than nvidia custom resolutions and cru

ashlar42
12th June 2016, 18:38
I'm sorry, I'm no expert at Intel's GPUs... Always had a dedicated GPU in my eleven years of HTPCing.

river1
15th June 2016, 01:22
This is really helpful, now madvr says no frame repeat/drop expected

ashlar42
15th June 2016, 12:06
This is really helpful, now madvr says no frame repeat/drop expectedCool! Thanks a lot for letting us know. While writing this I had this nagging doubt about nobody getting any real value out of it. Seeing people happy makes me happy as well. :)

ashlar42
15th June 2016, 12:12
I think it would be nice if this guide could be linked here: http://www.avsforum.com/forum/26-home-theater-computers/2215490-madvr-player-support-thread.html

I do not have a working account on AVS and the approval process is taking ages.

Another piece of info that might be of interest is about other video renderers. madVR gives us the crucial info needed to make this all work but, once we have the custom resolutions set up correctly... theoretically they should be of benefit to whatever video renderer one might choose. Kodi, for instance, in its default version, uses its own renderer. Do the results from this work carry on there? I've never tried (Kodi DSPlayer for me, plus MPC-HC with madVR) but it would be interesting to know.

Edit: I did a preliminary test with standard Kodi, DVDPlayer selected, and it seems to confirm that it works correctly. Two and a half hours with no frames lost or repeated.

Warner306
19th June 2016, 21:51
I think it would be nice if this guide could be linked here: http://www.avsforum.com/forum/26-home-theater-computers/2215490-madvr-player-support-thread.html

I do not have a working account on AVS and the approval process is taking ages.

Another piece of info that might be of interest is about other video renderers. madVR gives us the crucial info needed to make this all work but, once we have the custom resolutions set up correctly... theoretically they should be of benefit to whatever video renderer one might choose. Kodi, for instance, in its defaul version, uses its own renderer. Do the results from this work carry on there? I've never tried (Kodi DSPlayer for me, plus MPC-HC with madVR) but it would be interesting to know.

Edit: I did a preliminary test with standard Kodi, DVDPlayer selected, and it seems to confirm that it works correctly. Two and a half hours with no frames lost or repeated.

Added to that AVS Forum link.

ashlar42
21st June 2016, 18:05
Added to that AVS Forum link.Thanks Warner, didn't realize it was you. :)

CarlosCaco
9th July 2016, 00:40
I tried some more and can get DTD working on my intel, so i used this guide and on the first try i get a very good result only with the first part of the guide, pickup a pixel clock for 23,976, calculated on CRU and made the resolution on DTD (is very similar to CRU) and get a frame drop every 2,86 hours... thats great... but how i can count the seconds for that? if i assume that 86 are minutes so i will do 206 x 60 = 12360 seconds. But if 86 were minutes, why the hell madVR wil report 2,86 hours and not 3,26 hours... so i can assume that 86 is not minutes, 86 can be fraction of an hour? if is this i put 2,86 on time conversor and get 2,86 hours = 10296 seconds...
does anyone knows what is the correct math here?

if you guys accord i can write a appendice to your guide to use your method on intel with DTD calculator! thats a good thing for people like me who is stacked on intel because nvidia optimus... i see lots and lots of people complaning about the intel drivers limitation, and really surprise me how easy i achieved a decent result, but i want do the rest of correction, can you guis help with calcules?
really great this guide

btw if a intel user ready this, the thing is if we use the values showed in cru on intel control panel, we don ´t get the same results because intel alters the blanking and total pixels... but if use on DTD works like expected... also intel control panel only allow to use interger values for refresh rate ex 24.000 but not 23,976... but with DTD you can apply this values...

ashlar42
10th July 2016, 11:04
If you write an addendum for Intel, I would gladly add it to the guide (crediting you).

It's always fractions of hours, you multiply by 3,600 to get the seconds. You were correct, basically. I'll clarify in the guide where needed.

I am glad you found it useful. :)

robl45
24th July 2016, 15:34
Could you explain exactly what we are doing here. I've read your instructions 5 times now and I don't understand the relationship between the two programs. For example, I have an nvidia GTX960 I bring up CRU and detailed resolution I pick 1920x1080, put in refresh 23.976 and I get 23.977 actual when using automatic lcd timings. Then I go manual and basically adjust any one parameter down one and I get 23.976 actual. So what is the PCC used for? Further which parameter is best to adjust? I had done this before and had a problem with my wireless HDMI as it didn't like the non standard settings and would keep losing sync. As for the audio renderer, are you saying that testing this having reclock using original frame rate for media correction will not work?

EDIT: While I still don't fully understand whats going on with both programs, I did try editing custom resolution in the nvidia control panel. It appears that it messes up 3d resolution though.

ashlar42
28th July 2016, 12:07
robl45, I'll try to summarize.

madVR provides us with different information that informs us of the clock deviations of video and audio clock, measured against the system clock as a reference.

For the audio clock you get the self explaining Clock deviation entry in the OSD; if the audio clock had no deviation you would get 0.00000%. For the video clock you need to look a the measured refresh rate (Display entry in the OSD) against the refresh rate you would expect from the timings you used; if the video clock had no deviation, by using perfect 24/1.001 timings you would get Display 23.97602.

The frame drop/repeat entry in the OSD is the result of a calculation that takes into account both clock deviations and how they interact. Not wanting to resample audio, we can't change the audio clock. We cannot even change the video clock (it's simply not doable). What we can do is, basically, cheat in producing a slightly higher or slightly lower refresh rate (compared to the optimal 23.97602 in case of movie content), in order to compensate the interaction between audio and video clock.

Quoting once more madshi:If e.g. the measured refresh rate is 24.24000Hz (1% too fast for 24.000 content) and the audio deviation is exactly 1%, too, then there should be no frame drops/repeats. If the video/audio deviation differs, there have to be drops or repeats.

This is exactly what we achieve by cheating. We cannot change the video clock, we want to leave the audio untouched. So, taking into consideration the video clock deviation we aim for a refresh rate that compensates audio/video clocks deviations. The refresh rate you get, compared to the timings you input, is a result of the video clock deviation. You cannot change the video clock but you most definitely can change the refresh rate you aim at.

Have I managed to be clearer?

robl45
28th July 2016, 12:14
I understand what you are doing, its the getting there with the two pieces of software that I don't understand. I did try it with the CRU and that messed up the system really badly. I tried just playing with the custom refresh rate in the nvidia control panel and that seemed to mess up the 3d refresh rate. At this point I'm just using the internal intel graphics that can do 23.976 without a problem, but it sucks because its a waste of the GTX950 card.

robl45, I'll try to summarize.

madVR provides us with different information that informs us of the clock deviations of video and audio clock, measured against the system clock as a reference.

For the audio clock you get the self explaining Clock deviation entry in the OSD; if the audio clock had no deviation you would get 0.00000%. For the video clock you need to look a the measured refresh rate (Display entry in the OSD) against the refresh rate you would expect from the timings you used; if the video clock had no deviation, by using perfect 24/1.001 timings you would get Display 23.97602.

The frame drop/repeat entry in the OSD is the result of a calculation that takes into account both clock deviations and how they interact. Not wanting to resample audio, we can't change the audio clock. We cannot even change the video clock (it's simply not doable). What we can do is, basically, cheat in producing a slightly higher or slightly lower refresh rate (compared to the optimal 23.97602 in case of movie content), in order to compensate the interaction between audio and video clock.

Quoting once more madshi:

This is exactly what we achieve by cheating. We cannot change the video clock, we want to leave the audio untouched. So, taking into consideration the video clock deviation we aim for a refresh rate that compensates audio/video clocks deviations. The refresh rate you get, compared to the timings you input, is a result of the video clock deviation. You cannot change the video clock but you most definitely can change the refresh rate you aim at.

Have I managed to be clearer?

ashlar42
28th July 2016, 12:26
I understand what you are doing, its the getting there with the two pieces of software that I don't understand. I did try it with the CRU and that messed up the system really badly. I tried just playing with the custom refresh rate in the nvidia control panel and that seemed to mess up the 3d refresh rate. At this point I'm just using the internal intel graphics that can do 23.976 without a problem, but it sucks because its a waste of the GTX950 card.Hmmm, ok. I personally use a GTX 660 with no problem (it even survived the upgrade to Windows 10 from 8.1, by just reimporting the CRU settings I had exported previously as a backup).

Considering it's somewhat unintuitive nature, I suspect there might be human error at play here. You really should write in CRU's forums, its author usually answers quickly. If CRU had widespread problems with Nvidia cards we would have heard by now.

chros
29th August 2016, 12:19
I tried some more and can get DTD working on my intel, so i used this guide and on the first try i get a very good result only with the first part of the guide, pickup a pixel clock for 23,976, calculated on CRU and made the resolution on DTD (is very similar to CRU) and get a frame drop every 2,86 hours... thats great... but how i can count the seconds for that? if i assume that 86 are minutes so i will do 206 x 60 = 12360 seconds. But if 86 were minutes, why the hell madVR wil report 2,86 hours and not 3,26 hours... so i can assume that 86 is not minutes, 86 can be fraction of an hour? if is this i put 2,86 on time conversor and get 2,86 hours = 10296 seconds...
does anyone knows what is the correct math here?

if you guys accord i can write a appendice to your guide to use your method on intel with DTD calculator! thats a good thing for people like me who is stacked on intel because nvidia optimus... i see lots and lots of people complaning about the intel drivers limitation, and really surprise me how easy i achieved a decent result, but i want do the rest of correction, can you guis help with calcules?
really great this guide

btw if a intel user ready this, the thing is if we use the values showed in cru on intel control panel, we don ´t get the same results because intel alters the blanking and total pixels... but if use on DTD works like expected... also intel control panel only allow to use interger values for refresh rate ex 24.000 but not 23,976... but with DTD you can apply this values...
How did you managed to apply the calculated entries?
What display did you used, is it with HDMI?
Thanks

@ashlar42: thanks for the detailed guide. Although I'm an Intel (optimus) user :)

Stereodude
29th August 2016, 16:50
FWIW, I lost HDMI audio on my GTX1080 when I tried to follow the directions in the first post and created a custom EDID block. Instead I used the Nvidia driver to create a custom resolution using the numbers from CRU and PPC. I was able to use timings from PPC that gave an exact match to enter timing parameters for 24/1.001. MadVR measures it as 23.975, but it was in the frame drop every 7.5 hour range after a 2 hour movie and it had 0 drops or repeats for the whole thing. An attempt to further tweak it gave worse results, so I went back.

madVR will switch into the driver's custom resolution instead of the default 23.97Hz mode.

ashlar42
30th August 2016, 10:02
Hi Stereodude, are you sure to have added the correct custom blocks to EDID? CRU offers HDMI audio as a custom block to add (I should actually add this to the guide, it's CRU specific but the fact remains that people have reasonable expectations to read this guide and NOT lose their audio). Then again, if you have managed to get into the 7.5 hours range before a drop... I wouldn't bother fixing what ain't broken. ;)

Edit: see here http://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU?page=1&highlight=hdmi which is the same post I link in the guide. Look for this paragraph: "For audio support, import one of these extension block files"

Edit 2: I've added a clarification in the guide. Thanks for replying here Stereodude, as that gave me the chance to fix this.

CarlosCaco
30th August 2016, 17:40
How did you managed to apply the calculated entries?
What display did you used, is it with HDMI?
Thanks


Hey chros and everybody first sorry to all i said that i will write the intel part but did not have time yet...

I m using an hdtv with hdmi

For now i tell a simple way that s not the better way to put the values on the dtd, when i got the time i will right with details and pictures a better way...

For now do this:

Follow the instructions on this Guide and apply the values on CRU, when you restart the drive Intel will not reconize the new edid but madvr will show a new display entry... Go on this new display entry copy the raw edid information....
In dtd paste this on invert calculation and get calculate...
Once calculate choose resolution you made in cru, go to registry hack section on the dtd calculate and apply this dtd and write to register...

The system will restart and if all go right you will got the new resolution...

Reading some Guides about its adverted that in some systems intel will not accept a resolution that is the same to a pre existed resolution ex: 1920x1080p24 if your tv already have this mode... If this happen
You have to made a different resolution like: 1919x1080p24... On my
System i don t have this problem but you maybe get this situariam... Also on my system dtd calculator only work with externas display and don t work with the internal display...
Good luck!

chros
31st August 2016, 12:24
Follow the instructions on this Guide and apply the values on CRU, when you restart the drive Intel will not reconize the new edid but madvr will show a new display entry... Go on this new display entry copy the raw edid information....
In dtd paste this on invert calculation and get calculate...
Once calculate choose resolution you made in cru, go to registry hack section on the dtd calculate and apply this dtd and write to register...

The system will restart and if all go right you will got the new resolution...

Reading some Guides about its adverted that in some systems intel will not accept a resolution that is the same to a pre existed resolution ex: 1920x1080p24 if your tv already have this mode... If this happen
You have to made a different resolution like: 1919x1080p24... On my
System i don t have this problem but you maybe get this situariam... Also on my system dtd calculator only work with externas display and don t work with the internal display...
Good luck!
Thanks, I'll try it out with 23.976 content.
Yes, my TV has all the modes in EDID (23,24,25,29,30,etc.), so maybe that's why it didn't worked for me when I played with it. If that's the case then (again) we have to wait for precious Intel to fix this 5 years old issue: https://communities.intel.com/thread/25904?start=120&tstart=0

About "1919x1080p24" mode: will madvr resize the content in this case? (if my TV accepts this mode at all) If so, then (again) it's not a good solution.

What modes does your TV have?

CarlosCaco
31st August 2016, 15:01
Thanks, I'll try it out with 23.976 content.
Yes, my TV has all the modes in EDID (23,24,25,29,30,etc.), so maybe that's why it didn't worked for me when I played with it. If that's the case then (again) we have to wait for precious Intel to fix this 5 years old issue: https://communities.intel.com/thread/25904?start=120&tstart=0

About "1919x1080p24" mode: will madvr resize the content in this case? (if my TV accepts this mode at all) If so, then (again) it's not a good solution.

What modes does your TV have?


Deppends, on my old tv the OS reported the resolutiona as 1919x1080 but in madvr showed 1920x1080... In my new tv the native resolution is 1366x768... The things is if madvr will scale the image just set disable scaling if... In madvr zoom options.... But i higly recommend you try the normal mode 1920x1080 more than one time with difrerents pixel clocks just to be safe that is working or not, also try the 1919x1080 option and see what happens... Its not bad as seens

Siso
1st September 2016, 21:00
So this guide is only for bitstreaming? How about a regular playback on a pc monitor with reclock? Right now I'm using 72 hz with cru automatic lcd standart timings, would it help if I use your guide?

huhn
1st September 2016, 21:26
you can stop using reclock if you follow this guide.

Siso
1st September 2016, 22:02
you can stop using reclock if you follow this guide.

Sounds legit :D

ashlar42
2nd September 2016, 10:37
Sounds legit :DI know I need to rephrase some stuff better in the guide, sorry for any misunderstandings about its purpose.

If you use Reclock just for smoothing playback and avoiding frame drops/repeats, yes you can avoid using it by following this guide. Even if you decode onboard and send out PCM material.

If you use Reclock for PAL speed-down, then no, you won't be able to achieve that following this guide.

The basic idea is that video follows audio. If you don't want to touch audio (like Reclock does), you need to adapt video to the minute variation that audio clock has compared to video clock. How to do it is explained in the guide.

Siso
2nd September 2016, 10:58
I know I need to rephrase some stuff better in the guide, sorry for any misunderstandings about its purpose.

If you use Reclock just for smoothing playback and avoiding frame drops/repeats, yes you can avoid using it by following this guide. Even if you decode onboard and send out PCM material.

If you use Reclock for PAL speed-down, then no, you won't be able to achieve that following this guide.

The basic idea is that video follows audio. If you don't want to touch audio (like Reclock does), you need to adapt video to the minute variation that audio clock has compared to video clock. How to do it is explained in the guide.

Thank you :)

I've tried some custom resolutions with multiple by 8 for horizontal and it seems ok :D

Q-the-STORM
5th September 2016, 15:49
This was working for me before, I reinstalled nvidia drivers and it wiped out custom resolutions.
Now I'm trying it again, but now part of the bottom of the image goes beyond the screen... (like it's vertically streched, windows task bar is half cut off)

I got windows 10 pro x64 connected to a Pioneer LX89 which connects to a LG OLED E6
this is what I set:

http://justpic.info/images4/9a52/9hPjDN.jpg

only the first one works at all, the other exact matches give me a black image (audio still works)

ashlar42
6th September 2016, 10:55
Q-the-STORM, what about trying CRU?

Siso
7th September 2016, 14:37
With sanear audio renderer, I've managed to make 1 frame repeat or drop to around 5 hours, with mpc-be audio renderer with wasapi and "sync audio to video", I've managed to make around 10 hours on 1 frame repeat or dropped. This is with exact 71.928 hz (72/1.001) refresh rate. Any suggestion to improve things even more?

ashlar42
12th September 2016, 11:58
With sanear audio renderer, I've managed to make 1 frame repeat or drop to around 5 hours, with mpc-be audio renderer with wasapi and "sync audio to video", I've managed to make around 10 hours on 1 frame repeat or dropped. This is with exact 71.928 hz (72/1.001) refresh rate. Any suggestion to improve things even more?Siso, I'm not familiar with MPC-BE but if you read the guide, you should understand that the aim is not to have a "perfect" refresh rate, but a refresh rate that takes in consideration the differences between audio and video clock. And the guide explains how to do that.

CarlosCaco
17th September 2016, 17:09
I get a new pc with a GTX 570...
Made a resolution in cru for 23.976

I get a great a result on the first try, but in osd the refresh rate Kepp oscilating between 23.97635 and 23.97634 so the frame repeteads keep oscilating too between 13 and 14 hours.... someone know why this happening? I not pushing the gpu tô limite and the temperatures are above 60c

huhn
17th September 2016, 17:14
just live with it.

nevcairiel
17th September 2016, 23:25
I get a new pc with a GTX 570...
Made a resolution in cru for 23.976

I get a great a result on the first try, but in osd the refresh rate Kepp oscilating between 23.97635 and 23.97634 so the frame repeteads keep oscilating too between 13 and 14 hours.... someone know why this happening? I not pushing the gpu tô limite and the temperatures are above 60c

Graphics card clock generators are usually not accurate enough to get an absolutely perfect result in some cases.

It seems however unlikely that one frame drop or repeat every 13 or 14 hours is going to be a problem, as movies or shows typically aren't that long. ;)

CarlosCaco
18th September 2016, 08:03
Graphics card clock generators are usually not accurate enough to get an absolutely perfect result in some cases.

It seems however unlikely that one frame drop or repeat every 13 or 14 hours is going to be a problem, as movies or shows typically aren't that long. ;)

Yeah this is not the problem, the problem is that the oscilating reports make very difficult to apply the same values to
Other modes like in this guide, so i have tô calculate each mode separated

ashlar42
18th September 2016, 11:47
Hi Carlos. Unfortunately this is not an exact science. I mentioned some inconsistencies in the guide. I don't know why but they are to be expected. As others have pointed out, the important thing is ending up with results that are "good enough". If you have drops or repeats after 13 or 14 hours it's pretty much the same as "never" for all intended purposes.

CarlosCaco
18th September 2016, 16:38
I m happy with the results, the question was just because with this situation I can t apply the part 10 of This guide wich saves a lot of time... just asked to know if there's something wrong, but is okay I will take some more tim to fine tune my others refresh rates...

ashlar42
18th September 2016, 21:03
I m happy with the results, the question was just because with this situation I can t apply the part 10 of This guide wich saves a lot of time... just asked to know if there's something wrong, but is okay I will take some more tim to fine tune my others refresh rates...Well, if the variation is between 13 and 14 hours, I would try a median factor for part 10 of the guide. It should provide satisfactory results. Is that not the case?

Q-the-STORM
25th September 2016, 09:29
Q-the-STORM, what about trying CRU?

When I use CRU to set the custom resolution and restart the driver, it sets resolution to 1080p60 and nvidia panel is suddenly showing that I'm connected via DVI instead of HDMI and max resolution is 1080p... so for me setting 2160p23 with CRU isn't quite working...

ryrynz
28th September 2016, 07:47
Trying to get 23.976Hz from a GTX 960 to a Panasonic VT50.
This (http://i.imgur.com/hrYaKHj.png) is what I've set based on the guide on first page, using this I get a black screen upon entering Windows.

Based on what Lynx74 says here, (http://www.monitortests.com/forum/Thread-Custom-Resolution-Utility-CRU?page=65) he required between 2630 and 2650 total horizontal lines to get an image. What do I do now?