belcher has quit [Ping timeout: 252 seconds]
belcher has joined #maemo-leste
zhxt has joined #maemo-leste
linmob has quit [Ping timeout: 252 seconds]
linmob has joined #maemo-leste
linmob has quit [Remote host closed the connection]
linmob has joined #maemo-leste
ikmaak has quit [Ping timeout: 248 seconds]
ikmaak has joined #maemo-leste
joerg has quit [Ping timeout: 252 seconds]
joerg has joined #maemo-leste
zhxt has quit [Ping timeout: 240 seconds]
mardy has joined #maemo-leste
lyubov has quit [Ping timeout: 240 seconds]
lyubov has joined #maemo-leste
uvos has joined #maemo-leste
zhxt has joined #maemo-leste
pere has quit [Ping timeout: 245 seconds]
uvos has quit [Quit: Konversation terminated!]
Twig has joined #maemo-leste
pere has joined #maemo-leste
inky_ has quit [Ping timeout: 252 seconds]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 244 seconds]
Twig has quit [Remote host closed the connection]
inky has joined #maemo-leste
inky_ has quit [Ping timeout: 252 seconds]
xmn has quit [Ping timeout: 252 seconds]
xmn has joined #maemo-leste
<freemangordon> uh, abook needs modest
<Wizzup> heh
<Wizzup> what for?
<freemangordon> send contact
<freemangordon> maybe I shall replace that with some xdg thing
<freemangordon> who was on modest? kona?
<freemangordon> hmm, wait
<freemangordon> actually this is in modest repo, but not the same package
<Wizzup> ok
<Wizzup> I think porting modest might not be too much work initially, but it's been a while since I checked
<freemangordon> maybe I shall jump on that
<freemangordon> it is also a good test-case for abook
<Wizzup> *nod*
<freemangordon> I wonder if I shall jump on whatever was done by that 'zero' guy on github
* freemangordon checks
<freemangordon> hmm, nullmark is not here
<Wizzup> I think his documentation is useful
<Wizzup> I don't think he did a lot of coding work
<Wizzup> it's worth a read
<Wizzup> it sounds like porting from gvfs to gio and then porting to the newer gtkhtml (3.8 to 4.0) would mostly get us there
<Wizzup> from his research
<freemangordon> I am reading through the readme and I am not sure I understand all of it
<freemangordon> oh, we already have a repo
<freemangordon> good
<Wizzup> if this is fast and lightweight, it might be useful for conversations too
<freemangordon> right
<freemangordon> but, can;t we embed some real web engine?
<freemangordon> but ok, lets get to it first
<freemangordon> tinymail is first
<Wizzup> eventually we might not want gtkhtml, but I think for now porting to 4.x makes sense
<freemangordon> ok
uvos has joined #maemo-leste
<uvos> freemangordon: what dose abook need modest for exactly
<uvos> freemangordon: send contact means its sends a vcard via email or what?
<freemangordon> yes
<freemangordon> send vcf via email
<freemangordon> actually it needs libmodest-dbus-client, but...
<uvos> so use xdg-email maybe?
<uvos> seams to work fine here on desktop
<freemangordon> this is async, right?
<freemangordon> no sane resultcode I guess
<uvos> hmm maybe its not terribly usefull
<freemangordon> also, it seems we cannot attach more than one file :(
<uvos> it allows you to send a email
<Wizzup> in modest, or?
<Wizzup> having modest in any case would be great
<uvos> in whatever is registerd as mailto mime
<freemangordon> Wizzup: I am non it
<uvos> but the client is required by spec to ask for confirmation
<uvos> (ie open a window with the email writen for the user to click send on or a message box)
<uvos> it dose work fine on d4 with trojita too
zhxt has quit [Ping timeout: 244 seconds]
zhxt has joined #maemo-leste
lyubov has quit [Ping timeout: 252 seconds]
lyubov has joined #maemo-leste
<freemangordon> Wizzup: shall I keep compatibility with fremantle?
<Wizzup> freemangordon: in what way?
<Wizzup> I'd argue no
<Wizzup> if it's about glib defines or something
<freemangordon> like g_type_class_add_private being deprecated
<freemangordon> but I guess I can #ifdef that
<Wizzup> I'd remove that tbh
<freemangordon> but that would mean we'll need to remove support for anything else but leste from the build system
<freemangordon> and this is harder TBH
<Wizzup> up to you then :)
<freemangordon> ok :)
<freemangordon> BTW, it builds fine, without html renderer so far
<Wizzup> check
<Wizzup> freemangordon: I think it builds without gvfs then
<freemangordon> sure
<freemangordon> I modified the build scripts
<freemangordon> I guess I shall create a new (gio) module that replaces gnomevfs
<freemangordon> and port modest to that
<Wizzup> right
<freemangordon> ok, not going to fix deprecations now
<freemangordon> lets first have it up and running
inky has quit [Remote host closed the connection]
<tmlind> sicelo, uvos: pushed out also wlroots-0.14.1 branch that can be used with sway-1.6.1, see the pmos bug for more info at https://gitlab.com/postmarketOS/pmaports/-/issues/932
inky_ has joined #maemo-leste
inky_ has quit [Client Quit]
inky has joined #maemo-leste
<tmlind> no luck so far with current wlroots with weston-simple-egl with dmabuf instead of EXT_image_dma_buf_import like wlroots-0.14.1 is still using
<tmlind> i wonder if there is some dmabuf issue also involved somewhere with the pvr_egl_shim?
<freemangordon> tmlind: hmm, what exactly does not work?
pere has quit [Ping timeout: 256 seconds]
<tmlind> freemangordon: so wlroots uses EXT_image_dma_buf_import up to 0.14.1, then drops it and uses dmabuf
<freemangordon> dmebuf like BO?
<freemangordon> or, what is dmabuf?
<freemangordon> bo == gbm
<tmlind> yeah i guess the buf comes via gbm
<freemangordon> this should work
<freemangordon> do you have some error message or anything that demonstrates "does not work"?
joerg has quit [Quit: EEEEEEK]
joerg has joined #maemo-leste
<uvos> glamor uses EXT_image_dma_buf_import i think
* freemangordon checks
<tmlind> ok
<tmlind> EXT_image_dma_buf_import works with earlier wlroots for weston-simple-egl
<tmlind> weston-simple-dmabuf-egl i've never seen working and it produces some pvr blob error
<uvos> ok but ofc dmabuf not working might point to deeper issues
<tmlind> right
<freemangordon> I don;t think dmabuf is supposed to work at all, unless I am missing something, it is GBM that should work. IIUC/IIRC dmabuf is platform specific
<uvos> sure but the pvr driver must be mangining the gbm buffers in kernel somehow
<tmlind> well yeah non-working dmabuf is an issue :) so making sure glamor uses EXT_image_dma_buf_import might fix pvr_egl_shim?
<uvos> should be dambuf there no
<uvos> (im not sure how pvrk works ofc)
<freemangordon> glamor uses eglCreateImageKHR
<freemangordon> to import gbm bo
<freemangordon> this *is not* dmabuf afaik
<freemangordon> I don;t think pvr blobs support EXT_image_dma_buf_import
<tmlind> oh sorry wrong property, just a sec
<freemangordon> I don;t remember seeing it announced
<uvos> pretty sure its implemented in terms of dmabuf
<uvos> (in kernel)
<freemangordon> you mean gbm?
<tmlind> i meant what is known to work is using EGL_WL_bind_wayland_display
<uvos> yeah
<freemangordon> uvos: might be
<freemangordon> but from user POV those are different
<freemangordon> dma_buf uses proprietary ioctl codes to map/unmap etc
<freemangordon> after all everything should end up in the video memory
<uvos> glamor certenly checks for EGL_EXT_image_dma_buf_import
<freemangordon> BTW, gbm does not even allow you to mpa
<uvos> but if pvr dosent expose it its not useing it ofc
<freemangordon> uvos: modesetting uses GBM, not DMA_BUF
<freemangordon> so is glamor
<tmlind> sorry i pasted wrong buffer above, so what i meant is wlroots up to 0.14.1 uses EGL_WL_bind_wayland_display for weston-simple-egl and that works, dmabuf for later wlroots does not work
<freemangordon> tmlind: I am confused
<tmlind> yes sorry
<uvos> glamor uses it for GBM_BO_WITH_MODIFIERS
<uvos> (its not relevant just mentioning)
<freemangordon> uvos: which is disabled
<uvos> right
<freemangordon> also, GBM_BO_WITH_MODIFIERS is still not DMA_BUF API
<uvos> no
<freemangordon> look at gbm.h
<tmlind> i guess no way to test pvr_egl_shim with EGL_WL_bind_wayland_display? probably best to compare glamor usage against kmscube etc
<uvos> kmscube uses gbm
<freemangordon> right
<tmlind> and is working
<uvos> trivial usage of gbm tends to work ok
<freemangordon> bo with modifiers is basically several planes, IIRC
<freemangordon> but it still a BO, not DMA_BUF
<tmlind> just in case, if glamor is using EXT_image_dma_buf_import, and sgx blobs do not provide EGL_EXT_image_dma_buf_import_modifiers, glamor might be setting wrong default dmabuf configuration
<uvos> its not
<tmlind> ok
<uvos> its just a optional path
<freemangordon> glamor is using EGL_KHR_image_pixmap
<freemangordon> tmlind: I also wonder why wlroots (or whatever) does not use native WL buffers
<freemangordon> those are supported by the blob
<freemangordon> do you have a link to the code?
<uvos> its a compositor not a client
<freemangordon> so<
<freemangordon> ?
<freemangordon> it can still import WL buffer, not DMA_BUF buffer
<freemangordon> maybe I am missing the context
<uvos> it wants to use egl
<uvos> Probubly
<tmlind> i think the plan is to make wlroots support more backends, it already supports wayland and x11 at least
<freemangordon> is this the SW in question https://github.com/swaywm/wlroots/commits/master/xwayland ?
<tmlind> the wlroots commit that broke weston-simple-gl: https://github.com/swaywm/wlroots/commit/4e07d4cbf9c104625d419b9123dca0ef402472e7
<uvos> freemangordon: it wants to run ON x11
<uvos> freemangordon: not the other way around
<uvos> like weston dose
<uvos> or am i missunderstanding tmlind
* freemangordon checks the commit
<tmlind> yeah it can run on x11 or on wayland
<uvos> on wayland? it is the comp. it runs on egl/gbm/kms
<tmlind> so freemangordon: so is glamor doing the GL_CLAMP_TO_EDGE calls?
<uvos> no
<freemangordon> yes
<uvos> we patched that out
<freemangordon> :)
<freemangordon> no
<freemangordon> it turned out it is another issue
<freemangordon> so I reverted later on
<freemangordon> just a sec
<uvos> oh ok
<tmlind> the CLAMP_TO_EDGE stuff is needed for sure, but i think the real reason wlroots broke is because renderer->egl->procs.eglQueryWaylandBufferWL no longer gets called, and maybe dmabuf now gets wrong params
<tmlind> then in addition to CLAMP_TO_EDGE, some extra trickery was needed for wlroots, see this commit from jonathan that i updated: https://github.com/tmlind/wlroots/commit/2ec83ab4f11b1f574d565bd04bbef2e55f154d76
<freemangordon> uvos: actually, the issue was that GL_CLAMP_TO_EDGE was not set
<freemangordon> and some insane default was used, leading to a broken rendering
<uvos> ok
<tmlind> freemangordon: also check glamor for GL_EXT_unpack_subimage usage, and compared to the wlroots commit 2ec83ab4f11b above
<uvos> im honestly pretty hazy on all of this considering the time delta
<freemangordon> tmlind: sorry, can;t do this ATM, I am on modest :)
<tmlind> freemangordon: ok just few suggestions on what might cause the issues :)
<freemangordon> tmlind: glTexSubImage2D is not supported on KHRImage backed texture
<uvos> GL_EXT_pack_subimage is optional in glamor
<freemangordon> gimme 5 minutes to grok the commit
<uvos> glTexSubImage2D(GL_TEXTURE_2D, 0,
<uvos> x1 - box->x1, y1 - box->y1,
<uvos> x2 - x1, 1,
<freemangordon> uvos: unfortunately no
<uvos> f->format, f->type,
<uvos> bits + ofs);
<uvos> well it checks for it and dosent bail
<freemangordon> it tries to use it and thats the reason why it does not fully work with pvr blobs
<uvos> tmlind: glTexSubImage2D is not supported on KHRImage backed texture <-- your sure that isent valid
<freemangordon> it segfaults in the blob
<uvos> ?
<tmlind> GL_TEXTURE_2D needs to be handled line at a time if no GL_EXT_unpack_subimage
<freemangordon> uvos: yes, lemme find the specs
<uvos> tmlind: thats whats happening thera
<uvos> iirc
<uvos> it goes for (; y1 < y2; y1++, ofs += byte_stride)
<uvos> *iiuc rather
<uvos> i tried compearing the wlroots changes to glamor before
<uvos> and could not find what glamor is doing different/wrong
<tmlind> ok
<uvos> and then i went and tried to check this statement "glTexSubImage2D is not supported on KHRImage backed texture" but came up blank
<uvos> since you can look at the specs for all of these things but its pretty opaque what can be used with what
<freemangordon> "There is no support for most of the functions that manipulate other texture targets (e.g. you cannot use gl*Tex*Image*() functions with TEXTURE_EXTERNAL_OES)"
<uvos> freemangordon: any luck on that?
<uvos> freemangordon: where is this?
<freemangordon> this is pretty fuzzy though
<freemangordon> because we use glEGLImageTargetTexture2DOES, but with GL_TEXTURE_2D, not GL_TEXTURE_EXTERNAL_OES
<freemangordon> however, using GL_TEXTURE_2D should fail on gles2, IIUC, but it does not with the blobs
<freemangordon> but, later on it segfaults in the blob when you try to glTexSubImage2D
<freemangordon> I am not sure I can explain it any better
<freemangordon> so, the workaround I was on is to create a texture backed FBO to copy the original texture to and to use glTexSubImage2D on that
<freemangordon> that was working pretty much ok on d4, however, when I tried on n900, it was hanging the whole device, and this is where I said f**k it and stopeed :)
<tmlind> heh
<tmlind> freemangordon: care to post that workaround somewhere?
<freemangordon> tmlind: so, you you know how *exactly* wlroots fails?
<freemangordon> tmlind: it was a test program, lemme check if it is in the repo
<tmlind> weston-simple-egl tries to use some invalid fd and gets: fcntl64(49282, F_DUPFD_CLOEXEC, 0) = -1 EBADF (Bad file descriptor)
<tmlind> that's the dmabuf breakage, weston-simple-shm and weston-simple-damage work just fine as does sway
<tmlind> so where's the segfault in pvr_egl_shim then? after the GL_TEXTURE_2D call?
<freemangordon> I need to boot my d4, I think I have the latest sources there
<freemangordon> can't recall, sorry
<freemangordon> oh, no, it was not in the shim
<freemangordon> but in glamor
* tmlind has been building countless iterations on d4 of wlroots and sway versions to bisect the issues..
<freemangordon> it is glamor that tries to use glTexSubImage2D
<tmlind> ok
<freemangordon> sorry, have to do some RL work, ttyl
<tmlind> later
<tmlind> no idea where weston-simple-egl pulls that bad fd from.. sounds like some bogus dmabuf config
<kona> Freemangordon yes, currently porting tinymail to gio so I can build modest
inky_ has joined #maemo-leste
lyubov has quit [Ping timeout: 252 seconds]
lyubov has joined #maemo-leste
<freemangordon> kona: good, though I was able to build TM without this module, shall I push my changes?
<freemangordon> I added leste as another platform which doesn;t build gnomevfs module
<kona> Sure, can you show me which repo you are using?
<freemangordon> kona: sec
<kona> Great!
<freemangordon> tmlind: this test program basically copies BO texture to a normal one and then does glTexSubImage2D, IIRC
<freemangordon> keep in mind I did that a while ago so I don;t remember the details
<freemangordon> but basically it should do more or less the same as what some code path in glamor does
<freemangordon> oh, lemme push the makefile as well
<freemangordon> done
<kona> Freemangordon: thanks!
<uvos> freemangordon: i miirored it here http://uvos.xyz/maserati/testapps/
zhxt has quit [Ping timeout: 244 seconds]
<freemangordon> kona: keep in mind this is missing gnomevfs module
<uvos> freemangordon: ah you found it
<freemangordon> mhm
<uvos> so i gues doing the same thing in glamor_upload_boxes should make glamor work no?
mardy has quit [Read error: Connection reset by peer]
mardy has joined #maemo-leste
<uvos> i gues to be efficant you would need selectively do so depending on how the x11 Pixmap was created
<freemangordon> right
pere has joined #maemo-leste
<freemangordon> kona: going to add wpeditor to leste repos, it is needed by modest
<lel> freemangordon created a repository: https://github.com/maemo-leste/wpeditor
inky has quit [Ping timeout: 244 seconds]
inky_ has quit [Ping timeout: 244 seconds]
inky_ has joined #maemo-leste
<kona> freemangordon: ok!
inky has joined #maemo-leste
<kona> freemangordon: is https://github.com/maemo-leste/gtk already in apt repos, or should I build myself?
sunshavi_ has quit [Ping timeout: 252 seconds]
<uvos> thats in repos
<kona> thanks
sunshavi_ has joined #maemo-leste
<uvos> you can look there for stuff
<freemangordon> kona: you can use https://github.com/maemo-leste/wpeditor untill we add it to jenkins
<tmlind> freemangordon: thanks for pushing out the test program
<kona> freemangordon: i am trying to build that branch now and configure reports No package 'gtk+-2.0' found
<kona> oh, libgtk, *facepalm*
* freemangordon is afk, bbl
<Wizzup> kona: yeah check debian/control for package names you need
inky_ has quit [Remote host closed the connection]
inky_ has joined #maemo-leste
xmn has quit [Ping timeout: 244 seconds]
Pali has joined #maemo-leste
xmn has joined #maemo-leste
inky_ has quit [Ping timeout: 245 seconds]
inky_ has joined #maemo-leste
Guest27 has joined #maemo-leste
Guest27 has quit [Quit: Client closed]
inky_ has quit [Ping timeout: 252 seconds]
BenLand100 is now known as Treebeard
Treebeard is now known as BenLand100
inky_ has joined #maemo-leste
inky_ has quit [Ping timeout: 240 seconds]
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 245 seconds]
elastic_dog has quit [Ping timeout: 240 seconds]
<uvos> disableing ofono via rc-update del with the cellular metapackage installed makes the maemo stack hang a short while after boot
<uvos> h-d hangs
<uvos> and you have to kill it
<uvos> then the status menu remains hanged and you have to kill that too
<uvos> and you have to kill icd to get networking back
<uvos> so is suspect the icd status menu item is at fault
<uvos> the fact that this failure mode is possible is concering
<uvos> but thats what you get when you make the terrible decision to make the status items plugins instead of seperate processies
inky has joined #maemo-leste
elastic_dog has joined #maemo-leste
joerg has quit [Read error: Connection reset by peer]
<freemangordon> hmm, modest needs calendar-ui-widgets-0-dev
<freemangordon> I will have to RE that
<freemangordon> th library that is
joerg has joined #maemo-leste
<freemangordon> Wizzup: what provides calendar applet?
<freemangordon> oh, it is in extras
<uvos> so the adress book depends on a specific email client which depends on a calandar widget which is a plugin for a program that depends on hildon-desktop and in turn allmost everything hildon which also depends on the calendar backend
<uvos> clearly this is not sane and a cut needs to be made in some (or better several places) here
uvos has quit [Ping timeout: 252 seconds]
Pali has quit [Ping timeout: 245 seconds]
xes has quit [Ping timeout: 252 seconds]
xes has joined #maemo-leste