Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,772,692 Members 52,680 Now Online
XDA Developers Android and Mobile Development Forum

[21 JUN 2012] DORIMANX ICS Kernel 7.3 Linux 2.6.32.59 OC 96/1.62 CFS and OC Stable!

Tip us?
 
dorimanx
Old
#4161  
dorimanx's Avatar
Recognized Developer - OP
Thanks Meter 59461
Posts: 8,622
Join Date: Feb 2010
Location: Some Where North!

 
DONATE TO ME
Quote:
Originally Posted by Xylograph View Post
I use GPS sporadically..
When I did use it some days ago I forgot to turn the GPS off (if that even matters)
Next morning I saw a drained battery (38% left) with at least 60ma on my current widget..

So turning off Google Locationservice is a workaround ?
I will try it out, Thanks.
yes fix it freezing the apk of location in system app, then you loose location by network, but no wakelocks.

i suggest to update this apk from ics google apps package, and see if its resolved.


Sent from my GT-I9100
Phone: ★ LG Optimus G2 D802
ROM: ★ Pardus Stock Latest


KERNEL: Dorimanx-LG-G2-PWR-CORE-VX.X

>LG G2 KK KERNEL OP<
>LG G2 JB KERNEL OP<
>LG G2 BETA KERNEL STORAGE<

KERNEL: Dorimanx-SGII-PWR-CORE-V10.XX
>SG2 KERNEL OP<
>SG2 BETA THREAD<
>SG2 BETA STORAGE<
>SG2 Q&A THREAD<


>HTC HD2 KERNEL
>HTC HD2 DORIMANX MAG + CLK NAND ROM!

>JOIN FACEBOOK PAGE!

>ABOUT ME!
>MY BELOVED MUSIC CHANNEL<


You can Buy me a BEER! if you like my work.

>DONATE AND SUPPORT
 
securecrt
Old
(Last edited by securecrt; 26th April 2012 at 09:13 AM.)
#4162  
Recognized Contributor
Thanks Meter 2760
Posts: 763
Join Date: Aug 2010
Location: Shanghai

 
DONATE TO ME
Quote:
Originally Posted by Rick_1995 View Post
It won't, not alteast till opengl is allocated memory to work with
It seems the kgsl-3d0 driver init ok but the first open is failed

898 <3>kgsl kgsl-3d0: |kgsl_open| Runtime PM: Unable to wake up the device, rc = -38
904 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
905 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
906 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
909 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
910 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
911 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
912 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
914 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
915 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
916 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
925 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
926 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
927 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
928 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
929 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
930 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
942 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
943 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
944 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
945 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
946 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
947 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
948 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to cadf9900 flags 4
949 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
950 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04f700 numibs 1 ts 4
951 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 4 ts_free 5 gpuaddr 6605c000)
952 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
953 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
954 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
955 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
956 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
957 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
959 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 4 ts_free 5 gpuaddr 6605c000)
960 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
962 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
963 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
964 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
965 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
966 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04f940 numibs 1 ts 6
967 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 5 gpuaddr 6605c000)
968 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
969 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
970 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
971 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
972 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
973 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
974 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
976 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
977 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
978 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
979 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
980 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
981 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
982 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
983 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
984 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04fe60 numibs 1 ts 8
985 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 8 ts_free 7 gpuaddr 660ac000)
986 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 8 ts_free 9 gpuaddr 6addc000)
987 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
988 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
989 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
990 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
991 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
992 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
 
Yank555
Old
#4163  
Yank555's Avatar
Senior Member
Thanks Meter 9877
Posts: 6,209
Join Date: Sep 2009
Quote:
Originally Posted by themadproducer View Post
You run Hyperdroid rom right Yank?
because I don't see a file named anything close to Location Services via TB in Dx's rom. Maybe that' why I never got that particular issue?
Yep, Hyperdroid 6 extreme.

The app to freeze is called "Network Location 1.0.0" in Titanium Backup.

BUT !!

I had the damn wakelock this morning, AGAIN So it's not that afterall ...

JP.

---------- Post added at 10:34 AM ---------- Previous post was at 10:21 AM ----------

Quote:
Originally Posted by Looki75 View Post
Yank,

I am using Dorimanx ROM, and I had the GPS wakelock exactly 2 times, which is very few, when you consider that I have the same charging pattern than you:

* every night, I plug the phone at 23:30 for charging overnight,
* BatteryMonitor widget shows that around 2am, I reach the 100% charge
* but the phone keeps plugged until 6:30am
* at 6:30am, Current Widgets shows 0mA, as expected

Even doing that every day, I almost never had the GPS wakelock.
This is not good news: the bug is hard to reproduce, except for you.
It is very strange, and when I stick to exactly what you describe, the second I pull the HD2 from the wall charger, the wakelock begins (eg. BetterBatteryStats says the lock is on from that moment on).

To show the drain you'd need to wait for the next read obviously, since BatteryMonitorWidget only does it once every x minutes (config).

Don't ask why I have it so systematically

I will try to keep having a look at this to confirm if it has been solved, since I seem to be the only one to be able to reproduce it once every 24h

But I have a good/bad news, as of today I am the owner of an htc Sensation XE ... so my HD2 will no longer be my daily within a few days (the time I need to S-off/root and find a good ROM for the XE ).

I will probably sell one of my 2 HD2s but keep the other one, it's been too good a companion to just give it away, I know I'd regret it shortly after if I let it go

JP.
Nexus 5 32Gb
SlimKAT 7.0 (official) / CWM / 768Mb zSwap
Yank555.lu kernel v1.0-alpha5

OnePlus One 64Gb
Faulty device, waiting on customer service to reply... since July 27th...


Note 3 SM-N9005 32Gb Proudly eFused
64Gb FAT32 / ROMs change / KK bootloader / CWM
Kenrel change

SGS3 I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb


Credits FAdrums !
Kernels available in my Forum !
 
securecrt
Old
#4164  
Recognized Contributor
Thanks Meter 2760
Posts: 763
Join Date: Aug 2010
Location: Shanghai

 
DONATE TO ME
make some changes the kgsl-3d0 device init has no error now.

958 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
959 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
960 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
962 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
970 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
971 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
973 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
974 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
975 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
977 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
978 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to caf80b00 flags 4
979 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
980 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc2be500 numibs 1 ts 4
981 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer rb interrupt
982 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer ib1/rb interrupt
988 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
991 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
992 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
993 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
994 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
995 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
996 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1008 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1009 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1010 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1011 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1012 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1013 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1014 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from caf80b00 to cce37400 flags 4
1015 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| active_ctxt flags 00002110
1016 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
1017 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf676a0 numibs 1 ts 13
1018 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1019 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1020 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1021 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1022 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1023 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1024 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1027 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1028 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1029 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1030 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1031 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1032 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1033 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1034 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf67bc0 numibs 1 ts 15
1035 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 14 gpuaddr 6611e000)
1036 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)
1037 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1038 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1039 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1040 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1041 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1042 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1043 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)


but the error still there , is it possible the ICS ROM .so problems?

E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
The Following 2 Users Say Thank You to securecrt For This Useful Post: [ Click to Expand ]
 
Rick_1995
Old
(Last edited by Rick_1995; 26th April 2012 at 09:50 AM.)
#4165  
Rick_1995's Avatar
Recognized Developer
Thanks Meter 3055
Posts: 1,114
Join Date: Sep 2009
Location: Whoville
Quote:
Originally Posted by securecrt View Post
make some changes the kgsl-3d0 device init has no error now.

Code:
958 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
 959 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
 960 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
 961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
 962 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
 970 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
 971 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
 973 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
 974 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
 975 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
 977 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
 978 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to caf80b00 flags 4
 979 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
 980 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc2be500 numibs 1 ts 4
 981 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer rb interrupt
 982 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer ib1/rb interrupt
 988 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
 991 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
 992 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
 993 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
 994 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
 995 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
 996 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1008 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1009 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1010 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1011 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1012 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1013 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1014 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from caf80b00 to cce37400 flags 4
1015 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| active_ctxt flags 00002110
1016 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
1017 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf676a0 numibs 1 ts 13
1018 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1019 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1020 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1021 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1022 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1023 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1024 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1027 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1028 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1029 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1030 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1031 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1032 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1033 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1034 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf67bc0 numibs 1 ts 15
1035 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 14 gpuaddr 6611e000)
1036 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)
1037 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1038 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1039 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1040 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1041 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1042 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1043 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)


but the error still there , is it possible the ICS ROM .so problems?

E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
As xylograph suggested, have you tried using the shared objects from desire hwa enabled roms instead of the qualcomm supplied binaries ?
Compare the kgsl driver and it's related pmem, kgsl structures in board files from www.github.com/drewis/tiamat-kernel

Also, please wrap such logs, code in [ CODE ] [ /CODE ] blocks..

Here is my latest diff, have to fix board files, include leo-specific drivers and review the code.
Attached Files
File Type: zip tiamat-htcleo.patch.zip - [Click for QR Code] (404.6 KB, 19 views)
 
Xylograph
Old
(Last edited by Xylograph; 26th April 2012 at 09:52 AM.)
#4166  
Xylograph's Avatar
Senior Member
Thanks Meter 7723
Posts: 1,824
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by securecrt View Post
It seems the kgsl-3d0 driver init ok but the first open is failed
I found the wakeup error entry in kgsl.c so it probably has something to do with that ?

Code:
static int kgsl_open(struct inode *inodep, struct file *filep)
{
	int result;
	struct kgsl_device_private *dev_priv;
	struct kgsl_device *device;
	unsigned int minor = iminor(inodep);

	device = kgsl_get_minor(minor);
	BUG_ON(device == NULL);

	if (filep->f_flags & O_EXCL) {
		KGSL_DRV_ERR(device, "O_EXCL not allowed\n");
		return -EBUSY;
	}

	result = pm_runtime_get_sync(device->parentdev);
	if (result < 0) {
		KGSL_DRV_ERR(device,
			"Runtime PM: Unable to wake up the device, rc = %d\n",
			result);
		return result;
	}
	result = 0;
Quote:
Originally Posted by dorimanx View Post
yes fix it freezing the apk of location in system app, then you loose location by network, but no wakelocks.

i suggest to update this apk from ics google apps package, and see if its resolved.


Sent from my GT-I9100
unfortunately I am already using the latest one... I will freez or uninstall it, but I hope you can look at it..



Quote:
Originally Posted by securecrt View Post
make some changes the kgsl-3d0 device init has no error now.
It seems the graphics aren't getting any memory assigned ?

---------- Post added at 10:45 AM ---------- Previous post was at 10:44 AM ----------

Quote:
Originally Posted by Rick_1995 View Post
As xylograph suggested, have you tried using the shared objects from desire hwa enabled roms instead of the qualcomm supplied binaries ?

Also, please wrap such logs, code in [ CODE ] [ /CODE ] blocks..
Already tried that Rick... same results unfortunately (as far I could see exchanging the libs)

EDIT : Though it couldn't hurt to try booting a HWA Desire rom.. I will look at it

---------- Post added at 11:21 AM ---------- Previous post was at 10:45 AM ----------

Quote:
Originally Posted by securecrt View Post
make some changes the kgsl-3d0 device init has no error now.
Btw securecrt if you have any new developments you would like to have tested just email me
 
Aternus
Old
#4167  
Aternus's Avatar
Senior Member
Thanks Meter 486
Posts: 387
Join Date: Feb 2010

 
DONATE TO ME
Quote:
Originally Posted by securecrt View Post
Code:
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
You need to adjust the memory range, also take into account that the mem range is allocated differently due to MAGLDR. I don't know exactly how, perhaps you should look into it
The Following User Says Thank You to Aternus For This Useful Post: [ Click to Expand ]
 
Xylograph
Old
(Last edited by Xylograph; 26th April 2012 at 10:41 AM.)
#4168  
Xylograph's Avatar
Senior Member
Thanks Meter 7723
Posts: 1,824
Join Date: Sep 2009

 
DONATE TO ME
Quote:
Originally Posted by securecrt View Post
init.rc
add the two lines
chmod 0777 /dev/kgsl-3d0
chmod 0777 /dev/genlock


Sent from my HTC HD2 using xda premium
Comparing the bravo CM9 HWA rom ramdisk with the one from tytung I found some entries in the ueventd.bravo

Code:
mtd@misc 0460 radio diag

# the genlock client device node is world writable/readable.
/dev/genlock            0666    system  graphics

# gpu driver for adreno200 is globally accessible
/dev/kgsl-3d0           0666    system  graphics

# camera - just make sure its all writeable
/dev/msm_camera/*       0666    system  camera
/dev/graphics/fb*       0666    system  graphics
Interesting ?

EDIT: Also what is this about ??

Code:
# Allow system to modify ksm control files
    chown root system /sys/kernel/mm/ksm/pages_to_scan
    chmod 0664 /sys/kernel/mm/ksm/pages_to_scan
    chown root system /sys/kernel/mm/ksm/sleep_millisecs
    chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs
    chown root system /sys/kernel/mm/ksm/run
    chmod 0664 /sys/kernel/mm/ksm/run
Reading the first post it says :

KSM Memory Management
Do to heavy memory load with OpenGL support, it is recommended to activate KSM to reduce the memory usage and avoid problems like random reboots.

This is done by going to "Settings"->"Performance"->"Memory Management" and check "Kernel samepage merging"

You can also activate zRam if you still encounter low RAM issues.
 
Xylograph
Old
#4169  
Xylograph's Avatar
Senior Member
Thanks Meter 7723
Posts: 1,824
Join Date: Sep 2009

 
DONATE TO ME
Default !!! Front page alert !!!

Guys.. I have ported the bravo CM9 rom to our device and used the test kernel that securecrt sended me yesterday and I am happy to inform you all ::

WE HAVE HARDWARE ACCELERATION GOING ON OUR HD2

FINALLY!!!!!!!!!!!!!!!!!!!!

chrome in action !



so now I will start fine tuning this rom.. it's a rough port with no working sound yet and probably more... but we have it !!!

THANKS YOU VERY MUCH : securecrt, Rick_1995, Dorimanx
The Following 87 Users Say Thank You to Xylograph For This Useful Post: [ Click to Expand ]
 
RoadXY
Old
#4170  
Senior Member
Thanks Meter 95
Posts: 429
Join Date: Jan 2011
Is it smooth?
How does it run througout the ROM?

Tell me more please!

Tags
best kernel, boost boot, clk kernel, cron, dorimanx, fast kernel, mag kernel
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes