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


- User 29008 - 2010-11-13

Hey guys,

thought I'd post here, to maybe find a solution to my current "problem".
Basically my playback seems fine, also 24p is ok.
I am running current svn-dharma build here. Since a few weeks, I am running into frame drop problems. No matter what content, 24p HD or 25/24hz SD content. I get constant frame drops like 5-10 per minute for no obvious reasons.
I can fix this by activating sync playback to display with video resampling activated. I never had to do this before and didn't have those frame drops.
I am running Ubuntu 10.10 64bit, latest nvidia drivers, xorg.conf is adjusted according to this howto, has been the same way before the frame drops started happening.
Any ideas?

boba


- X3lectric - 2010-11-13

sync to playback HAS to be selected, in order to use this thread info, not sure about re-sampling.

look at main post under 5. Adjusting the settings in XBMC.


also there's no such thing as the latest svn of anything...

As for why it worked before or now it doesn't its all a mystery due to each user individual setup, and error and lack of information posted.


- bobo1on1 - 2010-11-13

It might mean that the refreshrate is slightly too low, or the soundcard is playing slightly too fast, sync playback to display with resample can compensate for those speed differences.


- User 29008 - 2010-11-13

X3lectric Wrote:sync to playback HAS to be selected, in order to use this thread info, not sure about re-sampling.

look at main post under 5. Adjusting the settings in XBMC.


also there's no such thing as the latest svn of anything...

As for why it worked before or now it doesn't its all a mystery due to each user individual setup, and error and lack of information posted.

I had the sync to playback option set to "audio" as mentioned in this howto. Worked perfectly fine as well. But it doesn't anymore. Gives me frame drops. Only thing that helps is setting it to "video (resample audio)". I simply would like to find out what causes this. Since it seems that I am the only one affected by this ;-) somehow ...

boba


- Th3R00st3r - 2010-11-16

boba23 Wrote:I had the sync to playback option set to "audio" as mentioned in this howto. Worked perfectly fine as well. But it doesn't anymore. Gives me frame drops. Only thing that helps is setting it to "video (resample audio)". I simply would like to find out what causes this. Since it seems that I am the only one affected by this ;-) somehow ...

boba

I am getting frame drops as well on my Revo 1600
I can play 1920x800 np, but 1920x1080 skips like every 4-5 frames.

Here is a screen shot of the video info. The VQ hovers at 98-99+%. I only hve 1GB ram in the box, would adding another 1GB sovle this issue. Probably wouldn't hurt..
[url=Image]Image[/url]


- Superorb - 2010-11-16

^^ Why are the FPS only 21 and not 23.95/24 like normal for most movies?

Specs of XBMC box?


- Th3R00st3r - 2010-11-17

Superorb Wrote:^^ Why are the FPS only 21 and not 23.95/24 like normal for most movies?

Specs of XBMC box?

I don't know, is the FPS not right? This is what is usually says for movies 1920X1080. It's not an xbox, but an Acer Revo 1600 with a 1GB ram.

Here's another screen shot of the same movie..
[url=Image]Image[/url]


- Superorb - 2010-11-17

I've never seen a movie play at that frame rate before. They're always 23.9x, 24, 25, 29.9x, 30, 50, 59.9x, or 60fps.

Normally the cpu is hardly being used since the video card does all the heavy lifting. Do you have VDPAU enabled?


- a_user - 2010-11-17

Superorb Wrote:I've never seen a movie play at that frame rate before. They're always 23.9x, 24, 25, 29.9x, 30, 50, 59.9x, or 60fps.
indeed very odd. i saw he tried it already with other movies. for me it seems as if his gpu is to weak. he could try disabling postprocessing filters like vdpau sharpening.

Th3R00st3r, do you have actual drivers etc. installed? how is it if you play only 720p movies? are the fps at 24?

Quote:Normally the cpu is hardly being used since the video card does all the heavy lifting. Do you have VDPAU enabled?

obviously he has. look at the screenshot.


- Superorb - 2010-11-17

Good point. Many people run the Revo and they have no problems with 1080p content.

We don't know what software he's using at this point, so not much we can do.


- Th3R00st3r - 2010-11-17

Sorry should have provided more info.
It's weird, when I pause it, I get 1000% errors and dropped frames when I resume.
Also the fps will range from 10.00-24.95 like it's trying it's hardest to render, it eventually catches up, but maxes out @21-22 fps.

As I mention in previous posts, I can play 1080P (1920x800(or 814) OK and 720P no problem.

Here's the info on the driver I have:
nvidia-settings: version 256.44

Here's the specs of the Revo 1600
[url=Image]Image[/url]


Check out the Dropped, Error% and fps on the following screens:
Killa Sampla
Image

Nightmare: 13.71 fpsHuhWTF
Image

Video Settings:
Image

Any assistance in appreciated...


- sdsnyr94 - 2010-11-17

Th3R00st3r - What version of the NVIDIA drivers are you using? There is an issue with the 260.x drivers earlier than 260.19.21 that causes VDPAU uses a large amount of ram.

Try updating to the lastest driver if possible.


- Th3R00st3r - 2010-11-17

Th3R00st3r Wrote:Here's the info on the driver I have:
nvidia-settings: version 256.44

Not on that version...Do you think updating to the latest drivers would help?
Can you give me the commands to upgrade the drivers?, I am not sure how.
Thanks!


- bobo1on1 - 2010-11-17

A debug log might provide some more info Smile


- Superorb - 2010-11-17

I remember reading in the Revo thread that you need to set the video RAM to 512 instead of the factory setting. I couldn't play things correctly until I got a video card with 512mb RAM.