[meta-freescale] X11 hardware acceleration

jojo rjiejie at gmail.com
Fri May 3 08:24:38 PDT 2013


Hi,
	
	Ok & thanks, i have a try later :)

	how do i confirm the acceleration function is enable normally du to log or configuration file of X11 following ?

	Maybe it's  exceptional for red line of log ?


========= log =========

Poky 9.0 (Yocto Project 1.4 Reference Distro) 1.4 imx6qsabresd ttymxc0

imx6qsabresd login: root
root at imx6qsabresd:~# startx &
[1] 684
root at imx6qsabresd:~# hostname: imx6qsabresd: Resolver internal error
xauth:  file /home/root/.serverauth.684 does not exist

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/imx6qsabresd:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X.Org X Server 1.11.4
Release Date: 2012-01-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-358.2.1.el6.x86_64 x86_64 
Current Operating System: Linux imx6qsabresd 3.0.35-1.1.0+yocto+g21304e1 #1 SMP PREEMPT Thu May 2 19:01:09 CST 2013 armv7l
Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=192.168.1.112:/home/jojo/work/imx6q/rootfs_builder/build/tmp/deploy/images/jojo/rootfs,v3,tcp video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M at 60,if=RGB24 3
Build Date: 02 May 2013  07:05:35PM
 
Current version of pixman: 0.29.2
        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: Fri May  3 11:37:23 2013
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "extmod" (module does not exist, 0)
(EE) Failed to load module "dbe" (module does not exist, 0)
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
(EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
(EE) AIGLX: reverting to software rendering

root at imx6qsabresd:~# 
root at imx6qsabresd:~# /usr/lib/X11/xinit/xinitrc: line 52: twm: command not found
/usr/lib/X11/xinit/xinitrc: line 53: xclock: command not found
catWarning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
xterm: Failed to open input method
xterm: Failed to open input method
xterm: Failed to open input method
 
root at imx6qsabresd:~# cat /etc/X11/
Xdefaults       Xserver         functions       xserver-common
Xinit           Xsession        xmodmap/        
Xinit.d/        Xsession.d/     xorg.conf       
root at imx6qsabresd:~# cat /etc/X11/xorg.conf 
Section "Device"
    Identifier  "i.MX Accelerated Framebuffer Device"
    Driver      "vivante"
    Option      "fbdev"     "/dev/fb0"
    Option      "vivante_fbdev" "/dev/fb0"
    Option      "HWcursor"  "false"
EndSection

Section "ServerFlags"
    Option "BlankTime"  "0"
    Option "StandbyTime"  "0"
    Option "SuspendTime"  "0"
    Option "OffTime"  "0"
EndSection


========= xorg config file =========




Thanks,
- Jojo




在 2013-5-3,下午7:30,Otavio Salvador <otavio at ossystems.com.br> 写道:

> On Fri, May 3, 2013 at 3:50 AM, jojo <rjiejie at gmail.com> wrote:
>> Hi,
>> 
>> Is there some test program of X11 acceleration in "dylan" ?
>> 
>> It's invalid indeed for "x11_overlay.c" in directory "imx-test-1.1.0".
>> 
>> Can you give me some clue to get some test program of "X11" with hardware
>> acceleration ?
> 
> You could use the gpu-viv test apps. I am working in adding mesa-demos
> GLES2 demos.
> 
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130503/cd1bb138/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.log
Type: application/octet-stream
Size: 17658 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130503/cd1bb138/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130503/cd1bb138/attachment-0001.html>


More information about the meta-freescale mailing list