Ok, so for all you people trying to get GMA950 OpenGL, here's what i
did to get it working:
First of all, some background on my board ... it is a Commell LE374
board (
http://www.commell.com.tw/Product/SBC/LE-374.htm) ... nice
small board.
This board however, offers CRT, DVI, LVDS, SVIDEO output.
Now, i remeber lots of threads with people complaining that after
enabling BOARD_USES_I915C := true they got no video after booting.
I didn't get either, what i did however is to use BOARD_GPU_DRIVERS =
i915 on my BoardConfig.mk and produce an iso
That didnt do much, in terms of the fact that i915 driver gets built
but not loaded. Perhaps the autodetect script doesnt work very well
(how do i edit it tho ??)
All things considered i tried the manual way. I edited the debug mode
grub entry and added the following:
video="LVDS-1:d"
What's that mean, it means that firstly, LVDS interface gets turned
off in the GMA, for some reasons, the GRALLOC always used that
connector (how to force it not to ??), resulting in the following
output (or something similar):
I/GRALLOC-KMS( 913): there is one single mode on connector 0x5 <-
which always was 800x600
with LVDS turned off, i get:
I/GRALLOC-KMS( 913): there are 22 modes on connector 0x9
I/GRALLOC-KMS( 913): 1920x1080
I/GRALLOC-KMS( 913): 1600x1200
I/GRALLOC-KMS( 913): 1680x1050
I/GRALLOC-KMS( 913): 1280x1024
I/GRALLOC-KMS( 913): 1280x1024
I/GRALLOC-KMS( 913): 1440x900
I/GRALLOC-KMS( 913): 1280x960
I/GRALLOC-KMS( 913): 1280x800
I/GRALLOC-KMS( 913): 1152x864
I/GRALLOC-KMS( 913): 1024x768
I/GRALLOC-KMS( 913): 1024x768
I/GRALLOC-KMS( 913): 1024x768
I/GRALLOC-KMS( 913): 832x624
I/GRALLOC-KMS( 913): 800x600
I/GRALLOC-KMS( 913): 800x600
I/GRALLOC-KMS( 913): 800x600
I/GRALLOC-KMS( 913): 800x600
I/GRALLOC-KMS( 913): 640x480
I/GRALLOC-KMS( 913): 640x480
I/GRALLOC-KMS( 913): 640x480
I/GRALLOC-KMS( 913): 640x480
I/GRALLOC-KMS( 913): 720x400
I/GRALLOC-KMS( 913): the best mode is 1920x1080
D/GRALLOC-KMS( 913): will use copy for fb posting
I/GRALLOC-MOD( 913): mode.hdisplay 1920
I/GRALLOC-MOD( 913): mode.vdisplay 1080
I/GRALLOC-MOD( 913): mode.vrefresh 60.000000
I/GRALLOC-MOD( 913): format 0x5
I/GRALLOC-MOD( 913): xdpi 93.000000
I/GRALLOC-MOD( 913): ydpi 85.000000
Hence it selects 1920x1080 by default.
After turning off the LVDS, the working connector seems to be the CRT
connector, and after booting, OpenGL acceleration is available to
Android.
If you want to turn off VGA connector, you can also add
video="VGA-1:d" to the kernel parameter
Saying all that, the question remains, how can i use a different
resolution other than 1920x1080 where OpenGL performance is rather
poor on the GMA950 ... i have tried using video="1280x800" or whatever
in the kernel command line, to no effect.