[Linux] [SOLVED] XBMCbuntu - Impossible to change refresh rate? - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [Linux] [SOLVED] XBMCbuntu - Impossible to change refresh rate? (/showthread.php?tid=129582)
RE: [XBMCbuntu] Impossible to change refresh rate? - daanwillems - 2012-04-27 10:23
Yesterday I upgraded my XBMC Eden / 11.10 Ubuntu box to 12.04LTS. This morning I experienced some judder in playback and discovered that in Settings/System/Video output some (fullscreen) options are 'locked'. To be precise; Resolution is locked to 1920x1080 (which is correct, but before I was able to change other resolutions) and Refresh Rate is locked to 0.00.
My xorg.conf does have some custom modelines for my Samsung HDTV, which have been working just fine. Disabling those didn't solve this problem.
In xbmc.log I found some errors:
# cat xbmc.log | grep ERR
10:05:26 T:139932101392256 ERROR: CXRandR::Query - unable to open xrandr xml
10:05:26 T:139932101392256 ERROR: GLX: Same window as before, refreshing context
10:05:29 T:139932101392256 ERROR: CheckDisplayEvents - no display event after 3 seconds
Xorg does not log any errors.
RE: [XBMCbuntu] Impossible to change refresh rate? - Devaron - 2012-04-28 14:35
Thanks for your suggestion, however that never worked for me. For some reason my monitor didn't return the correct EDID values, so i had to manually edit them in an attempt to make the judder disappear. This took some time but i got it working almost perfectly in the end.
I do however wonder why the command "DISPLAY=:0.0 xrandr" returns the message "Can't open display" and not the list of possible refresh rates. I have ALWAYS had this, with all the previous XBMC Live and the current XBMCBuntu version of XBMC. Any ideas on that?
I believe the "locking" of resolution and refresh rate has been resolved in one of the recent Ubuntu updates. So if you do a "apt-get update" followed by a "apt-get upgrade" (at own risk) the problem should disappear.
I do find it strange nobody else reported this problem (both end-users and XBMC developers) as it appears to have been a software problem that really did exist for a while. But i'm glad it got resolved...
I will mark this thread as solved.
RE: [XBMCbuntu] Impossible to change refresh rate? - daanwillems - 2012-04-28 15:05
(2012-04-28 14:35)Devaron Wrote: I believe the "locking" of resolution and refresh rate has been resolved in one of the recent Ubuntu updates. So if you do a "apt-get update" followed by a "apt-get upgrade" (at own risk) the problem should disappear.
I am afraid my HTPC has been completely upgraded but the issue still remains.
It would be helpful if you can provide a link to the related Ubuntu bug reports covering the mentioned issues.
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - Devaron - 2012-04-30 15:50
Hmmm ... weird ...
Can't help you with the bug reports because i never found any! Now maybe i didn't look good enough, or not in the right places, but the few reactions i got in this thread is the only "proof" i got that this bug indeed exists. That's the weird thing.
I THINK the update of the nvidia driver has resolved the problem for me. Don't know if you have an nvidia videocard, but can you do a "sudo cat /proc/driver/nvidia/version" to see which version of this driver you have installed? My driver version is 295.40.
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - daanwillems - 2012-04-30 21:45
I am running Nvidia GT215 [GeForce GT 240] (rev a2) and driver 295.40 as well, the one that came with Ubuntu 12.04 LTS. I also tried 295.33, but it had the same issue.
Meanwhile I learned that the problem is actually related to the xserver coming with 12.04 and the way it offers available display resolution/refresh rates through xrandr. For nvidia cards it is currently required to have "DynamicTwinView" "false" in xorg.conf to have a sane output. Then again, XBMC still doesn't pick up the proper values, so it requires a fix there too.
Best solution is currently to stay away from 12.04 until this stuff is sorted and keep running 11.10 which has a working xserver/xbmc combination.
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - wiz561 - 2012-05-01 04:04
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.
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - gpborges - 2012-07-05 23:25
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:
I'm running Ubuntu 12.04 (minimal/server install) and xbmc from oficial repo. My nvidia driver is:
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!
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - tekno - 2012-08-10 03:14
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
RE: [XBMCbuntu] Impossible to change refresh rate? - waltermalter - 2012-12-07 15:04
(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.
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?
RE: [SOLVED] XBMCbuntu - Impossible to change refresh rate? - wsnipex - 2012-12-07 16:53
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.