[KERNEL][AOSP/TW][27 Dec] War Kernel r3 // colder than ever

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
Great to see some more work being done on this Geecko, thank you!

http://irclog.whitequark.org/teamhacksung/2014-02-17
I don't like being watched like this :D

EDIT:

More details about what I'm trying to do :
- Backport ION kernel from Insignal 3.4 (it's compiling now). It's a mandatory requirement for the framebuffer driver, also the hardest part in my mind. Will totally break the camera stuff
- Disable UMP and use older r3p2-01rel0 Insignal Mali binaries which are using dma-buf instead (easy to merge in theory, it's also required)
- Use s3cfb framebuffer driver from Insignal with dma-buf support
- Finally switch to this [email protected]@@@cking hwcomposer that will do wonders (the pull request is ready to merge since months)

Nexus 10 grade graphics stack for our Exynos 4 devices. Even better than what's shipped in the stock firmware. :D
 
Last edited:

NoteboyTech

Senior Member
Apr 23, 2013
505
400
0
Delhi
techtactics-by-rbhk.blogspot.in
I don't like being watched like this :D

EDIT:

More details about what I'm trying to do :
- Backport ION kernel from Insignal 3.4 (it's compiling now). It's a mandatory requirement for the framebuffer driver, also the hardest part in my mind. Will totally break the camera stuff
- Disable UMP and use older r3p2-01rel0 Insignal Mali binaries which are using dma-buf instead (easy to merge in theory, it's also required)
- Use s3cfb framebuffer driver from Insignal with dma-buf support
- Finally switch to this [email protected]@@@cking hwcomposer that will do wonders (the pull request is ready to merge since months)

Nexus 10 grade graphics stack for our Exynos 4 devices. Even better than what's shipped in the stock firmware. :D
Sounds cool...
Go ahead...
Give this legend a new life...

Sent from my GT-N7000 using XDA Premium 4 mobile app
 

daedric

Senior Member
Dec 24, 2006
2,204
456
163
Porto
I don't like being watched like this :D

EDIT:

More details about what I'm trying to do :
- Backport ION kernel from Insignal 3.4 (it's compiling now). It's a mandatory requirement for the framebuffer driver, also the hardest part in my mind. Will totally break the camera stuff
- Disable UMP and use older r3p2-01rel0 Insignal Mali binaries which are using dma-buf instead (easy to merge in theory, it's also required)
- Use s3cfb framebuffer driver from Insignal with dma-buf support
- Finally switch to this [email protected]@@@cking hwcomposer that will do wonders (the pull request is ready to merge since months)

Nexus 10 grade graphics stack for our Exynos 4 devices. Even better than what's shipped in the stock firmware. :D
ION... ION is a major PITA. The camera subset will have to be re-written (or ported if available) to work with ION correctly. That's being attempted on the Tenderloin... it's comming through but slowly...

Question, will this in theory enable all the requirements for Project butter ?
 

chasmodo

Senior Member
Dec 28, 2011
12,406
41,141
0
Novi Sad
Thanks a million for your efforts, @GeeckoDev

New ION cherry picks, compiles and flashes fine for me.

However, I have the same camcorder/video playback problems 4412 devices are supposed to have: video preview works on first tap, camcorder apparently records, you can stop the recording, but when you try to play back your video none of the players can start it, they all hang. When you restart the camcorder, you get a black unresponsive screen.

Also, Gallery, QuickPic and MX Player are unable to play most of the movie files, they just hang.

Flashed and tested first on Asylum, then on stock official Omni with no cherry picks or any other alterations, the end result is the same.

Logs: http://asylumrom.com/Asylum/Asylum-Roms/KitKat-4.4/Temp/ION_lolcat_kmsg_dmesg_20140218.zip
 
Last edited:

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
Thanks a million for your efforts, @GeeckoDev

New ION cherry picks, compiles and flashes fine for me.

However, I have the same camcorder/video playback problems 4412 devices are supposed to have: video preview works on first tap, camcorder apparently records, you can stop the recording, but when you try to play back your video none of the players can start it, they all hang. When you restart the camcorder, you get a black unresponsive screen.

Also, Gallery, QuickPic and MX Player are unable to play most of the movie files, they just hang.

Flashed and tested first on Asylum, then on stock official Omni with no cherry picks or any other alterations, the end result is the same.

Logs: http://asylumrom.com/Asylum/Asylum-Roms/KitKat-4.4/Temp/ION_lolcat_kmsg_dmesg_20140218.zip
So this issue is not related to my change?

Do not cherry-pick new ION yet, it's useless alone. We need all the changes to see some serious improvements :
- in the kernel: new ION (done), UMP disabled (done), new s3c-fb framebuffer driver (i'm merging it right now)
- in userspace: new hwcomposer (done), new gralloc (blob to merge), updated libsecion (todo, i'm using libion.so from Manta in the meantime), Mali blobs supporting dma-buf

Basically the graphics stack is ENTIRELY new.
 

chasmodo

Senior Member
Dec 28, 2011
12,406
41,141
0
Novi Sad
So this issue is not related to my change?

All the abovementioned camcorder/video playback problems emerged immediately after I cherry picked the ION commit, compiled and flashed the kernel.

Do not cherry-pick new ION yet, it's useless alone.

Well, I got an email invitation to review the commit, so I cherry picked ION to test it like a good boy. :p

EDITED: I'd have cherry picked it even without the invitation, because your commit message says:
Running well on n7000.
 
Last edited:

nigi73

Senior Member
May 21, 2009
222
88
0
Somewhere in UK
So this issue is not related to my change?

Do not cherry-pick new ION yet, it's useless alone. We need all the changes to see some serious improvements :
- in the kernel: new ION (done), UMP disabled (done), new s3c-fb framebuffer driver (i'm merging it right now)
- in userspace: new hwcomposer (done), new gralloc (blob to merge), updated libsecion (todo, i'm using libion.so from Manta in the meantime), Mali blobs supporting dma-buf

Basically the graphics stack is ENTIRELY new.
And I thought that you lost interest in developing for note :eek:
 

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
Small update, the merging process for the framebuffer driver is WAY harder than I initially thought. By that I mean that I have currently no clue on how to achieve this, so I will spend my free time documenting myself on the issue. It's the very last step toward improved graphics, if I understood everything correctly, though, so things are still looking bright!

Another thing, @Azeazezar is willing to send me a partially broken Galaxy Note for FREE. This is simply awesome. I need more hardware as my Note is my one and only phone, so when I'm developing my phone becomes inoperant for days in the worst case scenario. This one has a cracked screen and lacks IMEI, but it is still usable as a development platform. I wish I had also more models (i9100, i9300, n7100) so I could be more efficient at testing (heh, one can dream :angel:). Thanks again !! :good:
 

Azeazezar

Senior Member
Aug 5, 2011
380
187
0
ಠ_ಠ
@Azeazezar is willing to send me a partially broken Galaxy Note for FREE. This is simply awesome. I need more hardware as my Note is my one and only phone, so when I'm developing my phone becomes inoperant for days in the worst case scenario. This one has a cracked screen and lacks IMEI, but it is still usable as a development platform. I wish I had also more models (i9100, i9300, n7100) so I could be more efficient at testing (heh, one can dream :angel:). Thanks again !! :good:
Its going our with the post tomorrowNow.
 

Attachments

Last edited:

gvoima

Senior Member
Dec 11, 2006
86
2
0
Yeah I guess, but the most important would be an Exynos 4412 device. Galaxy Note and i9100 are actually quite similar.
If you could get your hands on a device of your own choosing. One that is not so expensive (let's say around 100 €?).
I could donate something towards that. A working composer would be awesome even if I'm getting a new phone, but something for my tab (gtab 7.7).

If it needs to be an exynos 4412 device. That would be a Note 2 or a SGS 3?
 
Last edited:

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
If you could get your hands on a device of your own choosing. One that is not so expensive (let's say around 100 €?).
I could donate something towards that. A working composer would be awesome even if I'm getting a new phone, but something for my tab (gtab 7.7).

If it needs to be an exynos 4412 device. That would be a Note 2 or a SGS 3?
The cheapest one :p