All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm] chrome with Vivante GPU on i.MX6
@ 2014-03-27 11:11 Gary Thomas
  2014-03-31 22:18 ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2014-03-27 11:11 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 2755 bytes --]

I now have X11 running with the Vivante GPU on my i.MX6solo.
Or so I thought - now I'm not so sure :-(

The X11 server happy reports that it is using the Vivante libraries,
but I think there are problems.  In particular, I see this message
in the log (complete log attached):
[ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
[ 53044.383] (EE) AIGLX: reverting to software rendering

Then there are these messages which don't make much sense:
[ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
(my physical screen is 800x480)

Finally, when I run Google chrome, I get a slew of EGL related errors:
[2136:2136:0327/105115:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
[2136:2136:0327/105115:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
[2113:2131:0327/105117:ERROR:browser_process_resource_provider.cc(52)] Not implemented reached in task_manager::BrowserProcessResource::BrowserProcessResource()
[     1] libGAL: Performing a software resolve!
[2136:2136:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b7c34f8]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
[2203:2203:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
[2203:2203:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
[     1] libGAL: Performing a software resolve!
[2203:2203:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x39e5a998]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
[2214:2214:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
[2214:2214:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
[     1] libGAL: Performing a software resolve!
[2214:2214:0327/105118:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b835a30]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command

and the chrome://gpu/ page indicates that hardware acceleration
is *not* available.

None of these errors are particular to my i.MX6solo platform.
I get the same indications when I run on my i.MX6Q SabreLite
using the "out of the box" build for Nitrogen6x.

What am I missing?  How can I tell if the Vivante GPU is being
used?  If not, what need I do to get it going?

Thanks for any ideas/pointers

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

[-- Attachment #2: Xorg.0.log --]
[-- Type: text/x-log, Size: 18487 bytes --]

[ 53043.748] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[ 53043.748] _XSERVTransOpen: transport open failed for inet6/nitrogen6x:0
[ 53043.748] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[ 53043.758] 
X.Org X Server 1.14.4
Release Date: 2013-10-31
[ 53043.758] X Protocol Version 11, Revision 0
[ 53043.758] Build Operating System: Linux 3.11.0-12-generic x86_64 
[ 53043.758] Current Operating System: Linux nitrogen6x 3.0.35-4.1.0+yocto+g79a3b6d #1 SMP PREEMPT Wed Mar 26 16:03:31 MDT 2014 armv7l
[ 53043.758] Kernel command line: enable_wait_mode=off video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=10M console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait root=/dev/mmcblk0p2 mxc_hdmi.only_cea=1
[ 53043.758] Build Date: 26 March 2014  07:37:51AM
[ 53043.758]  
[ 53043.758] Current version of pixman: 0.32.4
[ 53043.758] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 53043.758] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 53043.758] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Mar 27 10:50:14 2014
[ 53043.762] (==) Using config file: "/etc/X11/xorg.conf"
[ 53043.763] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 53043.763] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 53043.765] (==) No Layout section.  Using the first Screen section.
[ 53043.765] (==) No screen section available. Using defaults.
[ 53043.765] (**) |-->Screen "Default Screen Section" (0)
[ 53043.765] (**) |   |-->Monitor "<default monitor>"
[ 53043.771] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[ 53043.771] (**) |   |-->Device "i.MX Accelerated Framebuffer Device"
[ 53043.771] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 53043.771] (**) Option "BlankTime" "0"
[ 53043.771] (**) Option "StandbyTime" "0"
[ 53043.771] (**) Option "SuspendTime" "0"
[ 53043.771] (**) Option "OffTime" "0"
[ 53043.771] (==) Automatically adding devices
[ 53043.771] (==) Automatically enabling devices
[ 53043.771] (==) Automatically adding GPU devices
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/misc/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 53043.773] 	Entry deleted from font path.
[ 53043.773] (==) FontPath set to:
	
[ 53043.773] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 53043.773] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 53043.774] (II) Loader magic: 0x1a7850
[ 53043.774] (II) Module ABI versions:
[ 53043.774] 	X.Org ANSI C Emulation: 0.4
[ 53043.774] 	X.Org Video Driver: 14.1
[ 53043.774] 	X.Org XInput driver : 19.1
[ 53043.774] 	X.Org Server Extension : 7.0
[ 53043.775] (II) Open APM successful
[ 53043.776] Initializing built-in extension Generic Event Extension
[ 53043.776] Initializing built-in extension SHAPE
[ 53043.776] Initializing built-in extension MIT-SHM
[ 53043.776] Initializing built-in extension XInputExtension
[ 53043.776] Initializing built-in extension XTEST
[ 53043.776] Initializing built-in extension BIG-REQUESTS
[ 53043.776] Initializing built-in extension SYNC
[ 53043.776] Initializing built-in extension XKEYBOARD
[ 53043.776] Initializing built-in extension XC-MISC
[ 53043.776] Initializing built-in extension XFIXES
[ 53043.776] Initializing built-in extension RENDER
[ 53043.776] Initializing built-in extension RANDR
[ 53043.776] Initializing built-in extension COMPOSITE
[ 53043.777] Initializing built-in extension DAMAGE
[ 53043.777] Initializing built-in extension MIT-SCREEN-SAVER
[ 53043.777] Initializing built-in extension DOUBLE-BUFFER
[ 53043.777] Initializing built-in extension DPMS
[ 53043.777] Initializing built-in extension X-Resource
[ 53043.777] Initializing built-in extension XVideo
[ 53043.777] Initializing built-in extension XVideo-MotionCompensation
[ 53043.777] Initializing built-in extension XFree86-VidModeExtension
[ 53043.777] Initializing built-in extension XFree86-DGA
[ 53043.777] Initializing built-in extension XFree86-DRI
[ 53043.777] Initializing built-in extension DRI2
[ 53043.777] (II) LoadModule: "glx"
[ 53043.781] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 53043.799] (II) Module glx: vendor="X.Org Foundation"
[ 53043.799] 	compiled for 1.14.4, module version = 1.0.0
[ 53043.799] 	ABI class: X.Org Server Extension, version 7.0
[ 53043.799] (==) AIGLX enabled
[ 53043.799] Loading extension GLX
[ 53043.799] (II) LoadModule: "vivante"
[ 53043.799] (II) Loading /usr/lib/xorg/modules/drivers/vivante_drv.so
[ 53043.855] (II) Module vivante: vendor="X.Org Foundation"
[ 53043.855] 	compiled for 1.14.4, module version = 1.0.0
[ 53043.855] 	Module class: X.Org Video Driver
[ 53043.855] 	ABI class: X.Org Video Driver, version 14.1
[ 53043.855] Loading extension vivext
[ 53043.855] (II) VIVANTE: driver for vivante fb: VivanteGC500, VivanteGC2100,
	VivanteGCCORE
[ 53043.855] (--) using VT number 1

[ 53043.914] (WW) Falling back to old probe method for vivante
[ 53043.914] (II) Loading sub module "fbdevhw"
[ 53043.914] (II) LoadModule: "fbdevhw"
[ 53043.914] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 53043.917] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 53043.917] 	compiled for 1.14.4, module version = 0.0.2
[ 53043.917] 	ABI class: X.Org Video Driver, version 14.1
[ 53043.917] (II) VIVANTE(0): using default device
[ 53043.917] (II) VIVANTE(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[ 53043.917] (==) VIVANTE(0): Depth 16, (==) framebuffer bpp 16
[ 53043.917] (==) VIVANTE(0): RGB weight 565
[ 53043.917] (==) VIVANTE(0): Default visual is TrueColor
[ 53043.917] (==) VIVANTE(0): Using gamma correction (1.0, 1.0, 1.0)
[ 53043.917] (**) VIVANTE(0): Option "fbdev" "/dev/fb0"
[ 53043.917] (II) VIVANTE(0): checking modes against framebuffer device...
[ 53043.917] (II) VIVANTE(0): checking modes against monitor...
[ 53043.917] (II) VIVANTE(0): Use built in mode (bpp 16)
[ 53043.917] (--) VIVANTE(0): Virtual size is 0x0 (pitch 0)
[ 53043.917] (==) VIVANTE(0): DPI set to (96, 96)
[ 53043.917] (II) Loading sub module "fb"
[ 53043.917] (II) LoadModule: "fb"
[ 53043.918] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 53043.927] (II) Module fb: vendor="X.Org Foundation"
[ 53043.927] 	compiled for 1.14.4, module version = 1.0.0
[ 53043.927] 	ABI class: X.Org ANSI C Emulation, version 0.4
[ 53043.927] (II) Loading sub module "exa"
[ 53043.927] (II) LoadModule: "exa"
[ 53043.927] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 53043.933] (II) Module exa: vendor="X.Org Foundation"
[ 53043.933] 	compiled for 1.14.4, module version = 2.6.0
[ 53043.933] 	ABI class: X.Org Video Driver, version 14.1
[ 53043.950] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:
[ 53043.950] (II) VIVANTE(0): Modeline "U:800x480p-57"x0.0   27.00  800 860 880 920  480 490 500 510 -hsync -vsync -csync (29.3 kHz P)
[ 53043.979] (II) VIVANTE(0): Output DISP3 BG has no monitor section
[ 53043.979] (II) VIVANTE(0): Printing probed modes for output DISP3 BG
[ 53043.979] (II) VIVANTE(0): Modeline "U:800x480p-57"x57.5   27.00  800 860 880 920  480 490 500 510 -hsync -vsync -csync (29.3 kHz P)
[ 53043.979] (II) VIVANTE(0): Output DISP3 BG connected
[ 53043.979] (II) VIVANTE(0): Using exact sizes for initial modes
[ 53043.979] (II) VIVANTE(0): Output DISP3 BG using initial mode U:800x480p-57
[ 53044.048] (II) VIVANTE(0): imxDisplayPreInit: virtual set 800 x 480, display width 0
[ 53044.048] (II) VIVANTE(0): FBDevPreInit: adjust display width 800
[ 53044.048] (**) VIVANTE(0): PreInit done
[ 53044.048] (II) VIVANTE(0): Init mode for fb device
[ 53044.098] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16320kB)
[ 53044.099] (II) VIVANTE(0): FB Start = 0x334b3000  FB Base = 0x334b3000  FB Offset = (nil)
[ 53044.099] (II) VIVANTE(0): reserve 4177920 bytes for on screen frame buffer; total fb memory size 16711680 bytes; offset of shadow buffer 4177920
[ 53044.208] (II) VIVANTE(0): hardware: DISP3 BG (video memory: 16320kB)
[ 53044.261] (II) VIVANTE(0): test Initializing EXA
[ 53044.261] (II) VIVANTE(0): (driver build from: -dirty)
[ 53044.262] (II) EXA(0): Driver allocated offscreen pixmaps
[ 53044.262] (II) EXA(0): Driver registered support for the following operations:
[ 53044.262] (II)         Solid
[ 53044.262] (II)         Copy
[ 53044.262] (II)         Composite (RENDER acceleration)
[ 53044.262] (II)         UploadToScreen
[ 53044.265] (==) VIVANTE(0): Backing store disabled
[ 53044.265] (==) VIVANTE(0): DPMS enabled
[ 53044.265] (II) VIVANTE(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 53044.265] drmOpenDevice: node name is /dev/dri/card0
[ 53044.270] drmOpenDevice: open result is -1, (No such device or address)
[ 53044.274] drmOpenDevice: open result is -1, (No such device or address)
[ 53044.274] drmOpenDevice: Open failed
[ 53044.275] drmOpenDevice: node name is /dev/dri/card0
[ 53044.279] drmOpenDevice: open result is -1, (No such device or address)
[ 53044.283] drmOpenDevice: open result is -1, (No such device or address)
[ 53044.283] drmOpenDevice: Open failed
[ 53044.320] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00
[ 53044.320] drmOpenDevice: node name is /dev/dri/card0
[ 53044.320] drmOpenDevice: open result is 12, (OK)
[ 53044.320] drmOpenByBusid: drmOpenMinor returns 12
[ 53044.321] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00
[ 53044.321] (II) [drm] loaded kernel module for "vivante" driver.
[ 53044.321] (II) [drm] DRM interface version 1.4
[ 53044.321] (II) [drm] DRM open master succeeded.
[ 53044.321] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.
[ 53044.321] (II) VIVANTE(0): [drm] framebuffer handle = 0x19000000
[ 53044.321] (II) VIVANTE(0): [drm] added 1 reserved context for kernel
[ 53044.321] (II) VIVANTE(0): X context handle = 0x1
[ 53044.321] (II) VIVANTE(0): [drm] installed DRM signal handler
[ 53044.321] (II) VIVANTE(0): [DRI] installation complete
[ 53044.321] (--) RandR disabled
[ 53044.350] (II) AIGLX: Screen 0 is not DRI2 capable
[ 53044.350] drmOpenDevice: node name is /dev/dri/card0
[ 53044.350] drmOpenDevice: open result is 13, (OK)
[ 53044.350] drmOpenByBusid: Searching for BusID platform:Vivante GCCore:00
[ 53044.350] drmOpenDevice: node name is /dev/dri/card0
[ 53044.350] drmOpenDevice: open result is 13, (OK)
[ 53044.350] drmOpenByBusid: drmOpenMinor returns 13
[ 53044.350] drmOpenByBusid: Interface 1.4 failed, trying 1.1
[ 53044.350] drmOpenByBusid: drmGetBusid reports platform:Vivante GCCore:00
[ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
[ 53044.383] (EE) AIGLX: reverting to software rendering
[ 53044.493] (II) AIGLX: Loaded and initialized swrast
[ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
[ 53044.720] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/event2)
[ 53044.720] (**) Logitech USB-PS/2 Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 53044.720] (II) LoadModule: "evdev"
[ 53044.720] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 53044.725] (II) Module evdev: vendor="X.Org Foundation"
[ 53044.725] 	compiled for 1.14.4, module version = 2.8.2
[ 53044.725] 	Module class: X.Org XInput Driver
[ 53044.725] 	ABI class: X.Org XInput driver, version 19.1
[ 53044.725] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
[ 53044.725] (**) Logitech USB-PS/2 Optical Mouse: always reports core events
[ 53044.725] (**) evdev: Logitech USB-PS/2 Optical Mouse: Device: "/dev/input/event2"
[ 53044.725] (--) evdev: Logitech USB-PS/2 Optical Mouse: Vendor 0x46d Product 0xc03d
[ 53044.726] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found 3 mouse buttons
[ 53044.726] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found scroll wheel(s)
[ 53044.726] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found relative axes
[ 53044.726] (--) evdev: Logitech USB-PS/2 Optical Mouse: Found x and y relative axes
[ 53044.726] (II) evdev: Logitech USB-PS/2 Optical Mouse: Configuring as mouse
[ 53044.726] (II) evdev: Logitech USB-PS/2 Optical Mouse: Adding scrollwheel support
[ 53044.726] (**) evdev: Logitech USB-PS/2 Optical Mouse: YAxisMapping: buttons 4 and 5
[ 53044.726] (**) evdev: Logitech USB-PS/2 Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 53044.726] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.1/2-1.2.1:1.0/input/input2/event2"
[ 53044.726] (II) XINPUT: Adding extended input device "Logitech USB-PS/2 Optical Mouse" (type: MOUSE, id 6)
[ 53044.726] (II) evdev: Logitech USB-PS/2 Optical Mouse: initialized for relative axes.
[ 53044.727] (**) Logitech USB-PS/2 Optical Mouse: (accel) keeping acceleration scheme 1
[ 53044.727] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration profile 0
[ 53044.727] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration factor: 2.000
[ 53044.727] (**) Logitech USB-PS/2 Optical Mouse: (accel) acceleration threshold: 4
[ 53044.728] (II) config/udev: Adding input device Logitech USB-PS/2 Optical Mouse (/dev/input/mouse1)
[ 53044.728] (II) No input driver specified, ignoring this device.
[ 53044.728] (II) This device may have been added with another device file.
[ 53044.729] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event3)
[ 53044.729] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 53044.729] (II) Using input driver 'evdev' for 'Dell Dell USB Keyboard'
[ 53044.729] (**) Dell Dell USB Keyboard: always reports core events
[ 53044.729] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event3"
[ 53044.729] (--) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2105
[ 53044.729] (--) evdev: Dell Dell USB Keyboard: Found keys
[ 53044.729] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[ 53044.729] (**) Option "config_info" "udev:/sys/devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2.2/2-1.2.2:1.0/input/input3/event3"
[ 53044.729] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD, id 7)
[ 53044.729] (**) Option "xkb_rules" "evdev"
[ 53044.729] (**) Option "xkb_model" "pc104"
[ 53044.729] (**) Option "xkb_layout" "us"
[ 53044.802] (II) config/udev: Adding input device gpio-keys (/dev/input/event0)
[ 53044.802] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[ 53044.802] (II) Using input driver 'evdev' for 'gpio-keys'
[ 53044.802] (**) gpio-keys: always reports core events
[ 53044.802] (**) evdev: gpio-keys: Device: "/dev/input/event0"
[ 53044.802] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[ 53044.802] (--) evdev: gpio-keys: Found keys
[ 53044.802] (II) evdev: gpio-keys: Configuring as keyboard
[ 53044.802] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0"
[ 53044.802] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 8)
[ 53044.802] (**) Option "xkb_rules" "evdev"
[ 53044.802] (**) Option "xkb_model" "pc104"
[ 53044.802] (**) Option "xkb_layout" "us"
[ 53044.804] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 53044.804] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 53044.804] setversion 1.4 failed
[ 53044.804] (II) config/udev: Adding input device tsc2004 (/dev/input/event1)
[ 53044.804] (**) tsc2004: Applying InputClass "evdev touchscreen catchall"
[ 53044.805] (**) tsc2004: Applying InputClass "tsc2004"
[ 53044.805] (II) Using input driver 'evdev' for 'tsc2004'
[ 53044.805] (**) tsc2004: always reports core events
[ 53044.805] (**) evdev: tsc2004: Device: "/dev/input/event1"
[ 53044.805] (--) evdev: tsc2004: Vendor 0 Product 0
[ 53044.805] (--) evdev: tsc2004: Found absolute axes
[ 53044.805] (--) evdev: tsc2004: Found x and y absolute axes
[ 53044.805] (--) evdev: tsc2004: Found absolute touchscreen
[ 53044.805] (**) Option "InvertX" "true"
[ 53044.805] (II) evdev: tsc2004: Configuring as touchscreen
[ 53044.805] (**) evdev: tsc2004: YAxisMapping: buttons 4 and 5
[ 53044.805] (**) evdev: tsc2004: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 53044.805] (**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
[ 53044.805] (II) XINPUT: Adding extended input device "tsc2004" (type: TOUCHSCREEN, id 9)
[ 53044.805] (II) evdev: tsc2004: initialized for absolute axes.
[ 53044.806] (**) tsc2004: (accel) keeping acceleration scheme 1
[ 53044.806] (**) tsc2004: (accel) acceleration profile 0
[ 53044.806] (**) tsc2004: (accel) acceleration factor: 2.000
[ 53044.806] (**) tsc2004: (accel) acceleration threshold: 4
[ 53044.806] (II) config/udev: Adding input device tsc2004 (/dev/input/mouse0)
[ 53044.806] (II) No input driver specified, ignoring this device.
[ 53044.806] (II) This device may have been added with another device file.
[ 53044.980] removing GPU device /sys/devices/virtual/drm/card0 /dev/dri/card0
[ 53044.980] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 53044.980] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 53044.980] setversion 1.4 failed

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm] chrome with Vivante GPU on i.MX6
  2014-03-27 11:11 [meta-fsl-arm] chrome with Vivante GPU on i.MX6 Gary Thomas
@ 2014-03-31 22:18 ` Gary Thomas
  2014-03-31 22:25   ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2014-03-31 22:18 UTC (permalink / raw)
  To: meta-freescale

On 2014-03-27 05:11, Gary Thomas wrote:
> I now have X11 running with the Vivante GPU on my i.MX6solo.
> Or so I thought - now I'm not so sure :-(
> 
> The X11 server happy reports that it is using the Vivante libraries,
> but I think there are problems.  In particular, I see this message
> in the log (complete log attached):
> [ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
> [ 53044.383] (EE) AIGLX: reverting to software rendering
> 
> Then there are these messages which don't make much sense:
> [ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
> [ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
> (my physical screen is 800x480)
> 
> Finally, when I run Google chrome, I get a slew of EGL related errors:
> [2136:2136:0327/105115:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
> [2136:2136:0327/105115:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
> [2113:2131:0327/105117:ERROR:browser_process_resource_provider.cc(52)] Not implemented reached in task_manager::BrowserProcessResource::BrowserProcessResource()
> [     1] libGAL: Performing a software resolve!
> [2136:2136:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b7c34f8]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
> [2203:2203:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
> [2203:2203:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
> [     1] libGAL: Performing a software resolve!
> [2203:2203:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x39e5a998]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
> [2214:2214:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
> [2214:2214:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
> [     1] libGAL: Performing a software resolve!
> [2214:2214:0327/105118:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b835a30]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
> 
> and the chrome://gpu/ page indicates that hardware acceleration
> is *not* available.
> 
> None of these errors are particular to my i.MX6solo platform.
> I get the same indications when I run on my i.MX6Q SabreLite
> using the "out of the box" build for Nitrogen6x.
> 
> What am I missing?  How can I tell if the Vivante GPU is being
> used?  If not, what need I do to get it going?
> 
> Thanks for any ideas/pointers

What about this?  IMO, it's truly broken.

Where do I file a bug report for meta-fsl-arm??

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm] chrome with Vivante GPU on i.MX6
  2014-03-31 22:18 ` Gary Thomas
@ 2014-03-31 22:25   ` Otavio Salvador
  2014-03-31 23:27     ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: Otavio Salvador @ 2014-03-31 22:25 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org

On Mon, Mar 31, 2014 at 7:18 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2014-03-27 05:11, Gary Thomas wrote:
>> I now have X11 running with the Vivante GPU on my i.MX6solo.
>> Or so I thought - now I'm not so sure :-(
>>
>> The X11 server happy reports that it is using the Vivante libraries,
>> but I think there are problems.  In particular, I see this message
>> in the log (complete log attached):
>> [ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
>> [ 53044.383] (EE) AIGLX: reverting to software rendering
>>
>> Then there are these messages which don't make much sense:
>> [ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
>> [ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
>> (my physical screen is 800x480)
>>
>> Finally, when I run Google chrome, I get a slew of EGL related errors:
>> [2136:2136:0327/105115:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>> [2136:2136:0327/105115:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>> [2113:2131:0327/105117:ERROR:browser_process_resource_provider.cc(52)] Not implemented reached in task_manager::BrowserProcessResource::BrowserProcessResource()
>> [     1] libGAL: Performing a software resolve!
>> [2136:2136:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b7c34f8]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>> [2203:2203:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>> [2203:2203:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>> [     1] libGAL: Performing a software resolve!
>> [2203:2203:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x39e5a998]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>> [2214:2214:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>> [2214:2214:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>> [     1] libGAL: Performing a software resolve!
>> [2214:2214:0327/105118:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b835a30]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>
>> and the chrome://gpu/ page indicates that hardware acceleration
>> is *not* available.
>>
>> None of these errors are particular to my i.MX6solo platform.
>> I get the same indications when I run on my i.MX6Q SabreLite
>> using the "out of the box" build for Nitrogen6x.
>>
>> What am I missing?  How can I tell if the Vivante GPU is being
>> used?  If not, what need I do to get it going?
>>
>> Thanks for any ideas/pointers
>
> What about this?  IMO, it's truly broken.
>
> Where do I file a bug report for meta-fsl-arm??

Please report it to bugzilla.yoctoproject.org.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm] chrome with Vivante GPU on i.MX6
  2014-03-31 22:25   ` Otavio Salvador
@ 2014-03-31 23:27     ` Gary Thomas
  2014-03-31 23:49       ` Otavio Salvador
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2014-03-31 23:27 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

On 2014-03-31 16:25, Otavio Salvador wrote:
> On Mon, Mar 31, 2014 at 7:18 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2014-03-27 05:11, Gary Thomas wrote:
>>> I now have X11 running with the Vivante GPU on my i.MX6solo.
>>> Or so I thought - now I'm not so sure :-(
>>>
>>> The X11 server happy reports that it is using the Vivante libraries,
>>> but I think there are problems.  In particular, I see this message
>>> in the log (complete log attached):
>>> [ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
>>> [ 53044.383] (EE) AIGLX: reverting to software rendering
>>>
>>> Then there are these messages which don't make much sense:
>>> [ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
>>> [ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
>>> (my physical screen is 800x480)
>>>
>>> Finally, when I run Google chrome, I get a slew of EGL related errors:
>>> [2136:2136:0327/105115:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>> [2136:2136:0327/105115:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>> [2113:2131:0327/105117:ERROR:browser_process_resource_provider.cc(52)] Not implemented reached in task_manager::BrowserProcessResource::BrowserProcessResource()
>>> [     1] libGAL: Performing a software resolve!
>>> [2136:2136:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b7c34f8]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>> [2203:2203:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>> [2203:2203:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>> [     1] libGAL: Performing a software resolve!
>>> [2203:2203:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x39e5a998]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>> [2214:2214:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>> [2214:2214:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>> [     1] libGAL: Performing a software resolve!
>>> [2214:2214:0327/105118:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b835a30]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>>
>>> and the chrome://gpu/ page indicates that hardware acceleration
>>> is *not* available.
>>>
>>> None of these errors are particular to my i.MX6solo platform.
>>> I get the same indications when I run on my i.MX6Q SabreLite
>>> using the "out of the box" build for Nitrogen6x.
>>>
>>> What am I missing?  How can I tell if the Vivante GPU is being
>>> used?  If not, what need I do to get it going?
>>>
>>> Thanks for any ideas/pointers
>>
>> What about this?  IMO, it's truly broken.
>>
>> Where do I file a bug report for meta-fsl-arm??
> 
> Please report it to bugzilla.yoctoproject.org.
> 

Done as bug #6083

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [meta-fsl-arm] chrome with Vivante GPU on i.MX6
  2014-03-31 23:27     ` Gary Thomas
@ 2014-03-31 23:49       ` Otavio Salvador
  0 siblings, 0 replies; 5+ messages in thread
From: Otavio Salvador @ 2014-03-31 23:49 UTC (permalink / raw)
  To: Gary Thomas, Lauren Post; +Cc: meta-freescale@yoctoproject.org

On Mon, Mar 31, 2014 at 8:27 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2014-03-31 16:25, Otavio Salvador wrote:
>> On Mon, Mar 31, 2014 at 7:18 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> On 2014-03-27 05:11, Gary Thomas wrote:
>>>> I now have X11 running with the Vivante GPU on my i.MX6solo.
>>>> Or so I thought - now I'm not so sure :-(
>>>>
>>>> The X11 server happy reports that it is using the Vivante libraries,
>>>> but I think there are problems.  In particular, I see this message
>>>> in the log (complete log attached):
>>>> [ 53044.383] (EE) AIGLX error: vivante exports no extensions (/usr/lib/dri/vivante_dri.so: undefined symbol: __driDriverExtensions)
>>>> [ 53044.383] (EE) AIGLX: reverting to software rendering
>>>>
>>>> Then there are these messages which don't make much sense:
>>>> [ 53044.493] (II) GLX: Initialized DRISWRAST GL provider for screen 0
>>>> [ 53044.495] (II) VIVANTE(0): Setting screen physical size to 211 x 127
>>>> (my physical screen is 800x480)
>>>>
>>>> Finally, when I run Google chrome, I get a slew of EGL related errors:
>>>> [2136:2136:0327/105115:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>>> [2136:2136:0327/105115:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>>> [2113:2131:0327/105117:ERROR:browser_process_resource_provider.cc(52)] Not implemented reached in task_manager::BrowserProcessResource::BrowserProcessResource()
>>>> [     1] libGAL: Performing a software resolve!
>>>> [2136:2136:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b7c34f8]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>>> [2203:2203:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>>> [2203:2203:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>>> [     1] libGAL: Performing a software resolve!
>>>> [2203:2203:0327/105117:ERROR:buffer_manager.cc(313)] [.Compositor-0x39e5a998]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>>> [2214:2214:0327/105117:ERROR:gl_surface_glx.cc(742)] glXChooseFBConfig failed.
>>>> [2214:2214:0327/105117:ERROR:gpu_info_collector.cc(27)] gfx::GLContext::CreateOffscreenGLSurface failed
>>>> [     1] libGAL: Performing a software resolve!
>>>> [2214:2214:0327/105118:ERROR:buffer_manager.cc(313)] [.Compositor-0x3b835a30]GL ERROR :GL_INVALID_ENUM : glBufferData: <- error from previous GL command
>>>>
>>>> and the chrome://gpu/ page indicates that hardware acceleration
>>>> is *not* available.
>>>>
>>>> None of these errors are particular to my i.MX6solo platform.
>>>> I get the same indications when I run on my i.MX6Q SabreLite
>>>> using the "out of the box" build for Nitrogen6x.
>>>>
>>>> What am I missing?  How can I tell if the Vivante GPU is being
>>>> used?  If not, what need I do to get it going?
>>>>
>>>> Thanks for any ideas/pointers
>>>
>>> What about this?  IMO, it's truly broken.
>>>
>>> Where do I file a bug report for meta-fsl-arm??
>>
>> Please report it to bugzilla.yoctoproject.org.
>>
>
> Done as bug #6083

The best person to address this is Lauren, or someone who she is going
to point to. I couldn't add her on the Cc of the bug as she seems to
be not registred in the Bugzilla at Yocto Project server. In either I
am added her in CC of this message to gather her attention to this
thread and the bug number.

Thanks for reporting it.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-31 23:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-27 11:11 [meta-fsl-arm] chrome with Vivante GPU on i.MX6 Gary Thomas
2014-03-31 22:18 ` Gary Thomas
2014-03-31 22:25   ` Otavio Salvador
2014-03-31 23:27     ` Gary Thomas
2014-03-31 23:49       ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.