Robert Nelson <robertcnelson@gmail.com> [12-09-29 17:28]:
> Robert Nelson <robertcnelson@gmail.com> [12-09-29 16:48]:
>> > Hi,
>> >
>> > I am using the Rober Nelson kernel, which boots and works fine on my
>> > beaglebone.
>> >
>> > But when its comes to accelerated graphics, dss dss2, omaplfp, omapfb
>> > and such I get confused.
> Uuups...sorry Robert. Yes...
>
> Latest update of your git repository, synced today.
> uname -a:
> Linux beaglebone 3.2.30-psp23 #1 Wed Sep 26 19:57:25 CEST 2012 armv7l ARMv7 Processor rev 2 (v7l) am335xevm GNU/Linux
>
> I have a beaglebone A6 connected to to LCD7 cape A2. Currently no
> further capes.
Okay for that hardware it uses the DaVanci "da8xx-fb" display driver..
da8xx-fb.h « video « include - kernel/git/torvalds/linux.git - Linux kernel source tree
So, thus: "dss, dss2, omaplfp, omapfb" won't work as they reply on
"omap" display hardware...
Moving forward there is sgx acceleration bits here:
Texas Instruments Linux Graphics SDK
But i haven't touched them yet... So go for it an try. If you
post your results/howto on a blog, you'll probably get some hits!
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
--
Hi Robert,
Thank you for the informations! :))
...may be I have "something"...
I removed all omapfb-related thingies from the kernel config and
compiled DA8xx-fb support directly into your kernel. I did not add
any sources/patches or such. I also compiled dri support for X directly
into the kernel.
Then I booted the bone and got the following in my Xorg.0.log
(excerpt):
[ 31.416] (II) LoadModule: "dri"
[ 31.417] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 31.427] (II) Module dri: vendor="X.Org Foundation"
[ 31.427] compiled for 1.12.2, module version = 1.0.0
[ 31.427] ABI class: X.Org Server Extension, version 6.0
[ 31.427] (II) Loading extension XFree86-DRI
[ 31.427] (II) LoadModule: "dri2"
[ 31.428] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 31.432] (II) Module dri2: vendor="X.Org Foundation"
[ 31.432] compiled for 1.12.2, module version = 1.2.0
[ 31.432] ABI class: X.Org Server Extension, version 6.0
[ 31.432] (II) Loading extension DRI2
[ 31.432] (==) Matched fbdev as autoconfigured driver 0
[ 31.433] (==) Assigned the driver to the xf86ConfigLayout
[ 31.433] (II) LoadModule: "fbdev"
[ 31.444] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 31.447] (II) Module fbdev: vendor="X.Org Foundation"
[ 31.448] compiled for 1.12.2, module version = 0.4.2
[ 31.448] ABI class: X.Org Video Driver, version 12.0
[ 31.448] (II) FBDEV: driver for framebuffer: fbdev
[ 31.448] (++) using VT number 7
[ 31.454] (WW) Falling back to old probe method for fbdev
[ 31.454] (II) Loading sub module "fbdevhw"
[ 31.454] (II) LoadModule: "fbdevhw"
[ 31.455] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 31.459] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 31.459] compiled for 1.12.2, module version = 0.0.2
[ 31.459] ABI class: X.Org Video Driver, version 12.0
[ 31.460] (II) FBDEV(0): using default device
[ 31.460] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 31.460] (II) FBDEV(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 16/16
[ 31.460] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[ 31.461] (==) FBDEV(0): RGB weight 565
[ 31.461] (==) FBDEV(0): Default visual is TrueColor
[ 31.461] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 31.461] (II) FBDEV(0): hardware: DA8xx FB Drv (video memory: 1600kB)
[ 31.461] (II) FBDEV(0): checking modes against framebuffer device...
[ 31.461] (II) FBDEV(0): checking modes against monitor...
[ 31.461] (--) FBDEV(0): Virtual size is 800x480 (pitch 800)
[ 31.461] (**) FBDEV(0): Built-in mode "current": 30.0 MHz, 32.4 kHz, 61.9 Hz
[ 31.461] (II) FBDEV(0): Modeline "current"x0.0 30.00 800 839 886 925 480 493 495 524 -hsync -vsync -csync (32.4 kHz b)
[ 31.462] (==) FBDEV(0): DPI set to (96, 96)
[ 31.462] (II) Loading sub module "fb"
[ 31.462] (II) LoadModule: "fb"
[ 31.463] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 31.475] (II) Module fb: vendor="X.Org Foundation"
[ 31.475] compiled for 1.12.2, module version = 1.0.0
[ 31.475] ABI class: X.Org ANSI C Emulation, version 0.4
[ 31.475] (**) FBDEV(0): using shadow framebuffer
[ 31.475] (II) Loading sub module "shadow"
[ 31.475] (II) LoadModule: "shadow"
[ 31.476] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 31.481] (II) Module shadow: vendor="X.Org Foundation"
[ 31.481] compiled for 1.12.2, module version = 1.1.0
[ 31.481] ABI class: X.Org ANSI C Emulation, version 0.4
[ 31.482] (EE) FBDEV(0): FBIOBLANK: Invalid argument
[ 31.505] (==) FBDEV(0): Backing store disabled
[ 31.506] (==) FBDEV(0): DPMS enabled
[ 31.506] (==) RandR enabled
It looks like X11 is using the da8xx hardware and enabled dri support.
But I am neither a deep "graphics in the kernel" guru nor did I wrote
X11 myself
Best regards
mcc