xbmc cannot set resolution/refresh properly with nvidia cards in 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xbmc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Recently, I upgraded my XBMC Eden / 11.10 Ubuntu box to 12.04LTS, which pulls in a newer version of xorg and the nvidia proprietary driver. My HTPC setup is a single Samsung HDTV connected using HDMI. XBMC is started straight from lightdn as a Xsession.
After I experienced some judder in playback after the upgrade I discovered that in Settings/
My xorg.conf does have some custom modelines (25,50 and 60Hz) for my HDTV, which have been working just fine (up to 11.10). Disabling those didn't solve this problem.
Xorg does not log any errors. 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
I noticed there is an issue involving DynamicTwinView (i.e. ticket 12799). When "DynamicTwinView" is enabled in xorg.conf, the output of xrandr seems complete bogus (showing refreshes like 51,52,53,
For reference:
Ubuntu 12.04 LTS
xbmc 2:11.0~
nvidia-current 295.40-0ubuntu1
linux-image-
xorg 1:7.6+12ubuntu1
For reference, this is a shameless copy of the bug report on xbmc trac, but I think it's usefull here too as it affects all using xbmc+nvidia drivers with default 12.04 LTS packages.
Possible workaround upstream is using the new 302.xx nvidia beta binaries that have a proper RandR implementation, however that also requires Xorg 1.12 and 3.4 kernel which sounds more like Quental than Precise.
More info here: http://
To my surprise, this problem has disappeared after installing XBMC from the Nathan Rennie-Waldock PPA instead of the default Ubuntu repositories: https:/ /launchpad. net/~nathan- renniewaldock/ +archive/ xbmc-stable
(I actually installed XBMC from there for another reason also appearant in the default Ubuntu version: http:// forum.xbmc. org/showthread. php?tid= 130780)