Pandaboard ES ... SGX540 graphics driver options?

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

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

Postby jeffstory » Tue Nov 27, 2012 12:50 am

For some reason, my handmade xorg.conf had no effect. Something wrong in it perhaps.

I tried Xorg -configure to attempt to create a new one to edit, but no luck. man xorg.conf still refers to it so apparently it's not depreciated yet. Also, I use an xorg.conf in my AMD/nvidia desktop with Arch and it works, so I'm at a loss at the moment....

However, creating an /etc/X11/xorg.conf.d/10-monitor.conf did the trick of getting the "omap" driver to load. Still no luck getting omap to run.

$this->bbcode_second_pass_code('', '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')


Possibly the problem is now related to the boot options in boot.scr are directing video output to the DVI (p1) in ArchARM, whereas Linaro and Ubuntu are setup to use HDMI (p2). What are your thoughts on this before I dig in to try redirect video to the HDMI(p2)

xorg.0.log

$this->bbcode_second_pass_code('', '[ 17.789]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 17.789] X Protocol Version 11, Revision 0
[ 17.789] Build Operating System: Linux 3.2.7-1-ARCH armv7l
[ 17.789] Current Operating System: Linux ArchArm 3.6.3-2-ARCH #1 SMP PREEMPT Tue Oct 23 03:13:46 UTC 2012 armv7l
[ 17.789] Kernel command line: console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
[ 17.789] Build Date: 12 November 2012 02:11:00PM
[ 17.790]
[ 17.790] Current version of pixman: 0.28.0
[ 17.790] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 17.790] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 17.791] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec 31 16:09:30 1999
[ 17.791] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 17.792] (==) No Layout section. Using the first Screen section.
[ 17.792] (**) |-->Screen "Screen0" (0)
[ 17.792] (**) | |-->Monitor "Monitor0"
[ 17.793] (**) | |-->Device "Device0"
[ 17.793] (==) Automatically adding devices
[ 17.793] (==) Automatically enabling devices
[ 17.793] (==) Automatically adding GPU devices
[ 17.793] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 17.793] Entry deleted from font path.
[ 17.793] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 17.793] Entry deleted from font path.
[ 17.794] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 17.794] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 17.794] Entry deleted from font path.
[ 17.794] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 17.794] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/Type1/
[ 17.794] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 17.794] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 17.794] (II) Loader magic: 0x1bf548
[ 17.794] (II) Module ABI versions:
[ 17.794] X.Org ANSI C Emulation: 0.4
[ 17.794] X.Org Video Driver: 13.1
[ 17.794] X.Org XInput driver : 18.0
[ 17.794] X.Org Server Extension : 7.0
[ 17.795] Initializing built-in extension Generic Event Extension
[ 17.795] Initializing built-in extension SHAPE
[ 17.795] Initializing built-in extension MIT-SHM
[ 17.795] Initializing built-in extension XInputExtension
[ 17.795] Initializing built-in extension XTEST
[ 17.795] Initializing built-in extension BIG-REQUESTS
[ 17.795] Initializing built-in extension SYNC
[ 17.795] Initializing built-in extension XKEYBOARD
[ 17.795] Initializing built-in extension XC-MISC
[ 17.796] Initializing built-in extension SECURITY
[ 17.796] Initializing built-in extension XINERAMA
[ 17.796] Initializing built-in extension XFIXES
[ 17.796] Initializing built-in extension RENDER
[ 17.796] Initializing built-in extension RANDR
[ 17.796] Initializing built-in extension COMPOSITE
[ 17.796] Initializing built-in extension DAMAGE
[ 17.796] Initializing built-in extension MIT-SCREEN-SAVER
[ 17.796] Initializing built-in extension DOUBLE-BUFFER
[ 17.796] Initializing built-in extension RECORD
[ 17.796] Initializing built-in extension DPMS
[ 17.796] Initializing built-in extension X-Resource
[ 17.796] Initializing built-in extension XVideo
[ 17.797] Initializing built-in extension XVideo-MotionCompensation
[ 17.797] Initializing built-in extension XFree86-VidModeExtension
[ 17.797] Initializing built-in extension XFree86-DGA
[ 17.797] Initializing built-in extension XFree86-DRI
[ 17.797] Initializing built-in extension DRI2
[ 17.797] (II) LoadModule: "glx"
[ 17.798] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 17.799] (II) Module glx: vendor="X.Org Foundation"
[ 17.799] compiled for 1.13.0, module version = 1.0.0
[ 17.799] ABI class: X.Org Server Extension, version 7.0
[ 17.799] (==) AIGLX enabled
[ 17.799] Loading extension GLX
[ 17.799] (II) LoadModule: "omap"
[ 17.800] (II) Loading /usr/lib/xorg/modules/drivers/omap_drv.so
[ 17.801] (II) Module omap: vendor="X.Org Foundation"
[ 17.801] compiled for 1.13.0, module version = 0.83.0
[ 17.801] Module class: X.Org Video Driver
[ 17.801] ABI class: X.Org Video Driver, version 13.1
[ 17.801] (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
[ 17.801] (--) using VT number 7

[ 17.819] (WW) Falling back to old probe method for omap
[ 17.914] (EE) No devices detected.
[ 17.914]
Fatal server error:
[ 17.915] no screens found
[ 17.915] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 17.915] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 17.915] (EE)
[ 17.951] Server terminated with error (1). Closing log file.')
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

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

Postby xenoxaos » Tue Nov 27, 2012 1:20 am

Actually, I would probably start by using the xorg.conf and cmdline settings that were on the ubuntu one.
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 » Thu Nov 29, 2012 1:23 am

More info and a quote from https://github.com/robclark/xf86-video-omap

$this->bbcode_second_pass_quote('', 'f')86-video-omap
Open-source X.org graphics driver for TI OMAP graphics

Currently relies on a closed-source submodule for EXA acceleration on
the following chipsets:
+ OMAP3430
+ OMAP3630
+ OMAP4430
+ OMAP4460
+ OMAP5430
+ OMAP5432


NOTE: this driver is work in progress.. you probably don't want to try
and use it yet. The API/ABI between driver and kernel, and driver and
acceleration submodules is not stable yet. This driver requires the
omapdrm kernel driver w/ GEM support.

EXA vs UXA? This is an open question..
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

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

Postby jeffstory » Mon Apr 22, 2013 10:31 am

This project: http://mer-project.blogspot.com/ sounds very interesting.

What is libhybris? Libhybris is a solution that allows non-Android systems such as glibc-based systems (like most non-Android systems are) to utilize shared objects (libraries) built for Android. In practice this means that you can leverage things like OpenGL ES 2.0 and other hardware interfacing provided within Android hardware adaptations.


On the PowerVR SGX, there was an API provided called WSEGL, for making plugins that were windowing systems (X11, Framebuffer, QWS, Wayland..) that allowed me to do just that.



If I understand this correctly, libhybris would be a viable solution for the lack of ARM GPU drivers for the Linux desktop. Just leverage the Android drivers!

This discovery gives me something to look forward to, running Arch + a proper GPU driver on my pandaboard !! This also gives me a reason to actually care about Wayland......
jeffstory
 
Posts: 24
Joined: Wed Oct 24, 2012 9:37 pm

Previous

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 6 guests