Running EGL demos on Freescale's 12_09_01_oneiric release

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Running EGL demos on Freescale's 12_09_01_oneiric release

Jump to solution
1,137 Views
Vasant
Contributor I

Hi,

I am successfully running this rootfs on the Sabrelite board and would like to run some GL demos.

Are there any per-packaged demos for A/V playback and GL rendering under X11 ?

I installed es2_info and when I run it console message says it is using software rendering.

Regards

Vasant

Labels (4)
1 Solution
699 Views
YixingKong
Senior Contributor IV

Here is the answer from our engineer. If this is good answer, please click Correct Answer.

------------------------------------------------

-When you see white screen, then the DRI and GLX is not setup correctly. Please make sure the following present in the  /var/log/Xorg.0./log.

[1623101.082] (II) [drm] DRM interface version 1.4

[1623101.082] (II) [drm] DRM open master succeeded.

[1623101.082] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.

[1623101.082] (II) VIVANTE(0): [drm] framebuffer handle = 0x18800000

[1623101.082] (II) VIVANTE(0): [drm] added 1 reserved context for kernel

[1623101.082] (II) VIVANTE(0): X context handle = 0x1

[1623101.082] (II) VIVANTE(0): [drm] installed DRM signal handler

[1623101.082] (II) VIVANTE(0): [DRI] installation complete

1. Install Vivante GPU Base driver.

        dpkg -i gpu-viv-bin-mx6q_<KERNEL VERSION>-<RELEASE VESRION>_armel.deb

2. Install Kernel module driver.

        dpkg -i kernel_<KERNEL VERSION>-imx_<RELEASE VESRION>_armel.deb

        After this debian package is installed, please double check drm.ko and
        vivante.ko is properly installed.
        If you don't use prebuilt linux kernel, you need rebuild the kernel module
        while build your own Linux kernel. Please refer to Linux reference manual
        for building DRM.

---------------------------------------------------

View solution in original post

1 Reply
700 Views
YixingKong
Senior Contributor IV

Here is the answer from our engineer. If this is good answer, please click Correct Answer.

------------------------------------------------

-When you see white screen, then the DRI and GLX is not setup correctly. Please make sure the following present in the  /var/log/Xorg.0./log.

[1623101.082] (II) [drm] DRM interface version 1.4

[1623101.082] (II) [drm] DRM open master succeeded.

[1623101.082] (II) VIVANTE(0): [drm] Using the DRM lock SAREA also for drawables.

[1623101.082] (II) VIVANTE(0): [drm] framebuffer handle = 0x18800000

[1623101.082] (II) VIVANTE(0): [drm] added 1 reserved context for kernel

[1623101.082] (II) VIVANTE(0): X context handle = 0x1

[1623101.082] (II) VIVANTE(0): [drm] installed DRM signal handler

[1623101.082] (II) VIVANTE(0): [DRI] installation complete

1. Install Vivante GPU Base driver.

        dpkg -i gpu-viv-bin-mx6q_<KERNEL VERSION>-<RELEASE VESRION>_armel.deb

2. Install Kernel module driver.

        dpkg -i kernel_<KERNEL VERSION>-imx_<RELEASE VESRION>_armel.deb

        After this debian package is installed, please double check drm.ko and
        vivante.ko is properly installed.
        If you don't use prebuilt linux kernel, you need rebuild the kernel module
        while build your own Linux kernel. Please refer to Linux reference manual
        for building DRM.

---------------------------------------------------