Kodi Community Forum
Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/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)

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


- neil.j1983 - 2010-05-17

for totally smooth i had to disable all vsync options in the nvidia-settings, i alsa had to disable flipping.

then install xbmc-standalone and login with XBMC as my session type instead of gnome.

a minimal install seems better at the moment.


- dkun - 2010-05-17

sorry, I need more instructions, coz I really have no clue about Linux.


- neil.j1983 - 2010-05-17

in a terminal type:

sudo apt-get install xbmc-standalone

this installs it so when you login xbmc is loaded instead othe desktop (you can change it between xbmc and the desktop at each login.

now type:

nvidia-settings

and on the left hand side select "OPENGL SETTINGS" then untick vsync

then click on OPENGL/GLX and untick vsync and flipping.

now open xbmc and under settings->system->video make sure vsync is set to "always enabled"

then exit xbmc. log out and when you log in (click on your username, but dont type password or click ok) at the bottom of the screen you can change "session type" to XBMC instead of gnome.

You should have a nicely working xbmc now.

if you want to go back to the desktop press "s" in xbmc and pick exit xbmc, then when you log in switch the "session type" back to GNOME.

it worked for me, hopefully it'll work for you. But as with all computers, there's no guarantees.


- dkun - 2010-05-17

Thanx!
Does it work with XBMC Live as well?
I am asking, coz it has no desktop. At least as far as I know.


- TSlackM - 2010-05-17

Tnx neil.j1983, running xbmc standalone did the trick
no dropped frames so far


- neil.j1983 - 2010-05-17

dkun Wrote:Thanx!
Does it work with XBMC Live as well?
I am asking, coz it has no desktop. At least as far as I know.

sorry, if you're running xbmc live i dont think this will help.


- stefano85 - 2010-05-17

neil.j1983 Wrote:sorry, if you're running xbmc live i dont think this will help.

Hope if there also a solution for the xbmc non-standalone version, because if i log in xbmc-standalone i lost the possibility to download with jdownloader or torrent. sorry for english.


- TSlackM - 2010-05-17

i am amazed at running xbmc as standalone in its own session.
no dropped frames in movies that usually drops about hundred.

25fps 1080 movies always worked great in desktop but not 23.976.

what can be the problem with running xbmc in gnome (lucid 10.04)?


- neil.j1983 - 2010-05-17

i was amazed too. Not sure why, but I'm glad it works!


- stefano85 - 2010-05-18

TSlackM Wrote:i am amazed at running xbmc as standalone in its own session.
no dropped frames in movies that usually drops about hundred.

25fps 1080 movies always worked great in desktop but not 23.976.

what can be the problem with running xbmc in gnome (lucid 10.04)?

Same HERE, only on 23.976 movies. early i've made a few test...one of those is to disable stuffs/service that gnome runs at boot, and MAYBE i've found the trick. i've disabled the clock applet either the icon to restart/shutdown the session (all of the applets in the right up corner) and it seems that the stutter every 1 minute is gone, or maybe it's just me that i'm going sick. anyone can test it? bye


- neil.j1983 - 2010-05-19

stefano85 Wrote:Same HERE, only on 23.976 movies. early i've made a few test...one of those is to disable stuffs/service that gnome runs at boot, and MAYBE i've found the trick. i've disabled the clock applet either the icon to restart/shutdown the session (all of the applets in the right up corner) and it seems that the stutter every 1 minute is gone, or maybe it's just me that i'm going sick. anyone can test it? bye

yea, had the same issue. gone to a minimal install of karmic. and that's ok so far (except for one issue - http://forum.xbmc.org/showthread.php?tid=73860)


- Michael 2010 - 2010-05-20

could some one fix the paste bin link its broken please Blush

cant seem to run the script any help would be Appreciated

a use this comand sh nvidia.sh but nothing happens
thank michael


- Michael 2010 - 2010-05-20

right got bit futher ran the script and this is the out put.

Me TV PANSONIC 42PX80

--- Modes in ModePool for Panasonic-TV (DFP-0) ---
"nvidia-auto-select" : 1280 x 720 @ 50.0 Hz (from: EDID)
"1920x1080" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
"1920x1080_60" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
"1920x1080_50" : 1920 x 1080 @ 50.0 Hz (from: EDID)
"1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)
"1920x1080_60i" : 1920 x 1080 @ 60.1 Hz Interlace (from: EDID)
"1920x1080_60i_0" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 5) (from: EDID)
"1920x1080_50i" : 1920 x 1080 @ 50 Hz Interlace (CEA-861B Format 20) (from: EDID)
"1280x720" : 1280 x 720 @ 50.0 Hz (from: EDID)
"1280x720_50" : 1280 x 720 @ 50.0 Hz (from: EDID)
"1280x720_60" : 1280 x 720 @ 60.0 Hz (from: EDID)
"1280x720_60_0" : 1280 x 720 @ 59.94/60 Hz (CEA-861B Format 4) (from: EDID)
"720x576" : 720 x 576 @ 50.0 Hz (from: EDID)
"720x576_50" : 720 x 576 @ 50.0 Hz (from: EDID)
"720x576_50i" : (1440)x 576 @ 50 Hz Interlace (CEA-861B Format 22) (from: EDID)
"720x480" : 720 x 480 @ 59.9 Hz (from: EDID)
"720x480_60" : 720 x 480 @ 59.9 Hz (from: EDID)
"720x480_60i" : (1440)x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 7) (from: EDID)
"640x480" : 640 x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
"640x480_60" : 640 x 480 @ 59.94/60 Hz Interlace (CEA-861B Format 1) (from: EDID)
--- End of ModePool for Panasonic-TV (DFP-0): ---

My rates look like this. Which one should I take?


Now what do a do with this info me xorg.conf file blank when open it up BlushBlush


- gchr - 2010-05-23

Excellent guide & script! Thank you, JumJum!

Just for the record:
It worked on an
ASRock ION 330 HT with 10.04 Lucid Lynx and a Panasonic Viera ΤX-P46G10
using:
Modes "1920x1080_60_0" "1920x1080_24"

The only modification I made was in the command of step: 4. Adjusting the settings in NVIDIA's drivers.
Instead of
..."GPUScaling[DFP-1]=1,1"...
I used
..."GPUScaling[DFP-0]=1,1"...


- Hannes The Hun - 2010-05-24

there should be one additional info regarding the script:

as of now, it only works when logged in as "xbmc" user, and the "xbmc" user absolutely needs to be in the superusers group. which is a shame, because all changes to the system I do as a root user via SSH, never as the xbmc user itself (which is also never in the superusers group, the whole internet knows the password of an "xbmc" user Wink )