All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Frydrych <tf+lists.yocto@r-finger.com>
To: meta-ti@yoctoproject.org
Subject: egl on beagleboard xM
Date: Thu, 26 Apr 2012 21:10:47 +0100	[thread overview]
Message-ID: <4F99ABC7.9080807@r-finger.com> (raw)

Hi,

I am trying to get native egl (i.e., without X) working on Beagleboard
xM, but without much success. I am using libgles-omap3 (4.05.00.03) the
kernel(s) and sgx drivers from meta-ti master; everything appears to
start fine (i.e., no errors reported from pvr-init or dmesg), but trying
run any of the gles tests / demos gives:

  'eglInitialize' returned egl error 'EGL_BAD_ALLOC' (0x3003)

I have tried both linux-omap 2.6.39 and linux 3.0.8, with same results.

Any pointers to what the problem might be would be much appreciated,

Tomas


kernel command line:

console=ttyO2,115200n8 vram=48M mpurate=auto
omapfb.mode=dvi:1280x720MR-16@60 omapfb.debug=y omapdss.def_disp=dvi
root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait

Also tried 1024x768MR-16@60, and different vram sizes, without success.

# lsmod

Module                  Size  Used by
bufferclass_ti          4696  0
omaplfb                11014  0
pvrsrvkm              142463  2 bufferclass_ti,omaplfb
...

# cat /proc/pvr/nodes

Registered nodes
Addr     Type     Class    Index Ref pvDev     Size Res
db42eb00 ?9       buffer      2   1  da43ba00   28    (null)
db42ed40 ?9       display     1   1  db77a300   52    (null)
db42eec0 ?7       3D          0   1  db57c000    0  db572680


# fbset -i

mode "1280x720-60"
    # D: 64.000 MHz, H: 44.444 kHz, V: 59.979Hz
    geometry 1280 720 1280 720 16
    timings 15625 80 48 3 13 32 5
    rgba 5/11,6/5,5/0,0/0
endmode

Frame buffer device information:
    Name        :omapfb
    Address     : 0x9d000000
    Size        : 1843200
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 2560



             reply	other threads:[~2012-04-26 20:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 20:10 Tomas Frydrych [this message]
2012-04-26 22:40 ` egl on beagleboard xM Koen Kooi
2012-04-26 23:04   ` Tomas Frydrych
2012-04-27  6:35     ` Koen Kooi
2012-04-27  6:53       ` Tomas Frydrych

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F99ABC7.9080807@r-finger.com \
    --to=tf+lists.yocto@r-finger.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.