FORUMS

HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

[WIP] ICS Kernel Development for HW Acceleration, Camera

n/a posts
Thanks Meter: 0
 
By shaky153, Guest on 8th December 2011, 11:30 AM
Thread Closed Subscribe to Thread Email Thread
..................
Last edited by shaky153; 21st December 2011 at 05:30 PM.
The Following 40 Users Say Thank You to shaky153 For This Useful Post: [ View ]
 
 
shaky153
9th December 2011, 11:21 AM |#2  
Guest
Thanks Meter: 0
 
More
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
Last edited by shaky153; 21st December 2011 at 05:31 PM.
The Following 4 Users Say Thank You to For This Useful Post: [ View ]
10th December 2011, 02:51 PM |#3  
Senior Member
Thanks Meter: 94
 
More
[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:
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.
Last edited by M..N; 11th December 2011 at 04:52 PM.
The Following 11 Users Say Thank You to M..N For This Useful Post: [ View ]
10th December 2011, 03:03 PM |#4  
Senior Member
Thanks Meter: 94
 
More
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
Last edited by M..N; 10th December 2011 at 03:22 PM.
The Following 3 Users Say Thank You to M..N For This Useful Post: [ View ]
10th December 2011, 03:04 PM |#5  
Senior Member
Thanks Meter: 94
 
More
And another...
10th December 2011, 03:04 PM |#6  
Senior Member
Thanks Meter: 94
 
More
And one more...
shaky153
10th December 2011, 03:10 PM |#7  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by kuklux

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: [ View ]
10th December 2011, 03:13 PM |#8  
Senior Member
Thanks Meter: 94
 
More
Quote:
Originally Posted by kuklux

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: [ View ]
10th December 2011, 03:16 PM |#9  
Quote:
Originally Posted by kuklux

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: [ View ]
10th December 2011, 03:53 PM |#10  
Quote:
Originally Posted by kuklux

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 to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes