Pandaboard ES ... SGX540 graphics driver options?

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Sun Nov 04, 2012 2:39 am

Pandaboards Imagination Technologies’ POWERVR™ SGX540 graphics

I'm using the fbdev driver. Works great for my use except HD video playback. I've read that some combination of kernel and packages from Linaro Ubuntu and or Ubuntu ARM will play HD video.

I'm having no luck figuring this out so far. I've also read there's a binary "closed" SGX540 driver, but it's currently a complete mess.

QUOTE: http://dev.gentoo.org/~armin76/arm/pand ... rivers.xml

There are two graphics drivers you can use. There's xf86-video-omapfb which is an opensource X.org driver for OMAP FrameBuffers and is available in the gentoo tree.
Another option is pvr-omap4 which is a closed source X.org driver, which should be better in terms of performance with the opensource driver.

Our repos have the xf86-video-omapfb listed under armv7, and the description says OMAP3+.

When I try to run xf86-video-omapfb, I get the following error:

$this->bbcode_second_pass_code('', '[ 168.432]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 168.446] X Protocol Version 11, Revision 0
[ 168.451] Build Operating System: Linux 2.6.38-6-ARCH armv7l
[ 168.457] Current Operating System: Linux ArchArm 3.6.3-2-ARCH #1 SMP PREEMPT Tue Oct 23 03:13:46 UTC 2012 armv7l
[ 168.457] Kernel command line: console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
[ 168.468] Build Date: 21 October 2012 07:12:41AM
[ 168.473]
[ 168.479] Current version of pixman: 0.26.2
[ 168.489] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 168.489] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 168.512] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 31 16:09:33 1999
[ 168.512] (II) Loader magic: 0x1bf200
[ 168.512] (II) Module ABI versions:
[ 168.512] X.Org ANSI C Emulation: 0.4
[ 168.512] X.Org Video Driver: 13.0
[ 168.512] X.Org XInput driver : 18.0
[ 168.512] X.Org Server Extension : 7.0
[ 168.519] List of video drivers:
[ 168.525] omapfb
[ 168.525] (II) LoadModule: "omapfb"
[ 168.525] (II) Loading /usr/lib/xorg/modules/drivers/omapfb_drv.so
[ 168.529] (II) Module omapfb: vendor="X.Org Foundation"
[ 168.529] compiled for 1.12.0, module version = 0.1.1
[ 168.530] ABI class: X.Org Video Driver, version 12.0
[ 168.535] (EE) module ABI major version (12) doesn't match the server's version (13)
[ 168.535] (II) UnloadModule: "omapfb"
[ 168.535] (II) Unloading omapfb
[ 168.536] (EE) Failed to load module "omapfb" (module requirement mismatch, 0)
[ 168.541] No devices to configure. Configuration failed.
[ 168.547] Server terminated with error (2). Closing log file.
')


Anyone here have additional info?
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Sun Nov 04, 2012 6:57 pm

I tried to build the package xf86-video-omapfb on my system using a PKGBUILD from here: https://github.com/archlinuxarm/PKGBUIL ... b/PKGBUILD

This is the PKGBUILD:

$this->bbcode_second_pass_code('', '
# Maintainer: Kevin Mihelich <kevin@Arch Linux ARM.com>

# OMAP FrameBuffer driver for Xorg

buildarch=4

pkgname="xf86-video-omapfb"
pkgver=0.1.1.1
pkgrel=3
arch=('armv7h')
url="http://gitweb.pingu.fi/?p=xf86-video-omapfb.git"
license=('GPL2')
makedepends=('pkgconfig' 'xorg-server-devel' 'resourceproto' 'scrnsaverproto')
options=('!libtool')
source=("http://archlinuxarm.org/builder/src/xf86-video-omapfb_0.1.1.1.tar.gz")
md5sums=('a9bca5424bd76d53b78826f9d5fa4abe')

build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./autogen.sh
./configure --prefix=/usr

make
}

package() {
pkgdesc="OMAP3+ framebuffer driver for X"

cd "${srcdir}/${pkgname}-${pkgver}"

make DESTDIR="${pkgdir}" install
}

')

Failed output below:

$this->bbcode_second_pass_code('', '
[jeff@ArchArm xf86-video-omapfb]$ makepkg -Acs
==> Making package: xf86-video-omapfb 0.1.1.1-3 (Sun Nov 4 10:43:35 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found xf86-video-omapfb_0.1.1.1.tar.gz
==> Validating source files with md5sums...
xf86-video-omapfb_0.1.1.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting xf86-video-omapfb_0.1.1.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if RENDER is defined... yes
checking for XORG... yes
checking for XEXT... yes
checking for ANSI C header files... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1'
Making all in src
make[2]: Entering directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c -o omapfb-driver.lo omapfb-driver.c
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden -I/usr/include/xorg -I/usr/include/pixman-1 -I/usr/include/X11/dri -I/usr/include/libdrm -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT omapfb-driver.lo -MD -MP -MF .deps/omapfb-driver.Tpo -c omapfb-driver.c -fPIC -DPIC -o .libs/omapfb-driver.o
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:43:25: warning: redundant redeclaration of 'xf86ModeHSync' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:416:1: note: previous declaration of 'xf86ModeHSync' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:44:25: warning: redundant redeclaration of 'xf86ModeVRefresh' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:418:1: note: previous declaration of 'xf86ModeVRefresh' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:53:33: warning: redundant redeclaration of 'xf86DuplicateMode' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:424:1: note: previous declaration of 'xf86DuplicateMode' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:54:33: warning: redundant redeclaration of 'xf86DuplicateModes' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:428:1: note: previous declaration of 'xf86DuplicateModes' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:56:23: warning: redundant redeclaration of 'xf86SetModeDefaultName' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:420:1: note: previous declaration of 'xf86SetModeDefaultName' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:57:23: warning: redundant redeclaration of 'xf86SetModeCrtc' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:422:1: note: previous declaration of 'xf86SetModeCrtc' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:58:23: warning: redundant redeclaration of 'xf86ModesEqual' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:430:1: note: previous declaration of 'xf86ModesEqual' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:60:23: warning: redundant redeclaration of 'xf86PrintModeline' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:432:1: note: previous declaration of 'xf86PrintModeline' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:61:33: warning: redundant redeclaration of 'xf86ModesAdd' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:434:1: note: previous declaration of 'xf86ModesAdd' was here
In file included from /usr/include/xorg/xf86Crtc.h:31:0,
from omapfb-driver.c:39:
/usr/include/xorg/xf86Modes.h:65:33: warning: redundant redeclaration of 'xf86CVTMode' [-Wredundant-decls]
In file included from omapfb-driver.c:36:0:
/usr/include/xorg/xf86.h:201:33: note: previous declaration of 'xf86CVTMode' was here
omapfb-driver.c: In function 'OMAPFBProbe':
omapfb-driver.c:198:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:253:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:254:25: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:257:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:258:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:259:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c:260:25: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c: In function 'OMAPFBPreInit':
omapfb-driver.c:380:19: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
omapfb-driver.c:288:16: warning: variable 'pEnt' set but not used [-Wunused-but-set-variable]
omapfb-driver.c: In function 'OMAPFBCloseScreen':
omapfb-driver.c:487:2: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast [enabled by default]
omapfb-driver.c:487:2: note: expected 'ScreenPtr' but argument is of type 'int'
omapfb-driver.c:487:2: error: too many arguments to function 'pScreen->CloseScreen'
omapfb-driver.c: In function 'OMAPFBScreenInit':
omapfb-driver.c:497:23: warning: assignment from incompatible pointer type [enabled by default]
omapfb-driver.c: At top level:
omapfb-driver.c:713:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
make[2]: *** [omapfb-driver.lo] Error 1
make[2]: Leaving directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jeff/Downloads/xf86-video-omapfb/xf86-video-omapfb/src/xf86-video-omapfb-0.1.1.1'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

')
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby pepedog » Sun Nov 04, 2012 8:07 pm

Tried all this weeks ago, jeff
For other gpu, nvidia came up with goods straight away (trimslice), Marvell there is a patch (cubox), possibly 80% of that patch is good for ti, the rest by someone who knows what their doing, or ti provide
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Sun Nov 04, 2012 9:50 pm

So does that mean the fbdev is the only working option available here at this point?

Do you have any info on why the (open source ?) omapfb in our repos isn't working on my hardware? Is it set up for a hard-float system?

Is floating-point unit (FPU) another name for hard float, or is FPU the opposite, soft float?

I'm pretty sure there is a solution available as I've watched a clip of ubuntu playing HD 1080p video smoothly on a Pandaboard ES. I'm having a difficult time trying to nail down all details based on the info I'm finding though.

Would you care to elaborate on what you know of the current situation? Is it just a wait and see what happens at this point?
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby pepedog » Sun Nov 04, 2012 10:40 pm

This is a good question, simple answer is if the regular joe fbdev, unaccellerated, works, that's it for now.
Complex answer, when xorg gets updated (1.13 is ABI 13), usually it's just recompile the driver again for each device, or a prcompiled one (blob) as in the case of nvidia. Nvidia was not expected to have one ready for 13, but come up trumps.
What's happened from 12 to 13 is the API has changed, ie how to interact with the core code. In the case of Marvell, someone came up with a patch https://github.com/archlinuxarm/PKGBUILDs/blob/master/alarm/xf86-video-dove/dovefb-port-to-compat-api-for-new-server.patch
So we are looking for a similar patch for your card, which is more popular than nvidia and marvell, perhaps you could google around and help out?

Ubuntu are probably on xorg 1.12 or 1.11
Archlinuxarm is only hard float on v7 devices, and it was all working fine and I'm sure it will be again soon
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Mon Nov 26, 2012 4:27 am

Still a work in progress as far as I can tell....

Here's a link to Rob Clark's work on the xf86-video-omap driver. http://cgit.freedesktop.org/xorg/driver ... ideo-omap/

The latest package uses xorg-server 1.13.

$this->bbcode_second_pass_code('', 'PKG_CHECK_MODULES(XORG, [xorg-server >= 1.3]')

It looks like it needs some (modules?) packages that are not available in Arch, but possibly required (modules?) provided by existing Arch packages?

Would it be possible to get someone to make an AUR build of this? I would, but lacking the necessary skills...

Here's some more interesting links for anyone interested.
http://elinux.org/Create_Free_Software_ ... GPU_driver
http://libreplanet.org/wiki/Group:PowerVR_drivers
http://powervr.gnu.org.ve/doku.php
http://www.phoronix.com/scan.php?page=n ... px=MTIzNTc

The last link sounding kind of like promoting page hits more that reality, but it sounds good!

And one more for anyone reading this PRIOR to making the ARM SOC purchase.

$this->bbcode_second_pass_quote('', ' ')QUOTE from WereCatf:
The above is exactly why I actually try to recommend people to stay away from these things (" ARM SOC's" added by jeff) for now; sure, all the hardware-features look great on paper and it's easy to get excited about these, but once you actually try to use the thing you'll quickly write it off as a failed investment on your part!

Source: http://www.osnews.com/thread?543173
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby xenoxaos » Mon Nov 26, 2012 3:36 pm

I just made a PKGBUILD for it https://github.com/archlinuxarm/PKGBUIL ... o-omap-git
I did a test build on my system, and I'm gonna run it through the builder here soon.
Please see what you can do with it as I have not done any video at all on the pandas.

pacman -Sy xf86-video-omap-git
I didn't set it to conflict with anything, so you'll probably have to remove any old drivers first. If this works, I'll fix the package later!
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Mon Nov 26, 2012 8:32 pm

First things first... Thank you xenoxaos, ArchARM dev's and community for the availability of ArchARM. You have helped me out promptly every time I have asked! This package was an unexpected treat so soon after posting! A donation will be sent shortly.

I can't get it to run. I tried both your package and compiled my own.

It appears that xorg is trying to load fbdev, even though I removed it and the other video drivers that were installed prior to installing xf86-video-omap-git. Is this because xorg is not recognizing xf86-video-omap-git as an available driver, then falls back to a default, fbdev in this case?

I was able to compile the package using your PKGBUILD after I downloaded xf86-video-omap-master.tar.gz. I had to replace the md5sum though.

Is xf86-video-omap-git possibly requiring an unavailable file that's supplied by a package I don't have installed? xorg wouldn't log that as far as I know, or would it?

terminal output from startx directed to a file using
$this->bbcode_second_pass_code('', '$ startx 2>&1 | tee error-file.txt:')

$this->bbcode_second_pass_code('', 'X.Org X Server 1.13.0
Release Date: 2012-09-05
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.7-1-ARCH armv7l
Current Operating System: Linux ArchArm 3.6.3-2-ARCH #1 SMP PREEMPT Tue Oct 23 03:13:46 UTC 2012 armv7l
Kernel command line: console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
Build Date: 12 November 2012 02:11:00PM

Current version of pixman: 0.28.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 26 11:34:30 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX

Fatal server error:
no screens found
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
')

xorg.log looking for fbdev and indicating no drivers available. I got rid of the xorg.conf and 10-monitor.conf that listed fbdev.

$this->bbcode_second_pass_code('', '[ 807.984]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 807.984] X Protocol Version 11, Revision 0
[ 807.984] Build Operating System: Linux 3.2.7-1-ARCH armv7l
[ 807.984] Current Operating System: Linux ArchArm 3.6.3-2-ARCH #1 SMP PREEMPT Tue Oct 23 03:13:46 UTC 2012 armv7l
[ 807.985] Kernel command line: console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
[ 807.985] Build Date: 12 November 2012 02:11:00PM
[ 807.985]
[ 807.985] Current version of pixman: 0.28.0
[ 807.985] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 807.985] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 807.986] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 26 11:34:30 2012
[ 807.986] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 807.987] (==) No Layout section. Using the first Screen section.
[ 807.987] (**) |-->Screen "Screen0" (0)
[ 807.987] (**) | |-->Monitor "Monitor0"
[ 807.988] (**) | |-->Device "Device0"
[ 807.988] (==) Automatically adding devices
[ 807.988] (==) Automatically enabling devices
[ 807.988] (==) Automatically adding GPU devices
[ 807.988] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 807.988] Entry deleted from font path.
[ 807.989] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 807.989] Entry deleted from font path.
[ 807.989] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 807.989] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 807.989] Entry deleted from font path.
[ 807.989] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 807.989] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 807.989] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 807.989] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 807.989] (II) Loader magic: 0x1bf548
[ 807.989] (II) Module ABI versions:
[ 807.989] X.Org ANSI C Emulation: 0.4
[ 807.989] X.Org Video Driver: 13.1
[ 807.989] X.Org XInput driver : 18.0
[ 807.989] X.Org Server Extension : 7.0
[ 807.990] Initializing built-in extension Generic Event Extension
[ 807.990] Initializing built-in extension SHAPE
[ 807.990] Initializing built-in extension MIT-SHM
[ 807.990] Initializing built-in extension XInputExtension
[ 807.990] Initializing built-in extension XTEST
[ 807.990] Initializing built-in extension BIG-REQUESTS
[ 807.990] Initializing built-in extension SYNC
[ 807.990] Initializing built-in extension XKEYBOARD
[ 807.991] Initializing built-in extension XC-MISC
[ 807.991] Initializing built-in extension SECURITY
[ 807.991] Initializing built-in extension XINERAMA
[ 807.991] Initializing built-in extension XFIXES
[ 807.991] Initializing built-in extension RENDER
[ 807.991] Initializing built-in extension RANDR
[ 807.991] Initializing built-in extension COMPOSITE
[ 807.991] Initializing built-in extension DAMAGE
[ 807.991] Initializing built-in extension MIT-SCREEN-SAVER
[ 807.991] Initializing built-in extension DOUBLE-BUFFER
[ 807.991] Initializing built-in extension RECORD
[ 807.991] Initializing built-in extension DPMS
[ 807.991] Initializing built-in extension X-Resource
[ 807.991] Initializing built-in extension XVideo
[ 807.991] Initializing built-in extension XVideo-MotionCompensation
[ 807.991] Initializing built-in extension XFree86-VidModeExtension
[ 807.992] Initializing built-in extension XFree86-DGA
[ 807.992] Initializing built-in extension XFree86-DRI
[ 807.992] Initializing built-in extension DRI2
[ 807.992] (II) LoadModule: "glx"
[ 807.993] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 807.994] (II) Module glx: vendor="X.Org Foundation"
[ 807.994] compiled for 1.13.0, module version = 1.0.0
[ 807.994] ABI class: X.Org Server Extension, version 7.0
[ 807.994] (==) AIGLX enabled
[ 807.994] Loading extension GLX
[ 807.994] (II) LoadModule: "fbdev"
[ 807.995] (WW) Warning, couldn't open module fbdev
[ 807.995] (II) UnloadModule: "fbdev"
[ 807.995] (II) Unloading fbdev
[ 807.996] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 807.996] (EE) No drivers available.
[ 807.996]
Fatal server error:
[ 807.996] no screens found
[ 807.996] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 807.996] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 807.996] (EE)
[ 807.996] Server terminated with error (1). Closing log file.
')

the package compile output on my system:
$this->bbcode_second_pass_code('', '[jeff@ArchArm xf86-video-omap-git]$ makepkg -Acs
==> Making package: xf86-video-omap-git 0.4.2-1 (Mon Nov 26 09:56:28 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> ERROR: xf86-video-omap-master.tar.gz was not found in the build directory and is not a URL.
[jeff@ArchArm xf86-video-omap-git]$ makepkg -Acs
==> Making package: xf86-video-omap-git 0.4.2-1 (Mon Nov 26 09:59:08 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found xf86-video-omap-master.tar.gz
==> Validating source files with md5sums...
xf86-video-omap-master.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
[jeff@ArchArm xf86-video-omap-git]$ makepkg -Acs
==> Making package: xf86-video-omap-git 0.4.2-1 (Mon Nov 26 10:01:53 PST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found xf86-video-omap-master.tar.gz
==> Validating source files with md5sums...
xf86-video-omap-master.tar.gz ... Passed
==> Extracting Sources...
-> Extracting xf86-video-omap-master.tar.gz with bsdtar
==> Starting build()...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
configure.ac:23: installing './config.guess'
configure.ac:23: installing './config.sub'
configure.ac:15: installing './install-sh'
configure.ac:15: installing './missing'
src/Makefile.am: installing './depcomp'
./configure --enable-maintainer-mode
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a sed that does not truncate output... /bin/sed
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports-pedantic... yes
checking if gcc -std=gnu99 supports-Werror... yes
checking if gcc -std=gnu99 supports-Werror=attributes... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking whether to include DRI support... checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Now type 'make' to compile
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a sed that does not truncate output... /bin/sed
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports-Wall... yes
checking if gcc -std=gnu99 supports-Wpointer-arith... yes
checking if gcc -std=gnu99 supports-Wmissing-declarations... yes
checking if gcc -std=gnu99 supports-Wformat=2... yes
checking if gcc -std=gnu99 supports-Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports-Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports-Wnested-externs... yes
checking if gcc -std=gnu99 supports-Wbad-function-cast... yes
checking if gcc -std=gnu99 supports-Wold-style-definition... yes
checking if gcc -std=gnu99 supports-Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports-Wunused... yes
checking if gcc -std=gnu99 supports-Wuninitialized... yes
checking if gcc -std=gnu99 supports-Wshadow... yes
checking if gcc -std=gnu99 supports-Wcast-qual... yes
checking if gcc -std=gnu99 supports-Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports-Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports-Wredundant-decls... yes
checking if gcc -std=gnu99 supports-Werror=implicit... yes
checking if gcc -std=gnu99 supports-Werror=nonnull... yes
checking if gcc -std=gnu99 supports-Werror=init-self... yes
checking if gcc -std=gnu99 supports-Werror=main... yes
checking if gcc -std=gnu99 supports-Werror=missing-braces... yes
checking if gcc -std=gnu99 supports-Werror=sequence-point... yes
checking if gcc -std=gnu99 supports-Werror=return-type... yes
checking if gcc -std=gnu99 supports-Werror=trigraphs... yes
checking if gcc -std=gnu99 supports-Werror=array-bounds... yes
checking if gcc -std=gnu99 supports-Werror=write-strings... yes
checking if gcc -std=gnu99 supports-Werror=address... yes
checking if gcc -std=gnu99 supports-Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports-Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports-pedantic... yes
checking if gcc -std=gnu99 supports-Werror... yes
checking if gcc -std=gnu99 supports-Werror=attributes... yes
checking whether make supports nested variables... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XV is defined... yes
checking if DPMSExtension is defined... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking whether to include DRI support... checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking whether to include DRI support...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
make all-recursive
make[1]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
Making all in src
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
CC drmmode_display.lo
CC omap_exa.lo
CC omap_exa_null.lo
CC omap_exa_utils.lo
CC omap_xv.lo
CC omap_dri2.lo
CC omap_driver.lo
CCLD omap_drv.la
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
Making all in man
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
GEN omap.4
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
make[1]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
==> Entering fakeroot environment...
==> Starting package()...
Making install in src
make[1]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/lib/xorg/modules/drivers'
/bin/sh ../libtool --mode=install /usr/bin/install -c omap_drv.la '/home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/lib/xorg/modules/drivers'
libtool: install: /usr/bin/install -c .libs/omap_drv.so /home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/lib/xorg/modules/drivers/omap_drv.so
libtool: install: /usr/bin/install -c .libs/omap_drv.lai /home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/lib/xorg/modules/drivers/omap_drv.la
libtool: install: warning: remember to run `libtool --finish /usr/lib/xorg/modules/drivers'
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
make[1]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/src'
Making install in man
make[1]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/share/man/man4'
/usr/bin/install -c -m 644 omap.4 '/home/jeff/z-AUR/xf86-video-omap-git/pkg/usr/share/man/man4'
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
make[1]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master/man'
make[1]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
make[2]: Entering directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
make[1]: Leaving directory `/home/jeff/z-AUR/xf86-video-omap-git/src/xf86-video-omap-master'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing libtool files...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: xf86-video-omap-git 0.4.2-1 (Mon Nov 26 10:04:07 PST 2012)
==> Cleaning up...')
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby xenoxaos » Mon Nov 26, 2012 8:38 pm

The driver isn't called xf86-video-omap-git...that's the package name for pacman. The actual driver should be "omap" and should be located in /usr/lib/xorg/modules/drivers/omap_drv.so

You may have to create a section in /etc/X11/xorg.conf.d/something.conf to specify the driver.
$this->bbcode_second_pass_code('', 'Section "Device"
Identifier "pandaes"
Driver "omap"
EndSection
Section "Screen"
Identifier "DefaultScreen"
Device "pandaes"
EndSection')
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Pandaboard ES ... SGX540 graphics driver options?

Postby jeffstory » Mon Nov 26, 2012 8:59 pm

Yea, I know that about what the drivers are called in xorg.conf.

/usr/lib/xorg/modules/drivers currently has both fbdev_drv.so and omap_drv.so. I reinstalled fbdev after trying omap.

my edited xorg.conf located in /etc/X11

$this->bbcode_second_pass_code('', 'Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Section "Monitor"
Identifier "Monitor0"
EndSection

Section "Device"
Identifier "Device0"
Driver "omap"

EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1440x900"
EndSubSection
EndSection')
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Next

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 3 guests