XBMC Community Forum
[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)



- thethirdnut - 2011-05-31 06:57

I have a Sammy PN58A550 and it works well.

Just curious why that distro is using a 3+ year old release?


- Observer - 2011-06-01 06:08

thethirdnut Wrote:Just curious why that distro is using a 3+ year old release?

Running on an Apple TV, and given memory constraints that is the only one that will fit and leave enough memory to run XBMC successfully.

Please can you share your config files

Thanks!


- thethirdnut - 2011-06-01 06:15

Hi. The /etc/X11/xorg.conf will be TV, amp/receiver -AND- video card specific so might not be of much use to you, but here it is below.

Also, I'm not sure about the ATV compatibility, but ubuntu minimal starts with a 12 MB ISO.

Code:
Section "Device"
        Identifier "nvidia"
        Driver  "nvidia"
        Option  "NoLogo"              "true"
        Option  "NoFlip"              "true"
        Option  "DynamicTwinView"     "false"
        Option  "FlatPanelProperties" "Scaling = Native"
        Option  "ModeValidation"      "NoVesaModes, NoXServerModes, NoVertRefreshCheck, NoHorizSyncCheck"
        Option  "UseDisplayDevice"    "DFP-1"
        Option  "ModeDebug"           "true"
    Option  "HWCursor"            "false"
EndSection

Section "Screen"
        Identifier      "screen"
        Device          "nvidia"
        SubSection      "Display"
                   Modes "1920x1080_60_0" "1920x1080_24" "1920x1080_30"
        EndSubSection
EndSection

Section "Extensions"
        Option  "Composite"           "false"
EndSection


#  --- Modes in ModePool for DON DENON-AVAMP (DFP-1) ---
#  "nvidia-auto-select" : 1920 x 1080 @  60.0 Hz  
#  "1920x1080"          : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60"       : 1920 x 1080 @  60.0 Hz  
#  "1920x1080_60_0"     : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16)
#  "1920x1080_30"       : 1920 x 1080 @ 29.97/30 Hz (CEA-861B Format 34)
#  "1920x1080_24"       : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32)
#  "1920x1080_60i"      : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5)
#  "1440x480"           : 1440 x  480 @ 59.94/60 Hz (CEA-861B Format 15)
#  "1440x480_60"        : 1440 x  480 @ 59.94/60 Hz (CEA-861B Format 15)
#  "1280x720"           : 1280 x  720 @  60.0 Hz  
#  "1280x720_60"        : 1280 x  720 @  60.0 Hz  
#  "1280x720_60_0"      : 1280 x  720 @ 59.94/60 Hz (CEA-861B Format 4)
#  "720x480"            :  720 x  480 @  59.9 Hz  
#  "720x480_60"         :  720 x  480 @  59.9 Hz  
#  "640x480"            :  640 x  480 @  60.0 Hz  
#  "640x480_60"         :  640 x  480 @  60.0 Hz  
#  --- End of ModePool for DON DENON-AVAMP (DFP-1): ---



- constrictor - 2011-06-04 00:21

In case anyone is curious, I still have not solved my screen drops problem. Ive actually found the screen drops to be a lot more frequent than once every 30 seconds. Sometimes I'll get a rash of them in a row, then its fine for a while. Whats funny is when I get screen drops, the audio NEVER drops, its always video only.

Nothing in my setup has changed because for the most part everything does work well. In the past Ive had much more critical problems whcih would prevent this from working for me at all, so Im afraid to touch my setup, and so far have just dealt with the occasional screen drop, but it sure would be nice to get perfect playback.

FWIW, I am positive the problem isnt with the files themselves as they all play perfectly in XBMC for Windows or in VLC in Windows. It has something to do with how XBMC under Linux renders Nvidia video to my TV.


- villeneuve - 2011-06-10 22:51

Have you tried to disable the power saving/downclocking function of the Nvidia graphic-chip?


- Dergert - 2011-06-19 08:15

Thank you very much for this script. Sorted my problem.


- Robdeep - 2011-06-24 01:57

Is this script recommended for ION systems that only occasionally stutter as well? I'm running 10.1 live, and sometimes the video from a mkv file will pause but the audio will continue and then re-sync a few seconds later. Otherwise I rarely drop any frames even with high bit-rate content.


- fabridelo - 2011-07-04 22:54

Hello stefano85
Is possibile talk in private? I don't speak english well.
Bye

Ps come si fà a parlare in privato?


- jomo - 2011-08-09 10:18

Hello everyone !
I used this script successfully on an old ubuntu version (not sure 9 or 10, don't remember), but i still haven't been able to get rid of the jitters on Ubuntu 11.04 (+ last unstable vers. of XBMC)....
I have tried everything I could (xbmc and nvidia settings, xorg.conf created and modified manually)
I really don't know where the problem comes from (ubuntu, xbmc eden, nvidia drivers...)

Maybe somebody could help ?

My HT-PC :
Acer Revo 3600
Nvidia ION Platform
Atom N230
2Go RAM

Thx


- Stefanhvt - 2011-08-11 19:49

The Judder problem must be ION, VDPAU, DXVA2 related !

To many people experience this problems with hardware like asrock, or others.

It is unsolvable !

If it was truly xbmc or linux related than people would not experience this problems with players as VLC or others on a Windows Desktop. But even there the problem remains.

It must be a limitation of the hardware itself en al the other workarounds that are there to fix the 24p problem are just overlaying problems of the real core of the problem.

Everyone, I think it's best to stop looking for a solution and buy a system that is capable of viewing 1080p without extended hardware acceleration.