Linux HOW-TO achieve perfect playback at 23.97 or 59.94 Hz with NVIDIA GPU hardware

  Thread Rating:
  • 15 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kingmob Offline
Junior Member
Posts: 35
Joined: Dec 2008
Reputation: 0
Post: #391
I can not believe I only just found this topic :\ I've been running windows for now, since I couldn't get linux to use the right modes and none of the guides I found worked to solve my EDID problem. This looks like the exact solution to my problem!
Can't wait to try it out, thanks!
find quote
kingmob Offline
Junior Member
Posts: 35
Joined: Dec 2008
Reputation: 0
Post: #392
Tried it, but doesn't work. Once I use the xorg file, my gnome is severly limited. I can only see the desktop and no shortcuts (like alt-F2) work. I can succesfully use shortcuts on the desktop. XBMC however, still doesn't change the refresh rate.
If I remove the xorg completely, everything is fine again. Interestingly enough, in addition I can now suddenly successfully switch to 24p mode using the nvidia-settings. The TV reports that it is in the correct mode. XBMC still won't work though, I assume because it uses xrandr?

Anyone any ideas?
find quote
constrictor Offline
Member
Posts: 55
Joined: Feb 2005
Reputation: 0
Post: #393
kingmob Wrote:Tried it, but doesn't work. Once I use the xorg file, my gnome is severly limited. I can only see the desktop and no shortcuts (like alt-F2) work. I can succesfully use shortcuts on the desktop. XBMC however, still doesn't change the refresh rate.
If I remove the xorg completely, everything is fine again. Interestingly enough, in addition I can now suddenly successfully switch to 24p mode using the nvidia-settings. The TV reports that it is in the correct mode. XBMC still won't work though, I assume because it uses xrandr?

Anyone any ideas?

When you run this script, it disables graphics modes that are required for the Unity interface to work. This is why your desktop is limited. You need to log off, and on the Ubuntu login screen, change to Ubuntu Classic. I did it a couple months ago, so I cant remember off the top of my head how to change it, but you can search how to "disable Unity" and it will bring back your desktop toolbars and menus.

As for why your refresh rate doesn't actually change, I have no idea. I gather that it just works for some people and not for others. Thankfully for me, it fixes my refresh rate problem, but not the occasional video skipped frames. This is something I have been dealing with for months, and it bothers me, but not enough for me to stop using it.
find quote
kingmob Offline
Junior Member
Posts: 35
Joined: Dec 2008
Reputation: 0
Post: #394
constrictor Wrote:When you run this script, it disables graphics modes that are required for the Unity interface to work. This is why your desktop is limited. You need to log off, and on the Ubuntu login screen, change to Ubuntu Classic. I did it a couple months ago, so I cant remember off the top of my head how to change it, but you can search how to "disable Unity" and it will bring back your desktop toolbars and menus.

As for why your refresh rate doesn't actually change, I have no idea. I gather that it just works for some people and not for others. Thankfully for me, it fixes my refresh rate problem, but not the occasional video skipped frames. This is something I have been dealing with for months, and it bothers me, but not enough for me to stop using it.
Thanks for your reply. I think I know how to change it, so no probs, I just didn't realise anything was disabled (did not use the script, I'm too paranoid Wink).

As to why it still won't work, anyone know how XBMC handles the detection of refresh rate and changing of the mode? To me it appears that nvidia-settings has the corrcet setting and can succesfully change everything (at least now it can). Xrandr is another story however. It reports bogus modes as far as I can see and even reports that 60Hz is out of range.
find quote
boba23 Offline
Fan
Posts: 348
Joined: Nov 2007
Reputation: 0
Post: #395
soopersonic Wrote:Is there some way I can find out what is actually being output by XBMC / played back on my TV? I mean whether it's 24Hz or 23.976Hz?

nvidia-settings -q "refreshrate"

gives you the actual refresh rate that your card puts out to the tv.
you might need to export DISPLAY= ..... before you can use this command e.g. via ssh while xbmc is on full screen playback.

boba

Antec Black Fusion 430, Gigabyte GA-73PVM-S2H, NVIDIA 9400GT 1GB - passive, Intel E8400 @ 3ghz C0 Stepping, 2x 1024MB DDR2-667, Samsung DVD-ROM - Ubuntu Lucid Beta2 AMD64, XBMC switching between Camelot and SVN.
find quote
soopersonic Offline
Member
Posts: 56
Joined: Aug 2011
Reputation: 0
Post: #396
boba23 Wrote:nvidia-settings -q "refreshrate"

gives you the actual refresh rate that your card puts out to the tv.
you might need to export DISPLAY= ..... before you can use this command e.g. via ssh while xbmc is on full screen playback.

boba

Thanks for your reply!

And what does it mean if the output of above's command is 23.976 for my TV which supposedly supports 24p with 48Hz?
find quote
bobo1on1 Offline
cheapass Team-XBMC Developer
Posts: 2,753
Joined: Dec 2008
Reputation: 20
Post: #397
48 hertz is probably because the tv can do motion interpolation, so the refreshrate is still 23.976 hertz, and the tv turns that into 47.952 hertz.
find quote
soopersonic Offline
Member
Posts: 56
Joined: Aug 2011
Reputation: 0
Post: #398
bobo1on1 Wrote:48 hertz is probably because the tv can do motion interpolation, so the refreshrate is still 23.976 hertz, and the tv turns that into 47.952 hertz.

Got it, thanks!
find quote
328iGuy Offline
Senior Member
Posts: 149
Joined: Jan 2010
Reputation: 0
Post: #399
Created the .sh script and works perfectly however I am still getting the jitter in my playback of 1080p video on the as rock ION330 for some reason.

Running the latest NVidia drivers 280.13. Hope this isn't the issue? Is it possible to go back a version?

ASRock ION 330 • XBMC Live 10 • Harmony One Remote • MCE IR Sensor • 6TB NAS
[Image: widget]
find quote
constrictor Offline
Member
Posts: 55
Joined: Feb 2005
Reputation: 0
Post: #400
Update:

I finally enabled Dirty Regions in the advancedsettings.xml on a Pre-Eden build and after a quick 20 minute viewing of a Blu-Ray rip, I noticed no hiccups. I will sustain my enthusiasm until I have a chance to watch a whole movie, but I am optimistically hopeful that this will finally solve my video stuttering problem!
find quote
Post Reply