libera/#maemo-leste/ Tuesday, 2022-08-16

auantahello the wiki has several improvements00:27
auantaquestion about one of the sections here, are these still applicable?: https://leste.maemo.org/PinePhone#More_Information00:28
auantapertaining to the status/functionality00:38
WizzupI think the virtual keyboard might be on by default00:45
Wizzup>Some rendering bugs in portrait mode remain, so the default desktop orientation is landscape for now (xrandr -o right). Please note that if orientation is changed (e.g. with xrandr -o normal) the ui will still be reading original key positions.00:45
Wizzupnot sure about this one00:45
Wizzup>Screen brightness adjustments in UI do not work on the Pinephone yet. There is also a user reported when "brightness" UI setting is set to minimum (no visual change normally), the screen will stay black after reboot with WiFi set to ON with kill switch. However screen is normal after reboot if WiFi set to OFF with kill switch even minimum "brightness" UI setting. You may still change the screen00:46
Wizzupbrightness with terminal commands: xrandr --output DSI-1 --brightness 0.500:46
Wizzupthis is solved, pretty sure00:46
auantaalso update on the pinephone eMMC boot, yeah it didn't boot even after a new msdos partition table and dd'ing it to eMMC00:58
auantai'll say it 'booted' but remains a black screen with a yellow light00:59
auantasomething stopped it in the boot process00:59
auantahmm is there a way i can see the output?00:59
auantaduring bootup00:59
auantawaiting on the others before i edit the wiki to remove the things Wizzup mentioned01:00
auantaanother power outage XD01:28
auanta! Default user02:51
auantaWizzup looks like the brightness settings still do not work. Also there are indeed some rendering issues in portrait mode, e.g. date and time time zone map.02:55
auantamy virtual keyboard is indeed on. ok, checked everything out and just a few minor changes03:01
auantais your pinephone getting hot at all? my modem is so hot it's warping the plastic03:18
xmnhttps://wiki.pine64.org/wiki/PinePhone_Thermal_Tweaks03:23
auantathanks!03:24
auantaadded page to category while i'm at it..03:51
auantawhile unplugged, idle, screen off, the temp is 3929204:25
auantawhile plugged in.. let me get a read on that04:25
auantai assume it's because wifi is on (modem kill switch is in the off position, but this didn't fix it)04:26
auantatrip point temp 0 is 600004:27
auantatrip point temp 1 is 800004:27
auantatrip point temp 2 is 1100004:27
auanta0 = passive, 1 = hot, 2 = critical04:28
auanta...hmmm04:30
auantamissed a few zeros XD04:35
auanta60000, 80000, 11000004:35
auantaalways run landscape mode!04:35
auantaeh, it's below temp, i'll just keep an eye out..04:37
tmlindfreemangordon: sorry fell asleep early again :) sounds like you got close to trying it out, not sure if running tinywl under x produces the same results as running it without h-d though06:25
freemangordontmlind: yeah, I just have to manage to compile mesa on d408:06
tmlindfreemangordon: heh ok that's at least an hour08:07
freemangordonthat's assuming the charge in battery can hold it :D08:09
tmlindfreemangordon: you may want to increase the usb charger current limit via sysfs to be higher than the default 500mA :)08:17
tmlindecho 700000 > /sys/class/power_supply/usb/input_current_limit or higher depending on the charger08:18
buZzthis vendor -claims- to have new manufactured EB41 ; https://www.aliexpress.com/item/4001266035225.html08:56
tmlindbuZz: watch out for the extra capacity scam, they sell you a used eb41 battery relabeled with some bogus capacity..09:20
buZztmlind: yeah havent hit that one yet, but i noticed some suspicious 'gold' EB41 with >2000mAh :P09:22
buZzstill a bit sad that capacity in that size didnt increase in the last 10y09:23
buZzalso, really hard to find a 3.8V lipo in 404565 size :P09:23
freemangordontmlind: already did, does not help09:25
buZzwhats the issue? powering off during compile?09:25
buZzi built the kernel @ droid4 , several times , no issues :)09:25
freemangordonok, I set the limit to 2A, lets see09:30
freemangordoncharger is 2.409:30
freemangordonPOWER_SUPPLY_CURRENT_NOW=143800009:31
freemangordon:)09:31
Wizzupfreemangordon: you can also build using -experimental09:36
Wizzupthat way it will build in ~10 mins09:36
Wizzupjfyi09:36
buZzfreemangordon: battery not getting very toasty? :P09:36
buZzi've had 45C on battery, d4 wasnt happy09:36
buZz(but dont think it actually switched off)09:36
freemangordonWizzup: yes, bu I wouldn't be able to make code changes without rebuilding everything09:40
Wizzupright09:40
freemangordonwhen on device I can just call ninja09:40
freemangordonbuZz: batter tem 4909:41
freemangordon*temp09:41
buZz:)09:41
buZzand is it discharging from the load you're doing on it while charging at 1.4A ?09:41
freemangordontmlind: (or anybody) - do you have access to chromeos device?11:20
WizzupI have one at home I suppose, but not close to me11:26
freemangordonok, I have found what I need11:39
freemangordontmlind:12:43
freemangordon00:00:00.086 [render/egl.c:158] Supported DMA-BUF formats: AB30 AR24 AB24 XR24 XB24 RG16 GR88 R8   AR15 NV12 NV21 YU12 YV1212:43
freemangordonbut, then it hits tinywl: types/wlr_linux_dmabuf_v1.c:511: feedback_compile: Assertion `table_len > 0' failed.12:43
freemangordonany idae?12:43
Wizzupuvos: bionic calls work fine too (wrt audio)12:54
Wizzupuvos: I think sphone should also set remote_name if it's provided (for example when I get a SMS from 'takeaway', that is included somehow)14:15
Wizzupcurrently it seems the line_identifier is Takeaway which is a little weird, I'd expect it to be the number if possible, and then have the remote_name set to takeaway14:15
Wizzupalso, I think it needs to check if the remote already exists14:16
Wizzupnevermind the above statement14:16
Wizzupin any case setting the remote_name would still be good14:16
Wizzupdsc_: pushed a fix to conversations to render sphone-ofono inserted msgs14:21
Wizzupuvos: pushed new code to wip-rtcom, this -should- address the things you asked about14:23
Wizzuphttps://github.com/maemo-leste/sphone/compare/master...wip-rtcom14:24
Wizzupit also fixes a bunch of typos14:24
freemangordontmlind: https://pastebin.com/MCQeRXZC14:54
freemangordonI don't know if this is success or not14:54
freemangordontmlind: how to start that using DRM backend?15:06
freemangordonwtf:15:10
freemangordonlibinput| Run-time dependency gtk4 found: NO (tried pkgconfig and cmake)15:10
freemangordonlibinput| Run-time dependency gtk+-3.0 found: NO (tried pkgconfig and cmake)15:10
freemangordondo we really want that in mce?15:10
Wizzupif it doesn't use those, that's fine, right?15:12
WizzupIt is the "upstream way"15:13
freemangordonwell, I don;t know it it uses it, but it requires it to be build15:18
Wizzuprequires?15:18
Wizzupit can't build without it and just skip it?15:18
freemangordonyes, it errors out15:18
freemangordonthis is the current libinput master15:18
Wizzupthat's surprising since out CI doesn't even have gtk415:18
Wizzupmaybe you don't config it right15:19
freemangordonthis is not *our* libinput15:19
freemangordonbut upstream15:19
freemangordonour is too old for wlroots libinput backend15:19
freemangordonbut that's not the point15:19
Wizzupwhat is the point exactly?15:21
sicelofreemangordon: start with drm? stop h-d and simply start tinywl in console15:35
Wizzupso tinywl is supposed to work on X? when I google for it it says it's a wayland compositor15:35
siceloyes it's a wayland compositor15:36
Wizzupwhy does it mention X then15:36
siceloyou can start it under x if you want,  which is what fmg did15:36
Wizzupaha15:37
freemangordonsicelo: does not start15:41
freemangordonalready tried15:41
freemangordonsec, will provide logs15:41
freemangordonsicelo: https://pastebin.com/idkuNdTA15:41
freemangordonit seems it needs seatd15:43
sicelolooks like you need to install and start seatd15:43
siceloyes :-)15:43
freemangordonwe don;t have such thinkg, afaik15:43
freemangordonbut ok15:43
siceloi can see it in devuan repos15:43
freemangordonhmm15:44
freemangordonwhat i sthe package name?15:44
siceloseatd15:44
freemangordon"E: Unable to locate package seatd"15:44
sicelommm15:44
freemangordonnot in lester repos, obviouslt15:44
sicelowhat about elogind?15:45
* sicelo doesn't have a leste device handy15:45
Wizzupelogind is blacklisted by us15:48
Wizzupit does all kinds of crazy things we don't want15:48
freemangordonok, I have it built and started15:48
siceloso yes, fmg can install that temporarily15:48
siceloah, sweet15:49
freemangordonXDG_RUNTIME_DIR is invalid or not set in the environment15:49
freemangordonsicelo: ^^^15:49
sicelolook at my paste from last night15:50
freemangordonthis is not set there15:50
siceloah, set it to /run/user/$(id)15:51
freemangordonliterally?15:51
sicelommm, no :-)15:51
sicelojust the uid15:52
freemangordonah15:52
freemangordonXDG_RUNTIME_DIR=/run/user/0 sudo ./build/tinywl/tinywl15:53
freemangordonresults in same error15:53
Wizzupdoes sudo pass the env?15:54
freemangordonshoult be15:54
freemangordonbut well15:54
siceloit's not good idea to start waylabd stuff as root (sudo)15:55
freemangordonhmm15:55
sicelostart it with regular user and his id15:55
freemangordonbut seatd does not start if not sude15:57
freemangordon*sudo15:57
sicelommm15:57
siceloseatd should be running in background, and yes, that'll need sudo15:57
freemangordonok, started15:57
freemangordon :)15:57
sicelo:-)15:57
freemangordonwell, screnn is black, I guess mce tunbed it off15:58
siceloi think you must ensure no maemo stuff runs ...15:58
freemangordonhttps://pastebin.com/euGbjimP15:58
freemangordonXorg is stopped15:58
freemangordonok, what now :)15:59
freemangordonwhat terminal you said?15:59
sicelolooks good to me, but yeah, I'm not sure what you guys are testing, haha15:59
sicelouse foot15:59
freemangordonwhere to get that from?16:01
sicelofoot? dhould be in repos too16:01
freemangordonit is not :)16:01
sicelohttps://codeberg.org/dnkl/foot to build16:02
tmlindfreemangordon: i'm pretty sure i just export XDG_RUNTIME_DIR, and then the following16:11
tmlindexport WLR_BACKENDS=libinput,drm16:11
tmlindexport WLR_DIRECT_TTY=/dev/tty216:11
tmlindexport WLR_DRM_DEVICES=/dev/dri/card016:11
tmlindi think that allows starting things like sway and probably tinywl from a ssh connection16:12
freemangordontmlind: I have it running16:12
freemangordonI am trying to compule foot now16:12
tmlindfreemangordon: ok, did you get the errors starting it unless you patch gbm?16:13
freemangordonumm...16:13
tmlindfoot is cool, just lacks touchscreen event support still :)16:13
freemangordonI think gbm is already ok in leste repos16:14
freemangordonI merged your commit back then16:14
tmlindah ok16:14
freemangordonhttps://github.com/maemo-leste/sgx-ddk-um/commit/ce20a6afdd46d9d24a3588b71b20e395770f7e0916:14
freemangordontmlind: see https://pastebin.com/euGbjimP16:15
freemangordonfoot segfaults16:16
freemangordonok, how to test that?16:16
freemangordonsicelo: tmlind: ^^^?16:16
tmlindhmm works for me16:17
freemangordonI mean - what to run?16:17
freemangordontmlind: well, could be, but I justbuild it from source16:17
freemangordonit spits "xkbcommon: ERROR: couldn't find a Compose file for locale "en_US.utf-8""16:17
freemangordonand then segfaults16:17
tmlindwell at least your wlroots log is using dri backend :)16:17
freemangordonyes16:18
tmlindhmm maybe you just need to export locale?16:19
freemangordonLC_ALL=en_US.UTF-816:20
tmlindok, i guess no need for LANG=en_US.UTF-8 then16:20
freemangordonhttps://pastebin.com/tbEA2ZTW16:21
freemangordonno, adding LC_ALL=en_US.UTF-8 made it start16:21
tmlindoh16:21
tmlindfreemangordon: so presumably if you revert the gbm patch i did, you'll get an error starting tinywl16:22
freemangordoncould be16:22
freemangordonok, how does foot knows which wl sever to use?16:22
freemangordon*server16:22
tmlindhmm or was it a mesa patch? i forgot..16:23
freemangordonWAYLAND_DISPLAY=wayland-0 does not help16:23
freemangordontmlind: maybe I can just hand you the mesa patch for you to test16:23
sicelo maybe it's wayland-1 :-)16:24
tmlindtoo many branches to patch :)16:24
freemangordonsicelo: no, it says "failed to connect to wayland; no compositor running?"16:25
freemangordonwith wayland116:25
freemangordonwhy it just exits?16:25
tmlindfreemangordon: for reference, so if you revert http://muru.com/linux/d4/0001-egl-dri2-Workaround-for-EGL_EXT_image_dma_buf_import.patch then you should see starting tinywm fail16:27
sicelo you're starting it with something like, `./tinywl -s foot` ?16:28
tmlindbbl16:28
freemangordonsicelo: no16:30
freemangordonbut I will try16:30
freemangordonsame thing16:30
freemangordon'goodbye'16:30
freemangordontmlind: we don;t have that in mesa16:32
freemangordonsee https://github.com/maemo-leste-upstream-forks/mesa/commit/a673ae59b0edd281a20060080554f96331978aa316:32
freemangordontmlind: I implementd support for those missing functions16:32
tmlindfreemangordon: ok sounds like i need to test again then.. what's the commit implementing the missing functions?16:43
tmlindfood time, bbl16:44
freemangordonthere is still no commit16:46
freemangordonas I want to see if I actually fixed it before doing such commit :)16:46
freemangordones2gears_wayland segfaults in some wayland code16:51
freemangordonthis is broken all over the place16:51
freemangordonglmark2-es2-wayland does not start as well16:53
freemangordonPVR:(Error): PVRDisplayBufferCreate: Failed to create display buffer (err=13) [0, ]16:53
josuahI am just trying it now on a droid 4, maemo leste feels good!17:30
josuahkudos and kudos and kudos guys!17:30
freemangordonok, no idea what has happened, but I have glmark2-es2-wayland running18:57
freemangordonit seems that I have some old version of libdbm installed by hand18:59
freemangordonreinstalling sgx-ddk-um-ti443x from the repos made it work19:00
dsc_Wizzup: sure thing19:02
freemangordonhmm, why the hell glmakr was OOM killed?19:03
freemangordondamit, this eats memory like crazy19:06
sicelowhat does?19:07
freemangordonglmark19:07
freemangordonhmm, actually I don't know19:15
freemangordonlooks like kernel allocations19:15
freemangordonmaybe BOs19:15
freemangordonyeah, wlroots or glmark leak BOs19:18
siceloi hope it's not wlroots19:27
freemangordonlooks like no19:35
freemangordonglmark leaks like hell when started with --fullscreen19:35
Wizzupjosuah: thanks!!19:36
Wizzupjosuah: there's more to come, telephony and such should be a reality soon19:36
tmlindfreemangordon: sounds like you're having fun with it19:43
freemangordontmlind: this renders like mad, until gets OOM killed :D19:44
freemangordonI have pulled latest glmark2 master, to no user19:44
freemangordon*use19:44
tmlindok, i recall the unpatched mesa or gbm had the crashing issue but was about twice as fast19:45
tmlindwell less patched mesa rather than unpatched19:46
freemangordonok, if I pass -s 538x960 it does not leak19:47
freemangordonok, lets see what score I will get19:47
freemangordontmlind: sicelo: https://pastebin.com/XwC1SV7120:47
freemangordon:D20:47
sicelowow, that's nice. i think score was in the 50s before?20:48
freemangordonfor x11 is ~87, iirc20:48
freemangordonfor drm is ~50, but it is vsynced20:49
freemangordonnow measuring xorg20:49
freemangordonhmm, seems gpu-bound tests have higher fps on xorg20:51
freemangordonok, fps is slower, but I it is smoother20:52
freemangordonmaybe wl just drops lots of frames and xorg displays them20:52
freemangordonglmark2 Score: 7720:53
freemangordon~25% faster20:54
freemangordonnot bad20:54
freemangordonanyway, lets push what I have done so far20:54
tmlindnice, but hmm didn't we get the terrain test all the way up to 2 fps from 1 earlier on droid4 at least?20:55
freemangordonI don;t think so20:55
freemangordonwell, maybe we get a bit lower fps because of fences actually work20:57
freemangordonthey didn;t back then and that could result in higher fps20:57
tmlindjust ran it here with glmark2-es2-wayland --size 960x540 --benchmark terrain, it produces 2 for me fyi21:00
freemangordon960x54021:09
freemangordonI guess it should be 540x96021:09
tmlindnot full screen with 540x960, seems like 960x540 produces full screen21:13
tmlindusing landscape mode21:14
freemangordonah :)21:14
freemangordonhow to rotate?21:14
freemangordonI am testing in portrait, that may explain the difference21:14
tmlindyeah ok, i rotate with swaymsg output DSI-1 transform 9021:15
freemangordonI doubt I have swaymsg21:15
freemangordonanyway21:15
tmlindyeah.. wlr-randr should do the trick21:15
tmlindsleep time here again, ttyl21:18
freemangordonWizzup: do you mind if I release new mesa in -devel?21:20
freemangordontmlind: fixed mease is in -devel, please test22:39
freemangordon*mesa22:39
Wizzupfreemangordon: go for it23:39

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