NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

GSG: OMAP35x Graphics SDK Additional Procedures

From Texas Instruments Wiki
Jump to: navigation, search

^ Up to main OMAP35x Graphics SDK Getting Started Guide Table of Contents

Switching between FrontEGL and FlipEGL Modes[edit]

When using FrontEGL, SGX fb updates happen directly on single framebuffer (front buffer). Not really recommended except for SGX benchmarking as it will result tearing artifacts at high resolution and frame rates.

FlipEGL uses ping-pong scheme for graphics updates and this is the default EGL library used if /etc/powervr.ini is not present.

Modify the powervr.ini file under the <your_target_file_system>/etc/init.d to select between the FrontEGL or FlipEGL mode.

Flip support requires increasing the virtual yres size in fb0 plane and allocating appropriate memory for framebuffer.

Use the following command to increase the virtual yres size in fb0 plane. The vyres size needs to be set to three times the height of the screen size for triple buffering. For eg:- OMAP3 EVM LCD fb with dimensions 480x640

target $ fbset -vyres 1920 

More solutions for vertical tearing[edit]

If you are running on a Linux console frame buffer (/dev/fb0) the following shared object may work better for you to prevent vertical tearing at the center of the screen.  This object is often found in /usr/lib or /usr/local/lib.  libpvrPVR2D_LINUXFBWSEGL.so.


Switching the display output from LCD to DVI[edit]

Switching the display output from LCD to DVI during boot time[edit]

This can be done by changing in the bootargs to include the following

For 16bpp :

omap-dss.def_disp="dvi" omapfb.video_mode="720x480MR-16@60"

For 32bpp :

omap-dss.def_disp="dvi" omapfb.video_mode="720x480MR-24@60"

For example, in case of NFS mount

OMAP3EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp  
root=/dev/nfs nfsroot=<nfshost>:<rootpath>,nolock mem=128M omapfb.vram="4M" 
omap-dss.def_disp="dvi" omapfb.video_mode="720x480MR-16@60"

Switching the display output from LCD to DVI during run time after boot[edit]

Step 1: Refer here to change the display output from LCD to DVI after boot, from the command line, on target.

Step 2: On target, perform the command "fbset -depth 32 -rgba 8/16,8/8,8/0,8/24"

Step 3: On target, perform "/etc/init.d/rc.pvr stop" followed by "/etc/init.d/rc.pvr start"

After this, the demos should run properly on DVI.

Testing the support for ARGB8888 in Frame Buffer Driver[edit]

The bootargs need to be changed as given below.

OMAP3EVM # setenv bootargs 'console=ttyS0,115200n8=noinitrd=rw ip=dhcp 
root=/dev/nfs nfsroot=<your nfs_path>,nolock, mem=128M omapfb.vram="4M" 
omapfb.video_mode="640x480MR-24@60" omap-dss.def_disp="dvi"'

Use fbset to configure ARGB8888 mode for framebuffer memory

target $fbset -rgba  8/16,8/8,8/0,8/24 

Note that if you are switching to ARGB8888 mode after bootup it is mandatory to reload omaplfb.ko kernel module

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GSG: OMAP35x Graphics SDK Additional Procedures here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article GSG: OMAP35x Graphics SDK Additional Procedures here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article GSG: OMAP35x Graphics SDK Additional Procedures here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity