uvos has quit [Ping timeout: 240 seconds]
joerg has quit [Read error: Connection reset by peer]
joerg has joined #maemo-leste
System_Error has joined #maemo-leste
<Wizzup> ok, I think I can make tsc2005 behave
<Wizzup> but that really will happen after sleep :)
<Wizzup> I just need to make sure on suspend the irq is disabled, and on resume it is enabled, and that they are balanced
* Wizzup zzzz
cockroach has quit [Quit: leaving]
Pali has quit [Ping timeout: 268 seconds]
Wikiwide has joined #maemo-leste
joerg has quit [Ping timeout: 252 seconds]
joerg has joined #maemo-leste
mepy has quit [Ping timeout: 240 seconds]
inky_ has quit [Ping timeout: 268 seconds]
_inky has quit [Ping timeout: 268 seconds]
inky_ has joined #maemo-leste
_inky has joined #maemo-leste
yanu has joined #maemo-leste
<freemangordon> ugh, triple-buffering that I implemented is incorrect :(
<freemangordon> I wonder if I can get armsoc dri2 code and implant it in omap driver
mepy has joined #maemo-leste
pere has quit [Ping timeout: 260 seconds]
pere has joined #maemo-leste
mepy has quit [Quit: Leaving]
mepy has joined #maemo-leste
pere has quit [Ping timeout: 256 seconds]
uvos has joined #maemo-leste
inky_ has quit [Ping timeout: 256 seconds]
inky_ has joined #maemo-leste
inky has joined #maemo-leste
inky_ has quit [Remote host closed the connection]
zhxt has quit [Ping timeout: 265 seconds]
alex1216 has joined #maemo-leste
<Wizzup> freemangordon: what is incorrect about it?
<Wizzup> tmlind: I know it's weekend and all so no rush, but if you have some time could you comment on my tsc2005 patches? With those applied, tsc2005 does not keep the device awake unless the fd is opened (it's fine after probe, and after fd release)
<Wizzup> I suspect the next step is making it auto idle like you did with the droid4 ts atmel_mxt driver
inky_ has joined #maemo-leste
inky has quit [Remote host closed the connection]
Pali has joined #maemo-leste
<freemangordon> Wizzup: not sure I can explain, but it is wrong
<freemangordon> and I guess tearing is because of that, low FPS too
<freemangordon> it seems I have implemented double-buffering with 3 buffers :)
<Wizzup> freemangordon: aha
<uvos> freemangordon: so you wait on the wrong buffer to be free?
<freemangordon> or rather - do not mark buffer as free when it should be
<freemangordon> or somesuch, I am not exactly sure what's wrong
System_Error has quit [Ping timeout: 276 seconds]
System_Error has joined #maemo-leste
<Wizzup> hm looks like CONFIG_TIMER_STATS would be useful but they removed it from kernel
<Wizzup> tracers are supposed to replace it?
<uvos> Wizzup: i mean yeah
<uvos> you can use the tracer to monitor the timer functions and see what callbacks they call
<Wizzup> It's frustrating to just see delayed_work_timer_fn at the top always in powertop
<uvos> so its techicly possible to get this information but this seams way way harder than
<uvos> what CONFIG_TIMER_STATS seams to have been
<Wizzup> it looks like CONFIG_TIMER_STATS would actually break it down per kernel thread and userspace process
<uvos> yeah
<Wizzup> but it broke container namespace whatever
<Wizzup> blergh...
<Wizzup> the commit that removes it also doesn't really say how to do it lol
<Wizzup> 'traces replace it'
<Wizzup> ok
_inky has quit [Ping timeout: 268 seconds]
<Wizzup> btw I think I fixed the sgx-ddk-um upgrade path again
<uvos> btw sgx still blocks idle all the time on my d4
<uvos> no idea why yet
<uvos> only rmmod helps
<Wizzup> this is leste?
<uvos> yeah
<uvos> its only this one d4
<Wizzup> maybe try to upgrade to latest kernel and such
<uvos> really strange
<Wizzup> hmm interesting
<uvos> i have
<Wizzup> I also have some droids that use more power than they should even when not turned on
<Wizzup> (on lab psu)
<uvos> ok
<Wizzup> I had one, now I have two that do that
<uvos> but its fine with sgx not loaded
<Wizzup> but idk if that's sgx
<uvos> so i doubt its that
<Wizzup> mhm, weird
<Wizzup> yeah
<uvos> i should try if it follows the sdcard
<Wizzup> yes
<Wizzup> freemangordon: btw I can't get the n900 to behave even with CMA size of 64MB
<Wizzup> so there might be something else going on
<freemangordon> Wizzup: hmm?
<freemangordon> what do you mean?
<Wizzup> X11 segfaults quite quickly
<freemangordon> segfaults like?
<Wizzup> let me check you an error, sec
<freemangordon> cannot allocate BOs?
<Wizzup> it's still booting, sec
<Wizzup> I can usually get it to crash by just starting one or two apps and clicking on a menu
<Wizzup> [ 177.206359] cma: cma_alloc: reserved: alloc failed, req-size: 375 pages, ret: -16
<Wizzup> [ 177.206359] cma: cma_alloc: reserved: alloc failed, req-size: 375 pages, ret: -16
<Wizzup> (EE)
<Wizzup> (EE) Backtrace:
<Wizzup> (EE)
<Wizzup> (EE) Segmentation fault at address 0x10
<Wizzup> so it looks like something doesn't check if cma alloc is ok or something
<freemangordon> hmm:
<freemangordon> OS error code 16: Device or resource busy
<freemangordon> weird
<Wizzup> I don't know what causes that exactly, but it happens within 30s of using the device for me
<freemangordon> Wizzup: it seems omapdrm doesn't handle EBUSY from cam allocator
<freemangordon> *CMA
<freemangordon> Wizzup: is that with 3-buffer enabled?
<freemangordon> Wizzup: could you try to disable zram? and enable swap on eMMC?
<Wizzup> I don't have that set
<Wizzup> 3-buffer
<Wizzup> either yes or no
<Wizzup> just not in config
<freemangordon> Wizzup: it is 'on' by default
<Wizzup> ok
<freemangordon> if you have that code ofc
<Wizzup> I'll just turn off swap alltogether I guess
<Wizzup> not sure @ code
<Wizzup> iirc we are lacking at least one commit
<freemangordon> ok, then it is not 3-buffer
<freemangordon> anyway, one of the things I will do when I fix tearing/fps is to teach omapdrm to export non-CMA allocated memory as well
<Wizzup> I'm going to look at moving the experimental ddx + 5.15 kernel to -devel btw
<Wizzup> freemangordon: ok
<freemangordon> then we will not need CMA, but ordinary DMA mem
<Wizzup> I think we will not make n900 use the new ddx yet, there are a few other instable factors there anyway
<Wizzup> freemangordon: great
<freemangordon> yeah, makes sense
<freemangordon> uvos: do you have any idea how dri2 buffer management is supposed to work?
[TheBug] has quit [Ping timeout: 256 seconds]
[TheBug] has joined #maemo-leste
<uvos> freemangordon: no i dont
<Wizzup> uvos: wonder if this still applies and is of some use http://www.360doc.com/content/14/0223/12/10366845_354967422.shtml
<uvos> freemangordon: all isent big change from 2 -> 3 was that in 2 glx allocates buffers in the server while in 3 the clients allocate buffers,this subtaly breaks glx and i had to fight this in some sci applications, no idea how this works in egl or any real details
<Wizzup> it uses omap3 as example
<freemangordon> uvos: yes, I know the diff between 2 and 3, the point is that i don't know dri2 buffer lifecycle
<uvos> yeah sorry
<freemangordon> I'll try to find something over the inet
<uvos> i know less here then you most likely
<freemangordon> yeah
<uvos> but i gues the buffer lifecylce has to be controlled by x
<freemangordon> could be
<uvos> it really has to
<freemangordon> but I need to find some docs on the matter
<uvos> since for glx the surface is managed by x
<uvos> and must have its lifetime
<uvos> er the windows lifetime
<uvos> (in glx you just give the surface id to x and you can then draw onto the surface, even if your not the process that created the surface)
<uvos> ie x mangaes life
<uvos> clearly
<uvos> Wizzup: right
<uvos> Wizzup: just tracin the right functions should work
<uvos> but i mean
<uvos> this is lots of work and requires you to know how the kernel timer subsystem works exactly
<Wizzup> I mean it has some stuff for wakeups, maybe the gui tools can visualise where they come from
<Wizzup> uvos: yes, at least to know how to tracing subsystem works
elastic_dog has quit [Ping timeout: 265 seconds]
elastic_dog has joined #maemo-leste
elastic_dog has quit [Client Quit]
elastic_dog has joined #maemo-leste
pere has joined #maemo-leste
uvos has quit [Ping timeout: 250 seconds]
<Wizzup> parazyd:
<Wizzup> pine*) skip_arm_defice_root="yes"
<Wizzup> this can't be right
<Wizzup> defice?
uvos has joined #maemo-leste
[TheBug] has joined #maemo-leste
[TheBug] has quit [Changing host]
inky_ has quit [Ping timeout: 256 seconds]
inky_ has joined #maemo-leste
_inky has joined #maemo-leste
_inky has quit [Ping timeout: 268 seconds]
_inky has joined #maemo-leste
alex1216 has quit [Quit: WeeChat 2.3]
System_Error has quit [Ping timeout: 276 seconds]
System_Error has joined #maemo-leste
<uvos> um why has image building been faling sine october?
<uvos> parazyd: ^^^
<Wizzup> uvos: the server that we used for it went down for unknown reasons - not our control
<Wizzup> so I set up one today at home
<Wizzup> parazyd was working on fixing it
<Wizzup> but stopped short of adding the amprolla host key
<Wizzup> which was the last thing to do I think
<Wizzup> so they'll work again soon
<Wizzup> also when returns I'm first in line since I want him to add droid3 to arm-sdk
<Wizzup> I already added it to image builder
<Wizzup> :P
<Wizzup> the ssi error predates v5.11
<Wizzup> *sigh*
<uvos> btw just updating to experimental dosent work
<uvos> the old -sgx-omap4 packages conflict the mesa libgl and friends
<Wizzup> uvos: what do you run exactly?
<uvos> apt upgrade
<Wizzup> that can never work
<Wizzup> apt upgrade will never allow a package to be removed
<uvos> ok
<Wizzup> you must use apt dist-upgrade
<uvos> ok
<Wizzup> or apt full-upgrade
<Wizzup> unfortunately
<Wizzup> the one thing I can do is make stub packages for the old pvr-omap4 packages that are just there doing nothing
<uvos> ok
<Wizzup> but I don't think apt dist-upgrade too much of an ask tbh
<uvos> also tklock is infuriatingly lsow
<uvos> apt is a bit wierd
<uvos> but its ok
<Wizzup> yeah, I wanted to make apt upgrade work but I looked it up and it can't work
<uvos> oh grat
<uvos> now lifeguard shutdown my system during the upgrade
<Wizzup> >apt upgrade will upgrade all packages that can be upgraded without the need to install additional packages or remove any conflicting installed packages. Basically it will apply all package upgrades that do not include changed dependencies.
<Wizzup> uvos: huh why did it do that?
<uvos> because the old dsme had a bug that caused deamons to crash when reloaded to fast
<Wizzup> ah
<uvos> and then dmse helpfully distroys the system by shuting down during apt upgrade
<uvos> we need new images
<Wizzup> 5.7.y is very unhappy in drm, so this bisect for the modem will be *fun*
<Wizzup> uvos: yes, I've done my part, parazyd can finish it soon I hope
<uvos> Wizzup: btw
<uvos> it would also be very usefull
<uvos> if we acctually packaged the version of rwmem that the droid4-powermanagement script uses
<uvos> as it stands
<uvos> the blockers dont work
<Wizzup> modem works on v5.7.y at least
<uvos> because there is no rwmem
<Wizzup> hm
<Wizzup> doesn
<Wizzup> 't busybox have that?
<uvos> it dose
<Wizzup> but not in debian
<uvos> but the script dosent sue busybox's rwmem
<Wizzup> so what do we depend on?
<uvos> we have to package something
<uvos> and with the version of rwmem i have it reports everything blocking all the time
<uvos> because the output is formated slightly different
<uvos> we should just package whatever version of rwmem tmlind used...
<uvos> ok i finished upgrading the october image to experimental
<uvos> lets see if it wokrs
<Wizzup> ok
<Wizzup> please suggest what to use wrt rwmem and I'll do it
<uvos> Wizzup: idk i use this https://github.com/tomba/rwmem
<uvos> but it has slightly different output as allready stated
<uvos> ofc this isent a real problem the script is easly ajusted for this rwmem
<uvos> but we just need to package _some_ rwmem
<Wizzup> preferrably something in the repos if it exists
<uvos> afaik nothing exists
<uvos> here is how the script needs changing btw
<Wizzup> do you mean -f4?
<Wizzup> also what rwmem does tony use then if the one from tomba doesn't have the same output
<uvos> yeah well we also want to remove the ts warning
<uvos> no idea
<uvos> upgrade worked
<uvos> lets move this to devel
<Wizzup> :)
<uvos> or stable
<Wizzup> I don't think stable is a good idea just yet
<Wizzup> I do see some xorg crashes still
<Wizzup> but not many
<uvos> xorg crashes more often on stable
<Wizzup> heh
<uvos> open a gtk3 context menu
<Wizzup> in any case letting things cook for a week or two in -devel hurts noone
<uvos> its like 10% chance of crash
<uvos> or rotate him
<Wizzup> hmmm
<uvos> 100% chance of crash
<uvos> if you start with protrait
<Wizzup> still, let's do -devel first
<uvos> ok
<Wizzup> it's also not ready for the n900 yet
<uvos> the more concerning thing
<uvos> is the hang in wlcore
<Wizzup> are we sure it's wlcore?
<uvos> yes
<uvos> i can repoduce it
<Wizzup> also I haven't seen many resets in the last week or so
<Wizzup> uvos: ah
<uvos> by weaking the wlan signal
<Wizzup> uvos: maybe it's related to the (potential) mmc we're seeing on the n900 with off mode enabled
<uvos> it happens when the wlan signal is weak and it (almost) looses the connection
<Wizzup> as in, are we sure it's new in 5.15?
<uvos> its new yeah
<uvos> in something after 5.11
<Wizzup> well, you might be able to bisect if you can reproduce it
<Wizzup> yeah I know what I'm asking :P
<uvos> i can repoduce it
<uvos> but it takes quite long
<Wizzup> I can relate :P
<uvos> i have to move the device in and out of the microwave multiple times
<Wizzup> lol
<uvos> the best way to tirgger it is actually movein around on campus
<uvos> or in an aldi
<uvos> (anywhere with spotty public wifi it wants to connect to)
<Wizzup> I'll have to try find an aldi then :-p
<Wizzup> still something after 5.11 might be only ~13 attempts
<Wizzup> it'll probably take 8 hours
<Wizzup> could it be some patch we carry on top of 5.11?
<Wizzup> that is missing from 5.15?
<uvos> Wizzup: i would not know what that would be
<uvos> afaik we dont carry any stability patches
<uvos> besides my devel 5.15 kernel started by merging my stuff on top of 5.11 on 15
<Wizzup> I mean we carry quite some patches no?
<uvos> and both that and the leste kernel exibit the crash
<Wizzup> ok
<uvos> right but any patch we carry on 5.11 is on 5.15 too at least in my tree
<uvos> (since i just merged
<uvos> )
<Wizzup> ok
<uvos> ok so on my fresh image freshly upgraded
<uvos> debugfs is not mounted
<Wizzup> right, this is a problem as well, and parazyd was looking into using /etc/fstab.d
<Wizzup> I don't know what the status is
<Wizzup> uvos: pls create an issue for rwmem packaging if you can
<uvos> sgx ideling problem follows sdcard
<uvos> hmm
<Wizzup> some app that uses 3d?
<uvos> i just synced up pstree between the devices it dident help
<Wizzup> kernel idenfical?
<uvos> 5.15.0-1+2m7.6
<uvos> yeah
<Wizzup> rsync -avn shows diff?
<Wizzup> (presumbly a lot)
<Wizzup> maybe + --delete
<uvos> yeah i dont think thats helpfull
<Wizzup> ok
<uvos> one image is clean
<uvos> the other has a huge tone of pacakges installed
<Wizzup> mhm
<Wizzup> so ssi bug is between 5.7 and 5.8
<Wizzup> wait... now I need to check what I just asid
<Wizzup> lol
<Wizzup> sorry 5.8 and 5.9
<Wizzup> I'll bisect it before I go to bed
<uvos> ahhh
<uvos> i had video-omap in debug mode
<uvos> apperantly that dosent let sgx sleep
<Wizzup> heh
<uvos> (thats a bit wierd tho as it only adds prints afaik)
<Wizzup> huh v5.9 is ok
<Wizzup> but v5.9.y was not
<Wizzup> ok
<uvos> that should make the bisect very short
<Wizzup> 10 steps
<Wizzup> not really
<Wizzup> it's a binary search, so even a large range doesn't matter
<Wizzup> it's the zooming in on a specific commit that takes a whilr
<Wizzup> I do full rebuilds every time to be sure
<uvos> it stil groes with the amount of commits
<Wizzup> maybe I shouldn't
<Wizzup> sure, logarithmically
<Wizzup> I mean it doesn't matter
<Wizzup> but the other ones took 11 commits, and that was a major version
<Wizzup> usually when I get down to the last few steps I feel it's better to just look at the log
<uvos> ok
<Wizzup> but then I realise I'm tired and it's better to just do the mindless thing :P
<uvos> hmm so it enters ret now
<uvos> but that dident really do anything for the power consumption
<uvos> still 200mw ish
<Wizzup> follows sd card?
<uvos> yeah
<uvos> lets see what powertop sais
<Wizzup> probably that it would really like to have CONFIG_TIMER_STATS
<Wizzup> :D
<uvos> no doubt
<uvos> ok its nvm its 140 now, was just the modem calming down
<Wizzup> that sounds like a lot still
<uvos> its just a couple of minutes after boot
<Wizzup> ok
<uvos> thats "normal" for mine
<Wizzup> I think mine is 90mW with modem off
<uvos> it also dosent go abelow 100 anymore for me
<Wizzup> well I have the n900 off mode regressions reverted
<Wizzup> at least CONFIG_COMPACT probably impacts d4 too
<uvos> the bionic still dose 60-70mw
<uvos> i have never seen the d4 go that low
<uvos> still need to debug that one
<uvos> starting by unloading all the modules that are different maybe
<uvos> that and the 2800mAh battery makes the bionic idle absolutly forever
<Wizzup> yeah, that's neat
<Wizzup> uvos: btw I will from now on refer to this wlcore reset as the microwave bug
<uvos> yes, and newspost will hopefully contain: fixed device rebooting when placed into a microwave.
<Wizzup> repeatedly
<uvos> right
xmn has joined #maemo-leste
<Wizzup> maybe we can sneak that info a kernel commit msg somehow