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 (http://forum.kodi.tv)
+-- 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)

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


- Roelio - 2010-05-24 16:28

Super script to bad I still have those small hard to see little juddering Frown

@Michael 2010

Take

"1920x1080_60" : 1920 x 1080 @ 59.94/60 Hz (CEA-861B Format 16) (from: EDID)
"1920x1080_24" : 1920 x 1080 @ 23.97/24 Hz (CEA-861B Format 32) (from: EDID)

@gchr

What did that changes?

GPUScaling 1 or 0 (I can't manually use this command I get this error) But the automatic script turned it on I think.


- aquaload - 2010-05-25 10:06

the scripts works like a charm on C2D5300 with 9500GT on LG 50PS8000

XBMC Live (HD installed) latest version
Nvidia 195.35
"1920x1080_60
"1920x1080_24

many thanks on that Wink


Yay, but... delay before switching refresh rate? - Rachel - 2010-05-28 17:41

And yay, this solved a problem I hadn't even been aware of until I started ripping my blurays. Before then all my content was either off region 2 DVDs or from British TV (SD or HD); all of which is 25fps interlaced, and I had a 50Hz mode set up so everything worked until suddenly I was giving it something else.

Anyway, now fixed, and am currently watching my Wall.E rip. Perfect. But...

I think I'm seeing the green flash at the start that some others have reported.

Also (and I suspect it's related), it doesn't switch mode to match the movie's refresh rate right away; it plays the first few seconds (with optional green flash) at the default refresh rate, thus the juddering I was trying to get rid of is still there... Then it seems to realise, oops I need to change mode, and does so, blanking the screen for a few seconds.

Which means the first few seconds of watching any video at a non-default frame rate is messy, ugly, disruptive et al.

Then it fixes itself and all is perfect from then on.

Anything to be done wrt having xbmc look at the advertised frame rate in a video and changing mode *immediately* before playback starts?

Or anything special I needed to do in encoding (using HandBrake) so it sets it up right at the start?


- JumJum - 2010-05-29 12:42

Rachel Wrote:And yay, this solved a problem I hadn't even been aware of until I started ripping my blurays. Before then all my content was either off region 2 DVDs or from British TV (SD or HD); all of which is 25fps interlaced, and I had a 50Hz mode set up so everything worked until suddenly I was giving it something else.

Anyway, now fixed, and am currently watching my Wall.E rip. Perfect. But...

I think I'm seeing the green flash at the start that some others have reported.

Also (and I suspect it's related), it doesn't switch mode to match the movie's refresh rate right away; it plays the first few seconds (with optional green flash) at the default refresh rate, thus the juddering I was trying to get rid of is still there... Then it seems to realise, oops I need to change mode, and does so, blanking the screen for a few seconds.

Which means the first few seconds of watching any video at a non-default frame rate is messy, ugly, disruptive et al.

Then it fixes itself and all is perfect from then on.

Anything to be done wrt having xbmc look at the advertised frame rate in a video and changing mode *immediately* before playback starts?

Or anything special I needed to do in encoding (using HandBrake) so it sets it up right at the start?

The issue with green image until the first key frame is fixed in the latest nvidia drivers.

XBMC does change the mode right before the movie starts, but XBMC doesn't wait until the tv has managed to complete the change before it starts playback. The time it takes to switch modes is different for all tvs, so a delay would have to be a manual setting.


- Rachel - 2010-05-30 15:47

Curious thing is, after my last post, I switched the UI mode to 1920x1080@24, so it was defaulting to the correct screen mode for these videos and in theory shouldn't need to switch... And noticed the skin's animations being less smooth as a consequence...

But it still exhibited the same problem with the same files; plays for a few seconds, then 'hiccups', goes blank but for the TV showing the mode change information, and then plays perfectly; and there seemed to be no delay or problem switching back to 1920x1080@50 for the BBC HD rips - it switched to those quickly and smoothly.

So I'm not convinced it's a mode-change thing. Although, this besides, it does *look* like that's what it's doing...

I suppose it *might* be a different symptom of the same problem as the green flash, which *usually* (not always) accompanies it; and therefore a new nvidia driver should fix it. I thought I was on nvidia-current though (on Lucid)... Something to check when I'm back in front of it...


- bobo1on1 - 2010-05-30 15:54

A lot of files don't have the correct fps info set, xbmc recalculates it but it takes about 5 seconds to do that.


- agronomos - 2010-06-01 19:21

Hi!

I have a Panasonic 42PX70 and i don't know which one choose

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

Any help?

Thank!


- circle_ - 2010-06-04 15:00

I'm not sure if this script is meant to fix my problem but it didn't.
I'm suffering from major buffering issues when watching movies over my wired network from my NAS. Im on an ASrock 330ht, Pioneer PDP428. I have tried all possible solutions I've come across and nothing fixes it.

Not really sure what else to add. Is this something this script should fix? Is there anything I can do?


- Roelio - 2010-06-04 15:01

First make sure it's not your network by using a External HD, SD or USB stick.


- avcar - 2010-06-07 00:18

Hi all 1st post on here so be gentle..
i have freshly re-installed ubuntu 10.04 onto my acer revo r3610 2gb. looking through the 1st post on this thread.
2. Finding what modes the TV says it supports in it's EDID. i have a Panasonic TX-P50G20B if thats any use?

Now that ModeDebug is enabled Xorg needs to be restarted so the available modes will be written to the log file.
Hook up your HDMI cable <<< does this mean i unplug my hdmi cable from the revo and plug it back in as i not using a monitor? and restart Xorg.<< is this restart X?

thanks
couple of more Q's
1. which xbmc should i install? is there easy step by step guide?
2. my hardware driver is NVIDIA accelerated graphics driver (version current) i think there is a conflict in this driver with xbmc, is this true?

thanks all


- gsgleason - 2010-06-09 18:32

In the first post, to remove the carriage returns from the file, the command didn't work. It actually removed all the letter r. This works, though:

Code:
sudo bash -c "sed 's/\x0d//g' nvidia-xorg.conf > /etc/X11/xorg.conf"



- abstract - 2010-06-10 15:57

can/should i setup 100hz for my panasonic plasma, which supports this freq? how?
nvidia.sh results in a 1920x1080@50 only.


- Haohmaru - 2010-06-10 18:15

nvm


- bobo1on1 - 2010-06-10 18:18

abstract Wrote:can/should i setup 100hz for my panasonic plasma, which supports this freq? how?
nvidia.sh results in a 1920x1080@50 only.

No, 100 hertz means the tv can do motion interpolation.


- Goga777 - 2010-07-06 19:20

Code:
Modes       "1920x1080" "1920x1080_25" "1920x1080_24_0" "1920x1080_30" "1920x1080_60"

do this modes will good for all type of video ?