yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] chp2:
Yes, I know about the thermal throttling since it was introduced long time ago (if I remember well and with attempts from Pengus to increase GPU clocks too).

Exept if the GPU clock is higher or lower (wich I don't know) or throttling params were changed on kk124, the 3D, has for sure, for me, less framerates than previous Pengus kernels and the benches report that too (CPU scores are verry good though).

I can add, to avoid any throttling problems when testing, I always do them when my phone is cool after a long idle period.

Everything else is, as usual, awsome and Pengus has done a verry good job here.
[LG Optimus 2x] x_justin:
Okay, Lets make 2 antutu runs on each kernel, I will do it too. Then we can compare in numbers. Lets say all ran on battery.

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] pengus77:
Derp... oh friendly derp :D

Guys, i just discovered an harmless derp in dynfsync. It's one of the blind-coding commits i made and noone actually noticed it. Basically dynfsync is always disabled on 124 (even if you enable it)... hopefully it's really harmless and it's the root cause of the slowdowns and blah blah. It's fixed in 125pre1 that i just pushed to the testers.

There was a deadlock in the code that, imho, has also been the cause for the random bsods/freezes some of you reported. Deadlocks are *****y because they don't get logged and don't produce stacktraces, so they're close-to-impossible to debug with standard logs...

Keep Calm And Love Kowalski :D
[LG Optimus 2x] Patrick Morgan:
Haha, classic, and i wonder why i had no problems with the newset kernel, i didnt like using Dynfsync before (because of the data loss on random shutdowns) - but it was fixed to be disabled when it goes below 5%, ... so i decided to try it on, ... and i thought it was working!

haha. oh well. looking forward to the new one, .... 124 cant be considered for a stable release then after all =P

EDIT:

Odd though, ... 124, read and write speeds on y class 10 sd card are pretty awesome, ... i remember you saying that you get the wrong value when using a speed test with Dnyf on, so doing it with it off will give me correct values, .. but during the testing of T.b5 (4.7) i got a awesome speed, ... like 14mb write, and 27mbs read ... =/ i put it down to your kernel options. .. but if they were off the whole time, .... O.o what will it do to my speed if i have it on! O.O
[LG Optimus 2x] drakodga:
Very good news and very good job! pengus77 you're awesome!! Waiting new kernel for testing!! :fingers-crossed:
[LG Optimus 2x] chp2:
Ok fine and thanks for the help.

I'll do it ASAP.
[LG Optimus 2x] chp2:
Here are my tests and as requested, I used Antutu bench.

Note : these tests were made using the same Tonyp's latest CM10.1 build (T05 using GCC4.8) and after 30mn idle to prevent CPU heat. In all case the CPU is running [MENTION=1516530]150[/MENTION]0MHz.

The first capture was taken using kk124 ==> global score : 7735

The second capture (same rom) using kk121 ==> global score : 8515

What's interesting is the big differences in I/O and GPU (relationship?)

For info, I attached last capture I made while using Civz's ICS ==> 8791
[LG Optimus 2x] proyatzu:
I am almost sure your first score was unlucky, maybe if you would have tryied again you would get a score similiar to the second one
[LG Optimus 2x] Custom40:
Benchmarks give meaningless numbers. It is the user experience that matters, not some random numbers. Face the facts, you're only doing benchmark tests out of boredom because like everyone else around here you have the idea that this phone has reached its highest potential. Stay calm and remain patient, afterall there are penguins amongst us. Just my 2 cents as some would say ;)
[LG Optimus 2x] Hejkompas:
That is why benchmarks should happen with multiple runs and get averaged.
[LG Optimus 2x] chp2:
Please....

We are talking about user experience. If you followed a little bit that conversation, you'll understand it's not, in any way, matter of benchmarks but about frame rate rendering during gameplay and 3D rendering.

If for you, it's ok for everyday use for usual matter and casual solitaire playing then I'm happy for you and Pengus has done a fabulous job here.

But what we want to show and demonstrate is that this particular kernel (kk124) has some problems with 3D and in order to correct them we are discusing about our experience. If you read just several post before, Pengus spotted himself this build could have problems with DynFsync and thus, perhaps, some influence on 3D too (I supose).

To verify that, we decided to use Antutu (why not?) because it's a common and free test program but it could be another free one too.

And Yes, I posted the best score I got from a suite of 3 tests.
[LG Optimus 2x] antec123:
Maybe there is problem with 3D in KK 124 exp, i don't know because i only play like happy street, Simpsons tapped out, zombie trip, shadow gun, and so on not heavy 3D gamer. But i do know that our phone tegra 2 is already 2 years old, i bought this phone on 2011. It's already outdated with new 3D graphics, example like Adreno, PowerVR, tegra3, tegra 4, Mali.

It's just my opinion bro, regarding your problem with frame rate rendering during gameplay and 3D rendering.
[LG Optimus 2x] spica1234:
Hello,

Pengus nice work again. Installed since 2 months and hand it to wife and she dint complain. Good work.

And I came to know today lately about moonchx, who was being another stefen. Ban was a good decision.

Pengus, ignore such things and please continue. Your consistent development and efforts is the reason still I am holding this old powerful device.

Thanks for your time snd efforts.
[LG Optimus 2x] Jishnu Sur™:
You are very correct Spica Bhai.. sidhi baat no backwas.. :D
[LG Optimus 2x] tonyp:
Yes, MinoochX aka nicholaschw has been a troll.

But comparing him to Stefan certainly isn't fair to all the effort Stefan has done to this device.

Stefan didn't troll, he did provide his sources (yes, no perfect git history, but still) and he did have some actual knowledge about kernels (more than me for that matter).

So let's not open up old chapters here, please and let the past rest.
[LG Optimus 2x] crazyon3:
is it possible for the next release to be able to skip or change the splashscreen of the phone? i dont like it one bit
[LG Optimus 2x] Patrick Morgan:
That would be based on the rom your using, and what rom your using. the request should go into the correct thread.

as this is the Kernel thread, and the rom is what runs the bootscreen.

Edit:

According to Rusty there is no way to change the Bootloader splashscreen on the O2x. the usual methods for other phones don't seem to work with our phone.
[LG Optimus 2x] Anurag pandey:
As he's talking about changing the splashscreen, it'll require changing the logo.rle file inside the kernel

But i don't think that's important now
[LG Optimus 2x] joiN85:
Hi all,

how to set frequency on 1200 with init.d script?

with this don't work!
[LG Optimus 2x] pengus77:
It's a tegra board, you also have to tell the kernel what's the cap... echo the same value also to /sys/module/cpu_tegra/parameters/cpu_user_cap ;)
[LG Optimus 2x] andreilica:
I got some hard resets with 124 today in the bus. Here are the logs. http://db.tt/hbPcVD0c
[LG Optimus 2x] joiN85:
you're the best! :good:
[LG Optimus 2x] crazyon3:
its certainly not important. just a suggestion.
[LG Optimus 2x] tavoc:
Hi there,

I have noticed sometimes a loss of signal and could get a partial log, which you will find at the attachment.

I had to restart the phone to get the signal back. A network search failed with: SET_NETWORK_SELECTION_AUTOMATIC fails by E_RAIDO_NOT_AVAILABLE.

Couldnt get more logs, sry. This happens every 3-5 days, could not find a pattern or reproduce it by myself.

Here you find my config:

* Old Bootloader

* Rom: tonyp 4

* KK124

* all options for wifi power save

* max pm set

* BB 725

This wasnt an issue with KK122, as far as I can remember.

Hope the partial logfile is a little bit helpful.
[LG Optimus 2x] Darkmind82:
hi there.

i faced a problem i read a few times. every time i got a notification or a call the sound in kowalski resets or sometimes lowers to 45 instead of 53.

i noted it with or without viper audio mod.

further i notice that the multitasking didn't work as effectly as in the previous builds.

it happens with t-build 4 and pa 13 both on new bl.

greetings datkmind
[LG Optimus 2x] x_justin:
Here a very happy user, using KK124. Looking forward to 125 with DynFsync fixes. I can confirm that I have exactly the same radio issues, but I didn't log so mine didn't happen:p Just to share my +1. I only had it twice this week. It is after a full rebuilded phone using the all in one tool, so it's really not some old stuff what it's causing. Will try to capture a log asap.

However, since I disabled PSP, my WiFi performance got a lot of better (Pengus I read you hated your linksys router, so I do hate mine now too). It's causing disconnects + slow performance. So it's probably not supported at all.

Now since I disabled it, power consumption is only 1.5% per hour on Tony's T-Build, which is amazing imo. Don't know how it's in your rom, but people with WiFi problems, next to the 2nd core hotplug setting, it's also PSP mode which can cause strange problems if not supported. I know it's stated clearly in the OP, but just to share...
[LG Optimus 2x] spica1234:
DynFsync is not necessory but only during startup. As kernel 2.6.39 has already deprecated nobh and data journal writeback features. So during screen off there is no necessity of turning off fsync.
[LG Optimus 2x] andreilica:
On latest 124 I have some nasty bugs. I experience signal lose some times, hard reboots( see the logs above) and now twice BSOD while on charger. Something doesn't seem right . I can't get logs from the BSOD as I need to remove the battery. :|
[LG Optimus 2x] kekks:
Why not post the log again if you are facing same issues, you can take the logs whenever you face an issue and post them, this would be helpful for the dev to track the problem and know the root cause if its ROM, kernel or an application related.
[LG Optimus 2x] andreilica:
I have posted logs earlier. See above on the previous page. (posted by ME) :D .
[LG Optimus 2x] kekks:
Yes buddy I had seen your logs, was just trying to tell you to take logs whenever you face a problem, it would be easier for the dev, if you had a BSOD you can still take the logs, if you are quick to insert your battery you may have the last_kmsg also. :)
[LG Optimus 2x] andreilica:
If I had a BSOD the only way to bring it back to life was by removing the battery. By doing that the last_kmsg gets lost. So I don't have what logs to post. :)
[LG Optimus 2x] lucfig:
If you insert the battery fast enough you don't lose last_kmsg.

Must be quick but is not that difficult.

Enviado do meu LG-P990
[LG Optimus 2x] spica1234:
Hello Pengus,

As I said earlier,

DynFsync is not necessory but only during startup. As kernel 2.6.39 has already deprecated nobh and data journal writeback features. So during screen off there is no necessity of turning on fsync.

I've wrote this very simple yet effective fsync using Preload engine and as usual branch prediction. Using preload engine and branch prediction It's always assumed that Fsync is off only not during startup. Using both of this combination code will execure much faster without needing of everytime checking whether fsync is on or off. Only when fsync status is changed, one of the CPU take ownership and update the status of fsync in variable assigned for fsync status which is located in L2 cache. Plus it keeps fsync off during early init and late init execution ensuring untill phone is booted fsync is on only.

Below is the patch file which I've made. I've not tested it but I can see no reason why it can't work.

PFA
[LG Optimus 2x] tonyp:
Great to see you working at the kernel again :D

pengus is currently out of home. I think it would be best if you send a pull request here:

https://github.com/pengus77/lge-kernel-star/tree/exp

Then pengus can check it and merge.

Oh and - maybe you'll love seeing the kernel source that much that you'll return developing and can colloborate with pengus, would be freaking awesome :D
[LG Optimus 2x] pengus77:
Man, that's an awesome idea! I can't check the patch until friday morning, but you could send me a pull request on github and I'll merge and push to the testers. Btw if you would like to join the team and help us (tony and me) to make this phone really usable, add me up on g+ and let's hangout :D
[LG Optimus 2x] zchuxz3x:
*Insert Rocky's theme*
[LG Optimus 2x] flopower1996:
Hmm if now temasek and stefan would join the Party this would be awseome. Think of that powerful team hmmmmm.

Gesendet von meinem LG-P990 mit Tapatalk 2
[LG Optimus 2x] spica1234:
Sorry I made writing mistake but not mistake in patch. I mean untill phone is booted up fsync is on then permenantly fsync is off. Corrected on/off mistake in previous patch post:)
[LG Optimus 2x] imayoda81:
Hi [MENTION=3783116]pengus77[/MENTION], would it be possible to disable ramhack in userland or during boot (maybe a snapshot without it either)? i'd like to test 124 or 125 without ramhack, some games like carmageddon, stock camera in 4.2.2 and some other apps that i suspect are running bad because of it.

Thanks and kind regards
[LG Optimus 2x] tonyp:
Changing that isn't hard.

I don't really want to share a custom kernel build here, so I won't build one. I'll leave that to pengus who could compile a quick "non-ramhack testkernel" when he's back home (to verify these problems indeed come from the ramhack).

For those in here who know how to compile a kernel on their own here's what you need to do:

In this file: https://github.com/pengus77/lge-kernel-star/blob/exp/arch/arm/mach-tegra/common.c

replace

#ifdef CONFIG_CM_BOOTLOADER_COMPAT
unsigned long tegra_carveout_size = SZ_128M;
#else
unsigned long tegra_carveout_size = 0x07800000; // 120MB
#endif

with

unsigned long tegra_carveout_size;

Then compile it as usual.
[LG Optimus 2x] imayoda81:
Thanks for the heads up tonyp :)

I would compile one by myself but now i have only a win machine with low privileges. If pengus agrees to push a test non ramhack kernel i'll wait for it, else i will compile one by myself when i get my laptop back from service (thanks for pointing where the code is).

i've been playing around with tegra2 tablet and i noticed for example that same games have different behaviour and i suspect it's the ramhack video memory thing.. just one example is hungry shark evo, it plays on our phone with somewhat low resolution textures and game details (some texts are even unreadable), but on the tablet it looks neat and very different. Game has higher graphics performances... same 512MB ram situation either.

:)
[LG Optimus 2x] mas2112:
Is the top value the old bl value, and the bottom the new bl value?

Also, if the carve out is only 128, then why doesn't our phone report 512 - 128 = 384 MB of ram? Instead, mine reports 366MB.

And what is the lowest carve out value that would be stable for those ppl who don't play games?
[LG Optimus 2x] BS86:
384 is the RAM-hacked amount of RAM on the new BL ;)

seems like i need to learn how to compile kernels, as i would like to test only 50MB of Video-RAM, i do not game at all ;)
[LG Optimus 2x] bugadani:
It's 374 for me... But yeah, just how little would be enough for most of us?
[LG Optimus 2x] sudden36:
I don't think its that easy to do such a big ramhack, because how would all the librarys (camera for example) know there is much less vram? And will they even work with that less memory?
[LG Optimus 2x] DrummerMuppet:
During the early days of the Kowalski kernel, [MENTION=3783116]pengus77[/MENTION] made some tests and found that the current RH values for each BL proved to be the most stable ones at the time (gosh, it seems like it's been ages since then!). With all the optimizations / changes that came along after that, I wonder if the RH can be lowered a bit further or not - I guess pengus can give a more detailed answer on this.
[LG Optimus 2x] imayoda81:
don't know if a bunch of free megs are going to get back the missing 512MB they missed to install in order to take maximum advantage from the t2 arch... but i belive we are paying day by day the hack for lesser free memory
[LG Optimus 2x] tonyp:
Lots of people get this wrong, so I'll try to shed some light into it (but keep in mind I'm no kernel dev, so this might not be 100% accurate).

In the ICS kernel we use another kind of ramhack than in the GB kernel.

At GB we indeed reduced the vram - at ICS we're only reducing the kernel carveout.

(Yes, I am pressuring pengus77 for quite some time now to reduce the vram as well and make it dynamic :D)

So - we got 512mb RAM.

From that 152mb RAM are allocated - 128mb vram for the gpu and 24mb carveout for the kernel, which leaves 360mb for the rom without a ramhack.

Our current ramhack just takes some mb from the carveout - which apparently leads to a couple problems as it's taking a bit too much (some games won't start, taking panorama pictures sometimes crashes).

Once pengus finds some time he'll try to reduce the actual vram as well (and re-increase the carveout again) - and make the allocation dynamic so everyone can adjust it according to their need.

Yes.
[LG Optimus 2x] DrummerMuppet:
A 2X with 1 GB of RAM, now that would be something! Too bad that didn't happen.
[LG Optimus 2x] imayoda81:
real ram hack would be to solder more ram on the pcb.. but unfortunatelly this tegra package includes on its top the ram package, so it's only one bulk ram+cpu.. no real luck :D

---------- Post added at 07:59 PM ---------- Previous post was at 07:57 PM ----------

we need zram for video memory :D
[LG Optimus 2x] calav3ra_de:
- edit: deleted stupid question -
[LG Optimus 2x] chp2:
Stop... What are you doing here?

Trying to recover Video RAM to increase RamHack? I don't know if it's a so good idea.

As said before by Tonyp the side effects can be hard to manage : Non working games, Camera crashes, and so on.

It remember me some hard days (and nights) trying to understand why some apps work and others not and I'm sure devs too. It's playing with fire.

For what? what gain? launching simultaneously huge amount of apps? No way. I prefer people learn how to manage these apps, which service can be started manualy or to prefer well writen and lighter apps.

BTW, I think that even if we have 2GB of RAM there are people where it's not enough.
[LG Optimus 2x] proyatzu:
But we have 512mb of ram, not 2gb, thats the point. This Phone is still not so bad at all, the only problem is the low amount of ram, and if we not try to exploit this to the max of his possibility, it is like to walk with a broken leg..
[LG Optimus 2x] chp2:
At the expense of stability?

I understand your point of view and it was mine long time ago. Now I prefer to think we can manage it differently.

[Sarcastic] And What would be the benefit if, to cure your leg, you loose your arm? [/Sarcastic]
[LG Optimus 2x] MatVekk:
hello, yesterday I compared the huawei Y300 a friend of mine with my p990 with CPUZ. I noticed that her off the second core after a second, and in my always remain active. I put it off autohotplug but only by forcing single core is off. I hope this helps. I know off the second core when the screen is off but I thought he did also from on and idle. Perhaps it is the fault of CPUZ? I ask you that you know everything :)

PS: forcing single core, the phone is smooth and fast. a miracle. Thank you!

ROM Tonyp 04 - Kernel 124 - newbl
[LG Optimus 2x] LarsPT:
Hi pengus!

My phone died, I had to do a battery pull out but I think I managed to do it quickly enough to keep the last_kmsg. I hope this is helpful!!

(Actually it is easy to do it quickly enough to keep the last_kmsg... just start with a really fast pull that is not enough to restart the phone... and start increasing the time you pull the battery until it's just enough to restart the phone).

Thanks!!

Also, this morning my alarm didn't go off :( I'm using T-build 5 (GCC 4.8) with 124 kernel.
[LG Optimus 2x] pengus77:
Hey, kernel logs are 100% clean... i suggest you check the tombstones and send them to Tonyp. Maybe something crashed bit time at rom level ;)
[LG Optimus 2x] JUMPhil:
Is it hot at your place? In Germany we have about 35°C, which causes my phone to overheat all the time. Maybe your problem is also related to heat?
[LG Optimus 2x] mind_challenge:
My phone also overheats, it's over 35°C here in Croatia. But phone works just fine :cyclops:
[LG Optimus 2x] LarsPT:
Thanks for all of your replies.

I don't think it was a overheating problem. Here in Toulouse, France we're enjoying warm 20ºC degrees weather... not too cold, not hot... hope that nice German weather will shift southwest soon... I've got a swimming pool at the hotel where I'm staying that I would like to enjoy!!

Anyways, I'm sure tonyp follows this thread closely so he's welcome to take a quick look at the logs if he wants.

Thanks again!
[LG Optimus 2x] SWTR:
Great!

Gesendet von meinem Galaxy S2 mit CM10.1
[LG Optimus 2x] grimmyrippy:
does ramhack affect the camera performance or other system application that needed the vram?
[LG Optimus 2x] aigaming:
Yes it does;)
[LG Optimus 2x] matrixstr:
On 124 sometimes i have BSOD when connect charger in deep sleep. Unfortunately i don't have Last Kernel Log :(
[LG Optimus 2x] imayoda81:
N.M.R.P.

No More Ramhack Party

:D
[LG Optimus 2x] C0D3N1N3R:
I hope we could change ram hack on the go

Sent from my LG-P990
[LG Optimus 2x] Medizinmann:
It depends...as tonyp wrote...

http://xdaforums.com/showpost.php?p=42710224&postcount=6101

I don't think this is a strict connection.

The way the ram hack works right know it seems to do lead to some incompatibility.

I am no kernel dev, but as I understand it very much depends on the way the ramhack works.

When I used symbi0sis kernel with "vram-ramhack" - I never had problems with games or camera apps while using a ramhack as high as 44MB.

And I would organize the W.N.M.A.A.P. (We Need More And Adjustable Ramhack Party)...;):fingers-crossed:

We need a user adjustable ramhack.

Greetings,

Medizinmann
[LG Optimus 2x] buedi:
Or "simply" a new phone ;)
[LG Optimus 2x] machoman1337:
For which bootloader? Had this issue with the old one, never with the new one.
[LG Optimus 2x] imayoda81:
sent from my GT-999999999999999999999999999999999999999500000000000000000000000000001

don't get me wrong but not anybody has the money for things like that

... plus penguins' hard work lead this phone to a level they did not liked a lot in lg.. it should be dead since gb, but look ma! no hands! :D
[LG Optimus 2x] machoman1337:
why am I limited to only 8 thanks per day????
[LG Optimus 2x] buedi:
You forgot a 9 and 0! I and my GF are still using the LG-P990 (over 2 years) which is an awesome phone. But the bottleneck is def. the RAM (and battery....) - esp. when you compare it with an 1GB or 2GB phone. Anyways, tonyp and pengus are doing a great and hard work for like free. And no one has to buy a friggin' expensive phone... Just accept what the guys are able to do in their free time. Not less, not more to say here ;). We appreciate the work.

Sent from my GT-99999999999999999999999999999999999999950000000000000000000000000000190
[LG Optimus 2x] Medizinmann:
Ah...that would be to easy...;)

But seriously - till now I didn't find a phone I feel the urge of buying. :rolleyes:

Thumps Up again to the great work of pengus77 and tonyp. :highfive::good::D

Greetings,

Medizinmann
[LG Optimus 2x] pengus77:
Back Home

Hiya guys, just came back home... bit brain dead after a four days intensive work session in another town. I'd say tonight i'll sleep 12 hours and tomorrow i'll find a way to give you the so-much-requested dynamic ramhack. It's not so simple to make right, but i have a few ideas i already discussed with Tonyp in the past. Tomorrow i'll see if i can implement at least one of them ;)

Good night :D
[LG Optimus 2x] wucinac:
Have a nice dreams:):):)
[LG Optimus 2x] matrixstr:
New Bootloader