<Wizzup> anyway, time for some sleep
tk has quit [Quit: Well, this is unexpected.]
tk has joined #maemo-leste
uvos has quit [Ping timeout: 256 seconds]
TonyStone has quit [Remote host closed the connection]
TonyStone has joined #maemo-leste
Pali has quit [Ping timeout: 240 seconds]
Oksanaa has joined #maemo-leste
<mighty17[m]> `configure: error: Package requirements (sgx-ddk-um randrproto renderproto videoproto xextproto) were not met:`
<mighty17[m]> `Package 'sgx-ddk-um', required by 'virtual:world', not found`
<mighty17[m]> i made sgx-ddk-um-dev and xorgproto-dev as well but still :(
<mighty17[m]> seems like files are in diff packages for alpine, so im asking what does it actually need
macros__ has joined #maemo-leste
macros_ has quit [Ping timeout: 268 seconds]
mardy has joined #maemo-leste
<mighty17[m]> commented out that line, pretty sure i have deps but now i get
<mighty17[m]> `In file included from drmmode_display.c:32:`
<mighty17[m]> `../config.h:4:10: fatal error: xorg-server.h: No such file or directory`
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
<mighty17[m]> Nvm fixed it :D will push to my fork soon
_whitelogger has joined #maemo-leste
<freemangordon> mighty17[m]: you need libsrv_um.so and libpvr2d.so
<mighty17[m]> freemangordon: source?
<freemangordon> those are in SGX binary blobs
<mighty17[m]> ah sgx-ddk-um
<freemangordon> mhm
<mighty17[m]> i wonder if i should just switch to your sgx-ddk-um
<freemangordon> better do
<freemangordon> as now I am REing dbm from there
<freemangordon> hopefully it will start supporting TILER allocated buffers and whatnot
<mighty17[m]> :D
<freemangordon> instead of blindly allocation dumb scanout only buffers as of now
<freemangordon> *allocating
<sicelo> I also find the vol up/down switching useful
* mighty17[m] has no clue what that means, but is excited
<freemangordon> yeah, we'll have that ;)
<freemangordon> mighty17[m]: or, even better, as we said - switch to leste :p
<mighty17[m]> hehe
<mighty17[m]> it'd be preferable that the work is used on all distros :P
pere has joined #maemo-leste
pere has quit [*.net *.split]
inky has quit [*.net *.split]
mepy has quit [*.net *.split]
sunshavi has quit [*.net *.split]
_inky has quit [*.net *.split]
Kabouik has quit [*.net *.split]
dos has quit [*.net *.split]
enyc has quit [*.net *.split]
dreamer has quit [*.net *.split]
L29Ah has quit [*.net *.split]
BenLand100 has quit [*.net *.split]
System_Error has quit [*.net *.split]
amk has quit [*.net *.split]
peetah has quit [*.net *.split]
xes has quit [*.net *.split]
mrtux has quit [*.net *.split]
eloy has quit [*.net *.split]
MartijnBraam[m] has quit [*.net *.split]
lightbringer has quit [*.net *.split]
joerg has quit [*.net *.split]
avoidr has quit [*.net *.split]
bencoh has quit [*.net *.split]
dsc_ has quit [*.net *.split]
Newt-o has quit [*.net *.split]
sicelo has quit [*.net *.split]
buZz has quit [*.net *.split]
StephanvanSchaik has quit [*.net *.split]
scops has quit [*.net *.split]
mighty17[m] has quit [*.net *.split]
sixwheeledbeast has quit [*.net *.split]
Armen has quit [*.net *.split]
crab has quit [*.net *.split]
Wizzup has quit [*.net *.split]
kona_ has quit [*.net *.split]
calebtheythem[m] has quit [*.net *.split]
M1peter10[m] has quit [*.net *.split]
optix has quit [*.net *.split]
DPA has quit [*.net *.split]
zmatt has quit [*.net *.split]
juiceme has quit [*.net *.split]
jr-logbot has quit [*.net *.split]
r3boot has quit [*.net *.split]
tvall has quit [*.net *.split]
wunderwungiel[m] has quit [*.net *.split]
freemangordon has quit [*.net *.split]
belcher has quit [*.net *.split]
asriel has quit [*.net *.split]
nohit has quit [*.net *.split]
jrayhawk has quit [*.net *.split]
The_Niz has quit [*.net *.split]
meridion has quit [*.net *.split]
brabo has quit [*.net *.split]
mint[m] has quit [*.net *.split]
n900 has quit [*.net *.split]
[TheBug] has quit [*.net *.split]
jessicant has quit [*.net *.split]
meldrian has quit [*.net *.split]
BlagovestPetrov[ has quit [*.net *.split]
devrtz[m] has quit [*.net *.split]
mrkrisprolls has quit [*.net *.split]
yanu has quit [*.net *.split]
parazyd has quit [*.net *.split]
meldrian has joined #maemo-leste
pere has joined #maemo-leste
joerg has joined #maemo-leste
mepy has joined #maemo-leste
inky has joined #maemo-leste
System_Error has joined #maemo-leste
sunshavi has joined #maemo-leste
BlagovestPetrov[ has joined #maemo-leste
_inky has joined #maemo-leste
tvall has joined #maemo-leste
avoidr has joined #maemo-leste
MartijnBraam[m] has joined #maemo-leste
Kabouik has joined #maemo-leste
wunderwungiel[m] has joined #maemo-leste
M1peter10[m] has joined #maemo-leste
optix has joined #maemo-leste
StephanvanSchaik has joined #maemo-leste
dos has joined #maemo-leste
mint[m] has joined #maemo-leste
sicelo has joined #maemo-leste
Newt-o has joined #maemo-leste
bencoh has joined #maemo-leste
eloy has joined #maemo-leste
amk has joined #maemo-leste
xes has joined #maemo-leste
mrtux has joined #maemo-leste
peetah has joined #maemo-leste
enyc has joined #maemo-leste
lightbringer has joined #maemo-leste
Wizzup has joined #maemo-leste
kona_ has joined #maemo-leste
Armen has joined #maemo-leste
crab has joined #maemo-leste
r3boot has joined #maemo-leste
sixwheeledbeast has joined #maemo-leste
juiceme has joined #maemo-leste
jr-logbot has joined #maemo-leste
DPA has joined #maemo-leste
zmatt has joined #maemo-leste
buZz has joined #maemo-leste
dsc_ has joined #maemo-leste
jessicant has joined #maemo-leste
[TheBug] has joined #maemo-leste
jrayhawk has joined #maemo-leste
n900 has joined #maemo-leste
The_Niz has joined #maemo-leste
nohit has joined #maemo-leste
asriel has joined #maemo-leste
BenLand100 has joined #maemo-leste
belcher has joined #maemo-leste
freemangordon has joined #maemo-leste
L29Ah has joined #maemo-leste
dreamer has joined #maemo-leste
meridion has joined #maemo-leste
parazyd has joined #maemo-leste
yanu has joined #maemo-leste
mrkrisprolls has joined #maemo-leste
brabo has joined #maemo-leste
calebtheythem[m] has joined #maemo-leste
devrtz[m] has joined #maemo-leste
scops has joined #maemo-leste
mighty17[m] has joined #maemo-leste
R0b0t1`` has quit [Ping timeout: 240 seconds]
Pali has joined #maemo-leste
<mighty17[m]> freemangordon: https://paste.debian.net/1226567/ mesa issue?
<mighty17[m]> https://paste.debian.net/1226568/ also is xf86-video-omap packaged properly?
<mighty17[m]> https://paste.debian.net/1226569/ this is without modesetting
<freemangordon> mighty17[m]: https://pastebin.com/v9SBparB
<freemangordon> and yes, looks like it is packaged properly
<freemangordon> but, you need to create xorg.conf for it
<freemangordon> see pastebin ^^^
<mighty17[m]> Will try, tysm!
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
_inky has quit [Ping timeout: 240 seconds]
System_Error has quit [Ping timeout: 276 seconds]
_inky has joined #maemo-leste
R0b0t1`` has joined #maemo-leste
akossh has joined #maemo-leste
uvos has joined #maemo-leste
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
asriel has joined #maemo-leste
<uvos> freemangordon: i dident remove it
<uvos> freemangordon: i did make it a config option
<mighty17[m]> welp :(
<mighty17[m]> <freemangordon> "but, you need to create xorg...." <- `[ 101.485] (EE) Failed to load /usr/lib/xorg/modules/drivers/omap_drv.so: Error relocating /usr/lib/xorg/modules/drivers/omap_drv.so: InitPowerVREXA: symbol not found`
<uvos> must not be linked to pvr um
<freemangordon> uvos: no, that's another issue
<freemangordon> InitPowerVREXA is in pvr EXA module
<freemangordon> mighty17[m]: could you move omap_pvr_drv.so out of modules directory and retry?
<mighty17[m]> as in?
<freemangordon> mv omap_pvr_drv.so /root for example
<freemangordon> move it to another dir
<mighty17[m]> oh ok
<Wizzup> mighty17[m]: why revert `Depend on sgx-ddk-um-dev ` ? just make sure you have the pc file
<Wizzup> I made one
<mighty17[m]> Wizzup: i dont have it on alpine
<Wizzup> then make it!
<Wizzup> otherwise things won't work
<Wizzup> you need -everything-
<Wizzup> I am talking about the .pc file
<Wizzup> but if you think it's working, then ignore, just waking up
<Wizzup> it just doesn't seem like a good idea to remove stuff from autotools that we add
<Wizzup> they aren't just checks, they also translate to CFLAGS and linker actions
<freemangordon> correct
<mighty17[m]> <freemangordon> "mighty17: could you move..." <- https://paste.debian.net/1226595/
<mighty17[m]> oh damn
<mighty17[m]> sorry wait
<mighty17[m]> freemangordon: https://paste.debian.net/1226598/
<freemangordon> mighty17[m]: it is not correctly compiled
<mighty17[m]> i suppose i'll just use your sgx-ddk-um then
<freemangordon> no
<mighty17[m]> hm?
<freemangordon> it is not related
<mighty17[m]> oh ok, so wdym by not correctly compiled?
<freemangordon> your ld should not try to resolve InitPowerVREXA and fail if it does not find it
<freemangordon> this is more or less weak symbol
<mighty17[m]> freemangordon: so smth wrong in my xf86-video-omap right?
<freemangordon> yeah
<freemangordon> mighty17[m]: objdump -T /usr/lib/xorg/modules/drivers/omap_drv.so | grep EXA
<mighty17[m]> `00000000 D *UND* 00000000 InitPowerVREXA`
<mighty17[m]> `00004894 g DF .text 00000008 OMAPEXAPTR`
<mighty17[m]> so its undefined? :o
<freemangordon> no, it is fine
<freemangordon> hmm
<freemangordon> same here: 00000000 D *UND*00000000 InitPowerVREXA
<freemangordon> the question is why loader on alpine insists on resolving that
<Wizzup> mighty17[m]: are you using our specific sgx ddk and also the .pc file?
<Wizzup> just to check
<mighty17[m]> only thing i changed was dependency sgx-ddk-um and bring back the header files
<freemangordon> Wizzup: the issue is not with sgx libs
<freemangordon> but with xorg
<freemangordon> for some reason ld.so on alpine tries to resolve symbols on loading
<Wizzup> ok, then I'll let fmg handle it because I think it's much better to build it the way tested it
<mighty17[m]> musl issues?
<freemangordon> yeah
<mighty17[m]> ugh.. :/
<Wizzup> also reverting the header commit is a bad idea, now you might even have wrong version
<mighty17[m]> Wizzup: well from where can i get header files then?
<mighty17[m]> omap5-sgx-ddk-um-linux ?
<freemangordon> Wizzup: for sure this shall be fixe, but that's not the issue he is hitting now
<freemangordon> mighty17[m]: from our -dev package
<mighty17[m]> me has to package that for alpine
<mighty17[m]> but even with that, this issue would come
<Wizzup> yes, we worked hard to package it all properly so that people could just mimick the packaging and make it all work
<mighty17[m]> can we just define InitPowerVREXA to 0 or smth garbage?
* mighty17[m] > <@Wizzup:libera.chat> yes, we worked hard to package it all properly so that people could just mimick the packaging and make it all work
* mighty17[m] has no clue how deb works
<freemangordon> mighty17[m]: no
<Wizzup> that's the nice thing about it: it's self contained so people can just do their packaging stuff and as long as it's the same, they know they did it right
<freemangordon> this is dynamic linker's job to resolve symbols when they are needed
<Wizzup> mighty17[m]: I also don't know how APKBUILDs work or other .spec files for rpm but I had no trouble figuring them out
* Wizzup afk
<freemangordon> and this seems to be broken, somehow
<mighty17[m]> looks like we should ask in #alpine?
<freemangordon> "musl intentionally does not support > lazy binding."
<mighty17[m]> ugh...
<freemangordon> so, go ask on #alpine :)
<freemangordon> I can't help with that one
<mighty17[m]> alrighty! thanks a lot
<freemangordon> hmm, wait
<freemangordon> mighty17[m]: could you move omap_pvr_drv.so back to modules firectory?
<freemangordon> and then do LD_PRELOAD=/usr/lib/xorg/modules/drivers/omap_pvr_drv.so Xorg
<mighty17[m]> ok trying that
<mighty17[m]> ah well i use lightDM
<freemangordon> maybe you should add:
<freemangordon> Load "omap_pvr_drv"
<freemangordon> Section "Module"
<freemangordon> EndSection
<freemangordon> to xorg.conf filke
<freemangordon> *file
<mighty17[m]> freemangordon: this didnt work
<freemangordon> mighty17[m]: it should be omap_pvr, not nomap_pvr_drv
<freemangordon> it should
<Wizzup> the part about dlclose() being a no-op is kinda painful
<freemangordon> wait, what did not work?
<freemangordon> LD_PRELOAD?
<mighty17[m]> musl is painful
<mighty17[m]> LD_PRELOAD
<freemangordon> switch to leste :p
<mighty17[m]> i added a sh to /etc/profile.d
<freemangordon> try module one
<freemangordon> it should work
<mighty17[m]> ok
<freemangordon> Section "Module"
<freemangordon> EndSection
<freemangordon> Load "omap_pvr"
<uvos> the switch to leste thing
<uvos> would probubly hold more watter
<uvos> if hildon was a xdg_session
<mighty17[m]> <freemangordon> "EndSection" <- `[ 31.353] (EE) Failed to load module "omappvr" (module does not exist, 0)`
<mighty17[m]> why does it say omappvr and not omap_pvr
<freemangordon> no idea
<freemangordon> maybe try with omap-pvr
<mighty17[m]> `[ 200.300] (EE) Failed to load module "omap-pvr" (module does not exist, 0)`
<freemangordon> hmm, wait
<freemangordon> yeah, it should be omap_pvr
<mighty17[m]> `Section "Module"`
<mighty17[m]> ` Load "omap_pvr"`
<mighty17[m]> `EndSection`
<freemangordon> this is crazy :(
<freemangordon> it seems xoreg strips underscores
<mighty17[m]> exactly what i was about to say
<mighty17[m]> so a sneaky rename/linking? :P
<freemangordon> rebuild/reinstall
<mighty17[m]> oh damn
<mighty17[m]> alrighty
pere has quit [Ping timeout: 240 seconds]
<mighty17[m]> <freemangordon> "rebuild/reinstall" <- `[ 196.864] (EE) Failed to load module "omappvr" (module does not exist, 0)` hm?
<mighty17[m]> so it didnt work at all?
<freemangordon> mighty17[m]: do you have ldd /usr/lib/xorg/modules/omap_pvr_drv.so ?
<freemangordon> do you have /usr/lib/xorg/modules/omap_pvr_drv.so ?
<mighty17[m]> ldd? :P
<freemangordon> yeah, next thing to do
<mighty17[m]> `/usr/lib/xorg/modules/omap_pvr_drv.so` yes
<freemangordon> and what about ldd on it?
<mighty17[m]> freemangordon: you'll not like it https://paste.debian.net/1226612/
<freemangordon> yeah, this will not work
<freemangordon> we have circular dependencies
<mighty17[m]> fun
<freemangordon> omap_drv wants symbols from omap_pvr_drv
<freemangordon> and omap_pvr_drv want symbols from omap_drv
<freemangordon> ask on #alpine or on #musl :)
<mighty17[m]> mhm
<mighty17[m]> i cant join alpine somehow
<mighty17[m]> i do have registered nick
<Wizzup> I'm waiting for the "don't use X" answer :)
<freemangordon> :D
<mighty17[m]> Wizzup: wayland works fine :P
<freemangordon> does it?
<freemangordon> please rotate to landscap[e and tell me what FPS is
<freemangordon> for glmark2, for example
<freemangordon> and then we can discuss "works fine" ;)
<uvos> es2_gears is the best benchmark for this
<Wizzup> parazyd: looks like most of our image builds are failing: https://phoenix.maemo.org/view/Images/job/leste-image-pinephone/82/console
<uvos> since it dosent take mutch time to render it frame
<uvos> *tis
<uvos> *its
<uvos> jeez
<freemangordon> yeah, but it is 300x300 window
<mighty17[m]> freemangordon: default is landscape :)
<freemangordon> and SW blit is not like 960x540
<mighty17[m]> uvos: ok gimme a sec then
<freemangordon> mighty17[m]: doesn;t not matter
<uvos> freemangordon: resize the window then :P
<freemangordon> compare fps for native VS rotated orientation
<freemangordon> uvos: on gears?
<freemangordon> how?
<freemangordon> I know you can rotate, but resize?
<mighty17[m]> freemangordon: what benchmark do you want?
<uvos> freemangordon: just drag the window
<uvos> freemangordon: border
<uvos> freemangordon: like any window...
<uvos> freemangordon: hes using openbox
<uvos> or start i3
<freemangordon> mighty17[m]: ok, do as uvos said
<mighty17[m]> gears?
<freemangordon> mhm
<freemangordon> but resize as much as you can
<uvos> and i3 as vm
<uvos> or maximise the window
<freemangordon> though I would prefer glmark --fullscreen
<freemangordon> but lets see gears first
<mighty17[m]> if it would work :P
<mighty17[m]> `Error: couldn't get an RGB, Double-buffered visual`
<freemangordon> works fine, yeah :p
<uvos> you dident run glxgears right
<freemangordon> why glx?
<freemangordon> it should be es2_gears
<uvos> because thats the error message it potsts
<uvos> on pvr
<uvos> `Error: couldn't get an RGB, Double-buffered visual`
<freemangordon> does not matter, we want es2_gears
<uvos> i know
<freemangordon> not glxgears
<uvos> im asking if mighty17[m] made this mistake...
<freemangordon> ah
<mighty17[m]> as in?
<Wizzup> I think we all need telepathy
<Wizzup> pun intended
<mighty17[m]> pvr-pathy
<uvos> mighty17[m]: what did you run
<mighty17[m]> glxgears
<uvos> right thats wrong
<uvos> glx _canot_ work on pvr
<uvos> you want es2gears
<mighty17[m]> then what should i do
<uvos> es2gears
<mighty17[m]> https://pkgs.alpinelinux.org/packages?name=*es2gears*&branch=edge fun
<freemangordon> mesa-tools-extra or somesuch is the package
<Wizzup> es2_gears for the record
<Wizzup> iirc
<freemangordon> or mesa-utils-extra
<freemangordon> yea
<freemangordon> it is with underscore
<freemangordon> but still unknown to alpine
<mighty17[m]> mesa-demos in alpine
<freemangordon> ok
<mighty17[m]> `samsung-espresso3g:~$ sudo apk search es2gears`
<uvos> Wizzup: no $ which es2gears /usr/bin/es2gears
<mighty17[m]> `mesa-demos-8.4.0-r1`
<Wizzup> uvos: weird
<freemangordon> oh, no underscore
<freemangordon> anyway
<freemangordon> mighty17[m]: you want es2gears_wayland
<mighty17[m]> `/usr/bin/es2gears_x11` well shit
<mighty17[m]> so thats out of question
* Wizzup wishes there were golang bindings for telepathy im
<uvos> why go
<uvos> alll of our frontends are c(++)
<mighty17[m]> glmark2 now?
<Wizzup> uvos: oh, I don't mean for frontend
<uvos> mighty17[m]: they dident compile es2gears_wayland?
<Wizzup> uvos: I meant for a connection manager
<mighty17[m]> uvos: nope :/
<uvos> lol
<Wizzup> uvos: for example, here only go and python libs are offered: https://signald.org/articles/libraries/
<Wizzup> why are we even doing this perf test on wayland btw?
<Wizzup> we already know that perf is suboptimal without the extra work we did
<freemangordon> because mighty17[m] is not convinced
<freemangordon> :)
<uvos> perf is suboptimal
<uvos> but was fine
<uvos> in my tests
<Wizzup> no, I just made a joke about the excuse musl devs would come up with and it turned into this discussion :)
<uvos> its just a couple of fps
<uvos> like 5 or so
<freemangordon> on what device?
<uvos> droid4
<uvos> so same chip
<freemangordon> try on n900 and we'll comment again
<mighty17[m]> 5 fps on glxgears? wha-?
<uvos> mighty17[m]: 5 fps loss
<mighty17[m]> with older mesa i ran it once and it was def more than 5
<uvos> i doubt mighty17[m] cares about omap4
<freemangordon> mighty17[m]: 5 fps difference on es2gears
<uvos> *i doubt mighty17[m] cares about omap3
<mighty17[m]> oh :derp:
<freemangordon> uvos: sure
<mighty17[m]> uvos: i mean, i do
<freemangordon> but that does not mean perf is fine
<freemangordon> mighty17[m]: you care for omap3?
<mighty17[m]> anyways i'll go trouble musl devs, got sidetracked a lot
<freemangordon> yeah
<mighty17[m]> freemangordon: why not?
<freemangordon> ok
<mighty17[m]> https://paste.debian.net/1226616/ glmark2-es2-drm also stopped working?
<uvos> hmm
<uvos> havend tried it in a while
<uvos> maybe
<freemangordon> you have another drm master running
<freemangordon> most -probably
<freemangordon> runse just fine
<freemangordon> *runs
<freemangordon> OS error code 13: Permission denied
<freemangordon> or bad user
<mighty17[m]> sudo? :o
<uvos> depends on how drm is configured
<mighty17[m]> or should i stop phosh and run?
<uvos> xorg drops master on vt switch
<uvos> maybe phosh dosent
<uvos> (yay wayland behavior fragmentation)
<mighty17[m]> too much craziness
<freemangordon> ok, I think I have REed libgbm
<freemangordon> umm, libdbm that is
<uvos> if you where reing libgbm your would be wasting your time :P
<freemangordon> yea :)
<freemangordon> a typo
<Wizzup> uvos: btw, lmk if there is some volume-applet thing I can package or build
<uvos> Wizzup: its almost done
<uvos> Wizzup: but i ended up having to do quite a bit
<uvos> to make everything work
<uvos> (ie vol keys used by applications, vol keys while locked, different states etc)
xmn has joined #maemo-leste
<freemangordon> hmm, and it seems to work :)
<uvos> everything works now, except call volume, it probubly works, but i cant test if i have the right stream since it dosent work on d4
<uvos> in kernel
<uvos> freemangordon: sweet
<uvos> freemangordon: altho i forgot why we needed to change libgbm
<uvos> er dbm
<uvos> :P
<freemangordon> because it uses dumb_buffers to allocate GBM BOs, and dumb buffers cannot be TILER allocated
<freemangordon> also, they are always allocated as scanout
<freemangordon> which means that 1. modesetting cannot rotate through HW and 2. we'll soon we'll run out of tiler/dmm/cma space
<freemangordon> also, we have one less blob
<freemangordon> I am not going to change that now, ofc
<freemangordon> uvos: https://pastebin.com/tdheKDmh
<freemangordon> ok, lemme push what I have done so far
<freemangordon> also, let me fix this lame code https://github.com/maemo-leste/sgx-ddk-um/blob/master/dbm/dbm.c#L126
<lel> IMbackK opened a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/1 (This pr makes this applet work on leste)
<uvos> Wizzup: ^^^^
<lel> IMbackK edited a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/1 (This pr makes this applet work on leste)
<Wizzup> ty will check in a bit
<lel> IMbackK synchronize a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/1 (This pr makes this applet work on leste)
pere has joined #maemo-leste
<uvos> Wizzup: also move /usr/share/maemo-statusmenu-volume/sinks.ini to leste-config when able
System_Error has joined #maemo-leste
macros_ has joined #maemo-leste
macros__ has quit [Ping timeout: 268 seconds]
<Wizzup> uvos: right
<Wizzup> uvos: so pkill status should work?
<Wizzup> ah ok required mce restart
<Wizzup> lol it looks tiny on droid4 :p
<Wizzup> uvos: it looks like the volume for the hp and speaker are shared
<uvos> yes they share a volume in ucm
<Wizzup> they don't share the volume in actual playback
<uvos> only different ucm profiles have sperate volume
<Wizzup> if I unplug the volume is clearly much louder
<Wizzup> but the applet doesn't realise when it gets changed I think
<Wizzup> so it tries to revert to the wrong state
<uvos> it dosent get changed
<uvos> at least should not
<Wizzup> so playing something in mpv (or w/e) and set volume to max on speaker, plug in hp, set volume to min, remove hp, and then adjust volume a bit
<Wizzup> speaker will go to almost min
<Wizzup> (from previous max)
<uvos> yeah its true
<uvos> the volume slider dosent update from external at all
<Wizzup> don't know if it is intended, but it's not how it works on the n900 at least
<uvos> but this is probubly ucm bug
<uvos> the volume slider dosent updateing from external at all us a legacy bug, or rather nokia just dident care and the implementation is very bad
<Wizzup> are you sure it doesn't rely on ohm and those plugins?
<uvos> yes
<Wizzup> because it clearly works
<Wizzup> on n900
<uvos> it cant update from external
<Wizzup> well it might read different streams/sinks?
<uvos> and it dose the volumes itself
<uvos> for different states
<Wizzup> oh, you mean it doesn't care for user manually changing it with alsamixer
<uvos> no
<uvos> it dosent care for anything else changing the stream
<uvos> pavucontrol etc
<Wizzup> the behaviour I described above works ok on fremantle/n900 though
<uvos> ucm is probubly set to duck the volume on hp by accient
<uvos> its broken
<uvos> it just works because it claims all changes for itself
<uvos> so ucm i probubly set to duck the volume on hp by accident
<Wizzup> then it must be aware that something changes in audio setup
<Wizzup> uvos: I don't think so, try to toy around with it a bit
<uvos> and the slider dosent update when pa changes it
<Wizzup> I'm pretty sure this is an unrelated bug
<Wizzup> uvos: try the inverse: set speaker to 0, then plug in hp, set hp to max, then unplug hp, note that it is silent (correct) and then press volume up or down and see speaker jump to max
<uvos> i dont have to
<uvos> you can see the problem in pavucontrol-qt
<uvos> anyhow it will get fixed once the slider follows pa events
<uvos> it has to anyhow
<freemangordon> it should do already
<freemangordon> yes, what I see here is most of the code has been removed
<freemangordon> no wonder it does not work
<freemangordon> btw, who is supposed to set the in-call volume ?
<uvos> the slider dose
<freemangordon> how?
<uvos> it waits for mce to send the incall event
<uvos> and then restores the stream and sets it
<freemangordon> where does it get the volume to set from?
<uvos> the restore feature is gohne
<freemangordon> why?
<uvos> becaus ucm dose so allready
<uvos> its redundant
<freemangordon> but does ucm have separate volumes for separate roles?
<uvos> yes
<uvos> for eatch profile
<freemangordon> *roles*?
<uvos> profiles are roles in ucm
<uvos> a profile is a configuration for some application
<uvos> ie music noticifacion call etc
<Wizzup> right, but the volume applet doesn't act on profile changes whereas the previous code did, so that's why this bug now exists I think
<uvos> right beacuse it dosent restore itself
<Wizzup> Looking at the deleted set_volume_timeout
<uvos> bet it never acted on external event
<freemangordon> maybe applet shall subscribe somehow to profile change events?
<freemangordon> sure it did
<uvos> no it didnt
<uvos> your missreading it
<freemangordon> uvos: I am using it
<uvos> anyhow yes it shal subscribe
<freemangordon> on fremantle
<uvos> it works beacuse it restores its OWN volumes
<uvos> not external ones
<uvos> jees
<freemangordon> ok
<uvos> so now something else restores the volume
<uvos> the slider just has to update
<freemangordon> ok
<Wizzup> it has to follow what restores it
<freemangordon> I think you can subscribe to module-restore
<uvos> you dont have to
<uvos> you can just suscribe to the volume of the stream in question
<freemangordon> well, you shoud subscribe to something to receive events :)
<uvos> right
rafael2k has joined #maemo-leste
<rafael2k> happy 2022!
<Wizzup> rafael2k: hey
<Wizzup> happy new year
<rafael2k> hi there!
<freemangordon> hi!
<rafael2k> bought my pp keyboard today!
<Wizzup> neat, I also bought one but I probably won't get it before I leave home for weeks
<rafael2k> my birthday present to myself... eheheheh
<Wizzup> rafael2k: I was wondering why you changed kernel package name from linux-image-pine64 to linux-image-5.15.10
<rafael2k> just because without it, packaging failed here
<Wizzup> so we need to fix the mobian packaging to use our name I think
<Wizzup> I figured that was the case
<rafael2k> uhum... I just copied over our debian/
<rafael2k> may be I could have started using mobian debian/ folder...
System_Error has quit [Remote host closed the connection]
<Wizzup> rafael2k: that seems unlikely
<Wizzup> maybe you can explain how you build it locally
<rafael2k> debuild -uc -us
System_Error has joined #maemo-leste
<rafael2k> just create the tarball with the source by hand
<Wizzup> I mean from what branches, etc
<Wizzup> since you said you 'copied the debian folder'
<rafael2k> from beowulf-devel
<rafael2k> sorry, I forked over
<rafael2k> :P
MatrixTravelerbo has joined #maemo-leste
<Wizzup> I don't know what you mean
<Wizzup> ok, so you clone the mobian-5.15 branch and place our debian dir in there
<rafael2k> but we could fetch the source from upstream, in gitlab
<rafael2k> yes!
<Wizzup> are you sure debian/patches/0001-maemo-leste-quirks.patch is being a[pplied?
<Wizzup> because:
<Wizzup> -packagename=linux-image-$version
<Wizzup> +packagename=linux-image-pine64
<rafael2k> yes
<rafael2k> I tested
<Wizzup> I think the answer is "no", otherwise you would not need cf1c86ff04eaa7850087d561ad7a51cb97731a4e
<Wizzup> ?
<Wizzup> on your maemo/beowulf-devel the patch does not seem to exist
<Wizzup> that is not the same patch
<rafael2k> ^
<rafael2k> yes it does
<Wizzup> does that look the same to you? :P
<rafael2k> did not know about that
<rafael2k> in my kernel it is applied
<rafael2k> from my branch
<Wizzup> it is in debian/patches/series in our maemo/beowulf-devel
<Wizzup> I checked out your branch and it is not in the patches/series file
<Wizzup> it doesn't exist
<rafael2k> maemo/0214-battery_level_hack.patch
<rafael2k> yes it is
<Wizzup> *stop*
<Wizzup> the battery level thing you mention is completely unrelated
<Wizzup> I linked a different patch
<Wizzup> please open the link :)
<rafael2k> ah ok
<rafael2k> sorry
<Wizzup> np
<rafael2k> come back later
<rafael2k> ma birthday today
<rafael2k> ; ))
<Wizzup> oh, shit :)
<Wizzup> happy bday
<Wizzup> I think I will add this patch back in
<Wizzup> and then revert the other one
<Wizzup> then see if it builds
<rafael2k> yay!
<rafael2k> cheers!
<Wizzup> sure, thanks
<Wizzup> later I have some other questiosn
<Wizzup> but enjoy
<Wizzup> freemangordon: what do you say about the volume applet changes? I think we can merge this now, build it, and then look at adding notifier
<Wizzup> s/notifier/listener/
<freemangordon> well, I am not sure this will work correctly with libplayback and with this https://github.com/maemo-leste/hildon-plugins-notify-sv/blob/master/lib/nsv-pulse-context.c
<freemangordon> removing stream-restore basically means that all maemo audio infra will not function
<freemangordon> including ohm policies and whatnot
<Wizzup> right
<freemangordon> this is nto about updating the slider, but about lots more
<freemangordon> so, what I think shall be done is: get module-stream-restore(or whetever the name is) from nemo and make it work, then port the applet to use it
<Wizzup> I think I have this packaged
<freemangordon> it would have been good if we can integrate with ucm though
<freemangordon> but lets look at that after we finish all the onther things we're on atm
<Wizzup> yes, ohm and pa stuff is going to require quite some brainpower and time
<freemangordon> mhm
<Wizzup> right, so do we merge this and later revert some stuff?
<Wizzup> right now we have no volume control
<freemangordon> up to you
<Wizzup> I think I like the other changes, so I'd say yes, but maybe get the code commented rather than removed
<freemangordon> maybe create a separate branch with that merged
<Wizzup> or a branch for the code we want to keep
<freemangordon> I wonder if we can create our own ucm parser, if ucm properties are not already available somehow
<freemangordon> but lets not get into that now :)
<uvos> ucm is alsa
<uvos> pa is not nesscary at all
<uvos> and yes you can read it from alsa
<freemangordon> as I think getting audio properly will be the most complicated task we'll face
<uvos> on everything except the n900
<uvos> everything should work allready
<uvos> except notification volume
<uvos> witch is pretty easy to add
<uvos> functionality wise
<freemangordon> uvos: no, look at libplayback
<uvos> ofc using the upstream alsa stuff makes api work differenly
<freemangordon> everything maemo uses that
<freemangordon> if there is upstream functionality that matches, well, maybe we can rewrite libplayback to use it. but I doubt
<freemangordon> uvos: a simple example: you listen to music and sms comes. what happens? music gets paused, 'new sms' sound played and music resumed. or. sms sounds get mixed with music? or...?
<uvos> yes
<uvos> sound pauses
<mighty17[m]> we had a public history right?
<uvos> because the profile is switched pa suspends the sink
<uvos> this causes pause
<mighty17[m]> ie chat logs
<freemangordon> uvos: "sound paused" is not the same as "playback pauses"
<uvos> then it plays at some volume set for the new stream
<uvos> playback pauses
<freemangordon> how?
<uvos> if the application is implemented correctly
<uvos> gets a pa event
<freemangordon> it is, by using libplyback
<uvos> this works in mpv and mpd
<uvos> and all desktop applications generally
<freemangordon> who sets the priorities and classes?
<uvos> then the sms notification sound is played at whatever volume of the new stream
<uvos> and the stream switches back
<freemangordon> I doubt upstream matches this
<freemangordon> and I can assure you this work extremely well in maemo
<uvos> if its implemend as well as the volume slider
<uvos> hahahahahahaha
<uvos> so right now sphone dose its own switching, this is bad we would need soemthing to do so
<uvos> yes this needs to take priority into acount
<freemangordon> well, you may find it funny, but it really works wvery well
<uvos> but this is the only pice we need
<freemangordon> not really
<uvos> and its very small compeard to takeing the eintere legacy stack
<uvos> yes it is
<freemangordon> uvos: I am not going to argue
<freemangordon> but, to the extend it depends on me, I will resist to turning maemo-leste to a pale shadow of fremantle
<Wizzup> sailfish also uses libplayback I think
<uvos> thinking that just because implementaion differeng it being a "pale shadow" is the hight of folly
<uvos> libplayback is not the issue here
<uvos> since we can easly port it to whatever
<Wizzup> what is the issue?
<uvos> everything else
<uvos> :P
<Wizzup> I don't get it
<sicelo> btw, according to someone who toyed on N900, maybe it's not *that* difficult to deal with the 200+ controls ... apparently not all of them are connected
<sicelo> they prolly just exist in the chip, and driver exports them, but that's all
<uvos> the n900 is a bit different
<uvos> so it needs soemthing to redirect streams
<uvos> since the cpu needs to copy samples about form device to device
<uvos> something has to do that
<uvos> this is indeed a bit more work
<uvos> but it dosent tranlate at all to mapphones or pp
<freemangordon> uvos: you mean calls?
<uvos> yeah, also bt
<freemangordon> my example was not about that, but anyway
<uvos> right im just saying upstream has nothing for this
<uvos> afaik
<Wizzup> so what do we not want to pick from fremantle? I am confused
<Wizzup> the sink roles definitely seemed to make sense to me
<uvos> well the pa setup in general, ohm mostly
<uvos> dont worry
<uvos> ill do it
<freemangordon> uvos: please don;t
<uvos> sigh watever
<uvos> *whatever
<Wizzup> freemangordon: uvos: let's be constructive here, and I would really appreciate uvos' help with the ohm stuff
<freemangordon> uvos: even if we are to do that (remove ohm etc)...
<freemangordon> I think we shall discuss what we want to achieve, no?
<freemangordon> Wizzup: sure
<uvos> well not now
<Wizzup> we do, and we did discuss that too, I think
<Wizzup> but not now
<Wizzup> yeah
<Wizzup> :D
<uvos> im done with this for now
<freemangordon> yeah, not now
<uvos> merge the volume slider if you like whatever
<Wizzup> can you fix the comment I left?
<freemangordon> who's that guy?
<freemangordon> looks like enthusiastic one :)
<sicelo> he made some interesting ui in qml a couple of years ago, but wasn't keen on making the source public
<freemangordon> ah, I remember I saw something on youtube
<freemangordon> some kind of media player os something
<freemangordon> *or
<sicelo> yes
<sicelo> that's he
<lel> IMbackK synchronize a pull request: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/1 (This pr makes this applet work on leste)
<uvos> Wizzup: sure
<Wizzup> thanks
<Wizzup> I'll look at merging this tonight, waiting for the new pine64 kernel to build
<freemangordon> Wizzup: failed
<Wizzup> freemangordon: wtf I thought I removed that
* Wizzup pushes and reruns
uvos has quit [Ping timeout: 256 seconds]
uvos has joined #maemo-leste
<tmlind> freemangordon: nice, i noticed :) maybe that also allows fixing the wlroots issue
System_Error has quit [Ping timeout: 276 seconds]
<freemangordon> what issue?
<tmlind> the errors trying to use render nodes
<freemangordon> ah
<freemangordon> :)
<tmlind> is that the part that xcracer had to patch for exynos?
<freemangordon> no idea
<freemangordon> I don;t remember what he had to patch
<tmlind> oh i see, you suggest that's why the failure is happening with the render node :)
<freemangordon> mhm
<tmlind> hehe ok
<tmlind> so for exynos, there's some binary patching for omapdrm.. probably the same place
<freemangordon> maybe
<tmlind> i'll give it a try for sure with wlroots
<freemangordon> umm... the only thing that I fixed is some lame buffer allocation
<freemangordon> so it will fail too
<tmlind> ok, but now it can be patched
<freemangordon> ah, ok
<tmlind> as opposed to adding non-standard hacks to wlroots
<tmlind> well at least that's what i hope :)
<freemangordon> yeah
<freemangordon> going afk, ttyl
<tmlind> yeah me too ttyl
_inky has quit [Ping timeout: 256 seconds]
_inky has joined #maemo-leste
_inky has quit [Ping timeout: 240 seconds]
System_Error has joined #maemo-leste
_inky has joined #maemo-leste
xmn has quit [Ping timeout: 240 seconds]
xmn has joined #maemo-leste
xmn has quit [Ping timeout: 256 seconds]
mardy has quit [Quit: WeeChat 2.8]
xmn has joined #maemo-leste
_inky has quit [Quit: Leaving.]
_inky has joined #maemo-leste
pere has quit [Ping timeout: 256 seconds]
<Wizzup> does anyone know how to provide mc-tool with parameters when adding an account?
<Wizzup> ah, got it....
<Wizzup> is merproject git down?
<uvos> SSL_ERROR_NO_CYPHER_OVERLAP
<uvos> GnuTLS: A packet with illegal was received.
<uvos> Wizzup: huh
_inky has quit [Ping timeout: 256 seconds]
<Wizzup> oh they moved it again
pere has joined #maemo-leste
<Wizzup> rafael2k: btw dang that pine64 kernel builds takes a long time, how many modules did they enable
<Wizzup> it's already going for over 4 hours
<Wizzup> I'm pretty sure we didn't have that much enabled
huckg has joined #maemo-leste
<Wizzup> rafael2k: it would be good to get that down a bit in size imho
<Wizzup> huckg: did you manage with the bionic?
<huckg> I ran down my battery and couldn't charge it because of the banjaxed state of my attempted install.
<huckg> I found a bionic for $6US on ebay, today I put a charge on my battery and successfully completed step 10 of https://github.com/IMbackK/bionic-clown-boot readme.
<huckg> (putting the charged battery in my old bionic). But upon rebooting it still gets stuck on a screen with 2 tux penguins at the top.
<uvos> huckg: how long is it "stuck"?
<uvos> what hash of droid4-kexecboot.img did you use?
<huckg> sha256sum 01803c63d7f0f7dcf7e101f4a136b76c9aae5885ed458259169c93b1c6563262
<huckg> I suppose I only left it 'stuck' for maybe 5 minutes
<uvos> no thats to long
<huckg> let me actually time it...
<uvos> your sure that you flashed that bpsw and this went of without a hitch?
<huckg> Sending 'bpsw' (156 KB)                            OKAY [  0.053s]
<huckg> Writing 'bpsw'                                     OKAY [  0.340s]
<uvos> 156KB?
<uvos> thas wrong
<uvos> should be 4MB in size
<uvos> sha256sum maemo-leste-1.0-armhf-droid4-20220104.img
_inky has joined #maemo-leste
<uvos> 6f5fbf8d45de13bac86e90848ff9017051b87682b359aee7d682d97c386032cf
<uvos> somethings wrong with the downloaded image
<huckg> oh, that's interesting
<huckg> Oh yeah I filed a bug report on the mismatch of the sha256sum under issues there
<huckg> 8 days ago
<huckg> should I try again with an earlier version?
<uvos> that vession should work
<uvos> and that sha256sum
<uvos> is not from the file there
<uvos> i just generated it form my local copy
<uvos> wich works fine
<uvos> but yeah no idea about the mismatch with tmlinds hash
<uvos> tmlind: ^^^ could you look at this?
<huckg> was that just some kind of patch rather than the whole enchilada?
<uvos> no
<uvos> huckg: same here i cloned that repo
<uvos> and i get the above hash
<uvos> and this file works fine on my bionic
<uvos> so everything is fine besides the hash in the text file
<uvos> but your file is only 156KB in size and has a 3rd hash
<huckg> weird
<uvos> so clone the repo
<uvos> and use the file you get
<huckg> will try that and get back to you in a few minutes, thanks.
System_Error has quit [Ping timeout: 276 seconds]
akossh has quit [Quit: Leaving.]
System_Error has joined #maemo-leste
<huckg> It looks like what I previously downloaded was the webpage about droid4-kexecboot.img!
<Wizzup> yikes
<uvos> heh
<uvos> well at least the bspw partition can read about what it should contain :P
<huckg> Now do I just flash the actual file to bpsw or do I need to undo anything first?
<uvos> nah just flash over
<huckg> ok, now flash reboot?
<uvos> yes
<huckg> (I mean fastboot reboot)
<uvos> sure
<huckg> a screen briefly came up with some text, now I am looking at a black screen
<huckg> ...with a cursor
<huckg> oops, I forgot to put my sdcard back in!
<uvos> so you should get the motorola logo -> penguins -> a graphical menu with some text -> sort timeout -> boots whatever entry is selected
<huckg> booting!
<uvos> dont try to boot the safestrap and stock android entry
<uvos> that dosent work on bionic
<uvos> i have a patch for that but its not in this version yet
<huckg> looking at maemo-leste!
<huckg> Thanks a million! It is now charging in maemo (very old battery).
<Wizzup> rafael2k: looks like the built image doesn't boot
<uvos> huckg: yw, sucks about the convoluted install process
<uvos> huckg: locked bootloaders suck