"system_server" during camera preview

by Andy Quan » Sat, 07 Mar 2009 15:42:00 GMT

Sponsored Links
 On real hardware, I happened to find that CPU usage is really high with
"system_server" using around 300MHz when I opened "camera" application in
the launcher panel for preview at 30 fps only. Anybody knows what that
system_server is for during camera preview? I dont find that "system_server"
roars in other applications like media player. Some materials mention that
it has something to do with Java. Could anybody help on this?



"system_server" during camera preview

by Dave Sparks » Sat, 07 Mar 2009 18:08:35 GMT

 Hmm... could that be SurfaceFlinger? I thought it ran in its own
process. If so, it seems likely that you are using the software
blitter instead of a hardware blitter. You didnt mention what hardware
you are using.


Sponsored Links

"system_server" during camera preview

by Andy Quan » Sun, 08 Mar 2009 01:04:28 GMT

Do you mean that "surfaceflinger" is shown as "system_server" in process

Yes, you are right. I am using software YUV->RGB before calling postbuffer.
I just thought that system_server was only limited to Java level and low
level implementation was counted into processes like "mediaserver" or
"surfaceflinger" :). Could you give some hints on this? Thanks.



"system_server" during camera preview

by Andy Quan » Sun, 08 Mar 2009 01:07:16 GMT

 BTW, it is armv5 compatible processor running at 624MHz with 32k L1 I$/D$
and 256k L2$. The LCD is 320x240. Thanks.



"system_server" during camera preview

by Dianne Hackborn » Mon, 09 Mar 2009 23:56:36 GMT

 SurfaceFlinger runs in the system_server process.

Dianne Hackborn
Android framework engineer

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.


Other Threads

1. bagus mana blapkm***ket vs aptoide ?

As subject saya baru dapat apk blapkmarket sebelumnya saya memakai
aptoide , kalau dilihat secara tampilan sih ga jauh beda ama aptoide
tapi sayangnya saya ga bisa login ke blapmarket soalnya setiap mau
regis selalu gagal , menurut suhu2 bagus mana antara 2 apk tersebut ?

O iya sekalian saya sudah install "root explorer" , kalau mau delete
aplikasi bawaan devicenya gimana ? Disaya ko ga ada pilihan buat
delete apk aplikasinya yang ada cuma buat install padahal aplikasi
tersebut sudah terinstall di hh nya ..

Maaf kepanjangan emailnya , mohon bantuan dari para suhu sekalian.

Thanks before

Sent from my touch spica white

"Indonesian Android Community [id-android]" 

2. USB notification issue with Android Froyo and 2.6.35 kernel

Hi Pankaj,

For the next android release after Froyo we will be using new
notifications between kernel and userspace.  The userspace changes
have not been released yet and are not included in Froyo.  So for
Froyo you should continue using the 2.6.32 kernel.  The android 2.6.35
kernel is for post-Froyo development and is not compatible with Froyo.

As you noticed, there is now a new f_mass_storage.c driver in the
mainline kernel.  In the 2.6.35 android kernel we abandoned our own
copy and are now using the mainline 2.6.35 kernel.  So it no longer
contains the switch code that is used by vold in Froyo to get the UMS
related notifications.  If it is important that you use 2.6.35 with
Froyo, you could probably switch back to using the f_mass_storage.c
from our 2.6.32 kernel in 2.6.35 instead of the mainline version.


Mike Lockwood
Google android team

unsubscribe: android-kernel+unsubscr...@googlegroups.com

3. category name

4. Status

5. how can I check my app stopped by which home key or other apps

6. AutoCompleteTextView with autoText

7. Having problems referencing a library project from an application