#12 Graphics Controller Unit (gcu) and Hardware Video Accelerator Unit

Alpha
open
nobody
feature-request
hardware-driver
2013-07-09
2012-04-05
Alvin Wong
No

Make good use of these functions provided by the processor to speed up graphics.

Related

Discussion: Wi-Fi settings box OK - Screen alignment issue - Organization and optimization (Oct 30 SDBoot rel.)

Discussion

1 2 > >> (Page 1 of 2)
  • Alvin Wong
    Alvin Wong
    2012-10-12

    • labels: --> gcu, graphics
    • type: feature_request --> feature-request
    • component: Kernel --> hardware-driver
     
  • KENDRICK CURRY
    KENDRICK CURRY
    2012-10-15

    This person might be able to help. Some gcu patches were already pushed to his git and he's working in a pxa3xx platform and a little android.

    https://github.com/RomaVis/eeenote-kernel

     
    • Alvin Wong
      Alvin Wong
      2012-10-15

      Do you directly contact him? At least I saw he's working on Kernel 3.4.2 while this project is still on 2.6.35.7 with a whole bunch of bugs (mainly duplicated ssp driver and crash on resume). I am thinking of migrating to Kernel 3.0 though.

      Anyway, I have totally no idea how graphics acceleration works, not on Android, not in Kernel, and also not on the PXA310. It will take me a hell lot of time to understand them and I am having homework assignments and tests!

      Does he have any working Android code?

       
  • KENDRICK CURRY
    KENDRICK CURRY
    2013-04-17

    Does your android build include these patches? They should improve graphics. Cm7 runs decent on my pxa270 with 128mb of ram. Also from that marvell patch, some of that copybit and pmem info might be able to be added. I no longer have a copy of that patch to test it out

     
    Last edit: KENDRICK CURRY 2013-04-17
    • Alvin Wong
      Alvin Wong
      2013-04-17

      May I know where do these patches come from? They seem interesting (though I will need to test it after completing my homework D:).

      Also from the marvell patch, ...

      Do you mean the one for Donut, or Froyo? I remember having some of those (from some online sources), but they don't seem to be easily reusable in Gingerbread. (Even if they are suitable, they probably go under the NDA so it is already a surprise to be able to get it on the Internet.)

      Cm7 runs decent on my pxa270 with 128mb of ram

      Sounds interesting. I'll try to clone the CM7 repo again to see if I can do it successfully, and begin to try to figure out how to build it if I can...

       
  • KENDRICK CURRY
    KENDRICK CURRY
    2013-04-17

    Don't remember where the files came from but i know that those patches are included in cm7 along with a few other tweaks for graphics and memory.

    Here's a video of a device with a pxa255 processor running cm7 yours should be running at or faster than this:

    http://www.youtube.com/watch?v=09CPd1LhHuM

    Plus cm7 has bluetooth HID suppor.

     
  • Alvin Wong
    Alvin Wong
    2013-04-20

    Hi, I just applied that patch, set some values in BoardConfig.mk (I think) and do a clean build (spent an hour :( )

    Doesn't appear to have any differences...

    I have successfully cloned the cm7 gingerbread source and I will try to make a working build, and if I do let's forget AOSP.

     
  • Alvin Wong
    Alvin Wong
    2013-04-20

    Just FYI, I spend half of a day to get a running cm7 filesystem. (aw snap!) I finally get it working (with an SD card re-partitioned).

    It really runs a bit smoother than AOSP, I can feel it when dragging the notification area and home screen. However, the graphics still have some buggy behaviour same as AOSP (triangular flashing parts appears when animating).

    I believe I shall continue the work based on cm7. However it will take a while (still got assignments to do :< ).

    TODO list (to remind myself):

    1. Touchscreen calibration (perhaps do it in kernel and stop hacking Android framework?)
    2. Make WiFi and Bluetooth working again...
    3. Filesystem layout.
    4. Lock screen is bugged :( fix it.
     
  • KENDRICK CURRY
    KENDRICK CURRY
    2013-04-20

    Yay!! Glad its working and i didn't waste your time. Do you have all of these enabled in your boardconfig.mk?

    TARGET_HARDWARE_3D := false
    BOARD_NO_GL2 := true
    BOARD_GL_TEX_POW2_DIMENSION_REQUIRED := true
    BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true
    TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
    BOARD_HAS_LIMITED_EGL := true
    BOARD_NO_RGBX_8888 := true
    TARGET_USES_16BPPSURFACE_FOR_OPAQUE := true
    TARGET_DO_NOT_SETS_CAN_DRAW := true

    BUILD_WITH_FULL_STAGEFRIGHT := true

    WITH_DEXPREOPT := true

    And this patch helps a little, with double buffer you need 2mb instead of one.

    https://github.com/mkatic/linux/commit/348cae864bf5caddd59267cadde7c1a48adf61ac

    And the lockscreen can be disabled through settings -> tablet tweaks -> disable lockscreen

     
    Last edit: KENDRICK CURRY 2013-04-21
1 2 > >> (Page 1 of 2)