Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,741,857 Members 45,077 Now Online
XDA Developers Android and Mobile Development Forum

[WIP] ICS Kernel Development for HW Acceleration, Camera

Tip us?
shaky153 Old
(Last edited by shaky153; 21st December 2011 at 05:30 PM.)
#1  
Guest
Thanks Meter
Posts: n/a
Default [WIP] ICS Kernel Development for HW Acceleration, Camera

..................
The Following 40 Users Say Thank You to For This Useful Post: [ Click to Expand ]
shaky153 Old
(Last edited by shaky153; 21st December 2011 at 05:31 PM.)
#2  
Guest
Thanks Meter
Posts: n/a
Thanks to MN for starting this thread

In order for our devices to support hardware acceleration we need to use the latest kernel for our devices, this is msm-3.0 from qualcomm

I'm currently trying to port this kernel to msm7x30 devices

Currently looking into Desire HD/ Desire/ Nexus
Looks like nexus will be the first device with new kernel

What's done:
Crypto
touchscreen
GPU
ZSL/Camera
WIFI
Light sensor
Proximity sensor
Ext3/ext4 filesystem (no more slow yaffs)
Framebuffer
MDP
Audio

Needs to be done:
Many things


What happens when I boot? right previously it vibrated 7 times, now it stays at htc logo
Thanks to all the developers that are trying to get the new kernel running
The Following 4 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
M..N
Old
(Last edited by M..N; 11th December 2011 at 04:52 PM.)
#3  
Senior Member
Thanks Meter 94
Posts: 1,176
Join Date: Jul 2009
Default [Calling All Kernel Devs] ICS Kernel Help(HW Acceleration, Camera)

PLEASE KEEP THIS THREAD CLEAN DEVS ONLY

Hi All,

This is a call-out to any KERNEL DEVS who is willing/want to help create a new updated kernel that is compatible with ICS. In order for some new features in ICS to work, an updated kernel is needed due to changes. Through this thread I hope we can accomplish and implement many of the new features of ICS that rely on kernel modifications.

Problems that are currently related to kernel are:

-HW Acceleration
-Camera
-(more to follow..)


Quote:
Hardware Acceleration: (Big Thanks to shaky153 for the libs)

Quote:
Adreno Libs for real hw acceleration only:

http://www.multiupload.com/XSDZH84NX8
Quote:
FOR DEVS ONLY

link to libs for hw acceleration, grallocs not included as im working on that and other things just now:

libs:
libmemalloc
libgenalock
libhwcomposer
liboverlay


http://www.multiupload.com/AFPSW49SVT

the above files do work

dumpstate of system showed

h/w composer present and enabled

Code:
Select Code
Hardware Composer state:

numHwLayers=1, flags=00000000

type | handle | hints | flags | tr | blend | format | source crop | frame name 

----------+----------+----------+----------+----+-------+----------+---------------------------+--------------------------------

FB | 00000000 | 00000000 | 00000001 | 00 | 00105 | ffffffff | [ 0, 0, 480, 800] | [ 0, 0, 480, 800] 

Allocated buffers:

0x17358: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000933

0x174e8: 1500.00 KiB | 480 ( 480) x 800 | 2 | 0x00000933

Total allocated (estimate): 3000.00 KB

hw composer runs gooooooood

libmemalloc initialises pmem, you can see this in logcat 

D/memalloc( 1176): init_pmem_area: Initializing pmem area

D/memalloc( 1176): init_pmem_area_locked: Opening master pmem FD

D/memalloc( 1176): init_pmem_area_locked: Total pmem size: 33554432

D/memalloc( 1176): /dev/pmem: Allocated buffer base:0x4134c000 size:1536000 offset:0 fd:19

D/memalloc( 1261): /dev/pmem: Mapped buffer base:0x40797000 size:1536000 offset:0 fd:15
Quote:
This is a libegl that inits adreno libs properly, Im not sure if anyone else has them or if it makes any difference, I did noticed that things have been changed n hacked on this current build, but this is how the libegl should initialise properly, its without any hacks

http://www.multiupload.com/T1JK316K0W

DEVS ONLY


Thank You for taking time to read this and I hope we can accomplish this as a community.
The Following 11 Users Say Thank You to M..N For This Useful Post: [ Click to Expand ]
 
M..N
Old
(Last edited by M..N; 10th December 2011 at 03:22 PM.)
#4  
Senior Member
Thanks Meter 94
Posts: 1,176
Join Date: Jul 2009
Just to clear up any confusion and not to take any digs at zfreak or LordClockan, that what we are trying to achieve here is different to the HW Acel that these two have.

What we are trying to achieve here is real HW Acceleration and not a hacked up version. This in turn means:

-The whole UI will be fully accelerated
-There will not be 1000's of errors on saying 'Unable to dequeue native buffer'
-Uses hwcomposer
The Following 3 Users Say Thank You to M..N For This Useful Post: [ Click to Expand ]
 
M..N
Old
#5  
Senior Member
Thanks Meter 94
Posts: 1,176
Join Date: Jul 2009
And another...
 
M..N
Old
#6  
Senior Member
Thanks Meter 94
Posts: 1,176
Join Date: Jul 2009
And one more...
shaky153 Old
#7  
Guest
Thanks Meter
Posts: n/a
Quote:
Originally Posted by kuklux View Post
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent

Sorry

Sent from my Desire HD using xda premium
and how is this thread useless?? please elaborate?
The Following 3 Users Say Thank You to For This Useful Post: [ Click to Expand ]
 
M..N
Old
#8  
Senior Member
Thanks Meter 94
Posts: 1,176
Join Date: Jul 2009
Quote:
Originally Posted by kuklux View Post
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent

Sorry

Sent from my Desire HD using xda premium
I am in no way creating a redundant thread, i have created this to gather the kernel devs to one location so they can help. PLEASE KEEP THE THREAD CLEAN.
The Following User Says Thank You to M..N For This Useful Post: [ Click to Expand ]
 
twistedumbrella
Old
#9  
twistedumbrella's Avatar
Recognized Developer
Thanks Meter 6211
Posts: 6,138
Join Date: Sep 2007

 
DONATE TO ME
Quote:
Originally Posted by kuklux View Post
You just create another useless thread and beside zfreak thread is all doing that staff maybe you should drop into his thread not creating redundant thread just my cent

Sorry

Sent from my Desire HD using xda premium
zFr3eak is doing post-compile, slightly random lib swaps to get things running for users that can't wait until the source is built properly.
These libs are being tested against actual source to integrate into a real build.
The only thing redundant is people with no concept of what these posts mean providing commentary filled with uneducated opinions about them.
The Following 15 Users Say Thank You to twistedumbrella For This Useful Post: [ Click to Expand ]
 
twistedumbrella
Old
#10  
twistedumbrella's Avatar
Recognized Developer
Thanks Meter 6211
Posts: 6,138
Join Date: Sep 2007

 
DONATE TO ME
Quote:
Originally Posted by kuklux View Post
This one guy is giving up



so good luck guys!...

Sent from my Desire HD using xda premium
But we have great minds like you to fill in. I think well be ok.

Anyway, back to intelligent conversation, are you guys building the kernel within the source, or just using header references?

Sent from my ADR6400L using Tapatalk

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes