libera/#maemo-leste/ Monday, 2024-03-18

siceloyay! progress ... now x server is crashing. but at least that means we got somewhere00:37
Wizzupcool :)00:40
sicelohttps://paste.debian.net/1311092/00:44
siceloi think i must sleep now and see this next time :-)00:44
Wizzupseems like you might need some xorg conf00:47
Wizzupeither that or our mesa lacks the driver00:47
Wizzupbut I don't think it does00:47
sicelowe might be missing it. i was just doing a find, and this is what i can find:00:54
sicelo sudo find . -name "*etnaviv*"00:54
sicelo[sudo] password for mobian:00:54
sicelo./usr/lib/aarch64-linux-gnu/dri/etnaviv_dri.so00:54
sicelo./usr/src/linux-headers-5.10.0-28-common/include/uapi/drm/etnaviv_drm.h00:54
sicelo./usr/src/linux-headers-6.1.15/include/uapi/drm/etnaviv_drm.h00:54
siceloaltough i think i saw it in the sources. maybe we don't have config option to actually build it00:54
siceloi.e. mesa00:54
siceloah, the first one is from mesa, so we have it00:58
siceloadded a xorg.conf from postmarketOS. result is https://paste.debian.net/1311099/01:09
sicelohere's the conf https://gitlab.com/postmarketOS/pmaports/-/blob/master/device/main/device-purism-librem5/xorg.conf?ref_type=heads01:09
Wizzupsicelo: is this X being started by maemo init script?03:20
Wizzupsicelo: it looks like it is being started as user, right?03:21
Wizzup(which might be fine, but the permission denied is a bit suspicious)03:21
Wizzupwhat are the privs on /dev/dri/card*03:21
freemangordonWizzup: sicelo: what about the idea to do 'color coding' to match signal strength vs operator name in status bar, when there is more than one modem?08:05
freemangordonlike, bars/name of modem 1 are green, bars/name of modem 2 are blue (ignore the particular colors)?08:06
freemangordonwhat colors to use will be the next question if you like the idea08:07
gnarfaceis that a problem you run into a lot? phones with two modems?08:07
sicelowe might end up with a rainbow. at first glance, doesn't seem to be good option08:07
freemangordongnarface: no08:07
freemangordonsicelo: I plan support for 2 modems only ni status menu08:07
freemangordonthat would not make a rainbow :)08:07
siceloalso, what if the person has a theme that changes colors?08:08
freemangordonagain, ignore the particular colors08:08
siceloah, *maybe* if we're talking about only two then08:08
freemangordonwe already agreed there will be no more than 2 oiperator names in status bar08:08
sicelobut with two, why not just use position ... left icon is related to left name, etc.08:08
freemangordonbecause I plan to use 2 rows08:08
freemangordonnot append oerator names08:09
freemangordonhmm...08:09
sicelofreemangordon: any idea/suggestion about https://paste.debian.net/1311099/ ?08:09
freemangordonuser is not mamber of video group?08:09
freemangordon*member08:09
siceloi think the same could work ... top name is for leftmost signal bars08:09
freemangordonsicelo: but how do you know that by the look of it?08:10
freemangordonI can use primary and secondary text colors for 1st and 2nd modem08:10
freemangordonbut ok08:11
siceloi actually don't have an issue for the colors ... but we need to be sure it doesn't break due to themes (i don't use them, so i'm not even sure what they do)08:14
inkyon jolla btrfs had huge problems. people say those are solved now and don't happen with modern kernels. but on jolla btrfs didn't report that the space is exhausted, but it was, and nothing was working, and the solution was to balance the trees.12:00
inkyi am afraid of btrfs. maybe i just don't know how to use it. but i don't know how to use xfs, and xfs never betrayed me or put in bad situation.12:00
inkyi am also afraid btrfs will be slow. i am ignorant in this though.12:01
inkyso mz617 can be recommended? it won't be very unstable?12:03
uvos__mz617 isent unstable, its not in anyway really ready yet either12:15
inkyokay!12:16
uvos__btfs is mostly fine, some edgecases aisde12:16
uvos__we need it on mz617 to span volumes, not really mutch of a choice there since we cant change the partition table12:17
uvos__i gues lvm could be used instead of btrfs12:18
uvos__but im not sure about the pros and cons of that12:18
inkyyes lvm is much much more usable, i love it.12:18
inkyalso i think designwise lvm is a right tool in unix way.12:18
inkyit does what it does and all the file systems can use it. while btrfs/zfs can do same things but only with their volumes.12:18
buZzlvm2 i hope ;)12:30
sicelo09:09 < freemangordon> user is not mamber of video group?  ...13:42
siceloi've chrooted into the sdcard from mobian:13:43
siceloroot@mobian:/# id user13:43
sicelouid=1000(user) gid=1000(user) groups=1000(user),27(sudo),29(audio),44(video),102(netdev),111(pulse-access)13:43
siceloi *think* this is the true state of the SD card installation, because user 'user' does not exist in mobian13:43
uvos__sicelo: how did you mount /dev /sys /proc inside the chroot?13:47
uvos__sicelo: host udev propubly sets different permissions on those than the chroot expects13:47
sicelosudo mount -t proc /proc proc/ ... same for /sys. and finally sudo mount --bind /dev dev13:51
siceloanyway13:52
siceloi chrooted so i could check if `user` is in the correct group. this is a user who doesn't exist in mobian ... so i think it's correct to conclude that the result is from Leste13:52
sicelofor context, i'm chrooting into a Leste SD card, from mobian13:53
uvos__the problem here is that it may be in the right grou14:00
uvos__p14:00
uvos__but the right group only grants permissions if the /sys /proc or /dev files relateing to the feature have the right permissions set14:01
uvos__which is done by udev14:01
uvos__which in turn is a place where host stuff leaks into the chroot14:01
uvos__since host udev is involved here14:01
uvos__and if its configure differently it wont set the permissions the way the chroot expects14:01
siceloi think i should find a way to make USB network start much earlier. will appreciate suggestions, but can look at it later in the day14:13
uvos__what do you need early usb network for? the kernel can write the console to a udp endpoint14:14
uvos__this is the erliest you can get any output if you cant use serial14:15
uvos__i think you can make this work via wifi14:15
uvos__another fun idea for a device without any accessable serial output would be to use a usb otg -> serial or usb otg -> ethernet adapter14:16
uvos__and use that14:16
sicelowifi is harder than usbnet, isn't it ...14:17
uvos__sure im just saying this can be done before userspace even loads14:19
uvos__maybe not via wifi im not sure about that14:19
uvos__but in generall14:19
sicelouserspace solution is fine. the problem here is X11 failing to start, and i don't have a way to interact with the device afterwards14:28
uvos__on d4/xt875 i have just pluged in a usb keyboard and switched to a different vt via ctrl-alt-fX to look around in this case14:34
uvos__that works pretty well14:34
uvos__dose the device have working otg/14:34
uvos__?14:34
siceloi don't know how it works ... anyway, i don't have usb-c cable either.14:43
Wizzupfreemangordon: fine by me @ colours16:00
Wizzupinky: btrfs space issues are long solved for the most parts, like years I think16:00
Wizzupbut yeah it's not a requiremen for mz617 and the images I am building won't use it16:00
Wizzupsicelo: check /dev/dri privs16:01
Wizzupmaybe the entry isn't root:video but something else16:01
Wizzupserial would be helpful indeed16:02
siceloit appears to be root:video ... but of course i can't see it from the card when OS is not running :-)16:11
Wizzupyeah sounds like it's time to set up some remote access16:16
Wizzupyou could try to set up a network for icd2 wiht gconf, assuming the interface is called wlan0 (there's a kernel command line param for this but I think we set up udev correctly so it does not rename)16:17
Wizzupsicelo: seems like you should get a usb c cable for otg as well16:17
siceloi'll try to get the otg cable/adapter soon22:36
sicelommm, maybe it's because pinephone image doesn't have libdrm-etnaviv1 :-p22:55
sicelolet me chroot, install, and see22:56
Wizzupsicelo: yes that could be  problem23:00

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