Enable 3D Acceleration on Tizen

From Tizen Wiki
Jump to: navigation, search

Contents

Introduction

Tizen 2.0 Magnolia warning about OpenGL issue
Tizen 2.0 Magnolia warning about OpenGL issue

After flashing a Tizen image to developer device (Ref.Device-210 or Ref.Device-PQ) a warning about OpenGL support will pop-up immediately after boot. As shown on the image the text of the warning is "Your screen does not support OpenGL. Falling back to software engine". As a result some of the application will not be working. For example the Internet browser will fail to load any web pages because of the following error: "Internet has closed unexpectedly"

Both Tizen reference devices use the Mali400 MP4 GPUs to guarantee the graphics performance. To enable 3D hardware acceleration and OpenGL on Tizen 2.0 Magnolia just install MALI DDK package. The installation is simple and it requires Smart Development Bridge (SDB) tool which is shipped with Tizen SDK.

Requirements

  • Tizen Device
  • Computer with Tizen SDK
  • USB cable



Tizen SDK runs on Windows, Ubuntu, as well as Mac OS X with Intel CPU. This tutorial can be applied to any of the supported operating systems but on Windows you should use appropriate software to extract the downloaded archive file.

Mail DDK Installation Guide

Download

Accept EULA and download Mali DDK.

Installation

Please note that the file names may vary depending the Tizen version.

Recommended Method

The following method is recommended and it is described at the README.txt which is included in the Mali DDK tarball.

Host Computer
  • Extract the downloaded file:
tar -xvzf hw_accel.tar.gz
  • Copy file to the target device and run remote shell of the target device interactively using the following commands:
# sdb -d root on
# sdb -d push *.rpm /home/
# sdb -d shell
Target
  • Go to the home directory
# cd /home/
  • Uninstall old packages
# rpm -e --nodeps opengl-es-virtual-drv
  • Install all new packages
# rpm -ivh --force *.rpm
  • Synchronize and reboot the target device
# sync
# reboot

Alternative Method

The following method requires just a single operation on the host computer. It is more convenient if the host computer running on Windows.

Host Computer

Copy the downloaded tarball to the target.

# sdb -d root on
# sdb -d push mali_2.1.tar.gz /home/
# sdb -d shell
Target
  • Extract the tarball
# cd /home/
# tar -xzf mali_2.1.tar.gz
  • Uninstall old packages
# rpm -e --nodeps opengl-es-virtual-drv
  • Install all new packages
# rpm -ivh --force *.rpm
  • Synchronize and reboot the target device
# sync
# reboot

Troubleshooting

README.txt

Before you start it is highly recommended to read README.txt which is included at the Mali DDK archive.

sdb not Found

# sdb
-bash: sdb: command not found
  • Make sure that appropriate Tizen SDK is properly installed.
  • Add sdb to your path environment variable or run the command from tizen-sdk/tools

External Links

Creating images
Tizen SDK
Installing the Tizen SDK

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox