iMX6 Solo processor

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

iMX6 Solo processor

2,173 Views
jeffreycollins
Contributor II

I have a Boundary Devices board with a iMX6 Solo Processor. I am using the linaro-raring-developer-20130926.tgz linux distribution I downloaded from their web site. I believe this is booting to a 1280x720 format display via HDMI. I only know this due to the bootscript that came with the linux distribution. Is there a command line tool that will report back the current display resolution? In any case I have compile my own OpenGL ES 1.0 code and have gotten it to display. Just a note, this distribution does not have X installed, and is using the frame buffer driver.

I am experiencing the following problems.

1. The visual I am get when I call vdkSetupEGL with the width=1280 and the height=720 returns a 640x480 surface. Calling vdkGetWindowInfo to return the width and height confirms this. In fact all the tutorial demos uses what is returned by vdkGetWindowInfoto set up viewports and projections. Even though the surface is only 640x480, it is streatched by the driver to fill the whole 1080p display I am using to see the graphics.

2. When I request a surface with the call vdkSetupEGL where my config attributes has EGL_SAMPLES set to 4, so I can get antialiased objects, I get no graphics displayed in  moderately complex scene. If all I draw is a single antialiased line, I do see that.

3. The OpenGL state machine for OpenGL ES 1.0 only works for simple objects drawn. It does not track states like blending, stenciling and other things correctly.

Is there any fixes for these problems?

Labels (4)
0 Kudos
3 Replies

1,686 Views
EdWhite
NXP Employee
NXP Employee

Does this suggestion help with your blending issue?  https://community.freescale.com/message/272450#272450

0 Kudos

1,686 Views
EricNelson
Senior Contributor II

Hi Jeffrey,

jeffreycollins wrote:

... Is there a command line tool that will report back the current display resolution?

I'll answer the easy one with a "Yes". There's an entry in /sys for each frame buffer:

# cat /sys/class/graphics/fb0/mode
S:1280x720p-60

1,686 Views
jeffreycollins
Contributor II

There should be an entry. I had to add it by hand.

0 Kudos