[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)
- JunkDeluxe - 2010-03-27 16:45
New at Ubuntu, so its a bit hard to wrap your mind around these kind of things.
I was having a bunch of problems with tearing af refreshrates, then i finally found this post. I followed it as best as i could, and the refresh rate issue is fixed, but now i am having trouble with the aspect ratio
When i load a 1080p movie i the video is stretched really far out, and the same for 720p.
If i correct the aspect ratio manually for a 1080p movie the aspect ratio wont work on 720p, and i have to adjust it again. Tried all the "normal" modes in XBMC, Stretch, Original, Normal, etc. Can't XBMC pull the native aspect ratio from the file and just send that?
I tried going to the IRC chan, but people werent answering there.
My xorg.conf is as follows:
Please reply if i'm doing anything wrong or you need other information.
- Evanrich - 2010-03-28 06:09
just ran your script, but got the following errors...are these ignorable (the can't resolve ones)?
Quote:xbmc@ION-HTPC:/tmp$ sh nvidia.sh
- JuiceZ - 2010-03-30 03:15
Just wanted to say thanks to OP, that guide worked for me.
- JumJum - 2010-03-30 07:38
Evanrich Wrote:just ran your script, but got the following errors...are these ignorable (the can't resolve ones)?
The errors are harmless and completely unrelated to the script. My guess is you changed your hostname without adding it to /etc/hosts.
- JumJum - 2010-03-30 07:46
JunkDeluxe Wrote:New at Ubuntu, so its a bit hard to wrap your mind around these kind of things.
If you use the modes and settings posted here, your computer does output the correct aspect ratio. Your problem is almost certainly that your tv is not set to display exactly what it recieves without changing the aspect ratio.
Find and enable the pixel mapping or dot-by-dot setting on your tv and you should be fine.
- satch - 2010-03-30 11:40
When I try to run the script I get the following error msg:
nvidia.sh: 12: Syntax error: "||" unexpected
- JumJum - 2010-03-30 16:26
satch Wrote:When I try to run the script I get the following error msg:
You probably have DOS line feeds in your file. Either download the script using the command in the first post, or fix your current script with:
- satch - 2010-03-30 18:29
JumJum Wrote:You probably have DOS line feeds in your file. Either download the script using the command in the first post, or fix your current script with:
That solved the problem, thank you! The only problem now is that I have quite a bit of overscan now within ubuntu - what's the best way to fix that? I can adjust the overscan for xbmc, but I have no idea how to adjust it for ubuntu.
- JumJum - 2010-03-30 18:36
satch Wrote:That solved the problem, thank you! The only problem now is that I have quite a bit of overscan now within ubuntu - what's the best way to fix that? I can adjust the overscan for xbmc, but I have no idea how to adjust it for ubuntu.
You'll get the best image quality if your TV has a dot-by-dot or or pixel mapping setting. This fixes the overscan in both Ubuntu and XBMC.
Since a few releases back there's also a overscan compensation setting in nvidia-settings. Using this will reduce the image quality slightly.
- bobo1on1 - 2010-03-30 18:49
Overscan is usually a feature of your tv, check the manual.
- satch - 2010-03-30 20:01
Found the setting (was called just scan), everything's fine now
- zosky - 2010-03-30 20:29
i ran the script on a fresh xbmcBuntu (r28256) and all went smooth
there's a lot of misconception and confusion around what to do for things to run optimally
& it sounds like you know what you're taking about
- OcnewB - 2010-04-01 17:52
Your guide / script helped me to finally get rid of THE judder i experienced.
Thank you so much!
However one q:
my asrock is hooked up to my tv via my marantz7002 receiver.
What way should i run the script? Tv directly connected by hdmi and run?
Or should i use the script on the receiver ? And leave the tv out?
Becuz it will produce 2 different xorg's. Which one 2 use?
- Starstream - 2010-04-02 15:48
Did this on my XBMC Live system with Philips TV through Putty and worked fine.
Though to be be honest I never really noticed judder to be begin with & was just curious but everything seems a lot quicker in action 30 rock especially.
One thing does the automatic script sets the XBMC resolution to 1920x1080@60Hz mine was already that.
- TheShortOfIt - 2010-04-02 21:10
Hey guys... using this script too.. changing on 24hz and else works fine but I still have small judder in some movies... every few minutes... like a framerate drop... how can this be?