Pali has quit [Ping timeout: 245 seconds]
zhxt has joined #maemo-leste
cockroach has quit [Quit: leaving]
xmn has quit [Quit: ZZZzzz…]
<mighty17[m]> sicelo phosh depends on normal wlroots so it automatically installs it :(
<mighty17[m]> <buZz> "mighty17: is the flicker also..." <- Well charger isn't working in mainline xD, so this is without charger
<mighty17[m]> <tmlind> "PVR:(Error): PVRDisplayBufferCre..." <- Also what in the world is this error? I get it quite some times when running apps/games
<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 normally
<mighty17[m]> <uvos> "did you dump the dss regisers in..." <- I don't remember doing that, how'd I check it on mainline?
<mighty17[m]> Aaaand I spammed irc with matrix replies, extremely sorry guys
joerg has quit [Ping timeout: 245 seconds]
joerg has joined #maemo-leste
pere has quit [Ping timeout: 252 seconds]
<sicelo> mighty17[m]: phosh just needs libwlroots to be available. anything can provide it, and phosh won't know/care :-)
<mighty17[m]> sicelo: but phosh uses wlroots0.12 only idk why
<mighty17[m]> i even tried using provides="wlroots0.12" in apkbuild
<sicelo> right. so that's *the* problem :-)
<sicelo> means you need to be building that wlroots version too
<sicelo> or, try the wlroots 0.14 phosh - i think it's available already
<mighty17[m]> apk upgrade?
<sicelo> maybe not packaged in pmos yet. i don't know
<sicelo> or maybe i'm jumping the gun, but i seem to think there was some mention of a phosh branch using more recent wlroots
<sicelo> anyway, for now, 0.12 is clearly your friend
<mighty17[m]> Will stick to it
l_bratch has joined #maemo-leste
pere has joined #maemo-leste
n900 has quit [Read error: Connection reset by peer]
n900 has joined #maemo-leste
uvos has joined #maemo-leste
<uvos> freemangordon: how did the mime system work in freemantle? i noticed that the xdg mime system is broken or missing in most maemo applications
enyc has joined #maemo-leste
Pali has joined #maemo-leste
<freemangordon> uvos: there is libhildonmime
<freemangordon> ity works by using categories, which group mime type, IIUC
<freemangordon> *mime types
<uvos> but those dont work for maemo packaged applicaitons
<uvos> (like the pdf viewer and mihphoto for starters)
<freemangordon> maemo applications provide additional info
<uvos> the .dekstop files need to provide the xdg hint
<freemangordon> see /usr/share/mime/packages
<uvos> otherwise the pdfviwer is unusable with a linux filemanager for instance
<freemangordon> correct
<freemangordon> but for maemo file manager it doesn;t matter
<freemangordon> at it provides some osso- stuff
<freemangordon> *as it
<uvos> well hildon-uri also uses MimeType
<freemangordon> buth have to be fixed though
<uvos> so we can unify behavior as mutch as possible
<freemangordon> right
<uvos> ok sounds good
<freemangordon> my concern is more about categories
<uvos> whats a catigory in this instance?
<freemangordon> we need to find a way to somehow group mime types into categories
<freemangordon> sec
<uvos> xdg dose this
<uvos> its image/bmp for instance
<uvos> image/jpeg etc
<freemangordon> no, it is a list of mime types that are of specified category
<freemangordon> os 'images' is gpegs, pngs, etc
<freemangordon> *jpegs
<uvos> the lib could parse this list from the desktop files it sees
<freemangordon> but, adobe/cdr too, for example
<freemangordon> it parses from packages directory
<uvos> same
<freemangordon> but, it already does :)
<uvos> allready dose what?
<uvos> parse it from the .desktop files?
<freemangordon> the problem is that it looks for <osso:category name="documents"/>
<freemangordon> no, osso-pdf-viewer.xml for example
<freemangordon> it is in /usr/share/mime/packages
<freemangordon> seems there is a bug somewhere, pdf viewver should work from modest (to open pdf attachment)
<uvos> so 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 there
<uvos> this has the advantage that lx-open dosent need to know what can be an image
<freemangordon> smae
<freemangordon> *same
<uvos> if a new image format comes arround thats calld erf or something
<uvos> as sson as an app is installed what handles erf it just works
<freemangordon> but, do you have an example for that 'category' in .desktop file?
<uvos> erf as ian image category?
<uvos> *as an
<uvos> ?
<freemangordon> dunno
<uvos> yeah xdg specifies types of mimes
<uvos> like image/ document/ etc
<freemangordon> what is the key that identifies a category?
<uvos> MimeType=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-targa
<freemangordon> ok, but adobe/cdr is not image neither document
<uvos> this is what the string looks like
<uvos> right
<uvos> some are not so descriptive
<uvos> or rather dont fit into those catigorys that hildon-mime uses
<freemangordon> exactly, that's why nokia appended to specs I guess
<freemangordon> no, why, adobe/cdr is image, no?
<freemangordon> this is example I made up, I guess there are more appropriate ones
<uvos> i think image is supposed to be for bitmaps only
<uvos> hmm no
<freemangordon> png is not really a simple bitmap
<uvos> its svg too
<freemangordon> right
<uvos> freemangordon: i meant a raster image
<freemangordon> ah
<freemangordon> either ways, it is not only that
<uvos> no
<uvos> not sure where adobe/cdr comes from
<freemangordon> I made it up
<uvos> oh ok
<freemangordon> I am not eve sure coreldraw still exists
<freemangordon> *even
<uvos> ok
<uvos> anyhow seams sane
<freemangordon> mhm
<uvos> (hildon-mime implementation)
<freemangordon> though, most-probably mime type would be application/cdr
<freemangordon> yeah
<freemangordon> but I would really love if we can gather the info from upstream mime types
* freemangordon checks what is provided on fremantle
<uvos> atho im not sure if i love the seperate xml file
<uvos> can you link one?
<uvos> not sure why its needed over just adding x-osso-something keys to .desktop
<freemangordon> sec
<freemangordon> gimme a minute to get fremantle image viewer xml
<uvos> btw i dont know how osso_pdfviewer is supposed to work with mimes at all
<uvos> it dosent seam to allow you to open a pdf file at all via cli
<uvos> i tryed adding xdg mime to it beofre
<freemangordon> this is better example: https://pastebin.com/VjUZH8kh
<uvos> hmm so they have file type matching in there too
<freemangordon> mhm
<uvos> not sure we want to maintain our own database on that
<freemangordon> and they implement both namespaces
<freemangordon> me neither, that's why I am looking for a way to gather that info from upstream
<uvos> file --mime-type $file
<freemangordon> mime-type is fine
<freemangordon> the problem is with the category
<freemangordon> set
<freemangordon> *sec
<uvos> i dont think you can get the categorys you want (rather than the xdg ones) from upstream
<uvos> you need to match the mime-type to your own table
<uvos> (and use xdg ones as backup maybe)
<freemangordon> see https://pastebin.com/nZJMbSRv
<freemangordon> this is from my n900
<freemangordon> and this is really useful
<uvos> yeah we need something like that and if we encounter a mime not in the this file
<uvos> we use a heuristic based on the xdg mime
<uvos> ie put image/ under images: and so on
<freemangordon> how do you know that application/pdf is a document?
<uvos> well we need a database we maintain for basic types
<uvos> and for others we hope the heuristic holds
<freemangordon> hmm...
<freemangordon> I think I have a better, albeit ugly idea
<uvos> try to gues by Categories= of the applicaiton that provides the mime? i dont think this can be done sufficantly realiably
<freemangordon> uvos: what about using generic-icon from specs?
<freemangordon> look at freedesktop.org.xml
<uvos> looks like it might hold
<uvos> yeah
<freemangordon> and we can always filter by sub-class-of
<uvos> yeah sounds ok ish
<freemangordon> mhm
<uvos> bit ugly ofc going by the icon name
<freemangordon> yeah, ugly
<freemangordon> but better than us maintaining our own db
<uvos> yeah i think so to
<freemangordon> ok, have to do some RL work, bbl
<uvos> ttyl
<freemangordon> will ask Wizzup and parazyd then, if they have anything to add to this
<freemangordon> ttyl
<parazyd> Why not use libmagic
<parazyd> Or is this about something else?
<uvos> parazyd: we would also use libmaic instead of the current own maic database
<uvos> parazyd: but this is more about catiorizing xdg mime types
<uvos> *magic
<parazyd> aha so the problem is the 'application' type mostly?
<uvos> yeah
<uvos> application/ is not descriptive enough for hildon-mimes expectations
<mighty17[m]> uvos: you dont mind if i upload the vid to matrix/element right?
<parazyd> Yeah then in case of 'application' proably sub-type needs to be matched.
<uvos> mighty17[m]: what about/ probubly no
<mighty17[m]> so where should i put it then?
<uvos> mighty17[m]: upload it to maxtrix and have it post a link here
<uvos> its fine
<uvos> whats the video about?
<mighty17[m]> yesterdays talk
<uvos> ok lets see it
<mighty17[m]> about pvr artifact
xmn has joined #maemo-leste
<mighty17[m]> uvos: data:video/mp4,
<uvos> :(
<uvos> i would have expected matrix to post a link
<Wizzup> we just see a mimetype
<uvos> mighty17[m]: cant see it
<mighty17[m]> https://matrix.to/#/!xbgJyIUhPvTgUGSPDF:matrix.org/$2deJ6vWCP8T8ibnYMNbV8cX10doKy0T_UC0ZZavNzyE?via=matrix.org
<Wizzup> requires an app to be installed
<mighty17[m]> ughh
<mighty17[m]> gimme a sec
<uvos> works
<uvos> mighty17[m]: hmm ok i dont see any artifacting but on d4 its only visible/noticeable durring smooth animations
<mighty17[m]> uvos: maybe coz it goes from 0-60hz?
<uvos> yeah maybe because of that
<uvos> but on d4 if you display over hdmi it also occures
<uvos> (where its locked to 60)
<uvos> i would be interesting if your device dident do it at all
<mighty17[m]> i dont have hdmi support yet so cant test that
<uvos> since we could try and find the differenc
<mighty17[m]> i still think its due to my refresh rate being locked at 30hz
<uvos> but im not sure that video is conclusive again it only happens in smooth 3d accelerated operations
<mighty17[m]> heres it at 60hz
<mighty17[m]> smooth 3d accelerated operations, phosh is 3d accl :P
<mighty17[m]> what do you want me to try tho
<uvos> hildon-desktop idealy :P
<mighty17[m]> well not possible on pmOS :P
<uvos> i think the mesa demo es2_tri showed this problem
<uvos> if you clicked space offent enough
<uvos> but i think it only works on x
<mighty17[m]> no x on 1.17 :(
<uvos> hmm yeah
<uvos> have you run plamo on it before?
<mighty17[m]> plamo fails are pvr is missing some egl config
<uvos> ok
<uvos> hmm
<uvos> then idk
<mighty17[m]> sicelo: managed to run it once
<uvos> on d4 yeah
<mighty17[m]> glmark or smth?
<uvos> idk if it shows in glmark
<uvos> maybe
<uvos> try it and watch carefully
<mighty17[m]> well i'll ask tell if it crashes pvr
<mighty17[m]> s/ask/also
<Wizzup> mighty17[m]: maybe add the things necessary for leste port?
<mighty17[m]> Wizzup: leste already used to run with d4 rootfs but then my sdcard reader broke :(
<uvos> :\
<Wizzup> mighty17[m]: still, would be nice to get the kernel and other changes somewhere
<mighty17[m]> guess what! pvr crashed https://paste.debian.net/1213842/
<mighty17[m]> Wizzup: its in pmOS
<uvos> mighty17[m]: hmm ok
<uvos> mighty17[m]: no idea why your pvr is so crashy
<mighty17[m]> i can send a patch here to see my dts if needed
<uvos> not that usefull to us
* Wizzup has like 7 usb sd card readers
<uvos> just continue improving your device and we can add it to our kernel when its ready
<mighty17[m]> https://paste.debian.net/1213844/ <- dts and https://pastebin.com/tmxvkkPE <- config, maybe i have something set wrong
<uvos> mighty17[m]: so besides the dsi problems whats the general working state of the deivce rn?
<mighty17[m]> uvos: well i'd like to fix 60hz and the backlight, but idkk what to do
<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 works
<uvos> with the 60hz so i would grab the omap4 datasheet and dump the registers related to the dss
<uvos> and do the same on android
<uvos> and see if they are different
<uvos> and then try and parse the difference
<uvos> use rwmem its pretty easy to build with the ndk for android
<uvos> no idea about the backlight
<uvos> btw if you want we can send you a d4 to mess around with as well
<uvos> might be usefull to compear stuff and also maybe you can help us improve omap4 support in general
<mighty17[m]> nah i dont think im the best guy to send a d4 to, d4s are already very rare :P
<uvos> not that rare but as you wish
<mighty17[m]> uvos: im kinda sure i have the wrong pwm value, but cant find the correcet one
<uvos> its connected to a omap4 pwm?
<mighty17[m]> also did you see the 60hz vid i sent, maybe that'll help debugging (if its like a known issue or smth)
<mighty17[m]> uvos: gptimer
<tmlind> mighty17[m]: probably good idea to test also on d4 so you can compare
<mighty17[m]> d4 and tab2 are quite different
pere has quit [Ping timeout: 245 seconds]
DPA- has quit [Quit: ZNC 1.8.2+deb2~bpo10+1 - https://znc.in]
DPA has joined #maemo-leste
zhxt has quit [Ping timeout: 252 seconds]
<Wizzup> freemangordon: any idea about fremantle and firewall rules?
<bencoh> Wizzup: nothing, according to iptables
<bencoh> ie policy ACCEPT with no restriction whatsoever
<mighty17[m]> Or maybe uvos it's a 1.9 thing (the artifacting)
<bencoh> (which is kinda scary tbh)
<bencoh> I'm not certain it should go into anything "leste" anyway
<uvos> mighty17[m]: no it happens on d4 on ddk 1.17
<mighty17[m]> Hildon works with 1.17 now? That's news to me
<uvos> no
<Wizzup> bencoh: sorry, not certain what should go into anythign leste?
<uvos> but it do also have d4's that run debian/sway
<bencoh> Wizzup: firewall management
<Wizzup> my mobile isp still gives me public v4s on my phone
<uvos> on a phone its sane to discard all incomeing by default or?
<bencoh> I'm not certain leste should take care of that part
<Wizzup> + stuff like tor transproxy requires iptable setups
<bencoh> Wizzup: seriously? neat
<Wizzup> just looking into nftables vs iptables
<Wizzup> bencoh: neat in some way, not really for my poor old linux fremantle n900
<bencoh> Wizzup: I use iptables on fremantle
<Wizzup> debian buster+ seems to suggest nftables
<bencoh> you can just drop any incoming connection
<bencoh> oh, they finally moved to nftables? interesting
<uvos> iptables is mostly maintinaince mode now i would avoid using it
<uvos> all desktop distros have swiched afaik
<bencoh> well, I guess I still live in the past ... time to learn nftables
<bencoh> I'll probably hate it if it's a pf-like syntax though
<uvos> no idea my router pc is still on iptables
<uvos> so yeah im also lazy
<bencoh> I first heard about nftables 13 years ago, so ... it was about time I guess :D
<freemangordon> is that kernel-side scripting?
<freemangordon> Wizzup: I am with bencoh on that - it is not us to deal with FW rules
<freemangordon> we *may* provide a UI someday for user to have some control
<bencoh> they 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 tool
<Wizzup> freemangordon: really? imho that's insane
<Wizzup> but ok
<bencoh> freemangordon: Wizzup might have a point regarding tor applets and the likes though
<bencoh> but I'm not certain we can provide a good solution
<Wizzup> I 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 open
<uvos> i also think since haveing a public ip on cellular
<Wizzup> but we can also just use default nft rules in debian which allow everything
<uvos> its not sane to accept everything
<Wizzup> yeah
<uvos> i would at least have a rule that rejects all incomeing on wwan*
<freemangordon> but there should be a way (UI) for the user to punch through the FW
<Wizzup> bencoh: there are iptables binaries that just work
<bencoh> Wizzup: where/what?
<Wizzup> bencoh: as in they can work on nftables
<Wizzup> so there's a lot of compatibility there
<bencoh> ah, yeah, that's pretty much what I tried to explain
<bencoh> but I guess that wasn't clear :)
<Wizzup> ok
<uvos> if you just reject everything on wwan i think its fine without a ui
<uvos> someone accessing the phone via its public ip on the cellular network is nice enough
<bencoh> uvos: if you really do that you should allow disabling that part
<freemangordon> :nod:
<Wizzup> freemangordon: sure there will be ways to configure a firewall, there are many
<uvos> that i think its sane to have the user use cli
<freemangordon> no
<uvos> that nice enouth
<uvos> niche
<freemangordon> this is not desktop
<Wizzup> we could use https://firewalld.org/
<uvos> ?
<uvos> right its not desktop
<freemangordon> phone is not a desktop
<uvos> accessing the device via incomeing conecction on cellular is so out there
<bencoh> the thing is ... once you start fiddling with firewall rules, you will always get in the way of power users
<uvos> its not "phone" usage at all
<Wizzup> the point is that the only sane default is to reject all but the necessary input traffic (e.g. ssh maybe)
<Wizzup> we don't have to do it now, but eventually that will be a default
<freemangordon> and why not torrents? or RTP?
<Wizzup> it's pretty easy to add more ports to exclusion via whatever ui/ux you want
<Wizzup> torrents can work fine through firewalls
<bencoh> uvos: at some point I used tinc on my phone as well to access from anywhere
<Wizzup> afaik
<freemangordon> I want nothing basically in that regard :)
<bencoh> Wizzup: it's messy as well
<uvos> bencoh: and you have no poblem configuring the firewall yourself
<uvos> bencoh: people that do this sort of thing are a very select crowd
<freemangordon> there is no active FW on fremantle
<bencoh> uvos: sure, but then I don't want my mobile-ish subsytem to push rules here and there
<freemangordon> exactly
<freemangordon> ny moint
<freemangordon> *my
<uvos> sure but a config file is suffichent here
<uvos> no ui nessecary
<uvos> or cli command
<freemangordon> as soon as there is no default "restrict everything"
<freemangordon> as soon as there is such a rule, you should be able to remove it through UI
<freemangordon> GUI even
<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)
<bencoh> and since I guess we'll always break something, fmg is probably right
<bencoh> a simple checkbox in the network/connection panel would work btw
<freemangordon> mhm
<Wizzup> I strongly disagree but also don't care to discuss it more atm
<freemangordon> ok, lets discuss when it comes to it :)
<bencoh> alright :)
<freemangordon> I also care more about mime types ATM
<freemangordon> so, back to
pere has joined #maemo-leste
xmn has quit [Ping timeout: 245 seconds]
<freemangordon> uvos: I guess x-office-presentation is document, not image, what do you think?
<Wizzup> sounds like power point slides
<Wizzup> probably provided by libreoffice
<freemangordon> sure, the point is which category to put that
<freemangordon> 'documents' or 'images'
<freemangordon> Wizzup: in terms of libhildonmime that is
<Wizzup> documents
<freemangordon> ok
<Wizzup> meanwhile wg works nicely for public v4 - my d4 = 95.217.97.174
<Wizzup> (just for now of course)
<Wizzup> not even one attempt in auth.log I am disappointed ;)
<Wizzup> turned it off again
<sicelo> :-)
<freemangordon> uvos: images: application/illustrator application/vnd.corel-draw :p
<freemangordon> this is with algo I just came up with
<freemangordon> it is a bit smarter than just looking at the icons though
<parazyd> freemangordon: What widget is it in libhildon we can use to browse and select a file on the system?
<freemangordon> it is in hildon-fm
<freemangordon> HildonFileChooser or somesuch
<uvos> freemangordon: what algo?
<freemangordon> will push in a while, but basically:
<uvos> freemangordon: why is there a seperate HildonFileChooser instead of the gtk file chooser simply being changed to be touch frendly?
<freemangordon> because it has almost nothing in common with gtk file chooser
<uvos> well you can just replace the code in qt and gtk3 you can also have the file choose live in a plugin
<freemangordon> 1. if media type is image audio etc, it assigns the appropriate category, otherwise
<freemangordon> 2. if there is no category assigned by the type, but there is icon, assign category based on the icon (if applicable)
<freemangordon> 3. if there is also osso category provided, use it if there is no category assigned by 1 and 2
<uvos> ok
<uvos> sounds sane
<freemangordon> if both 1 or 2 and osso assign category, prefer the one assigned by 1 or 2
<uvos> ok
<uvos> did you replace the magic in the xml files with something else (libmagic)?
<freemangordon> this https://pastebin.com/7aBHV9nuis the result, no idea how to verify if it is correct
<freemangordon> the code I deal with does not touch those
<uvos> wrong link
<freemangordon> hmm works for me
<uvos> This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff.
<freemangordon> oh, sorry
<freemangordon> yeah
<uvos> documents
<uvos> application/mathematica
<uvos> hmm
<freemangordon> hmm?
<freemangordon> is that wrong?
<uvos> its a script
<freemangordon> well, doc file is a script too, no?
<freemangordon> .doc
<freemangordon> more or less
<uvos> sortof yeah
<uvos> but mathematica files are more so scripts
<uvos> but i gues its arguable
<uvos> it looks fine
<freemangordon> <generic-icon name="x-office-document"/>
<uvos> im sure its its mostly correct enough to not get in peoples way
<freemangordon> this is for application/mathematica
<freemangordon> mhm
<freemangordon> I don;t think we can do it any better
<uvos> if both 1 or 2 and osso assign category, prefer the one assigned by 1 or 2
<uvos> maybe you want to flip this
<uvos> and remove all entrys
<uvos> so we can selective override later
<uvos> if we find something thats annoying
<freemangordon> not sure I understand correctly
<freemangordon> ah
<freemangordon> hmm
<freemangordon> right
<freemangordon> ok
<freemangordon> uvos: wait, can;t be done
<freemangordon> because files are parsed in arbitrary order
<freemangordon> actually, the check makes sense only if we have both freedesktop and osso in the same file
<uvos> ah ok
<freemangordon> otherwise whichever comes first remains, I refuse to add the same category more then once
<freemangordon> *the same type
<uvos> well then scratch that, i gues the code could be improved by first parsing all files to grab the mimes and then assigning the categorys
<uvos> but its fine as is if thats too mutch work
<freemangordon> mhm
<freemangordon> sure it can be done, but lets do it when we really need it
<freemangordon> for now I think wat we have is fine
<uvos> yes
<Wizzup> freemangordon: bencoh: looks like we have dns port opened on leste by default (dnsmasq probably binds to all interfaces)
<Wizzup> seems like a firewall would easily take care of that problem
<buZz> imho, just bind it to localhost
<Wizzup> sure, that too
<buZz> dont have to firewall :P
<bencoh> Wizzup: :)
<Wizzup> defense in depth is better
<buZz> hmhm
<bencoh> tbh I don't understand the default dnsmaq behavior on debian*
<mighty17[m]> uvos: regarding PlaMo here's my log https://pastebin.com/ZvCSdQy2 any clues?
<Wizzup> most debian default behaviour I don't understand :P
<bencoh> haha, same :)
DPA has quit [Ping timeout: 264 seconds]
<Wizzup> latest 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)
<Wizzup> the tor stuff is still building fwiw
DPA has joined #maemo-leste
<Wizzup> parazyd: we need to fix the network_modules writing
<Wizzup> it happens on my d4 now too
<parazyd> Yep
<freemangordon> hmm, now the icon is wrong :(
zhxt has joined #maemo-leste
<Wizzup> hehe... wireguard tunnel system wide and tor system wide transproxy work together
<Wizzup> neat.
<kona> Freemangordon: Corel desperately believes that Draw still exists. https://www.coreldraw.com/en/
_inky has quit [Ping timeout: 245 seconds]
<freemangordon> kona: mhm
<freemangordon> yay, I see thumbnails when I want to attach image file :D
<Wizzup> :D
<freemangordon> parazyd: could you add hildon-thumbnail to the appropriate meta-package?
<freemangordon> without that package no image thumbnails are shown when you browse the filesystem
<freemangordon> ok, this starts to look and feel like maemo :D
<Wizzup> :)
_inky has joined #maemo-leste
<bencoh> <3
<bencoh> (not that I was really happy with the tracker-indexer / thumbnailer though :])
<Wizzup> hehe
<freemangordon> image thumbnailer is a dbus service which gets called when needed, IIUC
<freemangordon> and we still do not have a tracker
<Wizzup> freemangordon: I see this on upgrade:
<Wizzup> * Error in type 'application/x-stellarium-script'
<Wizzup> * (in /usr/share/mime/packages/stellarium.xml):
<Wizzup> ***
<Wizzup> * Unknown freedesktop.org field 'icon'.
<Wizzup> not sure if it's a problem
<freemangordon> who gives that error?
<Wizzup> Setting up hildon-update-category-database (3.1.0+2m7) ...
<bencoh> stellarium, as in, the astronomy thing?
<freemangordon> I guess hildon-update-category-database does not understabd that element
<freemangordon> do you have categories file created in usr/share/mime?
<freemangordon> Wizzup: ^^^
<Wizzup> freemangordon: do you ask if this file exists? /usr/share/mime/icons
<Wizzup> # cat /usr/share/mime/icons
<Wizzup> application/x-stellarium-script:stellarium
<freemangordon> no /usr/share/mime/categories
<Wizzup> yes
<freemangordon> does it look sane?
<Wizzup> I think so, I didn't follow along much, it contains 8 lines, some really long
<freemangordon> right
<freemangordon> it is fine then
<freemangordon> we may want to teach hildon-update-category-database to ignore "icon" instead of error out
<freemangordon> but it looks harmless
<freemangordon> have to run, bbl
<Wizzup> ttyl
elastic_1 has joined #maemo-leste
elastic_dog has quit [Read error: Connection reset by peer]
elastic_dog has joined #maemo-leste
elastic_1 has quit [Ping timeout: 245 seconds]
zhxt has quit [Ping timeout: 245 seconds]
<uvos> freemangordon: btw we also need to unify X-Osso-URI-Scheme and desktop linux x-scheme-handler
<uvos> eg xdg-open and hildon-uri should choose the same thing for sms://029300902938903
<uvos> and http:// and so on
sicelo has quit [Quit: Bye!]
sicelo has joined #maemo-leste
sicelo has quit [Changing host]
sicelo has joined #maemo-leste
Pali_ has joined #maemo-leste
Pali has quit [Killed (mercury.libera.chat (Nickname regained by services))]
Pali_ is now known as Pali
mardy_2nd has joined #maemo-leste
sunshavi_ has joined #maemo-leste
branon_ has joined #maemo-leste
branon_ has quit [Remote host closed the connection]
branon_ has joined #maemo-leste
n9001 has joined #maemo-leste
branon has quit [Killed (NickServ (GHOST command used by branon_))]
elastic_dog has quit [*.net *.split]
n900 has quit [*.net *.split]
mardy has quit [*.net *.split]
Danct12 has quit [*.net *.split]
sunshavi has quit [*.net *.split]
branon_ is now known as branon
peetah has quit [Quit: -]
drrrty has joined #maemo-leste
drrty has quit [Read error: Connection reset by peer]
peetah has joined #maemo-leste
elastic_dog has joined #maemo-leste
Daanct12 has joined #maemo-leste
elastic_dog has quit [Max SendQ exceeded]
elastic_dog has joined #maemo-leste
bencoh_ has joined #maemo-leste
doc has quit [Ping timeout: 265 seconds]
mardy_2nd has quit [Ping timeout: 265 seconds]
bencoh has quit [Ping timeout: 265 seconds]
doc has joined #maemo-leste
mardy_2nd has joined #maemo-leste
l_bratch has quit [Ping timeout: 240 seconds]
l_bratch has joined #maemo-leste
<freemangordon> uvos: :nod:
<Wizzup> freemangordon: very fun to hear my d4 vibrate every now and then and actually show new mails
<Wizzup> also with the blue led indicator
<freemangordon> toldya, it starts to look and feel like maemo :)
<freemangordon> Wizzup: parazyd: btw, we want iphbd and iphb-dkms along with thumbnailer
<Wizzup> dkms?
<freemangordon> mhm
<freemangordon> kernel module
<Wizzup> what does it do?
<freemangordon> provides kernel support for iphbd
<Wizzup> what does iphbd do
<freemangordon> ip heartbeat
<freemangordon> daemon
<freemangordon> groups ip traffic
<freemangordon> decreases radio wakeups
<Wizzup> hmm
<Wizzup> is this something we can do with nftables or other modern kernel modules?
<freemangordon> I don;t think so
<Wizzup> it sounds like traffic shaping
<freemangordon> sounds like, but is not
<freemangordon> it has userspace API as well
<Wizzup> ok
<Wizzup> well, 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 it
<freemangordon> what do you mean?
<freemangordon> we already have it, it just needs to be included in the metapackage
<Wizzup> ah, ok
<freemangordon> modest uses it too BTW
<Wizzup> yeah the thread you linked mentioned it
<freemangordon> so, it kinda 'shapes' the traffic, but allows every application to set its own 'wake' timeout
<freemangordon> and there is logic that tries to wake-up all the requesting applications at the same moment, vastly saving battery (in theory at least)
<freemangordon> oh, seems parazyd added thumbnailer to the metapackage, thanks!
<parazyd> Didn't build it yet
<freemangordon> yeah
<parazyd> But feel free to trigger whenever
<freemangordon> maybe add iphbd and iphb-dkms firsrt
<freemangordon> though, lemme try if it builds still
<parazyd> Is it tested on devices?
<parazyd> Yeah
<freemangordon> last time I tried was on kenel 4.6 or something
<freemangordon> parazyd: no, but it is not device dependent
<freemangordon> at least for 4.19.0-17-amd64 it is fine
<freemangordon> parazyd: but, how to add dependency to kernel headers?
<Wizzup> I should go on talk.maemo.org some more
<freemangordon> hmm?
<parazyd> freemangordon: "linux-headers" I think
<parazyd> It's a virtual pkg
<freemangordon> Wizzup: not that it is bad idea, but why in particular?
<freemangordon> parazyd: ok, will try
<freemangordon> E: Package 'linux-headers' has no installation candidate
__20h__ has quit [Ping timeout: 260 seconds]
hallyn has quit [Ping timeout: 240 seconds]
sixwheeledbeast has quit [Ping timeout: 264 seconds]
<parazyd> Then "linux-headers-amd64 | linux-headers"
<parazyd> I suppose it doesn't exist on the VM
<parazyd> But we have it on d4 kernel for example.
<freemangordon> and what about on the devices?
jessicant has quit [Ping timeout: 265 seconds]
__20h__ has joined #maemo-leste
<uvos> i would strongly reccomend against something that needs out of tree kernel modules
<freemangordon> uvos: why?
sixwheeledbeast has joined #maemo-leste
jessicant has joined #maemo-leste
hallyn has joined #maemo-leste
<freemangordon> since when the kernel is a holy cow we should not touch?
<uvos> because we need manny kernels at different versions for different devices and maintaing that is going to be a nightmare
<freemangordon> n
<freemangordon> no
<uvos> also we want stuff to just work on $random device
<freemangordon> it is 50 LOC module
<freemangordon> and it will work
<uvos> i dont care if its 50 lok or 500000000000000000000000000000000000000000000000000000000000 lok
<uvos> it a terrible idea
<Wizzup> I mostly think it's not super relevant right now
<freemangordon> well, unless you provide a better way to have the same functionality, this is what we have
<uvos> laso its a 600 lok module
<freemangordon> yes, 600
<freemangordon> so?
<freemangordon> it's been supported for the last 10 years, that would give you a clue of how hard is it to maintain
<freemangordon> it originated from linux 2.6.28
<uvos> it also dosent really do what you say
<freemangordon> what did I say about the kernel module?
<uvos> it dosent group ip traffic in any meainfull sense of the word
<freemangordon> this is what iphnd does
<freemangordon> by waking-up the registered applications
<uvos> just delay tcp keepalive pakets specificly and hope that more come in
<freemangordon> kernel module groups keep-alives
<freemangordon> yes, it groups them ,see the flush code https://github.com/maemo-leste/iphb-dkms/blob/master/iphb.c#L151
<Wizzup> uvos: do you know if it is possible to mirror the d4 screen over hdmi
<Wizzup> (for capture purposes)
<uvos> yes
<uvos> works fine
<uvos> why?
<uvos> xrandr --output HDMI-1 --auto --output DSI-1 --off ; killall hildon-desktop
<uvos> i have a script called /usr/bin/switch-to-ext-dpl
<uvos> that dose that
<uvos> mirror also works fine
<uvos> just remove the --output DSI-1 --off
<uvos> but then the external display needs to support the same resolution
<uvos> otherwise hildon will freak out
<uvos> hildon freaks out anyways
<uvos> thats why it needs to be restarted with killall
<uvos> hdmi audio dosent work
<uvos> i think it works again in 5.14
<uvos> freemangordon: so im looking at the kernel src, havent found it yet
<uvos> but im quite sure that the kernel uses a low accuracy qos timer for keepalives
<uvos> so the module is quite pointless
<uvos> i would also view iphbd in userspace with extream suspican
<uvos> but have other stuff to do rn
uvos has quit [Quit: Konversation terminated!]
<Wizzup> ok @ mirror
l_bratch has quit [Ping timeout: 265 seconds]
xmn has joined #maemo-leste
l_bratch has joined #maemo-leste
DPA has quit [Ping timeout: 252 seconds]
DPA has joined #maemo-leste
elastic_dog has quit [Quit: elastic_dog]
elastic_1 has joined #maemo-leste
Pali has quit [Ping timeout: 268 seconds]
belcher has quit [Ping timeout: 252 seconds]
belcher has joined #maemo-leste