← Back to team overview

tiomap-dev team mailing list archive

[Bug 1061428] Re: Failed to init EGL

 

root@DPP4:~# dpkg -l | grep pvr
ii  pvr-omap4                            1.9.0.6.1.1-3                  PowerVR SGX540 libraries for OMAP4, remaining libs and binaries
ii  pvr-omap4-data                       1.9.0.6.1.1-3                  PowerVR SGX540 libraries for OMAP4, data files
ii  pvr-omap4-dkms                       1.9.0.6.1.1-2                  PowerVR SGX540 kernel driver for OMAP4 in DKMS format.
ii  pvr-omap4-utils                      1.9.0.6.1.1-3                  PowerVR SGX540 utils for OMAP4
ii  pvr-omap4-xf86                       1.9.0.6.1.1-3                  X.org graphics -- TI OMAP pvr display driver
root@DPP4:~# 


root@DPP4:~# lsmod
Module                  Size  Used by
omapdrm_pvr           323483  0 
telit_gc864             5199  0 
tda8029                 6162  0 
power_drv               7092  0 
power_button            4880  0 
mfrc531_ssp            24762  0 
arc4                    1059  2 
wl12xx                 10685  0 
wlcore                144514  1 wl12xx
omapdce                22230  0 
rpmsg_omx               7658  0 
omaprpc                17000  0 
mac80211              371739  1 wlcore
omap_remoteproc         4692  1 
rpmsg_resmgr_common     2518  0 
remoteproc             21403  3 rpmsg_omx,omap_remoteproc,rpmsg_resmgr_common
omap_rpmsg_resmgr       8587  0 
rpmsg_resmgr            5471  2 rpmsg_resmgr_common,omap_rpmsg_resmgr
virtio_rpmsg_bus        9164  4 omapdce,rpmsg_omx,omaprpc,rpmsg_resmgr
cfg80211              160971  2 wlcore,mac80211
wlcore_sdio             2953  0 
omap4iss               29233  0 
var_battery             9846  0 
omap4_keypad            2988  0 
mt9p031                 4360  0

root@DPP4:~# dkms status
pvr-omap4, 1.9.0.6.1.1: added


I did "apt-get install --reinstall pvr-omap4-dkms"

root@DPP4:~# apt-get install --reinstall pvr-omap4-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/637 kB of archives.
After this operation, 0 B of additional disk space will be used.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "ru_RU.utf8",
	LC_ALL = (unset),
	LANG = "posix"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
(Reading database ... 72412 files and directories currently installed.)
Preparing to replace pvr-omap4-dkms 1.9.0.6.1.1-2 (using .../pvr-omap4-dkms_1.9.0.6.1.1-2_armhf.deb) ...

------------------------------
Deleting module version: 1.9.0.6.1.1
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement pvr-omap4-dkms ...
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.

root@DPP4:~# dmesg | grep SGX
[   30.677215] PVR_K: (FAIL) SGXInit: Incompatible driver DDK revision (2120756)/device DDK revision (2139099).
root@DPP4:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@DPP4:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@DPP4:~#

-- 
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:
  New

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