[Linux] HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [Linux] HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware (/showthread.php?tid=70068)
- Laundro - 2010-08-08 22:44
I have a problem with severe juddering (ie image flipping between frames as it were) with 24p HD content on a 24p display. I've executed the script on page 1 of this thread, but it did not help.
My TV is a Sony Bravia, with the following specs:
My xorg.conf looks like this:
24p content in 60Hz works OK, except for the small twitch now and then, which is why I want to be able to play back 24p content in a 24p display...
The system's a ION 300-HT, with Xbmcfreak 10.08 live CD installed (svn32178).
I've cycled through all the options in XBMC, but nothing helped.
Update: I've noticed that when disabling sync display, and enabling audio to sync with, the small glitches are fewer in number... It's a bit better this way, but of course I'm still wondering why 24p won't work on my system (it's judder from beginning to end....)
- phillyfan1138 - 2010-08-11 21:50
Using this method I have near perfect playback. I still have a jerk in the video every few minutes. I do not know why I have this jerk, since xbmc is using my monitor's edid info. Changing the sync to display to drop/dupe audio did nothing. xbmc says I am dropping no frames and having no sync errors.
The really odd thing is that on 60hz (59.94) the video is almost unwatchable. The judder is horrible, though at least it is constant. Video played at 60hz from my xbox 360, however, is very smooth.
EDIT: apparently, I have become too adjusted to near perfect 24p playback: 60hz from my xbox is just as bad as from xbmc
- phillyfan1138 - 2010-08-13 02:03
Well, I may have solved my problem. My tv sends standard edid information, which it turns out is 23.975757 instead of 23.976023976023976. I wiped my drive, reinstalled xbmc-live, and used a modeline that is as close to 23.97602 as possible. So far so good, no stutters. Still have more testing, but things look good for now.
ModeLine "1920x1080_24" 74.230 1920 2560 2604 2752 1080 1084 1089 1125 +hsync +vsync
is my modeline that worked. The refresh rate is 23.9760981912144, so that over 220 minutes of video would have to play before a frame would skip (theoretically).
- SofaKng - 2010-08-16 14:20
Does my projector support 23.97/24? It looks like the answer is no but I don't know if modelines can fix it?
Here's the output from for i in 24 60; do xrandr -r $i; nvidia-settings -q RefreshRate | grep -o "[0-9][0-9].*Hz"; done:
...and here's my ModeDebug Xorg.0.log lines:
Also, the Xorg.0.log says my projector is reporting a Valid VRefresh Range of 50 - 85, but according to my manual it should be 50 - 100. I'm not sure if this is causing any problems though (or preventing 23.97/24 mode).
- LB06 - 2010-08-17 09:40
phillyfan1138 Wrote:Well, I may have solved my problem. My tv sends standard edid information, which it turns out is 23.975757 instead of 23.976023976023976. I wiped my drive, reinstalled xbmc-live, and used a modeline that is as close to 23.97602 as possible. So far so good, no stutters. Still have more testing, but things look good for now.How can you see what your exact refresh rate is?
- phillyfan1138 - 2010-08-17 21:02
Quote:How can you see what your exact refresh rate is?
Theoretically it is (74.230/2752)/1125 times 1000000. Further testing actually revealed a small amount of stuttering at that modeline, so I switched to a more standard modeline of 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync which should be 23.97575757..... I have not tested this resolution yet.
- TutAmongUs - 2010-08-19 03:19
Ayla Wrote:Thanks for that, I will try it when I get home!
Try using suspend instead of shutting down. Then, you can be assured that the machine will return to its prior state. And usually quite a lot faster as well.
I noticed a laptop that would always revert back to a single display, and setting the widescreen display up on the vga port every boot time was a pain. Suspend works. Hibernate is bad, because there is no need to do any kind of dump like that or get back to that exact state. Anyway, HTH.
- UglyBob - 2010-08-20 10:14
phillyfan1138 Wrote:Well, I may have solved my problem. My tv sends standard edid information, which it turns out is 23.975757 instead of 23.976023976023976. I wiped my drive, reinstalled xbmc-live, and used a modeline that is as close to 23.97602 as possible. So far so good, no stutters. Still have more testing, but things look good for now.
I have a similar problem like you. How can I check if it's the same reason as your problem? I can fetch my edid info from my projector, but how can I see if something is wrong? I'm not sure how you came to your conclusion...
- fuzzmo - 2010-08-26 13:35
I just want to say thank you so much for this!!! You are a star, I have messed around so much that I was losing the will to live until your script solved all my problems. It even autoswitches when fed a different source which is brilliant!
Now to get to grips with XBMC (was using Boxee, but unfortunately that stays on 1080p 60Hz and doesn't switch to 24p when playing the movies etc. that require it)...
- rossoneri711 - 2010-08-31 22:53
I have run the script you posted and it does change the refresh rate of the TV perfectly, so i am guessing its working fine. My problem is that i still have some stutter in fast moving sequences and not only, and was wondering whether or not i have the right options in XBMC.
I am running Ubuntu Lucid with full desktop, on ASROCK ION 330 HT-BD, with the latest PPA.
Below are the options i have set up:
Quote:Render Method : AUTO DETECT
It would be great if you can let me know whats the right setting, so to achieve that flawless playback.
PS: dont know if its of help to you, but i only pay 720p content, mostly MKV