All of lore.kernel.org
 help / color / mirror / Atom feed
* egl on beagleboard xM
@ 2012-04-26 20:10 Tomas Frydrych
  2012-04-26 22:40 ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Frydrych @ 2012-04-26 20:10 UTC (permalink / raw)
  To: meta-ti

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egl on beagleboard xM
  2012-04-26 20:10 egl on beagleboard xM Tomas Frydrych
@ 2012-04-26 22:40 ` Koen Kooi
  2012-04-26 23:04   ` Tomas Frydrych
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2012-04-26 22:40 UTC (permalink / raw)
  To: Tomas Frydrych; +Cc: meta-ti


Op 26 apr. 2012, om 22:10 heeft Tomas Frydrych het volgende geschreven:

> 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.

Both of those aren't the default, so are you actually using meta-ti?!?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egl on beagleboard xM
  2012-04-26 22:40 ` Koen Kooi
@ 2012-04-26 23:04   ` Tomas Frydrych
  2012-04-27  6:35     ` Koen Kooi
  0 siblings, 1 reply; 5+ messages in thread
From: Tomas Frydrych @ 2012-04-26 23:04 UTC (permalink / raw)
  To: meta-ti

On 26/04/12 23:40, Koen Kooi wrote:
> 
> Op 26 apr. 2012, om 22:10 heeft Tomas Frydrych het volgende geschreven:
> 
>> 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.
> 
> Both of those aren't the default, so are you actually using meta-ti?!?

Hm, so which is meant to be the 'right' beagleboard kernel? The default
virtual provider in meta-ti beagleboard.conf is linux-omap, and based on
the priorities it seems to work out that 2.6.39 is the preferred
version. I am quite happy to try yet a different kernel, of course :)

(I am only using the kernel and related recipes from meta-ti.)

Tomas


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egl on beagleboard xM
  2012-04-26 23:04   ` Tomas Frydrych
@ 2012-04-27  6:35     ` Koen Kooi
  2012-04-27  6:53       ` Tomas Frydrych
  0 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2012-04-27  6:35 UTC (permalink / raw)
  To: Tomas Frydrych; +Cc: meta-ti


Op 27 apr. 2012, om 01:04 heeft Tomas Frydrych het volgende geschreven:

> On 26/04/12 23:40, Koen Kooi wrote:
>> 
>> Op 26 apr. 2012, om 22:10 heeft Tomas Frydrych het volgende geschreven:
>> 
>>> 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.
>> 
>> Both of those aren't the default, so are you actually using meta-ti?!?
> 
> Hm, so which is meant to be the 'right' beagleboard kernel? The default
> virtual provider in meta-ti beagleboard.conf is linux-omap

No, it isn't.

> , and based on
> the priorities it seems to work out that 2.6.39 is the preferred
> version. I am quite happy to try yet a different kernel, of course :)
> 
> (I am only using the kernel and related recipes from meta-ti.)

Try using the machine.conf as well:


koen@dominion:/OE/angstrom-v2012-05/sources/meta-ti$ git log --oneline -1
51617ea cloud9-gnome-image: same as cloud9-image, but with GNOME added to it

koen@dominion:/OE/angstrom-v2012-05/sources/meta-ti$ git grep PREFERRED_PROVIDER_virtual/kernel | grep beagle
conf/machine/beagleboard.conf:PREFERRED_PROVIDER_virtual/kernel = "linux"
conf/machine/beaglebone.conf:PREFERRED_PROVIDER_virtual/kernel = "linux-ti33x-psp"



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: egl on beagleboard xM
  2012-04-27  6:35     ` Koen Kooi
@ 2012-04-27  6:53       ` Tomas Frydrych
  0 siblings, 0 replies; 5+ messages in thread
From: Tomas Frydrych @ 2012-04-27  6:53 UTC (permalink / raw)
  To: meta-ti

On 27/04/12 07:35, Koen Kooi wrote:
>>>> I have tried both linux-omap 2.6.39 and linux 3.0.8, with same results.
                                                   ^^^^^
Sorry, that was mean to say 3.0.28, and the gles does not work. Or is
that not the default kernel?

Tomas




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-04-27  6:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 20:10 egl on beagleboard xM Tomas Frydrych
2012-04-26 22:40 ` Koen Kooi
2012-04-26 23:04   ` Tomas Frydrych
2012-04-27  6:35     ` Koen Kooi
2012-04-27  6:53       ` Tomas Frydrych

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.