← Back to team overview

tiomap-dev team mailing list archive

[Bug 1061428] Re: Failed to init EGL

 

your problem seems to be that you are using the PVR kernel .ko from the
previous 'release' (september update), and the user space from "october"
update.

as this message is telling:

root@DPP4:~# dmesg | grep SGX
[   30.677215] PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (2120756)/device DDK revision (2139099).

2120756 was the DDK released b/o Sept, while 2139099 is the latest one
release yesterday.

To me the problem is that the DKMS build failed because you are using
your custom kernel and are missing the associated header files, as per:

Setting up pvr-omap4-dkms (1.9.0.6.1.1-2) ...
Loading new pvr-omap4-1.9.0.6.1.1 DKMS files...
First Installation: checking all kernels...
It is likely that 3.4.11-dipp45 belongs to a chroot's host Building for architecture armhf Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed.

I recommend that you either add you customization on top of our "ubuntu"
kernel (http://dev.omapzoom.org/?p=integration/kernel-
ubuntu.git;a=summary) and rebuild your custom kernel as debian package
using these instructions:
http://omappedia.org/wiki/Ubuntu_kernel_for_OMAP4. that will ensure that
when you install your kernel with dpkg -i, the PVR DKMS module will be
rebuilt properly.

OR you can build the kernel without debian package, and rebuild the PVR
out of tree driver 'manually', the instructions should be something like
this:

get the PVR driver (out of tree kernel) source, and run:

export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-
export DISCIMAGE=/
export KERNELDIR=<place where you have build kernel>
cd eurasia_km/eurasiacon/build/linux2/omap4430_linux/
make

I will close that bug.

** Changed in: ubuntu-omap4-extras-graphics
       Status: New => Invalid

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to ubuntu-omap4-extras-graphics.
https://bugs.launchpad.net/bugs/1061428

Title:
  Failed to init EGL

Status in Ubuntu OMAP4 graphics addons:
  Invalid

Bug description:
  After last update from TI PPA EGL support seems broken.

  root@DPP4:~# xeglinfo 
  gbmpvr: WSEGL_IsDisplayValid:77: hNativeDisplay=0x15070
  PVR:(Warning): LoadWSModule: Window system module libpvrws_KMS.so did not validate native display [98, /generic_ws.c]
  wlpvr: WSEGL_IsDisplayValid:174: hNativeDisplay=0x15070
  PVR:(Warning): LoadWSModule: Window system module libpvrws_WAYLAND.so did not validate native display [98, /generic_ws.c]
  PVR:(Error): PVRSRVBridgeCall: Failed to access device.  Function ID:3223086860 (Bad address). [294, /pvr_bridge_u.c]
  PVR:(Error): OpenServices: PVRSRVBridgeCall failed. [181, /pvr_bridge_u.c]
  PVR:(Error): PVRSRVConnect: Unable to open connection. [361, /bridged_pvr_glue.c]
  ERROR: PVR2DCreateDeviceContext failed
  PVR:(Warning): PVRDRMSetFD: DRM fd already set [57, /pvr_bridge_u.c]
  Unable to initialise egl
      egl error 'EGL_NOT_INITIALIZED' (0x3001)
  root@DPP4:~# 

  I use kernel 3.4.11 on Variscite' OM4460 module, Ubuntu 12.04 armhf.
  I tried to compile pvr-omap4-1.9.0.5.1.1 and pvr-omap4-1.9.0.6.1.1 but the result the same - EGL init failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-omap4-extras-graphics/+bug/1061428/+subscriptions


References