BeagleBox: SGX fully integrated 2


It took some work, but I finally have SGX fully integrated into the build and have beaglebox booting into an X session that can run opengl apps.  I ran the sgx demos and they all seem to run fine.  A couple showed frame rates betweeen 45 and 52 frames per second, and that should be fine for video playback with flash (at least I think it should be okay).

The biggest issue was that buildroot has a 1.7.5 xorg collection while SGX was built with 1.9.  I had to update the versions of a number of packages under Buildroot:

  • xserver_xorg-server: 1.9.4 (xinput ABI = 11)
  • xproto_dri2proto: 2.6
  • xproto_fixesproto: 5.0
  • xproto_xproto: 7.0.22
  • xproto_xextproto: 7.2.1
  • xlib_libXfont: 1.4.2
  • xutil_util-macros: 1.6.0 (remove 1.3.0 patch)
  • xdriver_xf86-input-evdev: disabled in buildroot config
  • xdriver_xf86-input-mouse: 1.7.2
  • xdriver_xf86-input-keyboard: 1.6.2

There's more work that could be done here, like removing SGX-specific directories under /opt that aren't really necessary  but I'm not sure how this might violate the licenses for the PVR stuff.  So for now it'll all just take up space.

Why all this work on SGX?  Because I need it for hardware accelerated Flash playback.  I haven't gotten around  to integrating the flash player yet (you need to request permission to get it), but this was a prerequisite for it. 

Now I need to complete the dsp integration. 


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

2 thoughts on “BeagleBox: SGX fully integrated

  • mjhammel Post author

    I’ve not posted the patches yet (it’s actually one patch integrating all the components that were version rev’d). I’ll try posting them later today though I doubt they’ll accept them since they don’t update all components of X11R7.

    Your project looks like a fork of buildroot. I’ve approached it a little differently, by wrapping buildroot inside of my own build system. But my patches should still work for you. However, these patches only rev X11r7 components. They don’t include SGX itself, which is a separate component within my build structure. SGX is a mess and is easier to handle outside of Buildroot. I build it after building the kernel (which I also build separately) and then use what it generates as input to a custom package in Buildroot, along with various other stuff like a custom skeleton.

    I don’t have a G+ account. I don’t do any of that social networking stuff. No twitter, no facebook, no G+. Email is my world. :-)

    Thanks for you comment!