libera/#maemo-leste/ Thursday, 2021-09-30

mighty17[m]sicelo phosh depends on normal wlroots so it automatically installs it :(06:41
mighty17[m]<buZz> "mighty17: is the flicker also..." <- Well charger isn't working in mainline xD, so this is without charger06:41
mighty17[m]<tmlind> "PVR:(Error): PVRDisplayBufferCre..." <- Also what in the world is this error? I get it quite some times when running apps/games06:42
mighty17[m]<tmlind> "maybe the dsi interface line..." <- Then it wouldn't show display at all? Weirdly if I use clock rate divided by 2 the display works normally06:43
mighty17[m]<uvos> "did you dump the dss regisers in..." <- I don't remember doing that, how'd I check it on mainline?06:44
mighty17[m]Aaaand I spammed irc with matrix replies, extremely sorry guys06:44
sicelomighty17[m]: phosh just needs libwlroots to be available. anything can provide it, and phosh won't know/care :-)08:41
mighty17[m]sicelo: but phosh uses wlroots0.12 only idk why08:42
mighty17[m]i even tried using provides="wlroots0.12" in apkbuild08:42
siceloright. so that's *the* problem :-)08:47
sicelomeans you  need to be building that wlroots version too08:48
siceloor, try the wlroots 0.14 phosh - i think it's available already08:48
mighty17[m]apk upgrade?08:48
sicelomaybe not packaged in pmos yet. i don't know08:49
siceloor maybe i'm jumping the gun, but i seem to think there was some mention of a phosh branch using more recent wlroots08:52
siceloanyway, for now, 0.12 is clearly your friend08:52
mighty17[m]Will stick to it09:06
uvosfreemangordon: how did the mime system work in freemantle? i noticed that the xdg mime system is broken or missing in most maemo applications09:52
freemangordonuvos: there is libhildonmime11:11
freemangordonity works by using categories, which group mime type, IIUC11:11
freemangordon*mime types11:11
uvoslooks like it dose/should use xdg mimes https://github.com/maemo-leste/libhildonmime/blob/master/libhildonmime/hildon-uri.c11:16
uvosbut those dont work for maemo packaged applicaitons11:16
uvos(like the pdf viewer and mihphoto for starters)11:17
freemangordonmaemo applications provide additional info11:17
uvosthe .dekstop files need to provide the xdg hint11:17
freemangordonsee /usr/share/mime/packages11:17
uvosotherwise the pdfviwer is unusable with a linux filemanager for instance11:17
freemangordoncorrect11:17
freemangordonbut for maemo file manager it doesn;t matter11:18
freemangordonat it provides some osso- stuff11:18
freemangordon*as it11:18
uvoswell hildon-uri also uses MimeType11:18
freemangordonbuth have to be fixed though11:18
uvosso we can unify behavior as mutch as possible11:18
freemangordonright11:18
uvosok sounds good11:19
freemangordonmy concern is more about categories11:19
uvoswhats a catigory in this instance?11:20
freemangordonwe need to find a way to somehow group mime types into categories11:20
freemangordonsec11:20
uvosxdg dose this11:20
uvosits image/bmp for instance11:20
uvosimage/jpeg etc11:20
freemangordonhttps://github.com/maemo-leste/libhildonmime/blob/master/libhildonmime/hildon-mime.h#L4011:20
freemangordonno, it is a list of mime types that are of specified category11:21
freemangordonos 'images' is gpegs, pngs, etc11:21
freemangordon*jpegs11:21
uvosthe lib could parse this list from the desktop files it sees11:21
freemangordonbut, adobe/cdr too, for example11:21
freemangordonit parses from packages directory11:21
uvossame11:21
freemangordonbut, it already does :)11:22
uvosallready dose what?11:22
uvosparse it from the .desktop files?11:22
freemangordonthe problem is that it looks for <osso:category name="documents"/>11:22
freemangordonno, osso-pdf-viewer.xml for example11:22
freemangordonit is in /usr/share/mime/packages11:22
freemangordonseems there is a bug somewhere, pdf viewver should work from modest (to open pdf attachment)11:23
uvosso lx-open catigorizes mimes using .destop files, so it has a catigory image and then it parses all the files and if some applicaiton claimes that bmp is an image it puts the mime there11:23
uvosthis has the advantage that lx-open dosent need to know what can be an image11:23
freemangordonsmae11:23
freemangordon*same11:23
uvosif a new image format comes arround thats calld erf or something11:23
uvosas sson as an app is installed what handles erf it just works11:24
freemangordonbut, do you have an example for that 'category' in .desktop file?11:24
uvoserf as ian image category?11:24
uvos*as an11:24
uvos?11:24
freemangordondunno11:24
uvosyeah xdg specifies types of mimes11:24
uvoslike image/ document/ etc11:24
freemangordonwhat is the key that identifies a category?11:24
uvosMimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-tga;image/x-portable-pixmap;image/x-portable-bitmap;image/x-targa11:25
freemangordonok, but adobe/cdr is not image neither document11:25
uvosthis is what the string looks like11:25
uvosright11:25
uvossome are not so descriptive11:26
uvosor rather dont fit into those catigorys that hildon-mime uses11:26
freemangordonexactly, that's why nokia appended to specs I guess11:26
freemangordonno, why, adobe/cdr is image, no?11:26
freemangordonthis is example I made up, I guess there are more appropriate ones11:27
uvosi think image is supposed to be for bitmaps only11:27
uvoshmm no11:27
freemangordonpng is not really a simple bitmap11:27
uvosits svg too11:27
freemangordonright11:27
uvosfreemangordon: i meant a raster image11:27
freemangordonah11:27
freemangordoneither ways, it is not only that11:27
uvosno11:27
uvosnot sure where adobe/cdr comes from11:28
freemangordonI made it up11:28
uvosoh ok11:28
freemangordonI am not eve sure coreldraw still exists11:28
freemangordon*even11:28
uvosok11:29
uvosanyhow seams sane11:29
freemangordonmhm11:29
uvos(hildon-mime implementation)11:30
freemangordonthough, most-probably mime type would be application/cdr11:30
freemangordonyeah11:30
freemangordonbut I would really love if we can gather the info from upstream mime types11:30
* freemangordon checks what is provided on fremantle11:30
uvosatho im not sure if i love the seperate xml file11:30
uvoscan you link one?11:31
uvosnot sure why its needed over just adding x-osso-something keys to .desktop11:31
freemangordonsec11:31
freemangordonhttps://pastebin.com/CAS669ct11:32
freemangordongimme a minute to get fremantle image viewer xml11:32
uvosbtw i dont know how osso_pdfviewer is supposed to work with mimes at all11:33
uvosit dosent seam to allow you to open a pdf file at all via cli11:33
uvosi tryed adding xdg mime to it beofre11:33
freemangordonthis is better example: https://pastebin.com/VjUZH8kh11:34
uvoshmm so they have file type matching in there too11:35
freemangordonmhm11:35
uvosnot sure we want to maintain our own database on that11:35
freemangordonand they implement both namespaces11:35
freemangordonme neither, that's why I am looking for a way to gather that info from upstream11:36
uvosfile --mime-type $file11:36
freemangordonmime-type is fine11:36
freemangordonthe problem is with the category11:36
freemangordonset11:36
freemangordon*sec11:36
uvosi dont think you can get the categorys you  want (rather than the xdg ones) from upstream11:37
uvosyou need to match the mime-type to your own table11:37
uvos(and use xdg ones as backup maybe)11:37
freemangordonsee https://pastebin.com/nZJMbSRv11:37
freemangordonthis is from my n90011:37
freemangordonand this is really useful11:38
uvosyeah we need something like that and if we encounter a mime not in the this file11:38
uvoswe use a heuristic based on the xdg mime11:38
uvosie put image/ under images: and so on11:38
freemangordonhow do you know that application/pdf is a document?11:38
uvoswell we need a database we maintain for basic types11:39
uvosand for others we hope the heuristic holds11:39
freemangordonhmm...11:40
freemangordonI think I have a better, albeit ugly idea11:40
uvostry to gues by Categories= of the applicaiton that provides the mime? i dont think this can be done sufficantly realiably11:42
freemangordonuvos: what about using generic-icon from specs?11:42
freemangordonlook at freedesktop.org.xml11:43
uvoslooks like it might hold11:44
uvosyeah11:44
freemangordonand we can always filter by sub-class-of11:44
uvosyeah sounds ok ish11:44
freemangordonmhm11:44
uvosbit ugly ofc going by the icon name11:44
freemangordonyeah, ugly11:44
freemangordonbut better than us maintaining our own db11:45
uvosyeah i think so to11:45
freemangordonok, have to do some RL work, bbl11:45
uvosttyl11:45
freemangordonwill ask Wizzup and parazyd then, if they have anything to add to this11:46
freemangordonttyl11:46
parazydWhy not use libmagic11:47
parazydOr is this about something else?11:48
uvosparazyd: we would also use libmaic instead of the current own maic database11:50
uvosparazyd: but this is more about catiorizing xdg mime types11:50
uvos*magic11:50
parazydaha so the problem is the 'application' type mostly?11:51
uvosyeah11:51
uvosapplication/ is not descriptive enough for hildon-mimes expectations11:52
mighty17[m]uvos: you dont mind if i upload the vid to matrix/element right?11:53
parazydYeah then in case of 'application' proably sub-type needs to be matched.11:53
uvosmighty17[m]: what about/ probubly no11:54
mighty17[m]so where should i put it then?11:56
uvosmighty17[m]: upload it to maxtrix and have it post a link here11:56
uvosits fine11:56
uvoswhats the video about?11:56
mighty17[m]yesterdays talk11:57
uvosok lets see it11:57
mighty17[m]about pvr artifact11:57
mighty17[m]uvos: data:video/mp4,12:08
uvos:(12:08
uvosi would have expected matrix to post a link12:08
Wizzupwe just see a mimetype12:08
uvosmighty17[m]: cant see it12:08
mighty17[m]https://matrix.to/#/!xbgJyIUhPvTgUGSPDF:matrix.org/$2deJ6vWCP8T8ibnYMNbV8cX10doKy0T_UC0ZZavNzyE?via=matrix.org12:08
Wizzuprequires an app to be installed12:08
mighty17[m]ughh12:09
mighty17[m]gimme a sec12:09
* mighty17[m] uploaded a video: (6622KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/aXANFphNFWzxriQATLKPiEUT/VID_20210930_153955.mp4 >12:10
uvosworks12:11
uvosmighty17[m]: hmm ok i dont see any artifacting but on d4 its only visible/noticeable durring smooth animations12:11
mighty17[m]uvos: maybe coz it goes from 0-60hz?12:13
uvosyeah maybe because of that12:13
uvosbut on d4 if you display over hdmi it also occures12:13
uvos(where its locked to 60)12:14
uvosi would be interesting if your device dident do it at all12:14
mighty17[m]i dont have hdmi support yet so cant test that12:14
uvossince we could try and find the differenc12:14
mighty17[m]i still think its due to my refresh rate being locked at 30hz12:14
uvosbut im not sure that video is conclusive again it only happens in smooth 3d accelerated operations12:15
* mighty17[m] uploaded a video: (7507KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/DsQnwMjBBPekceVpNVfedBQp/VID_20210930_152753.mp4 >12:15
mighty17[m]heres it at 60hz12:15
mighty17[m]smooth 3d accelerated operations, phosh is 3d accl :P12:15
mighty17[m]what do you want me to try tho12:15
uvoshildon-desktop idealy :P12:17
mighty17[m]well not possible on pmOS :P12:17
uvosi think the mesa demo es2_tri showed this problem12:17
uvosif you clicked space offent enough12:17
uvosbut i think it only works on x12:17
mighty17[m]no x on 1.17 :(12:18
uvoshmm yeah12:19
uvoshave you run plamo on it before?12:19
mighty17[m]plamo fails are pvr is missing some egl config12:20
uvosok12:20
uvoshmm12:20
uvosthen idk12:20
mighty17[m]sicelo: managed to run it once12:20
uvoson d4 yeah12:20
mighty17[m]glmark or smth?12:20
uvosidk if it shows in glmark12:20
uvosmaybe12:20
uvostry it and watch carefully12:20
mighty17[m]well i'll ask tell if it crashes pvr12:21
mighty17[m]s/ask/also12:21
Wizzupmighty17[m]: maybe add the things necessary for leste port?12:22
mighty17[m]Wizzup: leste already used to run with d4 rootfs but then my sdcard reader broke :(12:23
uvos:\12:23
Wizzupmighty17[m]: still, would be nice to get the kernel and other changes somewhere12:23
mighty17[m]guess what! pvr crashed https://paste.debian.net/1213842/12:24
mighty17[m]Wizzup: its in pmOS12:24
uvosmighty17[m]: hmm ok12:24
uvosmighty17[m]: no idea why your pvr is so crashy12:24
mighty17[m]i can send a patch here to see my dts if needed12:26
uvosnot that usefull to us12:26
* Wizzup has like 7 usb sd card readers12:26
uvosjust continue improving your device and we can add it to our kernel when its ready12:27
mighty17[m]https://paste.debian.net/1213844/ <- dts and https://pastebin.com/tmxvkkPE <- config, maybe i have something set wrong12:29
uvosmighty17[m]: so besides the dsi problems whats the general working state of the deivce rn?12:29
mighty17[m]uvos: well i'd like to fix 60hz and the backlight, but idkk what to do12:29
mighty17[m]uvos: sound and light sensor dont work (ie i havent started to work on them yet), cameras dont (thanks to ducati) well everything else works12:30
uvoswith the 60hz so i would grab the omap4 datasheet and dump the registers related to the dss12:30
uvosand do the same on android12:30
uvosand see if they are different12:30
uvosand then try and parse the difference12:30
uvosuse rwmem its pretty easy to build with the ndk for android12:31
uvosno idea about the backlight12:31
uvosbtw if you want we can send you a d4 to mess around with as well12:32
uvosmight be usefull to compear stuff and also maybe you can help us improve omap4 support in general12:32
mighty17[m]nah i dont think im the best guy to send a d4 to, d4s are already very rare :P12:33
uvosnot that rare but as you wish12:33
mighty17[m]uvos: im kinda sure i have the wrong pwm value, but cant find the correcet one12:33
uvosits connected to a omap4 pwm?12:34
mighty17[m]also did you see the 60hz vid i sent, maybe that'll help debugging (if its like a known issue or smth)12:34
mighty17[m]uvos: gptimer12:34
tmlindmighty17[m]: probably good idea to test also on d4 so you can compare12:34
mighty17[m]d4 and tab2 are quite different12:35
Wizzupfreemangordon: any idea about fremantle and firewall rules?13:21
bencohWizzup: nothing, according to iptables13:23
bencohie policy ACCEPT with no restriction whatsoever13:23
mighty17[m]Or maybe uvos it's a 1.9 thing (the artifacting)13:23
bencoh(which is kinda scary tbh)13:23
bencohI'm not certain it should go into anything "leste" anyway13:24
uvosmighty17[m]: no it happens on d4 on ddk 1.1713:26
mighty17[m]Hildon works with 1.17 now? That's news to me13:28
uvosno13:28
Wizzupbencoh: sorry, not certain what should go into anythign leste?13:28
uvosbut it do also have d4's that run debian/sway13:28
bencohWizzup: firewall management13:28
Wizzupmy mobile isp still gives me public v4s on my phone13:28
uvoson a phone its sane to discard all incomeing  by default or?13:28
bencohI'm not certain leste should take care of that part13:28
Wizzup+ stuff like tor transproxy requires iptable setups13:29
bencohWizzup: seriously? neat13:29
Wizzupjust looking into nftables vs iptables13:29
Wizzupbencoh: neat in some way, not really for my poor old linux fremantle n90013:29
bencohWizzup: I use iptables on fremantle13:29
Wizzupdebian buster+ seems to suggest nftables13:29
bencohyou can just drop any incoming connection13:30
bencohoh, they finally moved to nftables? interesting13:30
uvosiptables is mostly maintinaince mode now i would avoid using it13:30
uvosall desktop distros have swiched afaik13:30
bencohwell, I guess I still live in the past ... time to learn nftables13:30
bencohI'll probably hate it if it's a pf-like syntax though13:31
uvosno idea my router pc is still on iptables13:31
uvosso yeah im also lazy13:31
bencohI first heard about nftables 13 years ago, so ... it was about time I guess :D13:32
freemangordonis that kernel-side scripting?13:35
freemangordonWizzup: I am with bencoh on that - it is not us to deal with FW rules13:36
freemangordonwe *may* provide a UI someday for user to have some control13:36
bencohthey already replaced the kernel-side iptables/ebtables/whatever code with a common nft engine, and wrote a compatibility layer for the userspace ip/eb/arp/tables tools; but now users should migrate to the native userspace nft tool13:37
Wizzupfreemangordon: really? imho that's insane13:38
Wizzupbut ok13:38
bencohfreemangordon: Wizzup might have a point regarding tor applets and the likes though13:38
bencohbut I'm not certain we can provide a good solution13:38
WizzupI think the sane default is to *block* all stuff but ssh wrt open ports, there is no reason for a mobile device to just have all ports open13:38
uvosi also think since haveing a public ip on cellular13:39
Wizzupbut we can also just use default nft rules in debian which allow everything13:39
uvosits not sane to accept everything13:39
Wizzupyeah13:39
uvosi would at least have a rule that rejects all incomeing on wwan*13:39
freemangordonbut there should be a way (UI) for the user to punch through the FW13:40
Wizzupbencoh: there are iptables binaries that just work13:40
bencohWizzup: where/what?13:40
Wizzupbencoh: as in they can work on nftables13:40
Wizzupso there's a lot of compatibility there13:41
bencohah, yeah, that's pretty much what I tried to explain13:41
bencohbut I guess that wasn't clear :)13:41
Wizzupok13:41
uvosif you just reject everything on wwan i think its fine without a ui13:42
uvossomeone accessing the phone via its public ip on the cellular network is nice enough13:42
bencohuvos: if you really do that you should allow disabling that part13:42
freemangordon:nod:13:42
Wizzupfreemangordon: sure there will be ways to configure a firewall, there are many13:42
uvosthat i think its sane to have the user use cli13:42
freemangordonno13:42
uvosthat nice enouth13:42
uvosniche13:42
freemangordonthis is not desktop13:42
Wizzupwe could use https://firewalld.org/13:42
uvos?13:42
uvosright its not desktop13:42
freemangordonphone is not a desktop13:43
uvosaccessing the device via incomeing conecction on cellular is so out there13:43
bencohthe thing is ... once you start fiddling with firewall rules, you will always get in the way of power users13:43
uvosits not "phone" usage at all13:43
Wizzupthe point is that the only sane default is to reject all but the necessary input traffic (e.g. ssh maybe)13:43
Wizzupwe don't have to do it now, but eventually that will be a default13:43
freemangordonand why not torrents? or RTP?13:44
Wizzupit's pretty easy to add more ports to exclusion via whatever ui/ux you want13:44
Wizzuptorrents can work fine through firewalls13:44
bencohuvos: at some point I used tinc on my phone as well to access from anywhere13:44
Wizzupafaik13:44
freemangordonI want nothing basically in that regard :)13:44
bencohWizzup: it's messy as well13:44
uvosbencoh: and you have no poblem configuring the firewall yourself13:44
uvosbencoh: people that do this sort of thing are a very select crowd13:44
freemangordonthere is no active FW on fremantle13:44
bencohuvos: sure, but then I don't want my mobile-ish subsytem to push rules here and there13:45
freemangordonexactly13:45
freemangordonny moint13:45
freemangordon*my13:45
uvossure but a config file is suffichent here13:45
uvosno ui nessecary13:45
uvosor cli command13:45
freemangordonas soon as there is no default "restrict everything"13:45
freemangordonas soon as there is such a rule, you should be able to remove it through UI13:46
freemangordonGUI even13:46
bencoh"cli command" probably means trouble, config file might be enough, but then you'll have to make sure you don't break stuff (torrent / SIP / RTP / whatever)13:46
bencohand since I guess we'll always break something, fmg is probably right13:46
bencoha simple checkbox in the network/connection panel would work btw13:47
freemangordonmhm13:47
WizzupI strongly disagree but also don't care to discuss it more atm13:47
freemangordonok, lets discuss when it comes to it :)13:47
bencohalright :)13:47
freemangordonI also care more about mime types ATM13:48
freemangordonso, back to13:48
freemangordonuvos: I guess  x-office-presentation  is document, not image, what do you think?15:52
Wizzupsounds like power point slides15:53
Wizzupprobably provided by libreoffice15:53
freemangordonsure, the point is which category to put that15:53
freemangordon'documents' or 'images'15:53
freemangordonWizzup:  in terms of libhildonmime that is15:54
Wizzupdocuments15:54
freemangordonhttps://github.com/maemo-leste/libhildonmime/blob/master/libhildonmime/hildon-mime.h#L4015:54
freemangordonok15:54
Wizzupmeanwhile wg works nicely for public v4 - my d4 = 95.217.97.17415:55
Wizzup(just for now of course)15:56
Wizzupnot even one attempt in auth.log I am disappointed ;)15:58
Wizzupturned it off again15:58
sicelo:-)15:59
freemangordonuvos: images: application/illustrator application/vnd.corel-draw :p16:20
freemangordonthis is with algo I just came up with16:20
freemangordonit is a bit smarter than just looking at the icons though16:20
parazydfreemangordon: What widget is it in libhildon we can use to browse and select a file on the system?16:23
freemangordonit is in hildon-fm16:24
freemangordonHildonFileChooser or somesuch16:24
uvosfreemangordon: what algo?16:24
freemangordonwill push in a while, but basically:16:24
uvosfreemangordon: why is there a seperate HildonFileChooser instead of the gtk file chooser simply being changed to be touch frendly?16:25
freemangordonbecause it has almost nothing in common with gtk file chooser16:25
uvoswell you can just replace the code in qt and gtk3 you can also have the file choose live in a plugin16:25
freemangordon1. if media type is image audio etc, it assigns the appropriate category, otherwise16:27
freemangordon2. if there is no category assigned by the type, but there is icon, assign category based on the icon (if applicable)16:27
freemangordon3. if there is also osso category provided, use it if there is no category assigned by 1 and 216:27
uvosok16:27
uvossounds sane16:27
freemangordonif both 1 or 2 and osso assign category, prefer the one assigned by 1 or 216:27
uvosok16:28
uvosdid you replace the magic in the xml files with something else (libmagic)?16:28
freemangordonthis https://pastebin.com/7aBHV9nuis the result, no idea how to verify if it is correct16:28
freemangordonthe code I deal with does not touch those16:29
uvoswrong link16:29
freemangordonhmm works for me16:29
uvosThis page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.16:29
freemangordonoh, sorry16:29
freemangordonyeah16:29
freemangordonhttps://pastebin.com/7aBHV9nu16:30
uvosdocuments16:30
uvosapplication/mathematica16:30
uvoshmm16:30
freemangordonhmm?16:30
freemangordonis that wrong?16:30
uvosits a script16:30
freemangordonwell, doc file is a script too, no?16:31
freemangordon.doc16:31
freemangordonmore or less16:31
uvossortof yeah16:31
uvosbut mathematica files are more so scripts16:31
uvosbut i gues its arguable16:31
uvosit looks fine16:33
freemangordon<generic-icon name="x-office-document"/>16:33
uvosim sure its its mostly correct enough to not get in peoples way16:33
freemangordonthis is for application/mathematica16:33
freemangordonmhm16:33
freemangordonI don;t think we can do it any better16:33
uvos if both 1 or 2 and osso assign category, prefer the one assigned by 1 or 216:35
uvosmaybe you want to flip this16:35
uvosand remove all entrys16:35
uvosso we can selective override later16:35
uvosif we find something thats annoying16:35
freemangordonnot sure I understand correctly16:35
freemangordonah16:36
freemangordonhmm16:36
freemangordonright16:36
freemangordonok16:36
freemangordonuvos: wait, can;t be done16:37
freemangordonbecause files are parsed in arbitrary order16:37
freemangordonactually, the check makes sense only if we have both freedesktop and osso in the same file16:38
uvosah ok16:38
freemangordonotherwise whichever comes first remains, I refuse to add the same category more then once16:39
freemangordon*the same type16:39
uvoswell then scratch that, i gues the code could be improved by first parsing all files to grab the mimes and then assigning the categorys16:39
uvosbut its fine as is if thats too mutch work16:39
freemangordonmhm16:39
freemangordonsure it can be done, but lets do it when we really need it16:40
freemangordonfor now I think wat we have is fine16:40
uvosyes16:40
Wizzupfreemangordon: bencoh: looks like we have dns port opened on leste by default (dnsmasq probably binds to all interfaces)16:48
Wizzupseems like a firewall would easily take care of that problem16:48
buZzimho, just bind it to localhost16:49
Wizzupsure, that too16:49
buZzdont have to firewall :P16:49
bencohWizzup: :)16:49
Wizzupdefense in depth is better16:49
buZzhmhm16:49
bencohtbh I don't understand the default dnsmaq behavior on debian*16:50
mighty17[m]uvos: regarding PlaMo here's my log https://pastebin.com/ZvCSdQy2 any clues?16:50
Wizzupmost debian default behaviour I don't understand :P16:50
bencohhaha, same :)16:50
Wizzuplatest libicd-network-wireguard and libicd-network-tor should support proxying everything (for wireguard, set allowedips to 0.0.0.0/0, for tor, just enable transparent proxying)16:52
Wizzupthe tor stuff is still building fwiw16:52
Wizzupparazyd: we need to fix the network_modules writing17:01
Wizzupit happens on my d4 now too17:01
parazydYep17:01
freemangordonhmm, now the icon is wrong :(17:04
Wizzuphehe... wireguard tunnel system wide and tor system wide transproxy work together17:08
Wizzupneat.17:08
konaFreemangordon: Corel desperately believes that Draw still exists.  https://www.coreldraw.com/en/17:12
Wizzuphttps://wizzup.org/surf-tor.png17:12
freemangordonkona: mhm17:18
freemangordonyay, I see thumbnails when I want to attach image file :D17:18
Wizzup:D17:19
freemangordonparazyd: could you add hildon-thumbnail to the appropriate meta-package?17:19
freemangordonwithout that package no image thumbnails are shown when you browse the filesystem17:20
freemangordonok, this starts to look and feel like maemo :D17:23
Wizzup:)17:26
bencoh<317:28
bencoh(not that I was really happy with the tracker-indexer / thumbnailer though :])17:29
Wizzuphehe17:29
freemangordonimage thumbnailer is a dbus service which gets called when needed, IIUC17:35
freemangordonand we still do not have a tracker17:36
Wizzupfreemangordon: I see this on upgrade:17:36
Wizzup* Error in type 'application/x-stellarium-script'17:36
Wizzup*   (in /usr/share/mime/packages/stellarium.xml):17:36
Wizzup*   Unknown freedesktop.org field 'icon'.17:36
Wizzup***17:36
Wizzupnot sure if it's a problem17:36
freemangordonwho gives that error?17:37
WizzupSetting up hildon-update-category-database (3.1.0+2m7) ...17:37
bencohstellarium, as in, the astronomy thing?17:38
freemangordonI guess hildon-update-category-database does not understabd that element17:40
freemangordondo you have categories file created in usr/share/mime?17:40
freemangordonWizzup: ^^^17:40
Wizzupfreemangordon: do you ask if this file exists? /usr/share/mime/icons17:41
Wizzup# cat /usr/share/mime/icons17:41
Wizzupapplication/x-stellarium-script:stellarium17:41
freemangordonno /usr/share/mime/categories17:42
Wizzupyes17:42
freemangordondoes it look sane?17:42
WizzupI think so, I didn't follow along much, it contains 8 lines, some really long17:42
freemangordonright17:42
freemangordonit is fine then17:42
freemangordonwe may want to teach hildon-update-category-database to ignore "icon" instead of error out17:43
freemangordonbut it looks harmless17:43
freemangordonWizzup: here https://github.com/maemo-leste/libhildonmime/blob/master/libhildonmime/update-category-database.c#L30617:44
freemangordonhave to run, bbl17:44
Wizzupttyl17:48
uvosfreemangordon: btw we also need to unify X-Osso-URI-Scheme and desktop linux x-scheme-handler18:22
uvoseg xdg-open and hildon-uri should choose the same thing for sms://02930090293890318:22
uvosand http:// and so on18:23
freemangordonuvos: :nod:21:26
Wizzupfreemangordon: very fun to hear my d4 vibrate every now and then and actually show new mails21:41
Wizzupalso with the blue led indicator21:41
freemangordontoldya, it starts to look and feel like maemo :)21:43
freemangordonWizzup: parazyd: btw, we want iphbd and iphb-dkms along with thumbnailer21:44
Wizzupdkms?21:44
freemangordonmhm21:44
freemangordonkernel module21:44
Wizzupwhat does it do?21:44
freemangordonprovides kernel support for iphbd21:44
freemangordonhttps://github.com/maemo-leste/iphb-dkms21:44
Wizzupwhat does iphbd do21:44
freemangordonip heartbeat21:45
freemangordondaemon21:45
freemangordongroups ip traffic21:45
freemangordondecreases radio wakeups21:45
Wizzuphmm21:45
Wizzupis this something we can do with nftables or other modern kernel modules?21:45
freemangordonI don;t think so21:45
Wizzupit sounds like traffic shaping21:45
freemangordonsounds like, but is not21:46
freemangordonhttps://github.com/maemo-leste/iphbd/blob/master/iphbd/libiphb.h21:47
freemangordonit has userspace API as well21:47
Wizzupok21:47
Wizzupwell, I would be of the opinion that we can leave it out for now, but if you want to work on it, sure we can include it21:48
freemangordonhttps://talk.maemo.org/showthread.php?t=8970921:48
freemangordonwhat do you mean?21:48
freemangordonwe already have it, it just needs to be included in the metapackage21:48
Wizzupah, ok21:49
freemangordonmodest uses it too BTW21:49
Wizzupyeah the thread you linked mentioned it21:50
freemangordonlook at this https://github.com/maemo-leste/iphbd/blob/master/iphbd/hbtest.c#L621:51
freemangordonso, it kinda 'shapes' the traffic, but allows every application to set its own 'wake' timeout21:52
freemangordonand there is logic that tries to wake-up all the requesting applications at the same moment, vastly saving battery (in theory at least)21:53
freemangordonoh, seems parazyd added thumbnailer to the metapackage, thanks!21:55
parazydDidn't build it yet21:55
freemangordonyeah21:55
parazydBut feel free to trigger whenever21:55
freemangordonmaybe add iphbd and iphb-dkms firsrt21:56
freemangordonthough, lemme try if it builds still21:56
parazydIs it tested on devices?21:56
parazydYeah21:56
freemangordonlast time I tried was on kenel 4.6 or something21:56
freemangordonparazyd: no, but it is not device dependent21:56
freemangordonat least for 4.19.0-17-amd64 it is fine22:02
freemangordonparazyd: but, how to add dependency to kernel headers?22:03
WizzupI should go on talk.maemo.org some more22:03
freemangordonhmm?22:03
parazydfreemangordon: "linux-headers" I think22:03
parazydIt's a virtual pkg22:03
freemangordonWizzup: not that it is bad idea, but why in particular?22:04
freemangordonparazyd: ok, will try22:04
freemangordonE: Package 'linux-headers' has no installation candidate22:04
parazydThen "linux-headers-amd64 | linux-headers"22:04
parazydI suppose it doesn't exist on the VM22:05
parazydBut we have it on d4 kernel for example.22:05
freemangordonand what about on the devices?22:05
uvosi would strongly reccomend against something that needs out of tree kernel modules22:05
parazydfreemangordon: https://github.com/maemo-leste/droid4-linux/blob/maemo/beowulf-devel/debian/control#L2722:05
freemangordonuvos: why?22:05
freemangordonsince when the kernel is a holy cow we should not touch?22:06
uvosbecause we need manny kernels at different versions for different devices and maintaing that is going to be a nightmare22:06
freemangordonn22:07
freemangordonno22:07
uvosalso we want stuff to just work on $random device22:07
freemangordonit is 50 LOC module22:07
freemangordonand it will work22:07
uvosi dont care if its 50 lok or 500000000000000000000000000000000000000000000000000000000000 lok22:07
uvosit a terrible idea22:07
WizzupI mostly think it's not super relevant right now22:07
freemangordonwell, unless you provide a better way to have the same functionality, this is what we have22:07
uvoslaso its a 600 lok module22:11
freemangordonyes, 60022:12
freemangordonso?22:12
freemangordonit's been supported for the last 10 years, that would give you a clue of how hard is it to maintain22:12
freemangordonit originated from linux 2.6.2822:13
uvosit also dosent really do what you say22:13
freemangordonwhat did I say about the kernel module?22:14
uvosit dosent group ip traffic in any meainfull sense of the word22:14
freemangordonthis is what iphnd does22:14
freemangordonby waking-up the registered applications22:14
uvosjust delay tcp keepalive pakets specificly and hope that more come in22:14
freemangordonkernel module groups keep-alives22:14
freemangordonyes, it groups them ,see the flush code https://github.com/maemo-leste/iphb-dkms/blob/master/iphb.c#L15122:16
Wizzupuvos: do you know if it is possible to mirror the d4 screen over hdmi22:34
Wizzup(for capture purposes)22:34
uvosyes22:34
uvosworks fine22:34
uvoswhy?22:35
uvosxrandr --output HDMI-1 --auto --output DSI-1 --off ; killall hildon-desktop22:36
uvosi have a script called /usr/bin/switch-to-ext-dpl22:36
uvosthat dose that22:36
uvosmirror also works fine22:36
uvosjust remove the  --output DSI-1 --off22:36
uvosbut then the external display needs to support the same resolution22:37
uvosotherwise hildon will freak out22:37
uvoshildon freaks out anyways22:37
uvosthats why it needs to be restarted with killall22:37
uvoshdmi audio dosent work22:38
uvosi think it works again in 5.1422:38
uvosfreemangordon: so im looking at the kernel src, havent found it yet22:39
uvosbut im quite sure that the kernel uses a low accuracy qos timer for keepalives22:39
uvosso the module is quite pointless22:39
uvosi would also view iphbd in userspace with extream suspican22:40
uvosbut have other stuff to do rn22:40
Wizzupok @ mirror22:48

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