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


- SiNJiN - 2010-05-13

I can't get sound during playback...but system sounds are okay. Any ideas as to where I went wrong? I did update the Nvidia drivers just prior to installing this script. Other than that....Buttery Smooth! My Avatar Backup had major stutter where Jake first meets the Queen. Now ... Smooth!

But, can someone give me some clue as to why the audio doesn't work?

Edit: Don't know why but it took about 3 reboots and a rest period of 1 hour for the sound to work again. Oh, well.


HD DVD Backups - SiNJiN - 2010-05-13

Any idea why my HD DVD backups are all nothing but Stutter after the script?


- dkun - 2010-05-16

Hi.
Since the guide doesn't really work for me (still having problems with playing videos with different refresh rates, I finally decided to use XBMC Live just for playing 23.976Hz files. But I can only choose 24Hz playback at XBMC.
Can someone tell me how to add 23.976Hz to the playback menue?

I have to add that I am totally new to Linux. So I need "help for dummies". :-)


- dougeast - 2010-05-16

Script worked for me, thanks. I still have a couple of things to fix before it's perfect though...

1. Still loosing the edges of the Ubuntu desktop because of scan issues. Not that big of a deal as the purpose of this box is to run xbmc; would be nice to fix though.

2. The receiver and screen have to be powered on before the pc. If I boot the pc first it comes up in low graphics mode.

thx


- bobo1on1 - 2010-05-16

dkun Wrote:Hi.
Since the guide doesn't really work for me (still having problems with playing videos with different refresh rates, I finally decided to use XBMC Live just for playing 23.976Hz files. But I can only choose 24Hz playback at XBMC.
Can someone tell me how to add 23.976Hz to the playback menue?

I have to add that I am totally new to Linux. So I need "help for dummies". :-)

There's no way to add that, randr rounds it to 24 hertz, however when you choose that it will actually be 23.976.


- dkun - 2010-05-16

Quote:There's no way to add that, randr rounds it to 24 hertz, however when you choose that it will actually be 23.976.

But I don't have a smooth playback when choosing 24Hz.
I sometimes (every 30 to 40 sec) I have a short judder. Seems like just one frame. So I am pretty sure that's because it is not real 23.976.


- TSlackM - 2010-05-17

i too experience judder and frame drops.
the video is also speeded up
00:20:24 T:2880433008 M:1071960064 DEBUG: CDVDPlayerAudio:: Duplicating 1 packet(s) of 10.67 ms duration

it should be possible to get true 23.976 right?,
like see no speedup with sync to display on. right now its speeded up 0.100%

Edit: but the duplicating of sound packets comes with frame drops.
so i dont think its a problem with the script or the movie speeding up or if its not.
(maybe not the right place to post about this)

sry about the unessary long log. look at the last bit for the errors.
http://pastebin.com/3wCvDtci


- bobo1on1 - 2010-05-17

TSlackM Wrote:it should be possible to get true 23.976 right?,
like see no speedup with sync to display on. right now its speeded up 0.100%

XBMC will always round the refreshrate, which is canceled out by speeding up the clock 0.1%.
Check the error value in the codec info, if that remains constant then the clock speed is exactly matched to the video fps.

However this has absolutely nothing to do with setting the correct refreshrate, XBMC can only use the modes that the operating system makes available, so if there's no mode that is exactly 23.976 hertz, there's nothing XBMC can do about it.
Also randr always rounds the refreshrate, so you can't have a 24 and a 23.976 hertz mode, instead you make a 23.976 hertz mode which will then show up as 24 hertz in XBMC.


- dkun - 2010-05-17

If I run XBMC under Windows 7 and I set the display refresh rate in Windows to 23 (which is 23.976) then in XBMC I can choose 23.98Hz.
Why isn't that possible under Linux?


- bobo1on1 - 2010-05-17

On windows it's made available as 23 hertz, and XBMC assumes that that's 23.976 hertz.
On linux that's not possible because of the aforementioned randr limitation.


- dkun - 2010-05-17

so there is absolutely no way to play bluray movies with the correct 23.976Hz?
I will always have that short judder?


- bobo1on1 - 2010-05-17

Sure there is, the fact that you see 24 doesn't mean it is 24.


- dkun - 2010-05-17

But when I set it to 24Hz, I don't have a completely smooth playback.
So what can I do?

I use the XBMC Live CD from XBMC Freak, which is running on my Asrock ION 330.


- bobo1on1 - 2010-05-17

Post a debug log on pastebin with sync playback to display turned on and I'll take a look.


- dkun - 2010-05-17

Thanx.
But I am totally new to Linux.
So could you please tell me how to make a debug log on XBMC Live?