libera/#maemo-leste/ Sunday, 2021-11-14

Wizzupbencoh: ok I need thiscp -v /usr/bin/qemu-arm /var/cache/lxc/devuan/partial-beowulf-armhf/usr/bin/00:41
bencohWizzup: tbh I'm still amazed it works here without qemu in the lxc rootfs00:51
bencohback in the days (when I did it manually with chroots) I had to copy it there00:51
bencohsorry I didn't mention it00:52
bencoh(it really works without it here on debian though)00:52
Wizzupsurprising00:56
bencohfind /var/lib/lxc/maemo-leste-armhf/rootfs -iname "*qemu-arm*" returns nothing00:58
bencohand it definitely works00:58
bencohI guess gentoo does it slightly differently00:58
Wizzupyeah could be binfmt reg01:03
Wizzupwhere does01:10
Wizzupthis come from: /wrapper/amd64-divert.sh01:10
freemangordonon n900, glmark2 Score: 24, using 3d blit10:07
freemangordonwill try with 2d blit, to see if there will be any difference10:07
Wizzupfreemangordon: from the targetfs, which device do we want10:35
Wizzupti443x ?10:35
Wizzupor do you want to different ones for the n900?10:35
Wizzupe.g. ti343x10:36
freemangordonyes, we want different ones per device10:37
freemangordond4 - 443x10:37
freemangordonn900 - 343x10:37
Wizzupok10:44
Wizzupso there's headers, shared objects, ahd maybe pvrsrvinit (although you said we don't need it)10:45
freemangordonwe don;t need the headers from there10:45
freemangordononly libs10:46
Wizzuphttps://github.com/maemo-leste/pvr-omap4/blob/master/debian/control#L119 do you think we need this split?10:46
freemangordonheaders are mesa headers10:46
freemangordonno, everything comes from mesa10:46
freemangordonbesides blobs and SGX specific headers10:46
Wizzupor shall we just make it sgx-ddk-1.17-443x-libs10:46
freemangordonyes10:46
Wizzupok10:47
freemangordonwe need only the blobs from that repo10:47
Wizzupok, but -10:47
Wizzupplease let me know which blobs we don't want10:47
freemangordonIOW:10:47
freemangordonwe want only those with 1.17.xxxxxx in the name10:48
Wizzupok, so we don't want libEGL10:48
freemangordonno10:48
Wizzupand no libgdm10:48
freemangordoncomes from mesa ;)10:48
Wizzupok, that's clear10:48
Wizzupty10:48
Wizzupisually libGLES_CM also comes from mesa :p10:48
Wizzupoh actually that does also come from mesa here10:48
Wizzupjuts libGLES_v1_PVR_MESA does not10:48
freemangordonyes10:48
Wizzupok, so I will make -dev have the stuff in targetfs/ti443x/include and targetfs/ti443x/lib/pkgconfig10:49
Wizzupdo you want the drirc.d packaged anywhere? I guess nit part of this10:49
Wizzups/nit/not/10:49
freemangordonno10:49
Wizzupok10:49
Wizzupeasy10:49
freemangordonre -dev:10:49
WizzupI'll start with this10:49
lelMerlijnWajer created a repository: https://github.com/maemo-leste/sdx-ddk-um10:49
freemangordonwe don't want anything from here, besides libpvr2d.so, for example10:49
WizzupI don't undenrstand what you mean, there is no pkg-config or specific header for it there10:50
Wizzupoh, right, the gl/khr headers also come from mesa10:50
freemangordonyes, you shall create one (pkg-config)10:50
freemangordonbut, headers in -dev package (an maybe libs) are those I pushed yesterday in omap-vide10:51
lelMerlijnWajer renamed a repository: https://github.com/maemo-leste/sgx-ddk-um10:51
freemangordonand they are not device specific10:51
Wizzupfreemangordon: those are shared for device?10:51
Wizzupok10:51
freemangordonyes10:51
Wizzupwell let me get blobs packaged first10:52
Wizzupthen I will worry about libpvr2d and -dev and headers from omap ddx10:52
freemangordonok, but do not include .so files, besides libpvr_dri_support.so10:52
freemangordonhmm, hmm10:53
freemangordonscratch that10:53
WizzupI don't understand - you don't want the symlinks?10:53
Wizzupok10:53
freemangordonI think .so symlinks belong to -dev package10:53
freemangordonnot .so.1, but .so only10:53
freemangordonbut I am not sure what links to what10:53
Wizzup$ ls -lsh targetfs/ti443x/lib/libglslcompiler.so10:54
Wizzup4.0K lrwxrwxrwx 1 merlijn merlijn 31 Nov 14 10:37 targetfs/ti443x/lib/libglslcompiler.so -> libglslcompiler.so.1.17.494895710:54
Wizzup$ ls -lsh targetfs/ti443x/lib/libglslcompiler.so.110:54
Wizzup4.0K lrwxrwxrwx 1 merlijn merlijn 31 Nov 14 10:37 targetfs/ti443x/lib/libglslcompiler.so.1 -> libglslcompiler.so.1.17.494895710:54
freemangordonand for sure we need libpvr_dri_support.so in binary package10:54
freemangordonlinks are clear10:54
Wizzup> 10:54 < freemangordon> and for sure we need libpvr_dri_support.so in binary package10:54
freemangordonyes, because pvr_dri dload()'s it10:55
WizzupI was going to include it anyway per your instructions to include *.so*1.17*10:55
Wizzupoh right10:55
WizzupI see now, symlink wise10:55
freemangordonmhm10:55
Wizzupshall I just do all then10:55
WizzupI think it makes more sense than special casing10:55
freemangordonyes, better do10:55
Wizzupok10:55
freemangordonyeah10:55
freemangordonalso, make sure that every binary package you build provides sgx-ddk-um and sgx-ddk-um-1.17.4948957 (for example)10:57
freemangordonso that -dev package deps to sgx-ddk-um-1.17.4948957 and (maybe) omap-video deps to sgx-ddk-um to be satisfied nop matter the device package installed10:58
Wizzupok, I'll try11:03
Wizzupboth src/pvr/hwdefs/ and src/pvr/include4/ - do you want them in /usr/include/sgx/ or something?11:05
freemangordonhmm, seems 2d blit is faster11:14
freemangordonWizzup: not sure, see how is kernel tree11:14
freemangordonwe better follow it11:15
Wizzupkernel tree?11:15
freemangordonTBH, this -dev package shall come from the kernel build11:15
freemangordonyes, headers kome from PVR kernel driver11:15
freemangordon*come11:16
freemangordonsec11:16
freemangordonWizzup: https://github.com/tmlind/linux_openpvrsgx/tree/droid4-pending-pvr-omapdrm-v5.15/drivers/gpu/drm/pvrsgx/1.17.4948957/eurasia_km/include411:19
freemangordonnot sure if all kernel headers shall be packaged11:19
freemangordonbut we already have something similar, so maybe check how it is packaged there11:19
freemangordonhave to run, ttyl11:19
Wizzupok, pvr-omap4 doesn't have these headers at least (our old droid4 ddk pkg)11:20
freemangordonwe have some pvr ddx11:21
freemangordonfor omap3?11:21
freemangordonnot ddx, but blobs11:21
freemangordonfor omap3 I think there is a package with headers11:21
freemangordonttyl11:22
freemangordonbut again, I think -dev shall come from kernel build11:22
bencohWizzup: I included a copy of the -divert scripts at the end of that notes file11:23
Wizzupah..11:28
Wizzup# cat /wrapper/amd64-divert.sh11:29
Wizzupcat: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory11:29
Wizzuplooks like it's propertly hosed now11:30
Wizzupheh11:30
bencohhm11:30
bencohyou should setup the lib folders first though :]11:30
Wizzupif you mean the amd64 symlinks, I did that already11:31
Wizzupthe dash divert did something to my lib paths it looks like11:31
bencohhmm ... if you want you can probably try that version http://bencoh.notk.org/maemo/maemo-leste-armhf-lxc-crossbuilder.tar.xz11:32
bencohit's slightly old and probably misses a few optimizations11:32
bencoh(ie a few diverts)11:32
bencohwell, diverting dash means dash is now amd6411:33
Wizzupmaybe I just need to restart the shell11:33
Wizzup# lxc-attach maemo-leste-armhf11:33
Wizzup/bin/bash: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory11:33
bencohyeah, something's missing then11:33
bencohI remember having that error back when I started11:33
bencohyou know what, maybe I should try building one from scratch again11:34
Wizzupwould appreciate i t11:35
WizzupI was going to use it to try the mesa packaging mostly, but I'll do the pvr ddk stuff first11:36
bencohduh, my laptop (host) is running debian, and looks like upgrading to stable messed with the devuan keys again ... that's sill11:37
* dreamer running updates11:38
dreamerheuhm. the d4 just decided to reboot ..11:44
Wizzupif you haven't upgraded in a long time, that's an old issue that's hopefully solved11:44
bencohhmm, I'll have to update the devuan repositories btw11:45
dreamermonth or two at most11:45
dreamerhmm11:48
dreamerThe following packages have been kept back: hildon-meta11:48
dreamerhave we moved to chimaera yet?11:48
Wizzupdreamer: try dist-upgrade wrt meta11:49
Wizzupwrt chimaera no, that's a while out I think11:49
dreameryes, thnx11:49
dreameryeah just checking11:49
dreamerdo I need to restart hildon now?11:50
WizzupI don't think so if it was just the meta11:51
Wizzupbut you could I guess11:51
dreameris there an idea how to fix the annoying charge notification *woosh*? it randomly keeps doing that :#11:52
dreamerI'm on silent profile11:53
Wizzupon silent profile it should not make that noise, and no, if it is fully charged it will feel switching between discharging and charging atm11:54
Wizzups/feel/keep/11:54
dreamerI hear all desktop sounds/notifications11:54
Wizzupmaybe a reboot is in order them, uvos changed the gconf keys for those11:54
Wizzups/them/then/ more coffee11:55
dreamerhmm. ok :)11:55
dreamerstill wooshing and notifying12:06
dreamerI guess I'll just mute the audio then12:06
Wizzupweird, I don't have this problem on mine12:08
Wizzupmaybe it's a -devel thing (not sure)12:08
dreamerare there any recommended build flags for the d4?12:27
Wizzupdreamer: for what in particular12:32
dreamerI want to build gl4es :)12:32
dreamerit uses cmake12:32
Wizzuphttps://github.com/maemo-leste-upstream-forks/gl4es12:32
Wizzupis it not in -extras ?12:32
dreameroh hey, indeed it is12:32
dreamerVersion: 1.1.4-1+2m7.412:33
dreamerdidn't expect that somehow. thnx parazyd ;)12:33
dreamer(saw he packaged it hehe)12:33
Wizzupyeah we worked on it a long time ago12:34
Wizzupstill, maybe check debian/rules and see if it uses the right flags/defines12:34
Wizzupiirc gl4es can be quite device specific12:35
dreameryeah it has all kinds of tweaks12:35
dreamerbut some things you can overload with envvars12:35
Wizzuplooks like we're quite a bit behind on upstream too12:42
dreameryeah, although on latest release13:00
dreamerloading it in LD_LIBRARY_PATH seems to work though :)13:00
dreamerhard to test (using pd+Gem) if it works properly though13:00
dreameris there an easy way to fullscreen applications? ie `alt+f11` on typical xorg13:08
Wizzuphttps://github.com/maemo-leste/leste-config/pull/15/files#diff-e01d3125cf1b7163e8ed35e1fce06e7ff2620d9b1e2b508b02b8039a0f38fead doesn't look like there is fullscreen13:10
dreamerah, libgl is automatically overloaded already. well the testpatch I got from buZz is super smooth :)13:11
buZzdreamer: alt+f11 isnt xorg specific, just something common in different window managers13:13
dreamerja ok13:13
dreamerbut it's "typical" shortcut13:14
buZzhmhm13:14
dreamersomething like it for hildon would be nice13:14
dreamer<shift><ctrl>f maybe?13:14
dreamerand lol @ `hildon-dekstop`13:28
buZzhmm, does hildon-connectivity-wlan now depend on libicd-network-wpasupplicant-dbus-n900 ?14:06
Wizzupmight depend on the device?14:06
buZzmaybe ..14:07
buZzseems i have a flaky install now14:07
Wizzupd4?14:07
buZz'sudo reboot' seems to not reboot my d4 , or at least take a very long time to do so14:07
Wizzupare you on -devel?14:07
buZzyeah, and just installed a bunch of updates from apt14:08
freemangordonn900, glmark2 Score: 28 :D14:08
freemangordonand, this is with close-to-zero CPU load14:08
buZznice :)14:08
freemangordon-drm is 3714:09
buZzah, after a long time it -does- reboot14:10
buZzwonder if its just some watchdog triggering :P14:10
Wizzupfreemangordon: amazing14:11
WizzupbuZz: watchdog kicks in quickly14:11
WizzupbuZz: I have the same problem on devel kernel, there is some oops perhaps14:11
WizzupI wouldn't bother with it right now since we will go to 5.15 momentarily14:12
dreamerindeed `hildon-connectivity-wlan` seems to be upgradable but won't14:18
bencohWizzup: well, got the same issue15:23
bencohI guess I forgot something there ...15:23
bencoh(diverting dash breaks everything)15:24
Wizzupright15:26
Wizzupthanks for looking into it15:26
bencohI wonder if I patched the loader as well and forgot about it15:26
bencohWizzup: ln -s /amd64/usr/lib/x86_64-linux-gnu /usr/lib/15:28
bencohlooks like this is enough15:28
bencohhmm, yeah, I had that link in my previous container as well15:28
bencohmy bad :(15:28
bencohI updated http://muarf.org/~bencoh/maemo/leste/leste-lxc-crossbuilder/ accordingly15:31
Wizzupok, I'll retry in a bit again15:31
Wizzupthanks15:31
tmlindfreemangordon: so do you want me to apply omap3 prm patch and your posted omapdrm and sgx patches into droid4-pending-pvr-omapdrm-v5.15?16:51
freemangordonyes16:52
tmlindok16:52
freemangordonthanks16:53
freemangordonit seems omapdrm will need more patches, for example it refuses to export dma (not cma) allocated memory16:53
freemangordonIOW-if a buffer is not contiguous or tiled, omapdrm will not export it16:54
freemangordonI don't see the reason for that, it will be perfectly valid do construct scatterlist and provide it to the importer16:54
freemangordonif importer can handle non-contiguous memory is out of scope of omapdrm, no?16:56
tmlindyeah i guess16:57
tmlindso two sgx fixes and one omapdrm fix for now?16:57
freemangordonyeah16:57
freemangordonand I am yet to touch VRFB :D16:58
freemangordontmlind: I think I found a way to allocate TILER buffers through GBM16:58
tmlindok, will apply, then we can update again later based on comments etc16:58
tmlindoh cool16:58
freemangordonit will need omapdrm patch ofc16:58
freemangordongbm has 3 flags to set a BO format:16:59
freemangordonGBM_BO_USE_LINEAR, GBM_BO_USE_RENDERING and GBM_BO_USE_SCANOUT17:00
freemangordonso, my idea is - if GBM_BO_USE_LINEAR is not provided, allocate TILER buffer17:00
freemangordondesription of this flag is : "Buffer is linear, i.e. not tiled."17:01
freemangordonso, if it is not set, allocate tiled buffer17:01
freemangordondoes that make sense to you?17:01
freemangordonor on the opposite17:02
tmlindyeah ok, not that i know much about it at all, but sounds like at least worth trying that :)17:32
bencohfreemangordon: in your opnion who is supposed to set the LINEAR flag then?17:35
tmlindfreemangordon: pushed out updated droid4-pending-pvr-omapdrm-v5.15 to github with stable v5.15.2 merged in18:05
uvosdreamer: system sounds should be slient on the silent profile18:12
uvos(and works for me)18:12
uvosalso i did not change anything about this, they where always part of the profile and not related to gconf18:12
uvosif it dosent work, please changing the volume of the sounds in settings->profile->general18:13
uvosmaybe your silent profile is broken some how18:13
uvosplease share your profile.ini if this works but silent dose not18:14
uvosWizzup: dont forget to binary patch the blobs for old libc18:14
dsc_uvos: Re: QML performance; you previously said something like "opengl copies the whole buffer each time" <-- is this a software/driver issue or just how QML works, thus it will never perform well on older hardware?18:14
uvosdriver issue18:15
dsc_gotcha18:15
uvosbut not sure if qml will ever be fast on n90018:15
uvosits pretty resource intensive either way18:15
uvosmaybe try it18:15
bencohqt4/qml on n900 (fremantle) wasn't exactly fast, but it was bearable for most apps18:16
uvosyeah but he is writing the conversations ui18:16
bencoh(except that it kept the device awake way more that it should)18:16
uvosthis will probubly allways be in ram18:16
uvosso not sure if its a good idea18:16
uvosneeds profileing first18:16
bencohin that case, I'd rather not use qml, yeah18:17
dsc_QtWidgets would be most performant but am time limited atm18:17
bencoh(unless for stuff limited to UI only)18:17
uvosrather than dissmissing it out of hand i think checking it out make sense18:17
uvosperformance wise18:17
uvosqt5 should be a bit better than 418:17
uvosif the qt company is to be belived18:18
uvosperf wise18:18
dsc_yeah some QML performance changes between the minor versions too18:18
dsc_we're on 5.1118:18
dsc_thats somewhat recent18:18
dsc_anyway, for now this is just a MVP18:18
bencohwell, if they fixed the idling (or lack of) issues, then it might be worth a try yeah18:18
bencoh(and/or if it doesn't impact our usecase)18:19
uvosyeah def check for if it idles well18:19
uvosif not thats k.o.18:19
dsc_ill keep business logic on the C++ side so switching out the renderer is not a huge undertaking :P18:21
bencoh:)18:22
bencohif you really follow MVP I guess one could always replace the QML parts with 'native' qt bit by bit once it works anyway, assuming we feel the need to18:23
dsc_MVC you mean? Yeah something like that. Not going to claim I am an expert in C++/Qt, more of an UI person, but yeah switching to QtWidgets wont be as painful18:24
dsc_ive been on projects where most business logic is in QML18:25
dsc_so you can never drop it for something else unless you rewrite everything18:25
bencohyeah I've seen such apps18:25
dreameruvos: hmm. I'll have to try that indeed18:49
dreameruvos: made a new profile with all sounds turned off -> still hear the woosh18:51
dreamerno wait, it keeps switching back to General18:52
dreameryeah ok, if I turn everything off in General profile it's silent18:53
dreamerthe problem is that it doesn't save the profile change. it just resets back to General18:53
uvoshow are you changing profiles?18:54
dreamer`Settings > Profiles`18:55
dreamerselect one. done?18:55
uvosdreamer: that dosent change prfiles18:55
uvosyour just selecting one to edit18:55
dreamerthen how?18:55
uvosclick the battery item18:56
uvos*icon18:56
uvosin the status bar18:56
uvosand change it in hildon-status-menu18:56
dreameroh derp18:56
uvosor open the power menu18:56
dreamerI haven't been on maemo for too long -_-18:56
uvosand click silent there18:56
uvosprofilesx is a bit wierd yeha18:56
uvosbut thats works as intended18:56
dreameryeah, sorry18:56
dreamerwhat is "power menu"?18:57
dreamerbbl, food18:57
uvosthe one where you switch off the deive18:57
uvos*device18:57
uvosalso has a "silent" that changes the profile18:57
dreamerah yes18:57
dreamerok, check. gotta re-learn old habbits (or rather: I set my maemo profile once ~decade ago and never changed it. I hate all forms of notification sounds and vibrations)18:58
siceloor you can do it via dbus if you don't mind the long string (setting silent ... unless things work differently now)19:00
sicelodbus-send --type=method_call --dest=com.nokia.profiled /com/nokia/profiled com.nokia.profiled.set_profile string:"silent"19:03
uvosthat should also work yeah19:07
sicelofreemangordon: there's a Lucas Fryzek in the openpvrsgx ml. i wonder if he also would have some insight for anything you still need :-)20:21
Wizzupuvos: freemangordon says we do not need bin patching with mesa20:24
uvosparazyd: Wizzup: in what pacakge are the maemo icons?20:24
uvosim particularly looking for the sms/phone icon20:25
Wizzupthemes?20:25
uvosto use with sphone outside of maemo20:25
uvosoh ok20:25
Wizzuptry dpkg -S filepath20:25
uvosi dont know the filepath either :P20:25
uvosWizzup: are you sure i had to patch some for use with chromeos mesa20:25
Wizzuphe told me irl just now20:27
uvosok20:27
Wizzupwe'll see I guess20:27
uvoswierd20:27
uvoshttps://github.com/IMbackK/pvr-omap4 these are the exact blobs i use, you can diff arm-linux-gnueabihf-untainted and arm-linux-gnueabihf to see what i had to patch20:27
uvosthere are deff. some glibc symbol version tags in there that are newer than ours20:28
uvosso no idea how that should work20:28
Wizzupdo you use the zeus ranch?20:39
Wizzupbranch*20:39
uvosits ti-img-sgx/zeus/1.17.494857 @ 551665bf9c321bc3e7721416e6ebbc9f65c1815520:42
uvos*ti-img-sgx/zeus/1.17.494895720:42
uvosactually those 2 branches share  a head20:43
Wizzupwe use a different one I think20:49
Wizzupfmg does at least20:49
uvosok20:49
uvosthat explains it20:49
Wizzupfmg told me to use 1.17.4948957-next20:49
uvosthat dident exist last time i fetched20:49
uvoslooks like20:49
uvoswe asked someone to rebuild agains older glibc some time ago20:50
uvosmaybe they finaly did :P20:50
Wizzuphehe20:51
freemangordonno, they didn;t21:04
freemangordonit is just that blobs that depend on newer glibc are replaced by the ones we have in MESA21:04
Wizzupright21:06
freemangordonWizzup: oh, there *is* this: https://github.com/maemo-leste/pvr-omap4/blob/master/usr/lib/xorg/modules/drivers/omap_pvr_drv.so21:07
freemangordonthat's why it is so fast ;)21:07
uvosfreemangordon: except thats not true objdump -T libglslcompiler.so.1.17.494895721:08
uvosGLIBC_2.29  pow21:08
uvosthis is for 551665bf9c321bc3e7721416e6ebbc9f65c1815521:08
freemangordonhmm, is it?21:08
uvosofc -next might differ21:08
freemangordonI doubt21:08
freemangordonwell, my bad then21:09
freemangordonbtu at least we shall not LD_PRELOAD anythibng21:09
uvosyeah21:09
freemangordon*anything21:09
uvosbecause pvr_dri is fine21:09
freemangordonmhm21:09
freemangordonso, omap_pvr_drv.so is what I am now REing into 1.1721:19
uvossgx accell plugin for -video-omap?21:19
freemangordonyes, this is what d4 uses with ddk 1.921:19
uvoswel no21:19
freemangordonwel,, yes21:19
uvosbecause its compiled against old xorg api21:19
Wizzupfreemangordon: ah21:20
uvoshmm it dosent load21:20
freemangordonno, this is not pvr_drv.so21:20
freemangordonah21:20
Wizzupfreemangordon: ./usr/lib/debug/usr/lib/xorg/modules/drivers/omap_pvr_drv.so21:20
freemangordonwell, no idea then21:20
freemangordonWizzup: yes, I know21:20
Wizzupok21:20
freemangordonuvos: may I see Xorg.log from d4 with ddk 1.9?21:21
uvosyes ofc21:21
freemangordonoh, maybe you are right21:21
freemangordonwell, I have no idea then21:21
uvoshttp://uvos.xyz/maserati/xorg.log21:22
uvosso what dose omap_pvr_drv.so contain that we need?21:22
uvos /want21:23
freemangordonFailed to load module "omap_pvr" (module does not exist, 0)21:23
uvosyeah21:23
freemangordonhow does it rotate then?21:23
uvostiler21:23
uvosthat part works for sure21:23
uvosyou can see it in debugfs21:23
freemangordonnot with 1.1721:23
uvossure21:23
uvosi mean in ddk1.921:23
freemangordonwhy?21:23
uvoswhy what?21:23
uvoswhy dose it work21:23
uvosno idea :D21:23
freemangordonyes, why does it work and why it doen;t with 1.1721:24
uvosi dont know21:24
freemangordonare you sure we don;t have some omapdrm pacthes with 1.9 kernel?21:24
uvosmaybe it uses one of the ioctls omapdrm ioctls shiped with the sgx kernel driver removed in ddk1.1421:24
uvossure the ddk1.9 has omapdrm patches21:25
freemangordonhmm21:25
freemangordonwhich tree is that?21:25
uvosso tmlind allways claims (this is why he wanted to drop this version for new kernels, since omapdrm changed lots over time)21:25
uvossec21:25
uvoshttps://github.com/tmlind/linux_openpvrsgx/tree/droid4-pending-pvr-omapdrm-v5.1021:26
uvosi gues you should diff the drm driver folder21:26
freemangordonthis is for ddk 1.1721:26
uvosno21:27
uvosv5.10 also still has ddk1.921:27
uvosand ddk1.17 too21:27
freemangordonwe have the same patches in 5.1521:27
uvoshttps://github.com/tmlind/linux_openpvrsgx/tree/droid4-pending-pvr-omapdrm-v5.10/drivers/gpu/drm/pvrsgx/1.9.225334721:27
freemangordonuvos: so, this^^^ is the tree on d4?21:27
uvosyes21:27
uvoswell no we patch it more21:28
freemangordonhmmm21:28
uvosbut this is where we get the ddk1.9 from21:28
freemangordonbut no omapdrm patches, right?21:28
uvoswe dont patch any gpu/ stuff after  this21:28
uvosno21:28
freemangordonyeah21:28
freemangordonweird21:28
freemangordonok21:28
uvostmlind: ^^^^^21:35
uvoshe should know21:35
uvosgithub search is really fustratingly bad21:46
uvoslike you can copy a string from the file your looking at into the search and have it search "this repository" and it wont find the string21:47
uvoslike how can you even manage to fail this badly21:47
Wizzupyeah21:51
tmlindhmm so what part of the old ddk-1.9 hacks are you guys missing? hopefully none..21:56
freemangordontmlind: no idea, but somehow rotation works without my TILER fixes21:57
tmlindheh21:57
uvosreally some detail on what these hacks entail might help21:58
freemangordonmhm21:58
tmlindwell should we revert some of the hacks then?21:58
uvostmlind: some pointers as to what commits contain these hacks i think is in order21:59
freemangordontmlind: how to know, without knowing what those hacks are :)22:00
tmlindheh right :)22:00
freemangordonbuilding 5.15.2 ATM22:00
tmlindwell we could add a comment saying "acceleration with rotation works mysteriously" :)22:01
freemangordontmlind: it is not about acceleration22:01
tmlindah right just tiler rotation?22:02
freemangordonmhm22:02
tmlindcould it be the sgx code just masks in the rotation bit to the address to change it?22:02
freemangordonwhy sgx?22:03
freemangordonit has nothing to do22:03
freemangordonplain 2d stuff22:03
tmlindah ok22:03
freemangordonoh, wait22:04
freemangordonactually it works22:04
freemangordonplain 2d that is22:04
freemangordonhmm22:04
uvosmaybe on ddk1.9 tiler usage goes through sgx driver22:05
freemangordonno22:05
uvoslook at services4/srvkm/env/linux/mm.c22:05
freemangordonwhat there22:05
uvos make two separate allocations via the tiler omap_ion_tiler_alloc22:05
freemangordonno ion here22:05
uvosok22:05
freemangordonthis is android thing22:05
uvosok22:06
uvosno idea what is #if defined(CONFIG_ION_OMAP) :P22:06
freemangordon"ION is a generalized memory manager that Google introduced in the Android 4.0 ICS "22:06
freemangordonsomething like CMA, IIUC22:07
uvosok22:07
uvosthere are also some ifdefs that react to CONFIG_TI_TILER22:09
uvosnot sure what they contain22:09
uvoslooks like translateing tiler addresses22:09
tmlindomap_framebuffer_update_scanout() is not what you are trying to find is it?22:09
jk_0hello!  newbie here ^^   ehm... how can I connect to my wlan over command line22:11
uvoshi22:12
uvoswhy? is something wrong with the gui? using wpa_cli works, but i think there is a dbus interface you can use too22:12
uvosWizzup: should know about the dbus interface ^^^^22:12
Wizzuphttps://wiki.maemo.org/Phone_control#Connect_to_specific_saved_connection22:13
jk_0uvos: ehm, yes, I can't get into hildon after trying to apt full-upgrade22:14
uvosoh thats bad22:14
uvoswhat device22:14
jk_0:)22:14
jk_0droid422:14
uvosand what where you upgrading to22:14
uvosdevel or regular22:14
jk_0regular22:14
uvosok22:14
uvosso what happens exactly?22:14
jk_0everything seemed normal22:15
jk_0but at some point while eiher installing unpacking or setting up I had a black screen and a white led22:16
uvoshow old was your install22:16
jk_0very :) 202022:16
jk_0may?22:16
uvosok this is a known issue i think22:16
uvoswe had this problem where a deamon failed and caused dsme to reboot the device during an upgrade22:17
uvosyou need to finish the upgrade22:17
jk_0alright22:17
Wizzupcan you log in over ssh with usbnet?22:17
Wizzuphttps://leste.maemo.org/Status/USB_Peripheral22:17
uvosjk_0: if you have the new emergency shell boot mode22:17
jk_0I have the amazing rescue shell :)22:18
uvosthat should work too22:18
uvosgreat22:18
tmlindnice if that works :)22:18
Wizzupcool22:18
uvostmlind: works even on bionic :)22:18
jk_0yes, I'm all ears. what do I do next?22:18
uvosWizzup: remember how to make dpkg finish configuring pacakges22:18
uvos?22:18
tmlinddpkg-reconfigure -a maybe?22:19
Wizzupyes22:19
jk_0let me try...22:19
jk_0nope22:19
uvosUnknown option: a22:20
uvosyeah thats not it22:20
jk_0I did a successfull $ dpkg --configure -a before connecting here22:20
Wizzupno errors?22:20
jk_0whith reconfigure I got the help-info22:21
Wizzupwhat does 'apt upgrade' say22:21
jk_0with --configure -a I saw no errors. 80% secure cuz I only scaned stout22:21
jk_0then I rebooted and "boot loop" persists22:22
jk_0wizzup: donde,done 0 installed, 0 upgraded, 0 to remove, 0 not upgraded22:23
Wizzupso it reboots when exactly?22:23
jk_0it does the normal loadig of ... hat I think is openrc22:24
jk_0then it goes balck and I suppose it tries to load hildon22:24
uvosdose it reboot with or without white led?22:25
jk_0but goes back to console and shows some erros22:25
jk_0the white led was only the 1st time. the boot-loop is w/o led22:26
uvosthats quite wierd22:26
uvoseither its happening before mce loads or its not the maemo stack innitaing the reboot22:26
jk_0let me see what I can type here from the console before reboot22:27
uvosyou could look at /var/log/daemon.log for errors too22:27
jk_0rebooting...22:28
jk_0... how can I share an image here?22:32
uvosonly by uploading it somewhere public and posting the link22:33
jk_0what is the analog to paste.bin?22:33
Wizzupmaybe imgur?22:35
jk_0i'll have a look22:38
jk_0https://pasteboard.co/sB8JV58OpjBc.jpg22:40
jk_0https://pasteboard.co/3hoNm68LGsSE.jpg22:41
jk_0I hope these work22:41
uvosnothing to see tehre22:42
Wizzuphm, do you have more info up?22:42
Wizzupthe error is up22:42
Wizzupdaemon.log might be more interesting22:42
Wizzupor perhaps rc.log22:42
jk_0so /var/log/rc.log??22:43
Wizzupif that contains useful stuff yes :)22:43
Wizzupalso if it reboots you can touch a specific file thatmakes it no reboot, then you can use the tty there22:44
Wizzupfrom 'non emergency env22:44
jk_0... sorry for the links full of advertising...22:44
jk_0ehm... I dont get the no reboot part. but I am comfotable in the console :)22:45
uvostouch /etc/no_lg_reboots22:46
jk_0just,could I connect to mlan fromthe console?22:46
uvossure start wpa_supplicant22:46
uvosand use wpa_cli22:46
uvosthe dbus stuff wont work22:46
uvosin emergency env icd2 is not loaded22:46
WizzupI'd try usbnet22:46
Wizzupthat's much easier22:46
uvosi would touch /etc/no_lg_reboots in emergency env22:47
uvosthen openrc default22:47
uvosto switch runlevel22:47
jk_0is that $ touch /etc/no_lg_reboots with underscores?22:48
uvosand then usbnet should work22:48
uvosyeah like i wrote22:48
uvosoh its echo 1 > /etc/no_lg_reboots22:48
Wizzupyou might need to load the gadget but we have bins to do that22:48
Wizzupuvos: just touch is fine22:48
uvosit needs the 1 in there i think22:48
uvosok22:48
jk_0my irc client earases the _22:49
jk_0hexchat...22:49
uvoswe should make /etc/no_lg_reboots the default (yes again this)22:50
uvoslifeguard is just painful22:50
jk_0so, echo 1 or no echo?22:50
uvosdosent matter22:50
uvoseither is fine22:51
WizzupI think just touch is fine.22:51
Wizzupbut yeah22:51
jk_0ok22:51
jk_0rebooting...22:52
uvosswitching runlevel would have been fine22:52
jk_0ok. how do I switch run level?22:52
jk_0I was too slow to reboot22:53
uvosopenrc $(RUNLEVEL)22:53
uvosdefault in this case22:53
jk_0read your message 1st22:53
jk_0ok. in progress22:54
Wizzupwhen you get any kind of ssh access please share some part of daemon.log22:54
jk_0loading hildon...22:54
jk_0hildon has loaded! :D22:54
uvossome deamon is still failing22:55
Wizzupyeah, 'rc-status' might help22:55
Wizzupalthough it could be part of startup too22:55
uvospstree22:55
uvosmaybe22:55
Wizzupmaybe wifi works22:55
uvosor just look at deamon log22:55
Wizzuplet's see22:55
jk_0ehm... what do I do now to give you useful info?22:56
uvos[22:54] <Wizzup> when you get any kind of ssh access please share some part of daemon.log22:56
jk_0... system froze -__-22:57
Wizzupwonder what happened22:57
uvosit froze?22:57
uvosthats unusual22:57
Wizzupyeah that is22:57
Wizzupmaybe you can read the sdcard and share daemon.log22:58
Wizzupor the last ~500 lines or so22:58
Wizzupthen we can probably help efficiently22:58
* Wizzup back in 10-15 mins22:58
jk_0ok... well, this is way more than I expected from an # apt update && apt full-upgrade -y23:00
jk_0^^23:00
jk_0the full system is back and seems functional23:04
Wizzupjk_0: interesting, just touching the file seems like it made it work for you - stiull something must be wrong23:23
Wizzupmaybe you can share ps xua or pstree so that we can see what is not running23:23
Wizzupwe'd probably want to know what's up so we can prevent it from happening to others23:23
Wizzupand yeah, we're in >alpha< so occasionally things break :)23:24
Wizzuphave you been using it since 2020? that's nice23:24

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