ruleh has quit [Ping timeout: 256 seconds]
<Wizzup> I still see some weird corruption in surf I think, but it's not a lot
<Wizzup> seems to be in the same place and it 'follows' the surf page around
System_Error has quit [Remote host closed the connection]
ruleh has joined #maemo-leste
System_Error has joined #maemo-leste
<Wizzup> so it's in the 2d content I'd say rather than display flickering, so that's not the same issue
<Wizzup> this may be incidental but ofono seems better with 5.15
Pali has quit [Ping timeout: 245 seconds]
zhxt has quit [Ping timeout: 245 seconds]
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #maemo-leste
zhxt has joined #maemo-leste
zhxt has quit [Ping timeout: 245 seconds]
zhxt has joined #maemo-leste
joerg has quit [Ping timeout: 260 seconds]
joerg has joined #maemo-leste
mardy has joined #maemo-leste
Wikiwide has quit [Ping timeout: 264 seconds]
<freemangordon> Wizzup: yeah, there seems to be some corruption from time to time, but it is not flickering
<freemangordon> asctually there *is* some flickering when 2d scrolling, but I hope that will disappear when we enable tripple-buffering
<freemangordon> ok, we *cannot* use dri3, because of the rotation, not until there is a way to request TILER BOs when using GBM
peetah has quit [Ping timeout: 265 seconds]
peetah has joined #maemo-leste
argon has quit [Quit: You have been kicked for being idle]
asriel_dreemurr has quit [Quit: You have been kicked for being idle]
peetah has quit [Ping timeout: 256 seconds]
Pali has joined #maemo-leste
uvos has joined #maemo-leste
<parazyd> Wizzup: I imported libllvm8 to experimental, will try the upgrade now.
<parazyd> Wizzup: Let me know about pvrsrvinit, as now you put pvrsrvctl in /usr/bin, and the initscript does not use that.
<Wizzup> freemangordon: yeah, it seems to be in the pixmaps themselves
<Wizzup> of surf in this case
<Wizzup> parazyd: does it not?
<uvos> btw with /etc/init.d/powervr being in default atm
<Wizzup> parazyd:
<Wizzup> /usr/bin/pvrsrvinit
<Wizzup> ebegin "Starting PowerVR"
<uvos> (i had to compile my own pvrsrvinit)
<uvos> as parazyd mentions
<parazyd> Wizzup: Yeah there's no such binary
<Wizzup> idgi?
<parazyd> What does your `dpkg -S pvrsrvinit` say?
<Wizzup> pvrsrvinit is not a package
<Wizzup> it's in sgx-ddk-um-tools
<parazyd> Wizzup: It's not
<uvos> Wizzup: your pacakge contains pvrsrvctrl
<uvos> not jit
<uvos> init
<uvos> we dont need ctrl at all
<Wizzup> well I was going to check but mce turned off the device for battery guard even though it was at 40-50% and charging
<parazyd> uvos: Thanks
<Wizzup> so you'll have o wait a bit longer
<uvos> hehe shade
<uvos> wierd
<Wizzup> uvos: pvrsrvctrl --start --no-module is not what we need you say?
<uvos> no
<Wizzup> this literally worked for me yesterday
<parazyd> uvos: That should just work with gcc, no extra libs?
<uvos> that works
<uvos> Wizzup: but its a big binary blob we just dont need
<uvos> parazyd: -ldl
<parazyd> uvos: ok
<Wizzup> ok but hang on
<Wizzup> 1. it works now with the stuff I packaged
<Wizzup> 2. you want an alternative
<Wizzup> that's fine
<uvos> no the init script calls pvrsrvinit
<uvos> that binary isent in ddk1.17
<Wizzup> but /usr/bin/pvrsrvctl exists and the init scripts call the right pkg afaik
<uvos> it was in 1.9
<Wizzup> I purged everything 1.9 related and mine boots to accelerated h-d
<uvos> as it stands right now the package provides pvrsrvctrl but the init script tries to call pvrsrvinit
<uvos> i thats how it is on my d4 atm
<Wizzup> then why does it work for me
<Wizzup> weird
<Wizzup> maybe it's fmg's init code
<uvos> parazyd: also make sure its in sysinit
<Wizzup> uvos: yeah my droid says 53% charging, I really can't understand why it did reboot
<parazyd> uvos: mhm
<Wizzup> parazyd: should I not fix the package then?
<parazyd> I'm on it
<uvos> Wizzup: so there is the problem that the adc output is quite noisy
<Wizzup> all we needed to change was 3 chars it seems like :P
<uvos> Wizzup: upower might signal that the voltage is to low to early
<uvos> but i have never seen it
<Wizzup> parazyd: are you adding another binary?
<uvos> really hard to debug to if thats the reason :\
<parazyd> Wizzup: We don't need pvrsrvctl
<Wizzup> uvos: wtf: Nov 23 10:47:48 localhost mce[3354]: Requesting shutdown from powerkey.c: generic_powerkey_handler(); action: 2
<Wizzup> I'm really quite sure I didn't do that lol
<uvos> hmm
<Wizzup> parazyd: well this works, but if you want to try something else, ok
<Wizzup> it's already packaged and we'd just have to change the three chars
<Wizzup> but yeah ok, we'd have to compile it though
<Wizzup> I'm fine either way
<uvos> Wizzup: could be a hw glitch even (some moisture)
<Wizzup> parazyd: so the alternative is to reply 'init' with 'ctl' in the init script
<Wizzup> ss/reply/replace/
<parazyd> The point is to replace a binary blob with 20 lines of C
<Wizzup> what about the other ~3-4MB of blob :P
<Wizzup> but ok, whatever
<parazyd> Nothing
<parazyd> We liberate what we can
<Wizzup> the same code is also in the DDX fwiw
<uvos> yeah but that dosent work
<uvos> its to late
<Wizzup> so why does my droid4 init
<Wizzup> lol
<Wizzup> I don't get it
<Wizzup> I don't have /usr/bin/pvrsrvinit
<Wizzup> maybe the X code does work for me?
<uvos> Wizzup: so the code in the ddx "works" but its not sufficant because 1. there is a race with h-d, h-d might sometimes end up on llvmpipe 2. it dosent do anything for other drm applications we might want before x starts, like a bootlogo or charge-mode
<Wizzup> ok, so I haven't seen the race yet
<Wizzup> oh yeah there was the chargemode thing
<uvos> particularly we need pvr to be init'ed before charging-sdl if we want charging-sdl to work on acellerated drm and not directfb
<Wizzup> it doesn't use acceleration atm though right?
<uvos> its on directfb so n
<uvos> but it works fine on ddk1.17 drm i tested it before there
<uvos> so its just a matter of flipping it over
<uvos> then its accellerated and can turn of the display
<uvos> so we def want that
<Wizzup> ok
System_Error has quit [Ping timeout: 276 seconds]
<Wizzup> so the next thing is either n900 with uImage from 5.15 or u-boot mainline
<Wizzup> https://maedevu.maemo.org/images/n900/tools/ u-boot-2020.12-pali.bin this one is mainline u-boot afaik
<Wizzup> as in IIRC it should just work
System_Error has joined #maemo-leste
<Wizzup> Pali: iirc all your n900 work is in v2021.10 - right?
<Wizzup> probably not in u-boot v2021.07
<Pali> yes, they should work
<Wizzup> both? ok
<Pali> yes
peetah has joined #maemo-leste
<parazyd> Wizzup: We should package it like this: https://github.com/maemo-leste/pine64-uboot
<freemangordon> uvos: I don't see a way h-d to start without X :)
<Wizzup> parazyd: there are various places where it can be flashed, with attached kernel and stuff, so it's not easy
<Wizzup> parazyd: I'm just going to make mine work for now
<freemangordon> but I agree that it is racy on startup because could have no pvr modules loaded
<Wizzup> parazyd: I'm going to test 2021.10 now
<parazyd> Sure
<parazyd> I still don't have a clean upgrade path
<Wizzup> :)
<Wizzup> please keep at it :D
<Wizzup> also try to have cloudgps or other extras installed
<Wizzup> I had to force remove cloudgps since it depended on some libgles sgx thing
<parazyd> xserver-xorg-video-omap doesn't want to upgrade
<Wizzup> (maybe we just rebuild it)
<parazyd> There's still some of these somewhere: https://github.com/maemo-leste/pvr-omap4/blob/master/debian/control
<parazyd> But I can't find where
<Wizzup> ok 2021.10 boots for me and it boots leste as well
<uvos> i mean it might make some sense to stop recomending people attach kernels, surely we can just have people move whatever fremantle kernel they want to use somewhere else?
<uvos> the other option is to have the install script for uboot dd the partition to an image, extact the kernel if any and reattach it
<Wizzup> we might need attached dtb on n900?
<Wizzup> I guess I should check
<uvos> good question, yeah we do rn
<parazyd> user@devuan-droid4:~$ glxgears
<parazyd> LoadLib: Couldn't load libpvr_dri_support.so: libpvr_dri_support.so: cannot open shared object file: No such file or directory
<parazyd> Wizzup: ^
<parazyd> Seen this?
<uvos> parazyd: GLXgears?
<Wizzup> parazyd: why are you trying glx?
<Wizzup> glx is not supported and also it's not gles
<Wizzup> es2gears_x11 is what you want I think
<parazyd> ah sry, I wanted to try es2gears indeed
<uvos> it should work on llvmpipe in theroy
<Wizzup> but, h-d is a much better test
<Wizzup> uvos: yes but we don't want that :)
<uvos> but its broken atm (we allready know)
<parazyd> but the same
<parazyd> user@devuan-droid4:~$ es2gears_x11
<parazyd> LoadLib: Couldn't load libpvr_dri_support.so: libpvr_dri_support.so: cannot open shared object file: No such file or directory
<parazyd> libEGL warning: DRI2: failed to create dri screen
<Wizzup> so did you reboot to hildon-desktop and new ddx?
<parazyd> h-d is slow, so I'd say swrast
<Wizzup> what is the state of your system atm
<parazyd> Wizzup: Obviously
<parazyd> I have slow h-d running
<Wizzup> wasn't clear to me
<Wizzup> ok, first thing to check is /tmp/Xorg.0.log
<Wizzup> search for any errors
<uvos> also check you have the envvar
<Wizzup> it's in the package
<uvos> ok
<Wizzup> I added it last night, it should be there
<Wizzup> but we'll find out soon enough from Xorg.0.log
<parazyd> I have the envvar
<uvos> looks fine
<parazyd> user@devuan-droid4:/tmp$ env | grep pvr
<parazyd> MESA_LOADER_DRIVER_OVERRIDE=pvr
<uvos> so libpvr_dri_support.so exists right?
<uvos> /usr/lib/arm-linux-gnueabihf/libpvr_dri_support.so.1.17.4948957
<uvos> + link
<parazyd> so.1 and so.1.17.4948957 exist
<parazyd> But no .so itself
<Wizzup> install -dev maybe
<Wizzup> maybe that's it
<Wizzup> sgx-ddk-um-dev
<Wizzup> sgx-ddk-um-ti443x: /usr/lib/arm-linux-gnueabihf/libpvr_dri_support.so
<Wizzup> # dpkg -S /usr/lib/arm-linux-gnueabihf/libpvr_dri_support.so
<Wizzup> hmm
<Wizzup> did you change anything? let me apt upgrade
<parazyd> Nothing related to the libs
<parazyd> We just don't have those links
<Wizzup> yeah it's gone
<Wizzup> I just upgraded and it's gone
<Wizzup> so you did somethin that broke it
<Wizzup> # dpkg -S /usr/lib/arm-linux-gnueabihf/libpvr_dri_support.so
<Wizzup> dpkg-query: no path found matching pattern /usr/lib/arm-linux-gnueabihf/libpvr_dri_support.so
<parazyd> ok, that's probably an apt thing then
<Wizzup> huh?
<Wizzup> is "pvrsrvinit: Use version for symbol loading.
<Wizzup> " also related to this?
<parazyd> no
<parazyd> Well, yes
<parazyd> Because the .so weren't installed
<Wizzup> I am pretty sure they are on my device
<parazyd> Just give me a minute
<Wizzup> maybe you adding a Makefile broke it
<Wizzup> sure, just being helpful here :p
<Wizzup> as in they were there in ec28dc199f5666885c5756704dc67a6874c917ab
<uvos> Wizzup is in slightly beligerent mood :P
<Wizzup> nah it's fine to liberate more stuff I'm just pointing out it used to work
<Wizzup> I don't see what caused the problem either from the git history, so it's some weird debian build thing I'm sure
<Wizzup> probably dh install does something else now
<Wizzup> meanwhile I almost have a droid4 kernel pkg with n900 dtb and stuff in it
<Wizzup> will try that out in a bit, hope I can pass the dtb using u-boot this time
<Wizzup> Pali: do you boot with appended dtb still with zimage, or do you pass it separately for n900?
<Pali> I have tested only 2.6.28 kernel which do not use DTB
<Wizzup> hm, ok, ideally for leste we would use a separate dtb, not attached
<Pali> U-Boot should support both options without issues
<Wizzup> ok
<Wizzup> usually I think u-boot needs an addr to load those at, I'll try to figure it out
<Pali> on other ARM boards I'm using U-Boot with separate DTB and it is working fine
<Pali> yes, you need to specify address where is DTB loaded in memory when calling U-Boot bootz command
<Pali> also now U-Boot for n900 supports bootz command, so there is no need to generate uImage from zImage
<Pali> and booting 2.6.28 kernel (stock zImage) with bootz command in n900 qemu is part of u-boot automated tests
<Wizzup> great
<Pali> ... so this ensures that upstream u-boot does not break this booting
<Wizzup> do you know what addresses are sane?
<Pali> IIRC there is kernel documentation for it
<Pali> I will try to find it
<Wizzup> appreciate it, thanks
<Pali> Setup the device tree --> A safe location is just above the 128MiB boundary from start of RAM.
<Pali> Calling the kernel image --> The zImage may also be placed in system RAM and called there. The kernel should be placed in the first 128MiB of RAM.
<Wizzup> ok
<Pali> Load initramfs --> A safe location is just above the device tree blob which itself will be loaded just above the 128MiB boundary from the start of RAM as recommended above.
<Pali> Anyway, there is standard U-Boot variable ${fdt_addr_r} which should specify address where DTB should be loaded
<Pali> I think that n900 does not set this variable in include/configs/nokia_rx51.h (during compile time)
<Pali> So it would be a nice to define this variable and send patch
<Pali> And ${fdtfile} variable should contain name of (default) DTB file
<Pali> Similarly ${kernel_addr_r} is address for zImage
<Wizzup> ok, I'll try to figure it out and see if I can send a patch
<Pali> n900 uses custom variables ($kernaddr, $initrdaddr, $scriptaddr), so aliases for standard variables could be useful
<Wizzup> oh, so the addrs are already there :)
System_Error has quit [Ping timeout: 276 seconds]
<parazyd> Wizzup: Ok, when we convert it from native to quilt, it works.
<Wizzup> lmao what
<parazyd> gbp on a native package cleans "foo.so" files
<Wizzup> jfc
<parazyd> On a quilt package it doesn't.
<Wizzup> why does it not do that for the ones I did?
<parazyd> I don't even wanna understand it.
<uvos> freemangordon: so x hangs in ospoll_wait until OMAPDRI2SwapComplete
<Wizzup> because the ones I made worked
<uvos> freemangordon: not sure why yet
<parazyd> Wizzup: Probably because there was no Makefile.
<uvos> but that seams wrong
<parazyd> Wizzup: It also works only with `dpkg-buildpackage`. It's just gbp that's broken
<Wizzup> blergh
<Wizzup> parazyd: what packages do you install to try to uprade to the new stuff?
<uvos> lol debian packaging
<Wizzup> I want to try on my n900
<parazyd> Wizzup: N900 is not ready yet.
<parazyd> But you could try on a bionic or something
<parazyd> Wizzup: This is the least steps I could do to perform the upgrade: http://sprunge.us/tASSBg
<freemangordon> uvos: hmm, this sounds ok to me
<Wizzup> parazyd: what do you mean 'n900 is not ready yet' ?
<Wizzup> do you mean dep wise?
<freemangordon> it should do nothing until page flip occurs
<parazyd> Wizzup: hildon-meta mostly
<freemangordon> the problem to me is that client does nothing as well int the meantime, instead of rendering
<Wizzup> well, I can ignore that for now as we need someone to test kernel and packages on n900
<uvos> freemangordon: right because x i hanging i suspect
<Wizzup> and I don't have a bionic with me
<uvos> ie client waits on some x call
<freemangordon> ah
<freemangordon> yeah, right
<freemangordon> mikes sense
<freemangordon> *makes
<parazyd> Wizzup: So just try to install the t343x libs and upgrade the ddk
<uvos> im not _sure_ this is whats happening but it looks suspicous
<Wizzup> k
<parazyd> That's enough, along with upgrading mesa
<uvos> ill try on bionic sec
<parazyd> Hold on for 5 more minutes so the latest libs are in the repo
<parazyd> After adding experimental, this worked
<parazyd> uvos: Also I recommend having latest devel updated to avoid other package noise
<uvos> parazyd: ok will do
<uvos> but have to charge the thing first
<parazyd> :)
<Wizzup> can hildon-meta depend on libegl1?
<Wizzup> then maybe apt dist-upgrade could work?
<parazyd> Perhaps the ddk should?
<Wizzup> I think mesa provides it
<Wizzup> the ddk does not provide this anymore afaik?
<uvos> yes
<uvos> its mesa
<uvos> nothing should depend on any of the ddk libs at all anymore
<Wizzup> then they will not get pulled in ;)
<uvos> except mesa itself and stuff that wants to use pvr2d
<Wizzup> but yeah
<uvos> the device meta pacakge should pull it
<Wizzup> it's more about making the upgrade smooth/working
<Wizzup> right
<uvos> nothing else should
<uvos> except video-omap (our only pvr2d user)
<parazyd> Yeah so I'm saying
<parazyd> Since hildon-meta-droid4 has xserver-xorg-video-omap
<parazyd> Should xserver-xorg-video-omap then have the sgx-ddk-um deps?
<uvos> i gues
<uvos> long term it would be better if we split hildon-device specific stuff and just device specific stuff
<parazyd> ok, I'm not sure where to put libegl1 then
<parazyd> Perhaps hildon-meta-$device indeed
<uvos> so hildon-desktop itself needs libegl
<uvos> so dose any other gles user
<uvos> they should pull mesas libegl
<freemangordon> wait, clutter chould already depend on that
<parazyd> It doesn't have a libegl1 dep
<uvos> then idealy mesa should pull sgx-ddk-um (but only on omap)
<parazyd> Only libgles2-mesa
<freemangordon> and that pulls the other stuff, no?
<uvos> thats wierd pacakging on debains part
<uvos> tho
<uvos> since you cant use libgles without egl
<parazyd> So maybe we should be more explicit with clutter deps?
<freemangordon> if it doesn't, then debian packaging is broken
<freemangordon> *mesa debian packaging
<uvos> parazyd: sure having clutter depend is a workaround
<uvos> but really this is upstreams fault if its as descibed above
<uvos> how dose it work on pp rn?
<parazyd> ah wait
<uvos> somhow egl must be installed there
<parazyd> I think if we rebuild clutter
<parazyd> We might be in luck
<parazyd> But we'd have to build it in experimental to test
<parazyd> I'll try that
<Wizzup> 13:34 < parazyd> Should xserver-xorg-video-omap then have the sgx-ddk-um deps?
<Wizzup> doesn't it have that already?
<Wizzup> it depends on -dev for build and it should depend on -libs at runtime
<Wizzup> if that's not the case it needs to be fixed
<Wizzup> uvos: why should ddx not pull sgx-ddk-um? it needs the libraries
<uvos> ?
<uvos> it should
<freemangordon> EXA needsw libs
<uvos> [13:32] <uvos> nothing should depend on any of the ddk libs at all anymore
<uvos> [13:32] <uvos> except video-omap (our only pvr2d user)
<freemangordon> :)
<Wizzup> agreed, ok
<parazyd> The issue is it can't pull them in directly
<parazyd> Since we have omap3 and omap4
<parazyd> So we need to resolve that someplace else (hildon-meta)
<uvos> why
<uvos> the package is in n900 and in droid4 section
<uvos> it will pull what its on
<parazyd> Wizzup made it use a virtual
<uvos> ok
<Wizzup> right, yes, the pkg specific -meta should pick the exact version it wants
<Wizzup> where version = omap version
<uvos> im not sure why you want to do it like tis
<uvos> instead of using the sections
<uvos> but if you do then sure
<uvos> meta then needs to pull it
<Wizzup> well we would have to introduce new sections
<Wizzup> and that is not an easy upgrade path
<uvos> Wizzup: why?
<Wizzup> unless you want to use n900 for omap3 and droid4 for omap4
<Wizzup> uvos: because people would have to change sources.list
<uvos> no not that
<uvos> ok sure we might have some problem in the future if we add a non-mapphone non-n900 omap device
<uvos> really the current sections arnt so great anyways maybe we sould break at some point
<uvos> needs to be well thought out tho
<parazyd> I agree we could work on this a bit
<uvos> i mean bionic is droid4 bionic
<uvos> realy there sould be omap4 mapphone bionic or something like that
<Wizzup> uvos: like xt610 :)
<uvos> heh
<uvos> yeah
<Wizzup> so I went for the virtual like that because we had no easy other path, but yes we need to work on the components
<uvos> yeah sure makes sense
<uvos> just makes the packaging a bit ugly rn
<uvos> as you have discoverd :)
<Wizzup> I thought the -meta-$device could just pull the right libs
<Wizzup> does that not work?
<uvos> it dose
belcher has quit [Ping timeout: 245 seconds]
<uvos> but some package needing some other package but not directly depending on it is a bit ugly
<Wizzup> yeah
<uvos> you might want to install hildon without going for the full meta
<Wizzup> well that will break a lot more currently
<parazyd> We can have a big break, but then we need to clean up everything at once.
<parazyd> tbh it sounds better than patching solutions
<parazyd> (And really it's not a break, just changing sources.list and dist upgrade)
<uvos> yeah proubly fine if a short blogpost acompanies it to tell people what they need to do
<parazyd> Exactly
<Wizzup> why not do it with the buster+1
<parazyd> That'd work
<parazyd> That's the time when we rebuild everything anyway :D
<Wizzup> I prefer that since it's obvious they should probably read the news update or flash a new image, which is better than folks not knowing what's up and upgrading and things breaking
<parazyd> For this, I'd like that we design some doc/spec on what the repo layouts should look like next
<parazyd> And do some prior investigation to know if it will work (and scale)
<Wizzup> yes we can make an issue for it
<Wizzup> with chimaere milestone
<Wizzup> (sp)
<Wizzup> lol
<Wizzup> ok, will try n900 momentarily
<Wizzup> freemangordon: you said portrait doesn't work yet right?
<sicelo> he said so, yes
<Wizzup> sicelo: thanks for refreshing my memory :p
belcher has joined #maemo-leste
uvos has quit [Ping timeout: 245 seconds]
<parazyd> Sorry I dunno how to get a clean upgrade
<Wizzup> what is the problem that you run into that doesn't work with dist-upgrade
<parazyd> Things don't want to upgrade unless I manually install libegl1
<parazyd> And even that implies that hildon-meta is removed
belcher has quit [Ping timeout: 250 seconds]
<Wizzup> what is the verbose tree / error?
<parazyd> bbl I have to work on other things
<parazyd> Wizzup: I advise to try it with a new image
<parazyd> I outlined the steps to you and uvos earlier
<parazyd> (See the sprunge)
<Wizzup> yes, I wanted to offer help not pick up the task ;)
<parazyd> I don't know how to solve it
<parazyd> So somebody does have to pick it up
<crab> hi again, what is the current kernel version i should be running on n900 assuming im up to date?
<crab> is it > 5.1.21 ?
<Wizzup> no, it is 5.1.21 until we finish the 5.15 upgrade path
<Wizzup> I am going to try to do that today on my n900
<crab> aah cool.
<crab> thanks
<crab> i was just wondering if the reason my gui doesnt work is maybe because im installed on an sd card
<crab> and kernel wasnt getting updated somehow, but it seems like it is in that case. :)
<Wizzup> your gui (still) doesn't work?
<Wizzup> apt-get -s -o Debug::pkgProblemResolver=yes upgrade
<Wizzup> this seems very helpful
<crab> aah thanks
<crab> also ill have to remember to sort out my uboot settings when that new kernel does get upgraded
<crab> Dependencies are not satisfied for hildon-connectivity-wlan:armhf < 1.4+2m7 -> 1.5+2m7 @ii umU Ib >
<crab> hmm.
<Wizzup> any context other than that line?
<crab> Keeping package hildon-connectivity-wlan:armhf
<crab> Calculating upgrade... Done
<crab> The following packages have been kept back:
<crab> hildon-connectivity-wlan
<Wizzup> does 'dist-upgrade' help?
<Wizzup> apt dist-upgrade
<crab> nah
<crab> that says shes all good :)
<crab> shall i try dist upgrade with apt-get and the debug ProblemResolver?
<Wizzup> huh, that's wierd, upgrade complains and dist-upgrade says there is nothing to do?
<crab> heh
<crab> same outcome
<crab> yeah looks like it
<crab> anyway dont let me distract you from more important work
<Wizzup> anyway, your UI is broken?
<crab> maybe it'll all come out in the wash when the next raft of updates are released,
<crab> and if not ill just do a fresh install
<crab> yeah
<crab> the text part of the boot process is fine
<crab> then it all goes black screen on me
<crab> but fortunately i can ssh in
<Wizzup> does /var/log/Xorg.0.log say anything useufl
<Wizzup> err
<Wizzup> not that
<Wizzup> /tmp/Xorg.0.log
<crab> there are a few errors about missing font paths
<crab> but it looks reasonably ok
<crab> i seem to remember something about "ofono"
<Wizzup> wait, you have -devel enabled?
<crab> some errors during the boot process about that
<crab> aah yeah i prob. do :)
<crab> how can i check?
<crab> is that a sources.list thing?
<crab> i cant see it there
<Wizzup> I wonder how ofono got installed
<crab> im not convinced it is
<crab> hmmm
<crab> some bits of it appear to be though
<crab> specifically libgofono and ofono-scripts
<Wizzup> we *really* need a good page on how to provide info about failures
<Wizzup> I don't know what to suggest atm
<crab> dont worry :)
<crab> thanks for help
<crab> and good luck with the real work.
uvos has joined #maemo-leste
<uvos> Wizzup: crab: i mean provide tail -n 2000 /var/log/daemon.log is a good start
<uvos> would be cool to have icd2 working in the emergency runlevel for this
<crab> ok ill pastebin that up if its really eating you, but i will give the rest of the channel a chance to stop me so we can save you from yourself
<crab> oh sorry, i didnt pay attention to who was typing...
<crab> :P
<uvos> contrary to popular belief this chat is not simply Wizzups different personalitys chating with eatch other
<crab> watch it! im in here under two irc clients as discussed! ;)
<crab> daemon.log is empty. :|
<uvos> really
<uvos> thats strange
<crab> possibly because i forwarded to my syslog server :P
<Wizzup> uvos: yes but I think we should split up daemon.log, I have syslog rules to do it per daemon
<Wizzup> but yeah only on my d4 atm
<crab> neither of you worry about it.
<uvos> Wizzup: sure thats fine
<crab> i got a weird feeling it'll sort itself a few apt's down the line
<crab> and if it doesnt its probably time to clean the machine up anyway
<crab> its got maemo, a strange gui-less debian install,
<crab> maemo leste
<crab> and possibly some other guff on here
<uvos> Wizzup: but thats not as conviniant if some user who knows little about linux just saies: black screen, dosent work or?
<crab> and none of them satisfy me like maemo-leste *even without the gui* ;)
<uvos> i mean leste with no gui is just devuan no :P
<uvos> but yeah
<crab> :)
<crab> it has a more up to date kernel than the debian thing on here
<crab> and more up to date userland
<crab> so its all good
<Wizzup> uvos: right, we also need a set of instructions
<crab> also currently ranked 42 on multirpg
<crab> :)
<Wizzup> uvos: parazyd: hm looks like the ddx somehow pulls in ti434x
<Wizzup> I have ti343x installed nad it wants to remove it
<Wizzup> that sucks...
<Wizzup> is that because it resolves it to ti434x at build time or something
<sicelo> sounds like some package has wrong dep(s) then :-)
<uvos> rr:7 https://pkgmaster.devuan.org/merged beowulf Release
<uvos> Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 152.228.204.144 443]
<uvos> whats wrong here
<uvos> the oldstable change?
<uvos> (upgrading a old bionic to latest devel)
<uvos> ah was my fault
<Wizzup> time?
<uvos> yes
<uvos> i saw 2021 in date and thoght that ment ntp worked
<uvos> but i forgot fake-hwclock exists
<freemangordon> Wizzup: hmm, I think I know what happens
<freemangordon> it was build against ti434x I guess
<freemangordon> so, I think ddx should have dependency to ti434x removed during build and a manual dependency to ddk-sgx-um virtual package
<freemangordon> or ddk-sgx-um-libs or whatever the package is called
<Wizzup> how would do we that in the ci
<Wizzup> freemangordon: btw, how do you boot your 5.15 n900 kernel image?
<Wizzup> any specific boot args?
<Wizzup> I have the serial here but no lab power supply, so I can't check serial for another two weeks :D
<bencoh> nah, who needs a lab psu anyway ... just rip open a usb cable and add a voltage divider with two resistors :*
<bencoh> (mostly kidding ... but it would probably work)
<Wizzup> maybe the kernel I built just doesn't work for the n900
<uvos> parazyd style upgrade works fine on bionic
<uvos> and the new ddk setup works fine on bionic in general
<Wizzup> great
<Wizzup> weird that if hildon-meta-droid4 depends on libegl1 (with specific ersion) it still does not get installed
<freemangordon> Wizzup: I used uImage
<freemangordon> Wizzup: why CI? debian packaging should be fixed to exclude ti434x frompackage dependencies
<freemangordon> and in debian/control a manual dependency to virtual package shall be added
<freemangordon> or just shlibs:Depends can be removed, but that's too drastic IMO
<freemangordon> lemme see if I can fix the packaging
<Wizzup> freemangordon: isn't that what I did?
<Wizzup> freemangordon: ok thanks
<freemangordon> no idea, sorry, did you do something I missed?
<Wizzup> freemangordon: ok, I can't get the zImage to boot on the n900
<Wizzup> freemangordon: no, please just take a look
<freemangordon> try uImage
<Wizzup> yeah the ci doesn't build a uimage
<Wizzup> but I'll make one
<freemangordon> yeah
<freemangordon> do you want me to provide mkimage command
<freemangordon> I mean - the paramters
<Wizzup> I think it is this mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -d zImage uImage
<Wizzup> but that's just what's in my history :)
<Wizzup> let me check n9xx-linux
<freemangordon> mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n zImage -d zImage uImage
<freemangordon> -n can be different/missing ofc
<Wizzup> yeah
<freemangordon> Wizzup: what is the virtual package name?
<freemangordon> found it sgx-ddk-um-libs
<Wizzup> freemangordon: right
<Wizzup> and they both 'provide' it
<freemangordon> ah, it is already a dependency
* freemangordon did some mogic, lets see if it is going to work
<Wizzup> cool
<freemangordon> *magic* even :)
<Wizzup> brb, I'll try the uImage when I get back
<freemangordon> Depends: libc6 (>= 2.4), libdrm-omap1 (>= 2.4.33), libdrm2 (>= 2.4.36), xorg-video-abi-24, xserver-xorg-core (>= 2:1.18.99.901), sgx-ddk-um-libs
<freemangordon> :)
<freemangordon> please rebuild when you have time
inky_ has quit [Ping timeout: 256 seconds]
<Wizzup> running
nohit has quit [Ping timeout: 264 seconds]
nohit has joined #maemo-leste
<freemangordon> Wizzup: is it fixed now?
<Wizzup> let me see
<Wizzup> oh right
<Wizzup> I need to fix the uImage
<Wizzup> (since it's powered off atm)
belcher has joined #maemo-leste
<mighty17[m]> freemangordon:do you mind me packaging your mesa in pmOS?
<Wizzup> freemangordon: hm seems to just reset after a bit (kernel)
<freemangordon> mighty17[m]: not sure I understand the question
<freemangordon> why shall I mind?
<freemangordon> it is not 'mine' really
<mighty17[m]> asking for permissions is always better :D
<freemangordon> ok, you have my permission if you (and pmos guys) promise to fix the bug there if any :p
<mighty17[m]> well exporting =pvr is a not a bug, its a feature
<bencoh> :]
<freemangordon> mighty17[m]: also, 'my' mesa was a bit older, Wizzup rebased on some recent version
<mighty17[m]> we've been using 20.3.2 since ages :P
<freemangordon> 21.2.5+pvr1-1+2m7
<freemangordon> most-probably has PP fixes/improvements
<freemangordon> but up to you ofc
<Wizzup> freemangordon: when you build n900 kernel, what config do you use?
<Wizzup> I wonder if perhaps some defconfig or built in command line change is the problem here
<freemangordon> the same as for d4
<freemangordon> omap2plus-defconfig
<Wizzup> blergh
<Wizzup> ok
<Wizzup> and you also do appended dtb I assume
<freemangordon> yes
<Wizzup> well with 5.1 my n900 boots to a llvmpipe desktop at least
<Wizzup> so it's not completely fuba
<Wizzup> fubar*
<Wizzup> freemangordon: can you send me your uimage + mods (assuming the mods are different)?
<Wizzup> I took the droid4 img and did 'cat zImage omap3-n900.dtb > ../zImage' and then a mkimage, and it just doesn't boot
<mighty17[m]> <freemangordon> "most-probably has PP fixes/..." <- PP = pinephone?
<freemangordon> yes
<freemangordon> Wizzup: "mods"?
<freemangordon> modules?
<Wizzup> modules
<freemangordon> sec
<Wizzup> alt you can try the one we build in CI, but I suspect that's more work for you
<freemangordon> just lemme verify it still boots before sending to you
<Wizzup> ok
<freemangordon> hmm, maybe I shall provide you the .config files as well
<freemangordon> I am not 100% sure I didnt; change anything
<Wizzup> if it boots I won't need te config files, they are usually built in
<freemangordon> ok
<Wizzup> btw, yes, looks like the ddx fix worked
<Wizzup> (wrt deps)
<freemangordon> great
<Wizzup> freemangordon: do you use 'run sdboot' to boot the kernel?
<freemangordon> yes
<Wizzup> trying to find what I am doing wrong, not finding it :)
<freemangordon> btw, this kernel *does not* boot to h-d
<freemangordon> but boots to console
<Wizzup> for me it resets after like 10-15s
<freemangordon> ah, ok
<Wizzup> and I see nothing on the screen
<freemangordon> ok, boots here, sec to provide archive
<Wizzup> btw, if it does not boot to h-d, is it an older commit than the droid4-linux branch we have then?
<freemangordon> no, it is on leste/droid4-pending-pvr-omapdrm-v5.15
<freemangordon> not saying it is kernel fault
<freemangordon> for sure it is missing nokia modules
<freemangordon> and maybe ofono hangs because of that
<freemangordon> wild guessing, didn;t investigate what happens
<freemangordon> yes
<Wizzup> ty I wil try this
<freemangordon> last commit is 32fd293562d705670dfb3522e19e533e98729a9e
<Wizzup> cool
<freemangordon> but maybe I have some config changes
<freemangordon> wifi related for sure
<freemangordon> I don;t think wl1251 is enabled by default
<Wizzup> still the one we have in the CI doesn't even get to a screen, probably not even to openrc
<Wizzup> let me try now..
<freemangordon> hmm
<freemangordon> "Nov 23 18:44:20 localhost /etc/init.d/mce[2268]: ERROR: mce failed to start"
<freemangordon> that's why it doesn;t boot
<Wizzup> lol, your kernel also resets for me
<Wizzup> what u-boot do you have?
<freemangordon> hmm
<freemangordon> lemme check
<Wizzup> I built one today, 2021.10
<freemangordon> some old one
<freemangordon> but not fremantle
<freemangordon> like, from the times I played with uboot
<freemangordon> no, it is few months old
<freemangordon> have to reboot to verify
<freemangordon> sec
<uvos> mce --verbose --verbose?
<uvos> wrt it not starting
<Wizzup> with old u-boot it also resets with no info :(
<freemangordon> uvos: still, have to reboot
<freemangordon> also, this device hasn;t been updated for ages
<freemangordon> Wizzup: :(
<freemangordon> that's bad
<Wizzup> yeah, blind debugging is no fun
<Wizzup> I have the serial right here, but no the lab psu
<uvos> the n900's hard to acess serial port is a constant problem :\
<freemangordon> I know (blind debugging) :)
<Wizzup> uvos: yes we had an idea about making some serials but you didn't like the design right :P
<uvos> well you dont need to me to rubber stamp your designs do you :P
<freemangordon> Wizzup: my uboot is built on 31 oct 2020
<Wizzup> I think I'll take a break and see if I can think of a method to debug this later
<freemangordon> but I don;t think that's relevant
<Wizzup> right, same problem with our 'standard' 2013 uboot
<freemangordon> somehitn broken on uSD card?
<Wizzup> very much doubt it
<freemangordon> "/lib/rc/sh/openrc-run.sh: 1: export: directory:: bad variable name"
<freemangordon> yeah, SW on this device is old :)
<Wizzup> I'll be home on 7 december, then I can try it with psu
<Wizzup> exactly two weeks from now ;)
<freemangordon> nice
<Wizzup> maybe it's some watchdog kicking before the module is loaded ?
<freemangordon> new rule of thumb - never go abroad without lab psu :p
<Wizzup> I had one, I left it in sofia!
<Wizzup> lol
<freemangordon> ah, I see
<freemangordon> "1 upgraded, 0 newly installed, 0 to remove and 663 not upgraded."
<Wizzup> lol
<freemangordon> yeah, this will take time
<Wizzup> freemangordon: I wonder if it is the watchdog being '=m'
<Wizzup> CONFIG_OMAP_WATCHDOG=m
<Wizzup> CONFIG_TWL4030_WATCHDOG=m
belcher has quit [Ping timeout: 268 seconds]
inky_ has joined #maemo-leste
<freemangordon> Wizzup: maybe
<freemangordon> if you boot from a slow uSD that could be a problem I guess
ruleh has quit [Quit: Client closed]
belcher has joined #maemo-leste
<Wizzup> n9xx-linux $ grep WATCH ./arch/arm/configs/n900_defconfig
<Wizzup> CONFIG_OMAP_WATCHDOG=y
<Wizzup> CONFIG_WATCHDOG=y
<Wizzup> CONFIG_TWL4030_WATCHDOG=y
ruleh has joined #maemo-leste
<freemangordon> hmm
<freemangordon> well, try it
<sicelo> wl1251 should be enabled by default for n900. i committed that a while ago
<Wizzup> freemangordon: yeah will do in a bit
<freemangordon> Wizzup: who provides mesa.sh?
<freemangordon> found it
<freemangordon> Wizzup: we need nokia-modem enabled too
<Wizzup> that is for your problem, right?
<Wizzup> I'll enable it a bit later once I have it booting
<Wizzup> (your problem = not booting to h-d)
<uvos> tmlind: btw 5.15 pwrdm is unhappy on bionic
<uvos> pwrdm state mismatch(l4per_pwrdm) 3 != 1 repeats fairly often
<uvos> related to the cpcap regulator swap?
<freemangordon> Wizzup: not sure why h-d is not booting
inky_ has quit [Ping timeout: 256 seconds]
<freemangordon> why xsession needs ofono?
<Wizzup> pinentry probably
<uvos> i think we added it for sphone
<Wizzup> freemangordon: wait are you seeing X starting, but hildon not?
<uvos> but sphone dosent need to be started after ofono anymore
<freemangordon> Wizzup: yes
<Wizzup> maybe see if some pin entry thing is running
<freemangordon> because I have no ofono installed ;)
<freemangordon> and because of that, xsession fails to start
<uvos> just remove it
<uvos> its not nessecary anymore
<freemangordon> but why it is there in the first place? I upgraded
<uvos> i think parazyd added it for sphone
<uvos> as i said
<freemangordon> ok, please remove it
<uvos> i dont have commit access
<uvos> so parazyd ^^^
<Wizzup> so this could be all the ui update problems maybe as well
<uvos> yeah if its dependes
<uvos> instead of merly after ofono
<uvos> in the initscript
<uvos> then yeah
<uvos> thats a bug
<uvos> what pacakge is the init scipt in question in?
<uvos> Wizzup: its you accutally
<uvos> apearantly not for sphone either
<uvos> Scripts that get installed to xsession (like connui-conndlgs) require
<uvos> ofono to be running, or the entire xsession will block indefinitely
<uvos> (on startup-pin-query in this case).
<uvos> we need to do soemthing about that ^^^^
<uvos> ofono cant be mandatory
<Wizzup> I think it was not on purpose that this went to table
<Wizzup> well later on it will have to be
<Wizzup> but not now
<uvos> ok
<uvos> no
<uvos> ofono cant be mandatory
<Wizzup> it should be depending on the installed packages, but let's not go into that now please
<uvos> ok
<uvos> anyhow please remove this commit
<uvos> Wizzup: a clean ish solution for now
<uvos> is for that init script to not need ofono but be after ofono
<Wizzup> won't that do the same?
<uvos> no
<uvos> and whatever xsession script blocks should check pidof ofono
<Wizzup> freemangordon: are you sure this is causing your problem btw?
<uvos> and then exit immitaly
<uvos> if ofono is not running
<Wizzup> i.e. can you remove ofono from the /etc/init.d/xsession
<freemangordon> yeah, already did
<freemangordon> now trying to boot
<Wizzup> and that's the problem?
<Wizzup> ok
<freemangordon> no idea, still trying to boot
<freemangordon> hmm, actually device got powered off a couple of times, exactly as you explained
<freemangordon> on the 3th try it booted fine
<freemangordon> yep, h-d is up
<uvos> sweet random reset timeing bug :P
<freemangordon> yeah, maybe the issue is with WDs being modules
inky_ has joined #maemo-leste
<Wizzup> let me try wd now
<sicelo> i've never understood why retries make a difference with the booting :-/
<Wizzup> if it's timing related
<uvos> also second boot is warm
<uvos> (ie registers are not in reset state nesscarly)
<Wizzup> freemangordon: how long before you see something on console btw?
<Wizzup> it's not resetting now at least with me compiling watchdog in
<sicelo> it's not a warm/cold boot issue. sometimes cold boots, then warm won't boot
<sicelo> anyway, i guess serial is the only way to really find out
<uvos> Wizzup: maybe the problem is that it fails to init the mmc card
<uvos> that would explain the reset
<uvos> cant find the modules
<uvos> and the no reset now
<Wizzup> it doesn't reset now with watchdog compiled in
<uvos> but still no boot
<Wizzup> yes maybe
<Wizzup> but why would that be the case for me and not for fmg?
<uvos> sdcards take different amounts of time to come up
<uvos> fmgs might come up faster
<uvos> or smth
<Wizzup> can't have nice things, ever :D
<Wizzup> wait it boots now I think
<uvos> maybe build in the dss modules
<uvos> /omapdrm
<uvos> then it might light the display
<uvos> having a fully static kernel around is very usefull for debuging this kind of issue gennerally
<Wizzup> yes it booted to 5.15
<uvos> great
<Wizzup> looks like my X is trying to use fbdev
<uvos> still have -video-sgx installed?
<Wizzup> I think I removed it
<Wizzup> purging it...
<Wizzup> hm, same error
<uvos> xorg.log?
* Wizzup removes xserver-xorg-video-fbdev
<Wizzup> hm, maybe not
<Wizzup> uvos: same as before basically, no mention of omap
<Wizzup> hm:
<Wizzup> unrelated but:
<Wizzup> # /usr/bin/pvrsrvinit
<Wizzup> PVR:(Error): SrvInit: PVRSRVInitSrvConnect failed (129) [0, ]
<Wizzup> failed to initialize server
<Wizzup> (it might have already initialised)
<Wizzup> yeah it did I think:
<Wizzup> [ 481.334197] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
<Wizzup> freemangordon: do you have xorg conf on n900?
<Wizzup> It tried to load everything but omap it seems
<freemangordon> Wizzup: yes, I have
<freemangordon> it is there from when I played with omap driver
<freemangordon> I guess
Wikiwide_ has joined #maemo-leste
<Wizzup> freemangordon: care to share the config?
<freemangordon> Wizzup: https://pastebin.com/0f2JWWEz
<freemangordon> but i guess if you copy it from d4 it will work
<Wizzup> we have none at d4
<Wizzup> [ 1032.943] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/omap_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/omap_dri.so: cannot open shared object file: No such file or directory)
<Wizzup> mesa eh
<Wizzup> weird, even with the env var it doesn't work
<Wizzup> time to compare versions
<freemangordon> how's that (none on d4)?
<freemangordon> how does it know it shoul dload omap and not modesetting?
<Wizzup> I don't know, maybe I removed modesetting?
<freemangordon> I am almost sure d4 has omap.conf
<ruleh> there is /usr/share/X11/xorg.conf/99-omap.conf
<ruleh> xorg.conf.d
<Wizzup> ruleh: oh, yeah, I forget about these new paths... why do we have config in /usr/share again :-)
<ruleh> I think it is supposed to be  something like vendor supplied stuff goes to usr/share and admin configured stuff into etc or so
<Wizzup> freemangordon: so it doesn't segfault for you as soon as you touch the screen ? :P
<Wizzup> ruleh: right, yeah
<freemangordon> no
<Wizzup> I'll install debug symbols
Wikiwide_ has quit [Read error: Connection reset by peer]
<Wizzup> slowly getting there at least
Wikiwide_ has joined #maemo-leste
<Wizzup> freemangordon: https://dpaste.com/2PVNJCCMC
<Wizzup> maybe I have old libdrm_omap
<tmlind> Wizzup: have you checked the kernel defconfig has been flipped over to 1.17? it defaults to 1.14 i think
<Wizzup> no, same version
<Wizzup> tmlind: it's the same kernel as the droid4-linux one, just with watchdog built in
<tmlind> ok
<Wizzup> freemangordon: hm I think maybe the init doesn't happen via init script
<Wizzup> freemangordon: ah: [ 390.615112] cma: cma_alloc: reserved: alloc failed, req-size: 375 pages, ret: -12
<tmlind> uvos: that pwrdm mismatch is a bit of a mystery, probably some glitch between the cpuidle and prm driver, harmless afaik
<freemangordon> Wizzup: oh, now I remember, I increased CAM to 32 MiB :)
<freemangordon> *CMA
<Wizzup> hehe
<Wizzup> ok
<Wizzup> let me do that
<Wizzup> any reason to make it even higher?
<freemangordon> Wizzup: I don;t think we shall increase it that much
<Wizzup> ok
<Wizzup> rebuilding kernel
<freemangordon> I have a kernel fix in mind, unfortunately Tomi refused to accept the idea
<uvos> tmlind: ok, dont see it on d4
<Wizzup> I think 32M is fine (for now)
<uvos> tmlind: seams to apear all the time on my bionic
<uvos> tmlind: dosent have any obvious negative effect yeah
<freemangordon> tmlind: is there any negative effect of increasing CMA on n900?
<Wizzup> uvos: ok questions are being asked internally about gitorious
<uvos> thank you :)
<tmlind> freemangordon: well how much does increasing help? n900 runs out of memory easily..
<freemangordon> well, seems I didn't ask my question correctly :). Lemme rephrase - what should be the recommended value? given that we need at least 3 800x480x4 buffers for Xorg only
<tmlind> not sure, sounds like some experiments are needed to find the usable minimum size
<freemangordon> yeah. well, I'd rather write that fix
<tmlind> sounds like no help increasing it beyond the necessary minimum?
<Wizzup> uvos: they might hand me all the gitorious data and task me with putting it online, we'll see
ruleh has quit [Quit: Client closed]
<freemangordon> but, I think we need contiguous memory for VRFB, so maybe that patch is not that helpful
<Wizzup> fun...
<freemangordon> *will not be that helpful
<freemangordon> yeah: "...must be allocated as a contiguous memory segment."
ruleh has joined #maemo-leste
<tmlind> maybe play with cma=size[MG] option a bit?
<freemangordon> tmlind: well, no hurry, I am just thinking a bit
<freemangordon> we need at lest 6MiB just for the framebuffers
<freemangordon> but for others, I still think it makes sense to not use CMA
<freemangordon> not sure what was needed by IVA
<uvos> This is a hack which is required until: http://lists.x.org/archives/xorg-devel/2013-February/035449.html is merged
<uvos> heh ok mesa
<freemangordon> uvos: hmm?
<Wizzup> also need to check my powervr.ini -- we don't have that in any of our new pkgs atm I think
<freemangordon> we don;t need it
<freemangordon> anyway, I am afk
<freemangordon> ttyl
<Wizzup> freemangordon: wait
<uvos> freemangordon: so
<Wizzup> freemangordon: it works :)
<uvos> glx segfaults
<Wizzup> just wanted to share that
<uvos> because dri2CreateScreen blindly assumes the extension __DRI2_CONFIG_QUERY exists
* tmlind zzz
<Wizzup> sicelo: around?
<freemangordon> uvos: ah
<freemangordon> uvos: ok, will implement that
<freemangordon> Wizzup: cool!
<Wizzup> freemangordon: great work
<Wizzup> uvos: I think what we should do is integrate gl4es to do glx for us perhaps
<sicelo> Wizzup: yes.
<Wizzup> sicelo: do you have n900 pm stuff around>?
<Wizzup> I'd like to try it on 5.15
<Wizzup> like, to make it enter off mode, like a droid4-pm script
<uvos> yeah thats a good idea maybe xorg not ideling the display ever was all there was too it
<uvos> wrt it not idelin
<sicelo> no. i do have tmlind's patch though. had forward ported it to the last kernel i tried (5.12/5.13)
<uvos> g
<Wizzup> sicelo: right that's for reading the blockers
<Wizzup> but first we need to run the script and measure
<Wizzup> I had an adapted version at some point
<Wizzup> but I probably nuked it
<sicelo> there's the one in wiki. i was using that
<sicelo> n900 wiki, i.e.
<Wizzup> I don't think so
<sicelo> mmm, let me also check in my uSD card. i remember using a script similar to the d4 one, but can't find it now
<Wizzup> we also need to update idle_uarts (just change 4 to a 3 iirc)
<Wizzup> we also don't mount debugfs by default
<sicelo> hehe, and then my card won't work in laptop :-/
<Wizzup> anyway this is fine, I can port the blocker patch and work on a pm script
<Wizzup> basically everything that blocks idle is loaded atm :P
<Wizzup> sicelo: rebuilding with deeper idle patch, will let you know how far I get
<sicelo> great. :-)
<sicelo> what patch is that?
mardy has quit [Quit: WeeChat 2.8]
<sicelo> seems my card is toast. now as soon as i put it on laptop, i get 'mmcblk0: mmc0:aaaa SB16G 14.8 GiB (ro)' - that (ro) at the end :-(
<calebtheythem[m]> well i gave it a go (hopefully image sends), maemo boots on the OnePlus 6 with a hacked up pinephone rootfs
<calebtheythem[m]> touch seems to work - i was getting haptics feedback when touching the screen initially but it doesnt seem to do anything
<sicelo> hehe, looks interesting!
<calebtheythem[m]> ah it is just rotated
<calebtheythem[m]> do you guys have rndis gadget support? OR how do you usually debug?
<Wizzup> calebtheythem[m]: yeah usbnet usually
<Wizzup> calebtheythem[m]: we have a daemon that also loads it automatically on plug, but it uses a whitelist...
<Wizzup> calebtheythem[m]: really cool btw!
<Wizzup> I like the glow that comes from it
<uvos> tklock looks really bad @hdpi
<Wizzup> yes
<Wizzup> :D
<calebtheythem[m]> it's only 1080p XD
<Wizzup> calebtheythem[m]: n900 is 800x480
<sicelo> ah ok. that's the one i also had (patch)
<Wizzup> droid4 is a bit higher
<Wizzup> sicelo: right it just applied
<uvos> 960x540
<calebtheythem[m]> Wizzup: what's the daemon? I can do some tweaking
<calebtheythem[m]> I use some custom busybox ramdisk which brings up rndis, it mostly works as long as maemo doesn't tear down the interface
<calebtheythem[m]> interfaces*
<Wizzup> calebtheythem[m]: let me try to remember :P
<calebtheythem[m]> cheers
<calebtheythem[m]> Wizzup: ah I see, so that brings up rndis?
<Wizzup> calebtheythem[m]: well, I believe that will launch a set of scripts, in particular a binary (let me find the name) that sets up usbnet
<Wizzup> I think it's this one: /usr/sbin/hildon-usb-gadget-network
<calebtheythem[m]> ah right
<calebtheythem[m]> I think I have some script somewhere which brings it up, I'll try dropping that in for now
<Wizzup> should work too
<Wizzup> there is a script that calls that binary and also sets up the IP I think
<freemangordon> calebtheythem[m]: what's with the date of that thing?
<freemangordon> omg:
<freemangordon> Octa-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)
<calebtheythem[m]> freemangordon: the bloody RTC on this thing is readonly
<Wizzup> freemangordon: no keyboard though
<Wizzup> iiuc
<calebtheythem[m]> it reports the time since the battery was last removed (relative to epoch)
<Wizzup> lol
<freemangordon> and? you cannot set the date?
<calebtheythem[m]> i guess some the lockscreen clock got confused
<calebtheythem[m]> you can't write to the RTC
<sicelo> iirc this is the fastest/most powerful phone that's mainlined
<freemangordon> yeah, and is relatively new
<calebtheythem[m]> in postmarketOS we have a script which "solves" this by storing the now-rtc offset and updating the time
<freemangordon> 2018
<Wizzup> freemangordon: anything in particular that should be in powervr.ini ?
<uvos> hildons gona fly on that
<freemangordon> I imagine leste is liek butter on this
<uvos> unfortionatly it dosent scale
<freemangordon> Wizzup: we don;t need powervr.ini :)
<uvos> so you need 7nm fingers to go with your 7nm process node
<freemangordon> uvos: I think we can easily scale it
<uvos> x can scale it
<Wizzup> calebtheythem[m]: btw mce will disable input devices if the device is considered in 'locked' mode, but since it vibrated it shouldn't be locked
<uvos> sure
<freemangordon> it is clutter behind the scenes after all
<uvos> but it looks bad
<uvos> x can just do this too
<freemangordon> anyway, I am again afk
<uvos> ie blinear scale
<freemangordon> ttyl
<uvos> *bilinear
<Wizzup> sicelo: I get this atm: https://pastebin.com/raw/ZUCUJ3uX
<Wizzup> sicelo: I don't remember if I got that list reversed or not
<Wizzup> I will have to recheck with some specific tests
<Wizzup> otherwise the blockers are mostly mmc
<Wizzup> sicelo: oh wait it doesn't actually read the live values..
<Wizzup> ok, break time :)
<Wizzup> sicelo: yeah ok so that list needs a reversed(), just confirmed with otgusb
<Wizzup> oh mmc1 is the card, not wifi, nevermind me, anyway, you get the point
<Wizzup> these are the currnet blocking bits, maybe tmlind has some ideas tomorrow:
<Wizzup> ST_SDRC
<Wizzup> ST_OMAPCTRL
<Wizzup> ST_I2C1
<Wizzup> ST_MCSPI4
<Wizzup> I will also just boot to busybox a bit later to see what happens if we load almost nothing
<Wizzup> but not today
* Wizzup afk
<sicelo> nice stuff
<sicelo> i'll definitely need to get a new sd and get my hands dirty again :-)
<sicelo> nice to see wifi appears to already idle?
<Wizzup> yeah not too surprising
<sicelo> TRM says SDRC = SDRAM Controller. i suppose that won't really ever idle so much
<freemangordon> and now we can finally enable -depth 16 :D
<sicelo> mcspi4 ... isn't that spi? where our wifi is sitting. can't recall if we have anything else on spi bus
<freemangordon> hmm, where is display?
<sicelo> ah, yes
<Wizzup> a lot seems to be on spi if I read /sys correctly
<Wizzup> oh sorry, not spi
<Wizzup> touchscreen is on spi
<Wizzup> panel as well it seems
<uvos> sudo lsof /dev/input/*
<uvos> maybe something holds the input device open
<Wizzup> &mcspi4_pinsis wifi in dts
<Wizzup> &mcspi4_pins is wifi in dts*
<Wizzup> sicelo: and it doesn't always block
<Wizzup> so yes, wifi idles
<Wizzup> ST_SDRC
<Wizzup> ST_OMAPCTRL
<Wizzup> ST_I2C1
<Wizzup> only have these now
<Wizzup> looks like st_i2c1 is twl
<uvos> check whats on i2c1 with ic2cdetect
<uvos> rmmod whatever is controling that device
<uvos> no idea about the others
<Wizzup> which could be a lot
<Wizzup> also mce and ke-recv hold input open
<uvos> they should
<uvos> non touchscreen ones
<Wizzup> yes, keypad, power button and and gpio_keys
<Wizzup> keypad is a bit weird IMHO
<Wizzup> mce 2854 root 12r CHR 13,64 0t0 412 /dev/input/event0
<Wizzup> /dev/input/event0:TWL4030 Keypad
<uvos> Wizzup: trying to idle the keypad is a useless endeavor
<uvos> Wizzup: the kernel holds any device with any KEY _watever event open for itself regardless
<Wizzup> anyway I'm really going to take a break now
uvos has quit [Ping timeout: 245 seconds]
epilys has joined #maemo-leste
<epilys> hello everyone
<epilys> has rust been tried/run on maemo?
<dsc_> most just went to bed before you came in I think :)
<epilys> my irc bouncer will be here all night
missMyN900 has joined #maemo-leste
<missMyN900> hi everyone - I used to own an N900 and now have a Pinephone (3 GB edition) with Maemo Leste on a microSD and postmarketOS Plasma on the eMMC