uvos has quit [Ping timeout: 256 seconds]
TonyStone has quit [Remote host closed the connection]
TonyStone has joined #maemo-leste
Pali has quit [Ping timeout: 240 seconds]
DPA has quit [Ping timeout: 250 seconds]
DPA has joined #maemo-leste
DPA has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
DPA has joined #maemo-leste
DPA has quit [Ping timeout: 240 seconds]
DPA has joined #maemo-leste
DPA has quit [Ping timeout: 250 seconds]
DPA has joined #maemo-leste
DPA has quit [Read error: Connection reset by peer]
DPA- has joined #maemo-leste
macros__ has quit [Ping timeout: 240 seconds]
macros_ has joined #maemo-leste
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
<tmlind> so the reason es2gears_wayland stopped working with wlroots is described in this pending mesa demos pull request: https://gitlab.freedesktop.org/mesa/demos/-/merge_requests/32
<tmlind> the branch to use for es2gears_wayland is: https://gitlab.freedesktop.org/kevinoid/demos xdg-shell
<tmlind> then i think the reason why weston-simple-dmabuf egl is no longer working with wlroots is probably commit a04cfca4da42 ("Remove support for DMA-BUF flags")
lad_ has joined #maemo-leste
<lad_> Всем привет, дайте пожалуйста информацию, как установить maemo-leste на N900?
<lad_> Hello everyone, please give information how to install maemo-leste on N900?
<dsc_> hi lad_ there is some documentation here: https://leste.maemo.org/Nokia_N900
<lad_> Thanks bro
<dsc_> пожалуйста
<lad_> У вас большая сеть IRC
<dsc_> да некоторые пользователи
<dsc_> усердно работать)
<lad_> Как эта прошивка? Стабильно работает?)
<dsc_> да, это стабильно
<dsc_> но все равно некоторых программ не хватает
<lad_> Установка на флешку?
<lad_> Или на основную память?
<dsc_> попробуй
<lad_> Понятно
<dsc_> :D
DPA- has quit [Read error: Connection reset by peer]
DPA has joined #maemo-leste
DPA has quit [Ping timeout: 250 seconds]
DPA has joined #maemo-leste
uvos has joined #maemo-leste
<freemangordon> uvos: something got broken in mce (I suppose) recently:
<freemangordon> 2. press power button (vtklock to be displayed)
<freemangordon> 3. unlock
<freemangordon> 4. press power button again
<freemangordon> 1. lock with vtklock
<freemangordon> instead of power button menu being shown, device locks again
<freemangordon> this happens most of the times
<freemangordon> tmlind: with your TE patch (and my changes) device does not boot at all, like it hangs waiting for something after displaying a couple of 'TE not receined' and 'framedone not received' messages
DPA has quit [Ping timeout: 240 seconds]
<freemangordon> or, did I get i wrong and my patch shall not be applied?
DPA has joined #maemo-leste
<freemangordon> hmm, I guess yes
<tmlind> freemangordon: yes don't apply your patch, this test does not depend on getting te to work, it's just a hacky tear test
<freemangordon> yeah
<freemangordon> still tears, lemme check dmesg
<tmlind> ok
<freemangordon> nothing there!
<freemangordon> I mean - none of the prontks
<freemangordon> *printks
<freemangordon> that's weird, no?
<freemangordon> tmlind: what is trace_printk?
<Wizzup> lad_: typically we install on microsd card for now
<tmlind> freemangordon: assuming tracing is enabled, just do sudo cat /sys/kernel/debug/tracing/trace_pipe
<freemangordon> ok
<tmlind> nice for debugging
<freemangordon> yeah, I see
<freemangordon> well tearing is still there, but I don;t really see why it should be fixed.
<tmlind> yeah
<freemangordon> I mean - why do you expect DSI_VC_TE bit to be set?
<tmlind> that means there are still bytes in flight to the lcd
* freemangordon checks the conditions for this bit to be set
<tmlind> it's a counter with two start bits, one for the current update mode and one for te
<tmlind> freemangordon: it gets configured in dsi_update_screen_dispc()
<freemangordon> tmlind: IIUC, you expect TE_EN to become zero?
<freemangordon> but, this is never set to 1 in the first place, unless I miss something
System_Error has quit [Ping timeout: 276 seconds]
<freemangordon> ok, lemme think for a while
<tmlind> TE_START or TE_EN gets used depending on the mode, it gets set
<freemangordon> yes, and we use TE_START
<freemangordon> because TE_ENABLED is false in panel data
<tmlind> correct
<tmlind> you can monitor the register change with watch -n0.1 sudo rwmem 0x58004104
<freemangordon> ok
<freemangordon> lemme try
<freemangordon> hmm, no rwmem here :(
<freemangordon> anyeay, lemme see how is that expected to worl
<tmlind> try busybox devmem
<freemangordon> mnm
<freemangordon> *mhm
<freemangordon> tmlind: right
<freemangordon> but, IIUC, we set TE_START at some arbitrary moment, not is sync of panel refresh cycle, no?
<freemangordon> *not in
<freemangordon> and because transfer start immediately, we see tearing
<lad_> [13:23] [Wizzup] ~ lad_: typically we install on microsd card for now // in the future, will it be possible to install on the main memory?
<freemangordon> it is not that we don;t wait for transfer to finish before we start the next one we see that tearing
<tmlind> we configure VC_TE when we update the LCD
<freemangordon> no, we don;t
<freemangordon> because te_enabled is false in panel data
<tmlind> we still configure VC_TE, in the current mode soc dsi controller takes care of the transfer instead of the LCD panel controller that does the transfer in TE enabled mode
<freemangordon> tmlind: see dsi_update_screen_dispc
<freemangordon> if (dsi->te_enabled) ...
<freemangordon> if te_enabled is false, we configure TE_START
<freemangordon> not TE_EN
<tmlind> right
<tmlind> TE_EN just makes the LCD panel do the transfer after BTA
<freemangordon> setting TE_START means "start immediately" if I get this right
<tmlind> also with TE_EN set dsi_vc_send_bta() makes the LCD panel controller start the transfer
<freemangordon> I think TE_EN means "start transfer after conditions set in xSYNC registers are set"
<freemangordon> yes
<freemangordon> anyway, my point is that we have issues with transfer start
<freemangordon> because we start it in the middle of panel refresh cycle
<tmlind> yeah it's possible if the LCD panel controller is supposed to wait something after TE_EN
<freemangordon> I still don;t understand why TE_EN given that we use TE_START
<freemangordon> like, if we use TE IRQ, TE_START is set by the HW
<Wizzup> lad_: yes regarding installing on the emmc / main storage, you can probably do it already, but we don't do it for recovery reasons
<freemangordon> if we set it manually (which we do) transfer starts immediately
<tmlind> freemangordon: seems the te gpio case is different from the bus controlled te
<freemangordon> the only difference I see is who generates the irq
<freemangordon> PHY vs gpio
<freemangordon> but maybe I am missing something
<tmlind> well the phy irq triggers right after the bta, but maybe that's only if the sync regs are not programmed
<freemangordon> most-probably
<freemangordon> as for sure vendor kernel does that (programming sync regs)
<freemangordon> also, it programs 'te scan line'
<tmlind> yeah but it might be also just left over stuff from the te cmos mode, easy to check though
<tmlind> i'll see if the te irq triggers later after configuring the scan regs
<freemangordon> I doubt, as vendor panel driver has some special handling for one of the displays, where cmos mode is used
<tmlind> ok
<tmlind> let's hope your theory is correct, then we would get a proper irq after te is done
<freemangordon> mhm
<tmlind> not sure what's broken with enabling te as the te interrupt stops happening pretty fast
<freemangordon> but it happens, right?
<tmlind> yeah, for up to two mins, often for just few tens of secs
<freemangordon> well, then we misconfigure something
<freemangordon> could be something in the panel though
<tmlind> sometimes there are signaling errors in the complexio regs
<freemangordon> vendor driver send ~ 15 commends on init
<freemangordon> *commands on
<tmlind> yeah
* freemangordon needs more coffee :)
<tmlind> seems like we can likely add one byte of add_device_randomness() based on the remaining buffer in framedone if there is something remaining :)
<freemangordon> tmlind: I still think we don;t have issues with unfinished transfers
<freemangordon> but with our transfer start being in the middle of the panel internal transfer cycle
<freemangordon> s/transfer/refresh
<lad_> [13:42] [Wizzup] ~ lad_: yes regarding installing on the emmc / main storage, you can probably do it already, but we don't do it for recovery reasons // thanks for the answer
<Wizzup> sure, np
<freemangordon> Wizzup: were there any hangs? BTW, if the issue is a result from the fence patch, I think I know how to workaround it, until we find a proper fix
<Wizzup> freemangordon: no, not yet @ ioctl hangs
<freemangordon> ok
<Wizzup> freemangordon: btw kernel in repo has a fix for charging, please test when you can
<freemangordon> ok
<freemangordon> tmlind: hmm, see https://pastebin.com/4dgz4WuZ . this comment is in dsi_framedone_irq_callback in vendor kernel
<freemangordon> seems we need BTA on framedone to receive TE
<freemangordon> which kind of makes sense
Pali has joined #maemo-leste
lad_ has quit [Ping timeout: 256 seconds]
<tmlind> freemangordon: we already do the "more optimal" part described in the comments, see dsi_send_nop()
<freemangordon> ok
<tmlind> did not have any luck making the te interrupt happen later by maxing out the sync regs
<freemangordon> I will try sending all those commands to panel later on
<freemangordon> btw, do you know which is the exact pane model we are talking about (in vendor kernel terms)?
<freemangordon> there are basically 5 different variants it seems
<freemangordon> one of them being MOT_DISP_MIPI_CM_430_540_960_AMOLED and this one needs special massaging for TE to happen
<freemangordon> I guess I will have to trace the panel id
<Wizzup> funny how telepathy-qt has so much stuff for matching all these things but a simple 'look up this nickname on this connection/protocol' is basically non existent
<tmlind> panel_id=0x90004 in stock dtb, add leading zeros when grepping the stock kernel
<freemangordon> thanks
<tmlind> freemangordon: MOT_DISP_MIPI_CM_400_540_960
<freemangordon> thanks
Guest23 has joined #maemo-leste
<Guest23> good luck guys you are producing extraordinary work
<freemangordon> tmlind: should be dsi_mipi_cm_400_540_960_m2_v1_panel_enable
<Wizzup> Guest23: thanks :)
<freemangordon> and we have a comment saying /* MIPI TE Drop out fix */
uvos has quit [Ping timeout: 256 seconds]
Guest23 has quit [Quit: Client closed]
_inky has quit [Read error: Connection reset by peer]
inky has quit [Ping timeout: 240 seconds]
inky has joined #maemo-leste
_inky has joined #maemo-leste
<freemangordon> tmlind: :D
<freemangordon> no tearing!!!
<freemangordon> with panel init commands from vendor kernel it works
<freemangordon> tmlind: https://pastebin.com/0v32GPpu
<freemangordon> not sure both parts of vendor init are needed
<Wizzup> mvp :p
<freemangordon> hmm?
<Wizzup> most valued person, it was a joke :)
<freemangordon> ah
<freemangordon> :)
<freemangordon> tmlind: with that working maybe your vsync patch is not needed anymore?
lad_ has joined #maemo-leste
<BlagovestPetrov[> Hey, guys
<BlagovestPetrov[> i'm trying to install the boot loader to Droid 3
<BlagovestPetrov[> it roots successfully
<BlagovestPetrov[> but this happens when I try to execute install.sh
uvos has joined #maemo-leste
<Wizzup> BlagovestPetrov[: hmmm I recall seeing that before
<Wizzup> I am going to have to try really hard to remember what I did there
<BlagovestPetrov[> I may try to do it manually :)
<BlagovestPetrov[> copying the files, etc
<Wizzup> so there is definitely a problem with something being read-only when it should be read-write and there is a way to do this with mount but on android everything is slightly messy
<BlagovestPetrov[> yeah
<Wizzup> iirc -o remount,rw or something didn't work and I had to try something else
<Wizzup> trying to search the logs
<Wizzup> BlagovestPetrov[: I think it needs to be this:
<Wizzup> 20:09 < Wizzup> mount -o remount,rw /dev/block/system /system
<Wizzup> unless that is already in install.sh
<Wizzup> yeah nope
<Wizzup> try putting that there instead of adb shell "su -c 'mount -o remount,rw /system'"
<Wizzup> so:
<Wizzup> adb shell "su -c 'mount -o remount,rw /dev/block/system /system'"
inky_ has joined #maemo-leste
_inky has quit [Ping timeout: 256 seconds]
inky has quit [Ping timeout: 256 seconds]
<tmlind> freemangordon: cool so that fixed your tearing test case?
<BlagovestPetrov[> sorry, here :)
<BlagovestPetrov[> thanks
<BlagovestPetrov[> the same happened and the phone stuck on boot logo. I'll try to do it line by line :)
<tmlind> freemangordon: yeah i wonder if the sync registers actually generate a real vblank interrupt?
inky_ has quit [Ping timeout: 256 seconds]
inky has joined #maemo-leste
<BlagovestPetrov[> now Android is permanently stuck on the boot logo. I will need the stock image
<Wizzup> do you need me to share a link to it?
<BlagovestPetrov[> Wizzup: the pushes were put before the mounts in the script. It looks like the main issue :)
<BlagovestPetrov[> sure, if you have it somewhere
<BlagovestPetrov[> does it work with fastboot on Droid 3?
<BlagovestPetrov[> some of the older androids were using other tools
<Wizzup> BlagovestPetrov[: I think you need VRZ_XT862_5.5.1_84_D3G-55_1FF_01.xml.zip right?
<tmlind> freemangordon: nice, i'm not seeing any timeouts with your te patch :)
<BlagovestPetrov[> I'm not sure
<BlagovestPetrov[> yeah, it's mentioned in the readme :)
<Wizzup> BlagovestPetrov[: ok let me look at scp'ing it, make sure you know how to flash it
<Wizzup> arg maedevu has so little free space
<BlagovestPetrov[> for the fastboot to work, the phone should be in bootloader?
<BlagovestPetrov[> I just don't get why we need the xml
<Wizzup> it's just called .xml.zip
<Wizzup> so are there instructions on how to flash it to the droid3 on the wiki or so?
<Wizzup> doesn't look like there are any
<Wizzup> ah I have a script
<Wizzup> 10 ins
<Wizzup> 10 mins*
<BlagovestPetrov[> ok :)
<freemangordon> tmlind: maybe your vsync patch somehow interacts with this, as if you run gears in window and starts swiping h-d the tearing re-appears
<freemangordon> or could be another issue
<Wizzup> BlagovestPetrov[: https://maedevu.maemo.org/images-devel/droid3/ - see sh script and zip
<Wizzup> droid3 instructions are likely similar to the droid4 ones here https://leste.maemo.org/Motorola_Droid_4#Updating_Android but I will need to test it out to verify for sure
<BlagovestPetrov[> thanks :)
Daanct12 is now known as Danct12
<tmlind> freemangordon: interesting, i'll test locally instead of my rack setup with wlroots if i get a chance tonight
<tmlind> no real vblank interrupts triggering
<tmlind> freemangordon: did the dbm patch work ok for you?
<tmlind> freemangordon: it seems it should be ok to do the vblank event on framedone, panel is just a few ms behind with the update compared to page flip and i don't think we need to wait on the panel regarding the page flip
<tmlind> freemangordon: also check if adding cpu load with dd if=/dev/urandom of=/dev/null makes the tearing reappear?
<tmlind> as that will cause dsi to always have data in flight on framedone probably as cpu does not idle
<freemangordon> tmlind: ok
pere has quit [Ping timeout: 240 seconds]
<freemangordon> but, isn;t it doing DMA? why CPU?
<tmlind> no idea..
<tmlind> maybe faster response to interrupts with no idle?
<BlagovestPetrov[> Wizzup: it's my fault. The script is using /sdcard but I already flashed maemo there :)
<freemangordon> tmlind: BTW, I need that panel driver needs proper quirk handling, like panel specific enable function to be called
<Wizzup> BlagovestPetrov[: ah, yeah, try withotu sdcard inserted
<BlagovestPetrov[> sure :)
<freemangordon> tmlind: no tearing with 'dd if=/dev/urandom of=/dev/null'
<freemangordon> but, I see tearing when vkb pops, that's why I think it must be related with drmDirtyFb call somehow
<tmlind> ok
<freemangordon> hmm, if I disable drmDirtyFb calls in DDX, there is absolutely no tearing
<tmlind> ok
<freemangordon> but, we are missing repaint, ofc
<freemangordon> lemme revert vblank patch and see how itwill behave without it
* tmlind reboots d4 without the vblank emulation patch
<freemangordon> oh, with this TE change hildon swipe fps is limited to 60 :)
<freemangordon> like on android (as uvos said)
<freemangordon> tmlind: I don;t think TE can replace vsync - in order to have TE irq you need to queue transfer
<freemangordon> in order to queue transfer, you need drmDirtyFb
<freemangordon> tmlind: oh, with vblank patch reverted I no longer see that ugly 'flashing' when rotating landscape<->portrait
<Wizzup> oooh that'd be nice
<freemangordon> hmm, actually I still see it
<freemangordon> somehow it got better
<tmlind> freemangordon: weird, with your te fix or some other earlier fix things mostly work for me with wlroots without the vblank emulation patch
<tmlind> freemangordon: looks like stellarium only gets about 6fps with your mesa compared to 12fps with the ti blobs that have the glmark2-es2-wayland hang issue
<freemangordon> yeah, I think we shall drop vblank patch assuming that userspace is smart enough to know to call drmDirtyFb or somesuch
<tmlind> ack
<freemangordon> tmlind: well, it could be that it is not 'my' mesa, but 'upstream' mesa at fault here
<tmlind> hmm looks like weston-simple-shm has some stripes in it's window, that's about the only issue i now notice
<freemangordon> as I did nothing more but to RE what was already in pvr_dri.so
<tmlind> maybe there's some debug or tracing option enabled now?
<freemangordon> in mesa?
<tmlind> yeah
<uvos> freemangordon: android behavior is actually kinda wierd on this
<freemangordon> none I am aware of
<uvos> freemangordon: yeah the genneraly ui is limited to 60 fps
<freemangordon> but?
<uvos> freemangordon: but some vsynced games run at ~70
<freemangordon> well, what I see here is that h-d swipes (and refreshes) @ 60
<uvos> ok
<uvos> anyhow
<freemangordon> but gears and glmark render with > 60
<uvos> regarding power menu on vtklock
<uvos> i think this might be the fault of the patch that makes vtklock hold a grab
<freemangordon> are you able to reproduce?
<uvos> havent tried yet
<uvos> but
<freemangordon> ok
<uvos> the other "context" menu type windows are raised by grab transfer
<uvos> a grab transfer is impossible if vtklock holds a grab
<freemangordon> uvos: the actual issue is that device relocks in 2 seconds
<uvos> oh ok
<freemangordon> no matter if you press power button or not
<uvos> i thought you siad that its impossible to open power menu
<uvos> so how do you tigger this?
<freemangordon> well, that6's how I initially hit that
<uvos> let me activate tklock again and reboot
<freemangordon> the same, just does not press th epower button
<tmlind> with wlroots i also see es2gears_wayland run at 60 fps
<freemangordon> uvos: I would recomment you to have a second uSD with vanilla leste on it
<freemangordon> *recommend
<uvos> freemangordon: hm so lock the device with tklock?
<uvos> freemangordon: and then what?
<uvos> freemangordon: press power?
<freemangordon> yes
<freemangordon> and then swipe
<freemangordon> to unlock
<freemangordon> most of the times it shows desktop for 1-2 seconds and then display gets dark (device gets locked)
<uvos> what have you set as what in mce.ini
<uvos> power key wise
<freemangordon> no idea, like, whatever is set by you
<freemangordon> I have changed nothing
<freemangordon> lemme try to boot leaste, as I was charging in android :p
<uvos> the charging problem shout be fixed for you
<uvos> ofc i cant test
<freemangordon> yeah
<uvos> since i cant repo
<uvos> it is?
<freemangordon> that's the next thing
<uvos> ok
<freemangordon> didn;t test yet
<uvos> o
<uvos> k
<freemangordon> will capture a video for you to see what happens
<uvos> ok so tklock problem dosent show here
<uvos> but i allways change PowerKeyShortAction=tklock
<uvos> because i dont like that the power key changes behavior depending on lock state
<uvos> let me undo that and restart mce...
<freemangordon> mce.ini
<uvos> hmm
<uvos> so i reset mce back to defaults
<uvos> i open power menu and lock the device there
<uvos> then i press power once
<uvos> then vtklock opens
<uvos> then i press power again
<uvos> nothing happens
<uvos> then i unlock via slider
<uvos> and nothing ususal happend
<uvos> dispaly is still on
<uvos> was that the right sequence?
<freemangordon> doesn;t happen every time
<freemangordon> lemme capture a video for you
<uvos> can you repo it
<freemangordon> yes
<uvos> while running mce with --verbose --verbose
<uvos> ie sudo su -
<freemangordon> just captured a video
<uvos> /etc/init.d/mce stop
<freemangordon> lemme give you the video first
<uvos> mce --verbose --verbose
<uvos> that way we know what state mce is in
<uvos> (It prints its global state)
<tmlind> freemangordon: glmark2-es-wayland score 143 fyi
<uvos> so your repoing this on a mapphone, right?
<uvos> since it might be timing related
<freemangordon> d4
<uvos> ok
<freemangordon> tmlind: no way
<freemangordon> tmlind: what is the fps on jellyfish, for example?
<tmlind> freemangordon: glmark-es2-wayland --size 960x540 --benchmark jellyfish score is 54 - 56, fullscreen
<freemangordon> @ 1:10
<freemangordon> tmlind: I don't see how wayland can do 2x drm
<freemangordon> this is simply not possible IMO
<freemangordon> unless sgx freq on your device is 2x compared to mine :)
<tmlind> well glmark2 terrain score is still 2 so unlikely :)
<freemangordon> 2?
<freemangordon> it is 1 here
<tmlind> hehe
<tmlind> do you have some test script that slows down the sgx rate still?
<freemangordon> so, I would say something is broken in fps calculation in -wayland
<tmlind> heh maybe
<freemangordon> uvos: again, I really think you shall have second uSD to boot vanilla leste
<uvos> freemangordon: so at 1:10 you lock the device and unlock it via slider then you (double?) press the power button, and it locks again
<freemangordon> no
<freemangordon> I press nothing
<freemangordon> but it locks again
<uvos> you clearly press the powerbutton again in the video
<freemangordon> do you see how the screen somehow 'flashes' after I unlock
<freemangordon> no, it is my finger there, but I actually do not press
<freemangordon> also, somethimes single-clock gets ignore
<freemangordon> oh, sorry, I have mce stopped ATM
<uvos> fine let me flash sd
<uvos> what is this on
<uvos> devel or stable?
<freemangordon> -devel
<freemangordon> tmlind: glmark2 Score: 86, this is with Xorg (so blit)
<tmlind> ok
<freemangordon> -drm is vsynced @ 58 :D
<freemangordon> dinner, ttyl
<tmlind> later
<uvos> freemangordon: ok so i see an issue
<uvos> but its a different one
<uvos> i gues
<uvos> so if i have vtklock open
<uvos> and click power once just after closing tklock
<uvos> via slider
<uvos> the device display is turned off again and it locks
<uvos> instead of showing the power menu
<uvos> this is an obvious race
<uvos> if you close tklock and press the power button before mce gets the dbus message, it thinks its in tklock mode
<uvos> so it shuts off the display on single press
<uvos> let me repoduce this on fremantle
<uvos> should have the same issue (maybe different timeing)
<uvos> actually the difference is probubly xinput
<uvos> xinput state stuff takes pretty long
<uvos> so mce lags behind more
<uvos> yeah that happens on fremantle too
<uvos> except you have to press power way faster after closing tklock
<uvos> as expected
<uvos> so probubly what happens here is:
<uvos> the tklock mce state isents tightly syncronized at all
<uvos> so we are in tklock
<uvos> you dissmiss tklock via slider
<uvos> then by chance the tklock relock timer expires in mce
<uvos> before mce manages to update its state from the dbus message
<uvos> and the device relocks
<uvos> this happens on fremantle to
<uvos> but our mce is mutch slower beacuse it dose way more, and waits on xorg to respond on xinput calls
<uvos> so it happens way more often
<uvos> yeah you can see the mce state change in the log
<uvos> it laggs behind some
<uvos> maybe half a second or so
<uvos> if the timer expires in this time or you press power button what you describe happens
pere has joined #maemo-leste
<freemangordon> uvos: ok, but this has to be fixed, as it is really annoying
<uvos> sure
<freemangordon> and actually makes the device useless, as you are unable to unlock sometimes even after 10 or so tries
<uvos> wierd i cant even make it happen via the timer
<uvos> at all
<uvos> anyhow
<uvos> this is racy for sure
<uvos> so the fix requires systemui to not close tklock
<freemangordon> uvos: lemme get mce logs, maybe this is another issue I see here
<uvos> untill mce signals that its ready
<uvos> or really we should rethink this entire thing
<uvos> becasue its a mess thats just asking to be racy
<uvos> with the required tight sync between mce and tklock/systemui
<freemangordon> well, it already has callbacks and such, maybe there is a bug in vtklock
<uvos> or mce, its possible a wait should be there i havent looked at the code again for this bug
<freemangordon> but lets see if mce performs correctly
<uvos> and wont tonight
<uvos> any ttyl
<freemangordon> later
<uvos> *anyhow
<uvos> actually if there is a wait allready
<uvos> its broken in fremantle too
<uvos> since you can cause the out of sync issue there too
<uvos> now really ttyl
<freemangordon> never seen on fremantle
<uvos> you can make it happen
<uvos> unlock via slider
<uvos> and then click power immidatly
<freemangordon> and I am using vtklock for the last >10 years
<freemangordon> lemme try
<uvos> you breifly see the desktop
<freemangordon> and then power menu
<uvos> and then the device locks instead of power menu
<freemangordon> just tried, lemme try harder
<uvos> so same issue exists
<uvos> mce is just faser
<uvos> (known issue on mce now being a bit slow)
<freemangordon> ok, we have to make it faster, it doesn;t make sens mco on d4 to be slower than mce on n900
<freemangordon> *mce
<uvos> sure we should make it faster
<freemangordon> leste vs fremantle that is
<uvos> but thats not the real issue
<uvos> we should also fix the race
<freemangordon> mhm
uvos has quit [Quit: Konversation terminated!]
<freemangordon> uvos: https://pastebin.com/ywFJiQbH mce logs
inky has quit [Ping timeout: 256 seconds]
inky has joined #maemo-leste
<bencoh> I think there used to be a "visible desktop" bug in tklock on fremantle a long time ago
<bencoh> but I might be misremembering
<tmlind> freemangordon: i'll do a droid4-pending-pvr-omapdrm-v5.16 branch after you've sent out your te fix
<tmlind> i wonder if some of the panel configuration commands are same as in the ILI9488-ILITEK.pdf i found online
<tmlind> it has "5.3.42. Adjust Control 6 (FCh)" for reg 0xfc
<freemangordon> tmlind: I was not planning to send a patch for that:
<freemangordon> IMO driver needs to be extended to support panel quirks and I don;t feels capable of doing so cleanly
<freemangordon> tmlind: however, if you say you're not going to send a patch, I will do it, but I don;t think this is going to happen soon - I already spend too much time on kernel I should have spend on osso-abook :)
<freemangordon> *this is not going to
<freemangordon> tmlind: hmm, ILI9488-ILITEK.pdf - how is that related to mapphone panel?
<tmlind> freemangordon: i don't think that is related, but has at least some documentation on the dsi command mode
<freemangordon> ah, ok
<tmlind> freemangordon: your patch, you fix it and send it :p
<freemangordon> well...
<freemangordon> what I did was just a quick hack
<freemangordon> this is not a proper patch
<freemangordon> so, I will do, but in a month or so
<tmlind> fine
<tmlind> how about type up some description for it and i'll do droid4-pending-pvr-omapdrm-v5.16?
<freemangordon> maybe
<freemangordon> not now though
<rafael2k> anyone has a copy of xmonobut?
<tmlind> freemangordon: i added your patch as a wip patch and pushed out droid4-pending-pvr-omapdrm-v5.16 to github, only build and boot tested so far
<tmlind> freemangordon: here's the branch, maybe check i did not forget anything: https://github.com/tmlind/linux_openpvrsgx/commits/droid4-pending-pvr-omapdrm-v5.16
<freemangordon> tmlind: ok, will do tomorrow
<rafael2k> found! and it still works! https://github.com/rafael2k/xmonobut
<tmlind> freemangordon: ok thanks
<Wizzup> rafael2k: how did it go with the kernel?
<lel> IMbackK closed an issue: https://github.com/maemo-leste/bugtracker/issues/577 (N900 touchscreen is broken with latest -devel hildon-desktop)
<tmlind> looks like the modem stuff has some issue merged into v5.16, need to continue looking at it tomorrow night.. ttyl
_inky has joined #maemo-leste
<rafael2k> Wizzup: working on it right now
<rafael2k> Wizzup: using it indeed... just need to play a bit with menuconfig... fininshing the rebase to 5.15.13
<rafael2k> Wizzup: make it boot without initramdisk and voila
<rafael2k> btw, did ofono made its way?
<rafael2k> I did not see it upgraded yet
<rafael2k> now just need to play with config (kind of no-brainer to me this... but moving ahead)
inky_ has joined #maemo-leste
<rafael2k> btw, is this alarm / phone off-on-off workflow you mentioned as the reason for not having a initrd works on pinephone?
<rafael2k> Wizzup: lemme know how ofono package update is going, in case of any help needed...
inky has quit [Ping timeout: 250 seconds]
<freemangordon> Wizzup: uvos: upgraded d4 to latest -devel, battery icon gets animated on charger being connected, however, there is no "charging" or "unplug to save energy" messages
<freemangordon> also, device was started with charger connected, but it was not detected, I had to re-connect the cable
<Wizzup> rafael2k: make it boot - made it boot?
<freemangordon> connecting charger does not unlock the device
<Wizzup> rafael2k: will look at ofono once kernel is ok :)
<freemangordon> tmlind: btw, with vblank patch reverted, I no longer see "atomic complete timeout (pipe 0)!" messages
<rafael2k> Wizzup: :(
<rafael2k> Wizzup: does not makes sense, but anyway...
<rafael2k> Wizzup: not like the kernel, ofono is ready to go "upstream"
<rafael2k> Wizzup: I mean, kernel is ready... apart of this specificity of maemo not wanting initrd... thing I'm working right now
<sicelo> freemangordon: at least the charger connected at boot issue is also there in android. i also have to reconnect there. maybe general cpcap issue?
<Wizzup> rafael2k: not pushing or anything, just seems to make some sense to wait for it since our current (before your work) did not have modem working
<Wizzup> rafael2k: will try to get to it real soon
<Wizzup> rafael2k: been focussing on the telepathy stack
<rafael2k> Wizzup: -devel kernel was broken, but otherwise kernel 5.10 had telephony enabled and working
<rafael2k> Wizzup: cool!
<rafael2k> Wizzup: telepathy seems a monster to work with...
<rafael2k> I remember to have skype on telepathy in my N900 looong time ago
<rafael2k> do you plan to integrate SMS in the stack?
<sicelo> N900 was the reason I still have a Skype account this day :-)
<sicelo> s/this/to this/
<rafael2k> : )
<rafael2k> mamma mia, how much time I lived without using make menuconfig!
<rafael2k> so many new stuff
<Wizzup> rafael2k: yes @ sms
<Wizzup> sicelo: skype still works? heh
<sicelo> i use it on laptop and android now :-)
<sicelo> but i think fremantle still logs in, but calls stopped working years ago, and i think there are issues sending text too, although i can't remember too well anymore
<Wizzup> right, iirc it doesn't
<sicelo> ah, doesn't even log in now
<Wizzup> rafael2k: I am starting to understand tp
<rafael2k> btw, battery icon is now correctly - it shows full battery!
System_Error has joined #maemo-leste
joerg has quit [Read error: Connection reset by peer]
<rafael2k> Wizzup: almost there with the kernel... make localyesconfig really helped
joerg has joined #maemo-leste
<Wizzup> rafael2k: ok, let's see how much bigger it gets?
<Wizzup> rafael2k: great @ battery
<rafael2k> Wizzup: the difference will be minimal... I focused on just changing the needed parts to have mtd and video in core kernel... some kilobytes at most
<rafael2k> starting to compile soon
<rafael2k> on a next round I can try to remove some modules not needed... but it is really not my priority in a world with cheap 64GB SD cards.
<rafael2k> I want to keep the diff small to mobian pine64-defconfig, so mantainance will be easy
sunshavi has quit [Ping timeout: 250 seconds]
<rafael2k> ok, kernel compilation starting, all the patches updated in git
<rafael2k> I around 6 hours I tell the result
<rafael2k> :P
<rafael2k> btw, can anyone remind me how to disable the virtual keyboard?
<Wizzup> rafael2k: in settings
<Wizzup> rafael2k: great, thanks for checking @ patch, let's see indeed :)
<Wizzup> rafael2k: I agree we don't need to remove modules that are not needed
sunshavi has joined #maemo-leste