[Linux] [SOLVED] XBMCbuntu - Impossible to change refresh rate?
I'm running 12.04 LTS with the latest nvidia-current package. XBMC says 50 hz, and I must say that I haven't yet seen any flicker or jitter. I haven't used it much, but so far, it looks fine.

I did read that the nvidia driver does funky things with the refresh rate, as other posters had mentioned. However, even though it says a goofy refresh rate for me, it still looks fine.
People, I've also setup the modlines for my TV and Onkyo receiver. I have a pretty smooth playback and so I think XBMC should be adjusting the refresh rates accordingly. This is my output of the command:

sudo DISPLAY=:0.0 xrandr
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)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1920x1080      30.0 +   59.9*    50.0     30.0     25.0  
   1280x720       60.0     59.9     50.0  
   720x576        50.0     25.0  
   720x480        59.9     30.0  
   640x480        59.9  
   480x576        50.0  
   480x480        59.9  
   411x576        50.1  
   411x480        60.0

I'm running Ubuntu 12.04 (minimal/server install) and xbmc from oficial repo. My nvidia driver is:

[email protected]:~$ dpkg -l | grep nvidia
ii  nvidia-common                      1:0.2.44                                Find obsolete NVIDIA drivers
ii  nvidia-current                     302.17-0ubuntu1~precise~xup1            NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-settings                    302.17-0ubuntu1~precise~xup3            Tool of configuring the NVIDIA graphics driver
[email protected]:~$

My overall playback experience is very good but for dvd and ISO playback which is very choppy. I was suspecting it could be something related to the refresh rate thingy when playing DVD disks and DVD ISOs.

If you guys can sheed some light on that, please take a look here (I've added various debug logs there)

***** DVD / ISO Playback stutter ******

Linux Choppy playback / Video stutter with Eden

[LINUX] Iso/DVD files playback issues

Linux XBMCBuntu/Eden - DVD playback speed

UPDATE: It doesn't happen for bluray ISOs!!! I have the full Toy Story bluray ISO and my daughter is watching it just now. PERFECT playback... I can see the refresh rates at 23.97 (or pretty close to that).

I've noticed that for other DVD disks and DVD ISOs that I tried I had the refresh rate varying a lot... one fixed at 59.94Hz and the other floating around 23.97.

Could anyone point me in any direction to debug this refresh rate adjustments for DVD disks and DVD ISOs? I'm willing to help to get this fixed![/color]

Thx in advance!
59.94 is a standard field rate for interlaced DVDs. It is probably an older DVD or a 4x3 aspect ratio. 23.97 is a standard film rate . You will likely find 29.97 FPS to be common as well.

If you have any PAL DVDs or RIPS you may see 25 FPS as well

(2012-04-27, 02:56).:B:. Wrote: Actually you should not need to fiddle with your Xorg modelines. Xorg should run pretty well without you needing to add any.

Try this in a terminal on Ubuntu (you can switch between Ubuntu and Xbmc):
$ DISPLAY=:0.0 xrandr
That will list you the supported resolutions and refresh rates, with an asterisk next to the active one. If all is well you should see 60 Hz, 50 Hz and (if your TV supports it) 24 Hz. Since 60 and 50 are multiples of respectively 30 and 25, you do not need any refresh rates at that frequency; those would be redundant.

If that looks allright, then set Xbmc to match the refresh rate of the display to refresh rate of the material you're displaying, not the other way around. It's somewhere in Video/Playback settings. That way Xbmc will make the TV switch refresh rate automatically when needed. Do this only if your TV supports 24 Hz (60 and 50 Hz aren't usually a problem).

After installind XBMCbuntu (Eden) to my HTPC with Intel i3 (HD Graphics) xrandr shows only 50 and 60 Hz and no 24 (25). I have a Panasonic Plasma as TV that definitely supports 24/25 Hz. Can somesone tell me how to add 24/25 Hz manually?

Right now, there is no xorg.conf, should I create one? Isn't it possible to add refresh rates manually to randr?

yes its possible. But start off with a pastebin of /usr/lib/xbmc/xbmc-xrandr

we had a curious issue on IRC with a Panasonic Plasma + i3 3220 only getting 23,976 when using THX cinema mode. Could be a similar issue for you.
I also have the same problem. My XBMC Eden install crashed and when I restarted, I was unable to change resolution or refresh rate. I have formatted my hdd and even upgraded to Frodo RC1, still this issue remains. Wondering if it could be hardware related?
i have tried upgrading the packages, but to no avail.
Can someone pls help?
Perhaps corrupt file or information on /etc/xorg.conf

Have a peek at that file rename it, and see more info on possible settings for that file on my signature (last link)

Thanks. But it doesnt work. My Settings->Video Output displays only 800x600p and refresh Rate is stuck at 60.32. I am unable to change it. I downloaded your xorg.conf file.
Hope this helps...

[email protected]:/etc/X11$ dpkg -l | grep nvidia
ii nvidia-current 304.51.really.304.43-0ubuntu1 i386 NVIDIA binary Xorg driver, kernel module and VDPAU library
ii nvidia-settings 304.51-0ubuntu2 i386 Tool for configuring the NVIDIA graphics driver

I am running Frodo. I have the same problem on Eden also.

Reboot -> Pastebin a /var/log/Xorg.0.log and after that rename the /etc/xorg.conf to /etc/xorg.conf.backup for now.

Heres a snip of Xorg.0.log: http://pastebin.com/embed_js.php?i=u10xy8fA

Also, after Frodo, the ALSA mixer doesnt seem to work. Used to have
Audio Output Device: hdmi:CARD=NVIDIA,DEV=0
Passthru Output Device: HDA Intel - hdmi - 0 (ALSA)

Cant have custom audio output device in Frodo. Any ideas? I have xbmcbuntu directly connected to my TV for audio output carried through hdmi cable.
AE is not related to xorg.conf is it? But the answer is no your audio device should be detected correctly open a new thread for this and paste a screenshot of your audio settings. and aplay -l

renaming the xorg.conf does it work with NO /etc/xorg.conf?

I think I know whats going on but I need a reply to my question.

FYI I need a full Xorg.0.log not a snip I cant get a "picture" of whats going on from a snip.

Ok this is weird. I removed xorg.conf, rebooted and it was back to 800x600. I again put back your xorg.conf and rebooted through xbmc (last time I rebooted through CLI). No idea what the difference was. However, this time, it shows 1920x1080 and 23.98 and 24 as options (picks up from your xorg.conf).
Was it in the lines of what you were thinking? I have no clue as to why it didnt pick up your xorg.conf the last time (I did reboot it actually twice).
However, if I need to set the refresh rate at 60 Hz, pls let me know what I need to change in xorg.conf (as it shows only 23.98 and 24)
on the xorg I posted thers a commented line for [email protected] remove the # from infornt and save the file.

#Modeline "1920x1080_60" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 -hsync +vsync


Modeline "1920x1080_60" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 -hsync +vsync

dont touch the others/reboot.

Thread Rating:
  • 0 Vote(s) - 0 Average

Logout Mark Read Team Forum Stats Members Help
[SOLVED] XBMCbuntu - Impossible to change refresh rate?00