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


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Stefanhvt - 2012-09-13

I had the same error once. Maybe fernetmenta knows the correct display input.


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - leepenny - 2012-09-14

Here is my debug log as requested ;
http://pastebin.com/U4nqGwJf

Also forgot to mention my media is shared over cat5 cables from windows machine to linux (non-gigabit network) whether this makes a difference or not




RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - FernetMenta - 2012-09-14

running at 23.971 instead of 23.976 is not the only problem on your system. The bigger problem is the vblank counter maintained by the driver:
23:42:15 T:2850339696 DEBUG: CVideoReferenceClock: detected 1 vblanks, missed 4, refreshrate might have changed

This should not happen during normal playback. It may happen when running XBMC in a compositing window manager like Unity. Do you have those lines in you xorg.conf?

Code:
Section "Extensions"
    Option         "Composite" "Disable"
EndSection



RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - leepenny - 2012-09-14

Heres my xorg.conf in ext/x11 http://pastebin.com/4JA10xZ5
xbmc settings
adjust refresh rate - on
sync playback to display - on
av sync method video clock (resample audio) - on
running xbmc at 1920x1080@60hz
vertical blank sync - always enabled

EDIT , found that this xorg is incomplete will post a new xorg once tested with a debug log @FernetMenta (sorry)


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - leepenny - 2012-09-15

Here is updated debug log and xorg configuration once again I must apologize (I copied my backup xorg incorrectly)

http://pastebin.com/Jxa2stTG (Debug Log) http://pastebin.com/ufFkREg7 (Xorg configuration)

This xorg is one that was copied from this thread as used by yourself fernetmenta (I didnt run the script and add the modes as previously - although it didnt work then either )

If you could step me in the right direction I would be most grateful


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - FernetMenta - 2012-09-15

Your system runs exactly at 23.976:
CVideoReferenceClock: Detected refreshrate by nvidia-settings: 23.976000

But every minute there is a problem with the vblank counter. Looks like you have another process which polls nvidia-settings for e.g. GPU temp. Calling nvidia-settings during playback does harm.


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - leepenny - 2012-09-15

Where can I find out more info? Is it worth dropping into ubuntu and checking nvidia settings at desktop
or would it be worthwhile re-installing (a huge task)


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - FernetMenta - 2012-09-15

Quote:Is it worth dropping into ubuntu and checking nvidia settings at desktop

Not sure what you intent to look for at the desktop. I don't know your setup, I just think that some other process might call nvidia-settings in the background which is a bad idea. Or a addon causes this trouble.


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - nassaujts - 2012-09-28

I posted this in another thread but this thread seems to make more sense.
OK I need help... So glad this forum is here....

The build is
Intel 2.4 GHZ Q6660 Quad Core
1 gig ram
Ubuntu 12 OS
XBMC Eden 11
GT430 with 295.40 drivers.... Install from the Addtional Drivers page in the OS.

Because of this Forum I was able to figure out how to get the HDMI audio working but now I am stuck. I downloaded the 1080p Monsters Inc MKV test file and it stutters. I am connecting via HDMI to a Pioneer VXS-01TXH AVR that connects to a Pioneer Elite Kuro 60". I know these both can handle anything we throw at it.

Here is a link to my Debug log file.
http://pastie.org/4832926

Here is the link to my AVR xrandr -q
http://pastebin.com/mNJiUsYg

It was pointed out to me that it says my monitor can't handle 60Hz\24p. I know this isn't true.

I noticed under Display on Ubuntu it says my screen is a Laptop but in the NVIDIA X Server app is list my AVR and it is saying it supports 60hz.

I was told by another member on this board that I can add custom modelines to fix my stuttering info. Not sure how to do this for my set up.

So now my questions....
1 - Should I upgrade my Video card drivers? I noticed that the Nvidia site has new drivers.
2 - Is there a way to make Ubuntu know what display modes are available?
3 - Should I add these custom modelines and if so how and where?



RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - FernetMenta - 2012-09-29

As long as you don't set DynamicTwinView to false, xrandr gives you metamodes, not refresh rates.


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - un1versal - 2012-10-22

I been hammering my head with a few things. one is 24p playback,...I had this working at some stage before but now newer Ubuntu+minimal install upstart script no lightdm...

Basically A ION gen 1 perfectly able to do this. It did work before upgrading for 2 or 3 years.

I have to disable Adjust Refresh Rate to match Video completely and also disable Sync playback to display and navigation sounds to get some half cocked playback, I followed this Loooooong thread.
Results of my xandr -q
Code:
:~# xrandr -q
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
VGA-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080      60.0 +   59.9*    50.0     30.0     25.0     24.0     30.0     30.0     25.0
   1600x1200      60.0
   1360x768       60.0
   1280x1024      60.0
   1280x720       60.0     59.9     50.0
   1024x768       60.0
   800x600        60.3
   720x576        50.0
   720x480        59.9
   640x480        59.9

or my xbmc-xandr http://paste.ubuntu.com/1297007/

NVidia-drivers @304.60 I get dropped frames, un-smooth and judder gnarly video playback.... Im in need of YODA time.

TIA

uNi




RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - un1versal - 2012-10-23

ok resolved this issue

see here for details

uNi


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - ingrimsch - 2012-10-30

(2012-08-06, 23:58)Rachel Wrote: further developed by its author (so 23.976Hz and 24Hz are both matched correctly):

http://xbmclogs.com/show.php?id=6030

Please repost this as the link returns "The paste you are looking for does not exist"


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - Rachel - 2012-10-30

it's possibly a bit outdated now anyway. This is my current version, that works on Quantal. Some of this stuff is probably superfluous and was just autocreated by nvidia-xconfig. In particular I bet you could ditch ServerLayout, Files, and both InputDevice sections without any harm. The magicks are in Monitor and Screen.

http://xbmclogs.com/show.php?id=11736

Note the "Extensions" section at the bottom is commented out. That's working for me, and is necessary for Unity to work. But if you have any problems, uncomment that (and don't use unity). In particular, i believe that stops Temporal/Spatial deinterlacing from working properly. My gpu can't do that anyway so it's no loss.

I've marked this one as "live forever" but i'm not sure that always works as I thought i did that last time too (unless I just linked to fernet's latest xorg paste)


RE: HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware - un1versal - 2012-10-30

(2012-10-30, 17:34)ingrimsch Wrote:
(2012-08-06, 23:58)Rachel Wrote: further developed by its author (so 23.976Hz and 24Hz are both matched correctly):

http://xbmclogs.com/show.php?id=6030

Please repost this as the link returns "The paste you are looking for does not exist"

I've posted a short how-to and whacked it on my signature, it contains the xorg as well.

I dont use desktop or window managers (not even lightdm) as I have no use for them, creating files with a .strm extension (with the url inside) plays fine in xbmc and can be queued added to a playlist.

uNi