This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/BEAGLEBK: Problem with SGX and 24-bit LCD display

Part Number: BEAGLEBK

Tool/software: Linux

I am using a BeagleBone Black running with the following settings:

cat /etc/powervr.ini
[default]
WindowSystem=libpvrPVR2D_FRONTWSEGL.so

uname -a

Linux NDCT-HMI 4.4.27-bone14 #7 Wed May 10 10:03:59 CEST 2017 armv7l GNU/Linux

lsmod | grep omaplfb

omaplfb 12142 0
pvrsrvkm 155855 1 omaplfb
tilcdc 26543 1 omaplfb

cat /proc/pvr/version
Version SGX_DDK_Linux_CustomerTI sgxddk 1.10@2359475 (release) /build/buildd/ti-sgx/src/GFX_Linux_KM
System Version String: SGX revision = 125

fbset -i

mode "1280x800"

    geometry 1280 800 1280 2400 24

    timings 0 0 0 0 0 0 0

    accel true

    rgba 8/16,8/8,8/0,0/0

endmode

Frame buffer device information:

    Name        :

    Address     : 0x9ea00000

    Size        : 9216000

    Type        : PACKED PIXELS

    Visual      : TRUECOLOR

    XPanStep    : 1

    YPanStep    : 1

    YWrapStep   : 0

    LineLength  : 3840

    Accelerator : No

I am trying get OpenGL ES to work on the BeagleBone Black using SGX, fbdev, 24 bpp LCD display, no windowing system. I have been unable to see any output on the display.

I have several questions:

1) I believe this version of the SGX drivers only uses the fbdev driver. Is this correct?

2) Can this driver work on a 24 bpp LCD display?

3) If not - is there a way to force a different bpp?

4) Should I be able to run the sgx_flip_test application successfully from an ssh shell? (I get "Display Class API: ERROR unsupported pixel format!")

5) I read somewhere that the latest SGX drivers don't support fbdev and do support 24 bpp. In what version did this change?

6) Do I have to upgrade my kernel and SGX drivers to use the newer DRM/KMS?

7) Should this work w/o running any windowing system?

Thanks for any help.