[beagleboard] Ubuntu 12.10 HF and XServer (original BB Rev. C2)

Hi Thomas

In the last couple of days I've tried to set up Ubuntu 12.10 HF following
the instructions on [1]. While most things work as expected, I haven't had
any success in setting up a somewhat accelerated Xserver. All I get is X on
the framebuffer.

Here's what I've tried:
a) I've installed xserver-xorg-video-omap (Here's where the confusion
starts: Is that the neon accelerated one? Wasn't that
xserver-xorg-video-omap3 in previous releases? See below...)

This old neon driver is bitrotten/no longer usable, and the plan is
to replace it with, Rob Clark's xf86-video-omap...

http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/

b) I've built and installed the sgx modules (once again following [1])

The "sgx" ddx is too old (abi wise) to be usable in ubuntu... *side
note, with the new release of "4.08.00.01" i'm playing around with
re-doing an "ubuntu natty" sgx image, althought it's now EOL, the xorg
abi's match.. However nothing is public yet. :wink:

c) I've run the provided script "ti-omapdrm.sh" successfully and the result
shows up in Xorg.0.log:

This fails, as it requires the kernel to be built with
"CONFIG_DRM_OMAP" support, which i just haven't thrown the switch yet
to enable by default in v3.6.x..

(...)
[ 25.498] (II) LoadModule: "omap"
[ 25.512] (II) Loading /usr/lib/xorg/modules/drivers/omap_drv.so
[ 25.550] (II) Module omap: vendor="X.Org Foundation"
[ 25.550] compiled for 1.13.0, module version = 0.83.0
[ 25.550] Module class: X.Org Video Driver
[ 25.550] ABI class: X.Org Video Driver, version 13.0
[ 25.550] (II) OMAP: Driver for TI OMAP: OMAP3430 with PowerVR SGX530,
        OMAP3630 with PowerVR SGX530, OMAP4430 with PowerVR SGX540,
        OMAP4460 with PowerVR SGX540, OMAP5430 with PowerVR SGX544 MP,
        OMAP5432 with PowerVR SGX544 MP
[ 25.551] (++) using VT number 7

[ 25.568] (WW) Falling back to old probe method for omap
[ 28.238] (EE) No devices detected.
[ 28.239] (==) Matched omapfb as autoconfigured driver 0
[ 28.239] (==) Matched modesetting as autoconfigured driver 1
[ 28.239] (==) Matched fbdev as autoconfigured driver 2
[ 28.239] (==) Assigned the driver to the xf86ConfigLayout
[ 28.239] (II) LoadModule: "omapfb"
[ 28.251] (WW) Warning, couldn't open module omapfb
[ 28.251] (II) UnloadModule: "omapfb"
[ 28.251] (II) Unloading omapfb
[ 28.251] (EE) Failed to load module "omapfb" (module does not exist, 0)
[ 28.251] (II) LoadModule: "modesetting"
[ 28.253] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 28.260] (II) Module modesetting: vendor="X.Org Foundation"
[ 28.260] compiled for 1.13.0, module version = 0.5.0
[ 28.260] Module class: X.Org Video Driver
[ 28.260] ABI class: X.Org Video Driver, version 13.0
[ 28.260] (II) LoadModule: "fbdev"
[ 28.262] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 28.283] (II) Module fbdev: vendor="X.Org Foundation"
[ 28.284] compiled for 1.12.99.902, module version = 0.4.3
[ 28.284] Module class: X.Org Video Driver
[ 28.284] ABI class: X.Org Video Driver, version 13.0
[ 28.284] (II) OMAP: Driver for TI OMAP: OMAP3430 with PowerVR SGX530,
        OMAP3630 with PowerVR SGX530, OMAP4430 with PowerVR SGX540,
        OMAP4460 with PowerVR SGX540, OMAP5430 with PowerVR SGX544 MP,
        OMAP5432 with PowerVR SGX544 MP
[ 28.285] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 28.285] (II) FBDEV: driver for framebuffer: fbdev
[ 28.285] (++) using VT number 7
(...)

[ 28.251] (EE) Failed to load module "omapfb" (module does not exist, 0)
isn't surprising - there's no such thing as omapfb.so anywhere in /usr

Searching for hints, I've come across [2], however, trying to install the
deb-package provided there results in an error:

dpkg: dependency problems prevent configuration of xserver-xorg-video-omap3:
xserver-xorg-video-omap3 depends on xorg-video-abi-12; however:
  Package xorg-video-abi-12 is not installed.

It's dead, should be removed from the archive...

So it appears that the new version of X doesn't support that neon
accelerated driver. Next I tried to compile the code from [2] natively,
however, the build fails. I don't know where to go from here (belonging to
the Joe User category rather than being a hardcore developer, I think I've
tried all the straightforward options). Any ideas on how to go on would be
appreciated.

I'd recommend for a "right now" for Joe User, use the default
framebuffer as is. The recent "ti-omapdrm.sh" script push is just a
sign that i'm starting to get the ducks in the row in the git repo.
(as i use that same repo when testing)... But "today" it's not
ready...

Regards,

Hi Robert,

Do you know if there is any update on OMAP3 video drivers that are working yet for ubuntu 12.10? I see a version 0.4.3 being posted on the website you mentioned earlier and you mentioned the plan was to replace xserver-xorg-video-omap3.

http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/

I’m wondering if you’ve had success with it yet? or what the current known plans are?

Thank you,

Brian Hensley
www.brianhensley.net

Is the situation any different today? The framebuffer sure is slow when it comes to OpenGL apps…

BR,
Kevron