| freemangordon | Wizzup: cool :) | 09:56 |
|---|---|---|
| freemangordon | Wizzup: with this https://git.maemo.org/leste-upstream-forks/voicecall/commit/46564af0cdb5b6de1305e678166397f8789b20ec , SIP calls N900<->VM seem to work every time | 09:57 |
| freemangordon | however, they don't on d4 and I suspect PA issue | 09:57 |
| freemangordon | ut don;t really know how to debug | 09:58 |
| freemangordon | *but | 09:58 |
| Wizzup | freemangordon: how do they not work on d4, this is vm to d4 and d4 doesn't work? or no audio? | 11:10 |
| kiva | Interesting they don't have any problem with N900 main on front camera: https://elinux.org/N900 | 14:15 |
| kiva | does them work with Leste? | 14:15 |
| kiva | I mean main and front camera. | 14:18 |
| freemangordon | Wizzup: this is N900 <-> d4, audio most of the times does not work (and PA volume control does not show vcm streams) | 14:40 |
| inky | wow n900 camera has support in mainline? does it work? with which software? | 14:43 |
| Wizzup | kiva: inky: elinux.org is old and it's not up to date | 14:50 |
| Wizzup | freemangordon: I've seen PA crashes on the d4 | 14:50 |
| Wizzup | this might be what you're seeing | 14:50 |
| Wizzup | maybe see if PA gets killed or something | 14:51 |
| freemangordon | hmm, ok | 14:54 |
| Wizzup | let me find the error | 14:55 |
| sicelo | i do keep elinux.org up to date :-) | 15:01 |
| sicelo | kiva: inky: no one has played with it much. after all, that camera was quite bad even with Fremantle. but you can modify the dts and give it a go | 15:02 |
| Wizzup | user.log.4.gz:2025-04-30T13:17:39.403881+02:00 localhost pulseaudio[13475]: [alsa-sink-40124000.mcbsp-cpcap-hifi cpcap-hifi-0] alsa-mixer.c: Assertion 'm' failed at ../src/modules/alsa/alsa-mixer.c:1479, function pa_alsa_path_select(). Aborting. | 15:03 |
| Wizzup | freemangordon: I see this regularly ^ | 15:03 |
| Wizzup | sicelo: okay, great, ty | 15:03 |
| Wizzup | freemangordon: I tried to search pi source a bit but didn't get very far yet | 15:03 |
| Wizzup | s/pi/pa/ | 15:03 |
| dsc_ | setting up pinephone with leste today | 15:24 |
| dsc_ | how can I force orientation to portrait (for pinephone) - is there a command? | 16:18 |
| dsc_ | it does not seem to adjust itself (the gyro is possibly disabled, idk) | 16:18 |
| dsc_ | also; why is landscape 'slower' than portrait ? | 16:21 |
| Wizzup | you need to upgrade for the sensor proxy to work | 16:27 |
| Wizzup | landscape is slower because the opengl rotation fallback is software not gpu | 16:27 |
| dsc_ | Wizzup: alright, why is opengl rotation software? :P | 16:30 |
| dsc_ | maybe you have a link somewhere in hildon? | 16:30 |
| Wizzup | dsc_: that's in glamor (the 3d driver) not hildon | 16:41 |
| Wizzup | it's in mesa | 16:41 |
| kiva | sicelo: To me would be enough if can take picture and send it with MMS at 640x480 resolution with Leste. Actually N900 camera lens is not bad, but sensor need somekind of whitebalance correction matrix, should calibrate with greycard, but that is only needed if you want 5MP pocket camera quality. | 16:59 |
| kiva | also QR-code or barcode reader would be nice use for N900 camera. | 17:06 |
| kiva | dsc: Pinephone has hardware accelerated rotate and zoom and 2 layers, but if I understand right it is feature of AllWinner, not Mali GPU part itself...I wonder is there enough documentation of that feature to make open source driver? Was there any closed source driver for any kernel version? | 17:14 |
| inky | > how can I force orientation to portrait (for pinephone) - is there a command? | 17:15 |
| inky | it does (well it did for me in chimaera), i think on daedalus too. | 17:15 |
| inky | otherwise there is /usr/share/hildon-desktop/transisions.ini where you can whitelist apps that are allowed to be rotated. | 17:15 |
| dsc_ | I upgraded leste and orientation started working :) | 17:15 |
| dsc_ | but thanks | 17:15 |
| dsc_ | and yeah, its slow | 17:16 |
| inky | and there is kernel boot flag fbcon=rotate:1 | 17:16 |
| inky | that's for landspace actually. | 17:16 |
| sicelo | kiva: front camera? ever tried it with Fremantle? it really wasn't that good, even for the low resolution | 17:17 |
| gnarface | kiva: there was a BSP kernel v4.9 that supposedly supported "everything" but i'm not sure where to get it | 17:17 |
| gnarface | ...4.9? 3.9? something old anyway | 17:17 |
| gnarface | i thought it was linked from their wiki at some point but i'm having trouble finding it now | 17:18 |
| kiva | sicelo: I took raw pictures with Fremantle ten years ago was that Bless900 that better camera app? | 17:19 |
| sicelo | you mean rear camera then | 17:21 |
| kiva | sicelo: yes...front camera is just 640x480 and real quality is even lower. | 17:22 |
| kiva | front camera pictures looked like 320x240 or even lower. | 17:23 |
| dsc_ | default conversations = https://plak.infrapuin.nl/selif/29hapend.mp4 | 18:06 |
| dsc_ | QT_QUICK_BACKEND=software = https://plak.infrapuin.nl/selif/lgpbtspw.mp4 | 18:06 |
| dsc_ | software rendering is more smooth :x | 18:10 |
| sicelo | i think that's what arno has talked about a number of times? | 18:17 |
| dsc_ | likely. I think this may also be present on droid4 | 18:17 |
| dsc_ | because the scrolling is also not super smooth there | 18:19 |
| dsc_ | not slow by any means, but not smooth | 18:19 |
| dsc_ | I assumed this was because of the droid4, but know I'm thinking maybe there is something wrong with the acceleration | 18:19 |
| dsc_ | now* | 18:19 |
| Wizzup | it depends on the driver | 18:57 |
| kiva | Pinephone users without keyboard might want arrow-up and enter into downbar of osso-xterm. | 19:00 |
| arno11 | dsc_: something wrong with acceleration, yes, but not conversations specific: rather Qt5 is at fault | 19:30 |
| dsc_ | with software rendering I get 130fps, with opengl 26fps | 19:34 |
| dsc_ | for a simple Qt5 widgets + QML scene | 19:35 |
| dsc_ | i will look with renderdoc | 19:35 |
| arno11 | indeed...there is a problem lol | 19:35 |
| arno11 | dsc_: btw on n900, using QT_QUICK_BACKEND=software is quite as slow as using hardware | 19:39 |
| arno11 | *slow, specially to launch an app | 19:41 |
| arno11 | btw 26 fps seems similar to n900 | 19:43 |
| arno11 | *with opengl | 19:46 |
| dsc_ | arno11: how do you test? | 19:46 |
| dsc_ | to see this fps | 19:46 |
| arno11 | running hildon desktop with fps shown | 19:47 |
| dsc_ | how do you show FPS? | 19:48 |
| arno11 | don't remember the command, let me check | 19:50 |
| dsc_ | nvm, I can find it | 19:51 |
| arno11 | i still wonder what is qt5ct raster magic: 5-6 times faster to launch one or 10 qt apps. and no performance diff | 19:57 |
| arno11 | anyway... | 19:57 |
| dsc_ | how to calibrate battery on pinephone | 22:22 |
| kiva | dsc: I calibrated battery running it empty and then full charing..there is problem that it try start up when you connect charger, but try shut down as fast you can. | 22:45 |
| dsc_ | kiva: it says calibration needed | 22:47 |
| dsc_ | this solves itself via your steps? | 22:47 |
| kiva | yes | 22:48 |
| dsc_ | thx | 22:48 |
| dsc_ | and display brightness, you know how to adjust that? | 22:48 |
| kiva | go Settings, there is Display and there is brightness, it has little slow response and difference is small..maybe that can be fixed. | 22:51 |
| Wizzup | dsc_: on https://git.maemo.org/leste/bugtracker/issues/785 | 22:51 |
| Wizzup | the latest image does apt update / apt upgrade | 22:51 |
| Wizzup | so it will work out of the box on the next image | 22:51 |
| dsc_ | Wizzup: thx | 22:53 |
| arno11 | dsc_: for brightness you can directly use /sys/class/backlight/xxxxxxxxx/brightness | 22:54 |
| Wizzup | well mcs should do that | 22:54 |
| Wizzup | mce | 22:54 |
| dsc_ | ah, backlight, was grepping for 'brightness' ;-) | 22:55 |
| kiva | Desktop widget for brightness would be nice :) | 22:55 |
| dsc_ | Settings->Display has a widget for brightness | 22:56 |
| dsc_ | but does not work | 22:56 |
| kiva | It works, but difference has smooth with delay and difference is small | 22:57 |
| dsc_ | ah, yeah.. I see | 22:58 |
| dsc_ | $ cat /sys/class/backlight/backlight/max_brightness | 22:58 |
| dsc_ | 3124 | 22:58 |
| dsc_ | GUI widget is in increments of 200 | 22:58 |
| kiva | If some body can make darker step 1 it would be nice. | 22:59 |
| kiva | or even more steps. | 22:59 |
| sicelo | didn't know PP had the battery calibration issue | 23:02 |
| dsc_ | sicelo: the GUI (navbar) just says "calibration needed" - dont know what it means :P | 23:03 |
| kiva | Actually it does not have issue. Just use it empty and full and empty, after that it disappear. | 23:04 |
| arno11 | kiva: yeah step 1 is definitely too high | 23:04 |
| sicelo | dsc_: it means /sys/class/power_supply/<your_chip>/capacity == 0 or EINVAL | 23:04 |
| kiva | Or at least it have worked for me..it can come back if you take out battery and put another battery. | 23:05 |
| dsc_ | sicelo: its 99, the GUI also shows 99% | 23:05 |
| dsc_ | but it also says calibration needed | 23:06 |
| kiva | but disappear if you do empty, charge cycle. | 23:06 |
| sicelo | dsc_: odd, kindly share the output of `upower -d` and also `cat /sys/class/power_supply/<your_fuel_gauge>/uevent` | 23:06 |
| dsc_ | sicelo: https://plak.infrapuin.nl/selif/0yjg2p3u.txt | 23:07 |
| sicelo | in your case seems to be the energy_* properties, although i'd have expected those to not matter if percentage is reported. will double-check | 23:09 |
| sicelo | although it does sound weird/wrong to have 98% and at the same time have 0 as energy value :p | 23:09 |
| dsc_ | its now 95%, battery drains pretty fast (if I were to believe these numbers) | 23:09 |
| dsc_ | display brightness at 100% and on WIFI :p | 23:10 |
| sicelo | yes, it does drain fast | 23:10 |
| kiva | In my test lower audio volume matters too, but I am not sure. | 23:11 |
| sicelo | dsc_: if you want, here's the fix, and you can submit MR, | 23:12 |
| sicelo | https://git.maemo.org/leste/status-area-applet-battery/src/branch/master/batmon.c#L359 ... must be ` return private.data.energy_full && private.data.energy_now; | 23:12 |
| sicelo | sorry, ` return private.data.energy_full && private.data.energy_now; | 23:12 |
| sicelo | damn, bad copypaste | 23:12 |
| dsc_ | :D | 23:13 |
| sicelo | return private.data.percentage || private.data.energy_now; | 23:16 |
| dsc_ | excellent, thanks! | 23:17 |
| sicelo | not 100% sure how MR-ready that actually is, but it makes a lot of sense to me | 23:18 |
| dsc_ | ill play around with it | 23:18 |
| sicelo | should work for sure. but i'm just not happy that it will treat energy_now == 0 && percentage == 0 as being un-calibrated, even when those values are correct :-p | 23:19 |
| sicelo | but this whole battery stuff does involve a lot of compromise anyway | 23:19 |
| dsc_ | https://git.maemo.org/leste/osso-applet-display/src/branch/maemo/daedalus/src/cpdisplay.c | 23:20 |
| dsc_ | is this the widget for brightness? | 23:20 |
| kiva | dsc: if you want play energy saving try disable last core: echo 0 > /sys/devices/system/cpu/cpu3/online | 23:21 |
| kiva | htop shows how many cores you have online. | 23:21 |
| dsc_ | kiva: I changed screen brightness to 30% and it helped a lot | 23:22 |
| dsc_ | im still at 92% since doing it | 23:22 |
| dsc_ | kiva: echo 800 | sudo tee /sys/class/backlight/backlight/brightness | 23:24 |
| dsc_ | this is 25% | 23:27 |
| kiva | I put 5 and even that is not too dark. | 23:30 |
| kiva | 0 is too dark :) | 23:32 |
| gnarface | the pinephone batches don't all have the same screen model, so appropriate brightness settings are relative | 23:32 |
| sicelo | dsc_: mce handles the brightness here, https://git.maemo.org/leste/mce/src/branch/master/src/modules/display.c | 23:33 |
| dsc_ | kiva: yes, 5 is nice | 23:34 |
| dsc_ | sicelo: mkay hmm | 23:35 |
| dsc_ | there are 5 'buttons' @ GUI widget | 23:35 |
| dsc_ | they increment with 200 | 23:35 |
| dsc_ | yet, the range is 0-3200 | 23:36 |
| dsc_ | as per /sys/class/backlight/backlight/max_brightness | 23:36 |
| sicelo | sounds like mce might need some improvements then :-) | 23:38 |
| sicelo | see src/modules/filter-brightness-* | 23:39 |
| dsc_ | ah ok | 23:39 |
| kiva14 | my 2 GB memory Pinephone model jumps 0 (backlite off) to 1 (bright enough in little light)..actually 3124 is max value. | 23:39 |
| dsc_ | yes, I rounded to 3200 :P | 23:40 |
| kiva14 | If ask me 5 steps should be 1,800,1600,2400,3124. | 23:42 |
| dsc_ | yes but this mce stuff is a bit complicated | 23:42 |
| dsc_ | not something I can hack | 23:42 |
| dsc_ | quickly | 23:42 |
| sicelo | dsc_: afaict, the brightness to set is calculated here, https://git.maemo.org/leste/mce/src/branch/master/src/modules/display.c#L246 | 23:47 |
| dsc_ | thx, ill put a breakpoint :) | 23:49 |
| dsc_ | sicelo: btw, after this battery patch, it now shows 'no data' | 23:49 |
| dsc_ | which is better I guess | 23:49 |
| sicelo | yes, no data because the energy is used to calculate the capacity (mAh). in your case, for now you're reporting all zeros | 23:51 |
| sicelo | once a learning/calibration cycle has completed, you should see mAh instead | 23:52 |
| dsc_ | alright :) | 23:52 |
| dsc_ | another question | 23:53 |
| dsc_ | https://git.maemo.org/leste/status-area-orientationlock-applet | 23:53 |
| dsc_ | I installed this, where can I use it? | 23:53 |
| sicelo | should show up on the status menu. you use it to lock yourself to a specific orientation, instead of maemo deciding for you | 23:54 |
| * sicelo doesn't use it | 23:54 | |
| dsc_ | the status menu | 23:55 |
| dsc_ | oh, there we go | 23:55 |
| dsc_ | :) | 23:55 |
| dsc_ | I think we should install this by default | 23:55 |
| * sicelo likes a not-busy status menu :-) | 23:57 | |
| dsc_ | fair | 23:57 |
| dsc_ | but on pinephone, I want to avoid going into landscape because its slow | 23:57 |
| sicelo | anyway i know many use it. i guess you can open an issue or MR and a decision can be taken | 23:57 |
| kiva14 | screen brighness to status menu :) | 23:57 |
| sicelo | ah! makes sense @ slow landscape | 23:58 |
| sicelo | kiva14: there's a widget for that as well | 23:58 |
| sicelo | simple-brightness or similar (again, i don't use it) | 23:58 |
| kiva14 | good | 23:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!