libera/#maemo-leste/ Wednesday, 2023-11-15

siceloyes. will get around to it though, as i already obtained all the electronic components i need. just need a plan for making contact with the pads05:51
freemangordondsc_: heh, m_quickWidget->setAttribute(Qt::WA_AlwaysStackOnTop); makes it work06:48
freemangordonomg, see https://doc.qt.io/qt-6/qopenglwidget.html06:51
freemangordon"Note: Displaying a QOpenGLWidget requires an alpha channel in...."06:51
freemangordon"If there is no alpha channel, the content rendered by the QOpenGLWidget will not be visible"06:52
tmlindgot the mcbsp issue sorted out, disabled some unused devices to free more dma channels. pushed out v6.6 based branch to https://github.com/tmlind/linux/commits/mapphone-pending-v6.607:49
tmlindthe framebuffer console not updating lcd issue still remains07:49
tmlindpvr stuff seems to behave based on light testing, pushing that out too07:49
tmlindpvr stuff pushed out to https://github.com/tmlind/linux_openpvrsgx/commits/mapphone-pending-pvr-omapdrm-v6.607:58
tmlindhere's the va_to_pfn() change i made, please check if i missed something.. https://github.com/tmlind/linux_openpvrsgx/commit/215165f141d239ac7ea518c004eaf697ec7d7a1e07:59
tmlindwill email that to linux_openpvrsgx list07:59
tmlindmailed, that's it for me probably until the weekend. i'll start posting the pending dts and usb patches so we can at least clear out the major branch merge bottlenecks with the dts files08:01
tmlindat least dmesg -l err,warn helped debugging the audio issue with less errors and warnings to look at now08:03
tmlindsicelo: the ofono d4 serial port modem support should be updated to use ell for raw packet reads and writes and then it could get merged08:25
sicelook09:22
sicelobtw, osso contacts has a h-i-m bug ... you can't type a number in the cell field using hwkb when adding a contact. at least that's what i observe on my Droid 409:29
arno11Wizzup: oh there is no qt support for maemo-launcher ? could explain why some apps start in a sec and others in 1010:22
Wizzupright10:25
Wizzupfreemangordon: that's unfortunate @ alpha10:27
arno11Wizzup: after double-checking, yes it concerns only apps with qt5 deps10:41
Wizzupsicelo: it might be that it's limited to n900 kbd11:26
siceloyeah anything is possible. but I doubt it's that.11:38
Wizzupwhat I mean is that it's expecting a certain layout11:42
WizzupI wonder if we can use XWayland's rootful mode12:38
uvosWizzup: we could, but it would be monumentally stupid13:26
uvosyou loose all the advantages of x, while gaining no advantages13:27
dsc_freemangordon: ok <_<13:30
dsc_thanks for debugging that, ill set the flag13:30
arno11Wizzup: is it ok for you if i cancel the current transitions PR and create a new one with PA daemon.conf only ?13:36
Wizzupsure13:43
WizzupI am interested in the transitions one too, but let's separate them13:43
arno11ok, so i'll create 2 different PR's13:44
arno11and indeed custom transitions is really cool and easy to modify on the fly13:44
arno11Wizzup: i added 2 different PRs (and closed the old one)14:38
Wizzupthanks14:42
Wizzupuvos: mz615 arrived too, so I could probably try to get various utags later for the models if they are different14:48
arno11Wizzup: btw is Twinkle still working on your D4 ? can't login my sip account anymore (with 401 unauthorized) on n900 (the account works on other devices)15:05
WizzupI don't think twinkle should act differently on different devices15:06
arno11i mean just the sip account works on other devices15:06
arno11just twinkle shows error on my n90015:07
arno11anyway i'll have a look later, i asked just in case you have the same issue15:08
WizzupI still have to set up my n900 again15:15
arno11issue solved, forget my question :)15:20
arno11just a wrong parameter i forgot to remove15:21
Wizzupmakes sense15:25
Wizzuplol, qemu goes black every time I make a call and then I have to reboot15:46
Wizzuparg15:46
Wizzupit looks like quectel eg-25 (usb glink from olimex) can emulate a virtual sound card over usb and then calls can be done that way16:58
Wizzupnot super interesting but I didn't know16:58
Wizzupuvos: for mz617 or similar, I guess I can open one up and hook its battery connected directly to a lab psu16:59
Wizzupconnector*16:59
uvosWizzup: sure17:25
uvostmlind: none of the mapphone dtbs compile on your mapphone-pending-v6.6 branch17:25
uvosas allways dtc isent very helpfull: Error: omap4-droid4-xt894.dts:4.1-9 syntax error17:26
uvosthats just #include "motorola-mapphone-xt8xx.dtsi"17:27
uvosi gues the real problem could be in any subsiquent file17:27
uvosah its because i have to build ti/omap/omap4-droid4-xt894.dtb17:37
uvoswhats really confusing about that is that omap4-droid4-xt894.dtb worked just fine with make[3]: Nothing to be done for 'arch/arm/boot/dts/omap4-droid4-xt894.dtb' untill i cleaned the tree17:37
uvosthats really error prone17:37
uvosit was just using the old dtb from 6.1 previously17:38
uvosthat feals like a buildsystem bug, if arch/arm/boot/dts/omap4-droid4-xt894.dts dissapears the omap4-droid4-xt894.dtb target should not work, just because a old dtb is lying around17:39
uvosWizzup: do you know where ci gets what dtbs to build from?17:54
uvosWizzup: clearly its not this https://github.com/maemo-leste/droid4-linux/blob/1d5c83744ed5a182c3bd615175c9f640765d3092/debian/rules#L417:54
uvosWizzup: anyhow maemo-6.6 is ready for a build as soon as the ci dts situation is cleared18:24
uvosbesides the kernel not refreshing the cm display in vt, i dont see any futher issues18:24
uvosthis breaks the emergency shell mode but is otherwise inconsequential18:26
uvosd4 tested only ofc18:28
uvossomeone has to do n90018:28
uvoshmm and cpufreq dissapeard in 6.619:00
uvosand powermanagement dosent work, no ret19:01
uvosbut it dosent work on 6.1 either here it seams19:01
ac_laptopHello people19:17
ac_laptopGood news: I realised that when my N900 on Leste was idle for a long time (a few hours) it was taking a loooooot of time to leave idle mode. Then it's possible that what I had interpreted as the device being shut down because it had used all its battery was just the device taking a lot of time to respond. I'll make further tests, with the stock battery and a 1430mAh replacement battery that19:22
ac_laptopI've bought.19:22
ac_laptopI've also received my c10 u3 card, I've just installed Leste on it. Suppose I want to put an additional partition on it, do you advise that I run the expand.sh script and then reduce the main partition ? Or that I create the new partition with the size I want and then run the expand.sh script ?19:24
sicelono need for expand ... jyst do it your own way, e.g. with gparted19:27
sicelos/expand/expand script/19:27
Wizzupuvos: yes, I can help add any dtbs, it is a bit hacky19:35
Wizzupuvos: you get no RET ?19:35
Wizzup(in 6.1)19:35
uvosits not the kernel19:38
uvosits userspace19:38
uvosi do get ret before the maemo userspace loads19:38
uvosafter that its 300 ish mw and no futher rets19:38
Wizzupso some driver that is used by maemo now keeps kernel awake?19:42
uvosmaybe idk19:43
uvosdose it work on your system with the current 619:43
uvos.1 kernel?19:43
Wizzuproot@maindroid:~# /etc/init.d/droid4-powermanagement status19:44
Wizzupd=2023-11-15|t=19:43:16|i=OFF:0,RET:379348|p=381|c=100|b=none19:44
Wizzuproot@maindroid:~# sleep 30 ; /etc/init.d/droid4-powermanagement status19:44
Wizzupd=2023-11-15|t=19:43:51|i=OFF:0,RET:379452|p=183|c=100|b=none19:44
WizzupLinux maindroid 6.1.48 #1 SMP PREEMPT Wed Aug 30 14:28:56 UTC 2023 armv7l GNU/Linux19:44
uvoshmm19:44
uvosso its something specific to my install19:44
uvosalways fun19:44
arno11ac_laptop: taking lot of time to leave idle is not normal and not a known issue on N90019:47
Wizzupuvos: looks like it yes19:49
arno11seems something is slowing done your 0S: just a question, was wifi still On ?19:49
Wizzupuvos: so what is the dtb problem specifically, did they get renamed?19:49
uvosWizzup: yes19:49
uvosthe whole thing got restructured19:49
uvosits ti/omap/* now19:50
uvosbigger issue is cpufreq is just missing with no explenation19:50
Wizzupmaybe the config got renamed19:52
arno11ac_laptop: the only thing i know able to slowing down N900 (a loooot) periodically is apt-worker19:53
Wizzupuvos: what is the 6.x branch19:58
uvosmaemo-6.619:58
uvosmaemo-6.1.y19:58
uvosmaemo-6.119:58
Wizzupgit fetch didn't show it, weird19:58
Wizzupsorry, I meant 6.6 branch*19:58
Wizzupfatal: 'origin/maemo-6.6' is not a commit and a branch 'maemo-6.6' cannot be created from it19:58
uvoshuh19:58
sicelo cpufreq is still in kernel. nothing changed there. what exactly are you seeing?19:59
uvosthe config is there19:59
uvosbut19:59
uvos /sys/bus/cpu/devices/cpu0/cpufreq anf friends dissapeard20:00
Wizzupuvos: the branch also isn't on github20:00
siceloi've had 6.6 on pmOS for a while. will check when my battery is charged20:01
uvosWizzup: https://github.com/IMbackK/droid4-linux/tree/maemo-6.620:02
uvosits there, havent pushed it to the maemo repo20:02
uvoswill now however20:02
Wizzupso the way I remember this works is that we patch scripts/package/builddeb20:03
uvoscan remove the rules20:03
uvosits confuseing20:03
Wizzupso you would edit scripts/package/builddeb if the dtbs are renamed20:04
Wizzupwhat the debian/rules do I have to check but I think we do need them, maybe just not the DTB part of it20:04
uvospowertop suggests tracker-store is using a lot of cpu while idle20:05
Wizzupah, maybe it's either buggy on your machine, or it's doing it's initial indexing?20:06
WizzupI had to nuke my tracker state to get it to behave too20:06
uvoswhere dose it have its state?20:06
Wizzuptry20:07
Wizzuptracker reset --hard20:07
Wizzuprm -rf ~/.cache/tracker/20:07
sicelocpufreq available on N900 using 6.6 (pmOS ... but distro is irrelevant for kernel)20:08
Wizzupis it the same kernel config?20:08
uvosi mean the related configs are enabled CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPUFREQ_DT=m, they are also not renamed20:16
uvosi suspect the problem in omap4 dt20:16
ac_laptoparno11: I'll make some more tests20:17
Wizzupuvos: so they didn't add some setting for cpufreq sysfs or so?20:18
ac_laptopConcerning the fresh install message, the part about install zram-tools and removing /etc/init.d/zram can probably be removed since it's already done. But I guess it's still necessary to configure /etc/default/zramswap ?20:20
uvosWizzup: looking at drivers/cpufreq/Kconfig i dont see anything20:20
ac_laptopis it relevant to put a value of SIZE=1024 on n900 ?20:21
uvosWizzup: so killing everything mafw related has improved the pm situation20:21
Wizzupac_laptop: I think 1024 would be too high20:23
ac_laptopWizzup: so 256 ? the size of the RAM ?20:24
uvosmore than half physical ram is pretty silly20:24
uvosbesides its questionable if enableing it at all is good idea20:24
uvosthe n900s cpu is really slow, im not sure it needs the extra work20:25
uvosWizzup: i think "find /proc/sys/net/ -name interval_probe_time_ms | xargs -I% sh -c 'echo -1 > %'" helps a bit20:26
uvosas suggested by tmlind20:26
Wizzupac_laptop: 512 would be sensible20:27
uvoswe could also try setting net.ipv4.neigh.default.interval_probe_time_ms in systctl.d20:27
Wizzupuvos: ah, yes, I think tmlind also mentioned that20:27
Wizzupuvos: see https://github.com/maemo-leste/bugtracker/issues/70420:28
uvosWizzup: yeah "as suggested by tmlind" :)20:28
Wizzupif you can make a PR for leste-config for this, that would be great20:28
uvosWizzup: i think doing it in sysctl is better20:28
Wizzupyes20:28
Wizzupsysctl.d more specifically20:28
WizzupI think we already have some files there, yeah?20:28
uvosyes20:28
uvosbut i have to check if setting just net.ipv4.neigh.default.interval_probe_time_ms works20:29
uvosfirst20:29
uvosas long as its set before the interfaces are set up it should iiuc20:29
Wizzupbrb work mtg20:30
ac_laptopWizzup, uvos: who should I trust ? :)20:43
uvosac_laptop: forget about zram, swap on sd/emmc :)20:52
freemangordonright, zram on n900 does more harm than good20:52
freemangordonif there is any good at all20:52
freemangordonarno11: So the only option to improve rendering performance on n900 is DRI321:00
freemangordonBTW, I wonder why with omapfb it was faster21:01
ac_laptopwow leste looks *significantly* faster with this new U3 card o_O21:02
ac_laptopdunno if it's U3 or just the quality of the card but the difference is perceptible21:03
arno11freemangordon: ok, so is there any additional stuff to install or we have just to add it as an option in Device section (in omap.conf)21:14
arno11?21:14
freemangordonno, we have to implement support for it in DDX :)21:16
freemangordonor switch to modesetting21:16
freemangordonuvos: hmm... https://gitlab.freedesktop.org/xorg/xserver/-/commit/e573d4ca03756cd7ea37288a7ca7df003ad5c1f821:16
freemangordonseems gles2 has finally received some love21:18
freemangordonmaybe it makes sense to try ms/glamor again21:18
freemangordonuvos: no idea what's going on, but in the last month there is merged code that was sitting there for years, see https://gitlab.freedesktop.org/xorg/xserver/-/commit/0076671e24670f1ddb151946e490497f171589f0 for example21:31
freemangordonI will definitely git it a shot when I have some spare time21:32
freemangordon*give21:35
arno11freemangordon: (for DDX) ok, is it complicated to implement ?21:49
norayrvery hard to deal with rust softawer. especially when it wants newer crates etc. i tried to package some crates but they want newer compiler...21:55
freemangordonarno11: yes21:56
arno11ok21:56
freemangordonI would rather try modesetting with glamor21:56
arno11when you say modesetting you mean KMS ?21:57
freemangordonI mean modesetting DDX21:58
freemangordonhttps://man.archlinux.org/man/modesetting.421:58
freemangordonfor example21:58
arno11ah ok21:59
freemangordonwhat the? https://gitlab.freedesktop.org/StaticRocket/mesa/-/commits/powervr/kirkstone/22.3.5/?ref_type=heads22:58
uvosperparing to port the new foss pvr rouge code down to sgx?23:03
uvossounds neat if true23:03
freemangordonuvos: or rather open-sourcing pvr mesa code (the one I re-ed :) )23:11
freemangordonbut seems to be compatible with new mesa23:12
uvosso deleating tracker state and letting it settle for several hours dosent help23:32
uvosthe mafw tracker is still using a huge amount of cpu time preventing the device from sleeping23:32
uvosill try to figure out what its doing tomorrow23:32
freemangordonuvos: mafw != tracker23:37
uvosyeah its gnomes tracker23:37
uvosi know23:37
uvosits used by mafw however23:38
freemangordonthere is mafw-tracker-source, but it is merely wrapping tracker23:38
freemangordonyeah23:38
freemangordonIt seems tracker has issues23:38
freemangordonI had to fork it already23:38
uvoswhat dosent have issues23:39
freemangordonFYI https://github.com/maemo-leste-upstream-forks/tracker-miners/commit/0ac3ba4e88b38d2d006286a34cf6c72da931140923:39
uvosyeah i saw that23:39
uvospretty silly23:39
freemangordonalso, TI repo has new sgx binaries23:40
freemangordonhttps://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux/log/?h=1.17.4948957/mesa/glibc-2.3523:41
sicelolooks like i finally got my ofono patch working, https://paste.debian.net/1298261/23:53

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!