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.
For reference:
xbmc 2:11.0~git20120423.cd20772-1
nvidia-current 295.40-0ubuntu1
linux-image-3.2.0-24-generic 3.2.0-24.37
xorg 1:7.6+12ubuntu1
Linux [SOLVED] XBMCbuntu - Impossible to change refresh rate?
daanwillems
Junior Member Joined: Apr 2012 Reputation: 0 |
2012-04-27 10:23
Post: #11
(This post was last modified: 2012-04-28 17:07 by daanwillems.)
|
| find quote |
Devaron
Member Joined: Apr 2011 Reputation: 4 Location: Netherlands |
2012-04-28 14:35
Post: #12
@ .:B:.
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? @ daanwillems 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. |
| find quote |
daanwillems
Junior Member Joined: Apr 2012 Reputation: 0 |
2012-04-28 15:05
Post: #13
(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. |
| find quote |
Devaron
Member Joined: Apr 2011 Reputation: 4 Location: Netherlands |
2012-04-30 15:50
Post: #14
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. |
| find quote |
daanwillems
Junior Member Joined: Apr 2012 Reputation: 0 |
2012-04-30 21:45
Post: #15
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. Also see: https://github.com/xbmc/xbmc/pull/848 http://trac.xbmc.org/ticket/12799 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. |
| find quote |
wiz561
Senior Member Posts: 182 Joined: Feb 2009 Reputation: 0 |
2012-05-01 04:04
Post: #16
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. |
| find quote |
gpborges
Member Posts: 58 Joined: Jun 2010 Reputation: 0 |
2012-07-05 23:25
Post: #17
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:
Code: sudo DISPLAY=:0.0 xrandrI'm running Ubuntu 12.04 (minimal/server install) and xbmc from oficial repo. My nvidia driver is: Code: xbmc@gpborges-htpc:~$ dpkg -l | grep nvidiaMy 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 http://forum.xbmc.org/showthread.php?tid=131393 [LINUX] Iso/DVD files playback issues http://forum.xbmc.org/showthread.php?tid=117828 Linux XBMCBuntu/Eden - DVD playback speed http://forum.xbmc.org/showthread.php?tid...pid1141350 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! |
| find quote |
tekno
Member Posts: 63 Joined: Feb 2012 Reputation: 0 |
2012-08-10 03:14
Post: #18
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 |
| find quote |
waltermalter
Member Posts: 77 Joined: Jul 2010 Reputation: 0 Location: Germany |
2012-12-07 15:04
Post: #19
(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? Cheers, Walter
(This post was last modified: 2012-12-07 15:05 by waltermalter.)
|
| find quote |
wsnipex
Team-XBMC packaging monkey Posts: 1,906 Joined: Jun 2011 Reputation: 51 |
2012-12-07 16:53
Post: #20
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.
(This post was last modified: 2012-12-07 16:54 by wsnipex.)
|
| find quote |



Search
Help