libera/#maemo-leste/ Sunday, 2021-07-18

Wizzupok00:00
uvoshttps://github.com/STS-Dev-Team/kernel_kexec_modules00:03
uvosWizzup: ^^^ here appears the tree to build solana kexec modules00:03
uvosyour goning to need to aquire a sutably ainchent compiler first00:04
Wizzupmhm00:05
Wizzupuvos: I don't need that for trying safestrap though, right00:38
uvosno00:38
Wizzupok00:38
* Wizzup zzz00:38
stano_our Xorg has no drm, right?06:37
stano_[23592.937652] PVR_K:(Error): PVRMMapRemoveRegisteredArea: psOffsetStruct 0x1469965d for memory area 0x0x6fdec8bd is still mapped; psOffsetStruct->ui32Mapped 1 [1754, rivers/gpu/drm/pvrsgx/1.9.2253347/services4/srvkm/env/linux/mmap.c]06:39
mighty17[m]Yeah this is error in 5.11 iirc06:44
stano_i see you noticed something similar06:45
stano_well mighty17[m] did you see i had it ppsspp working for a brief time?  http://0x0.st/-VXd.mp406:48
stano_:))06:48
stano_performance was okay! amazingly06:48
stano_so we can have all the important RPG emulators: Genesis, SNES, PSX and PSP06:50
stano_at least performance-wise06:50
mighty17[m]wait rly? like how does it run with gpu?07:46
mighty17[m]stano_: idk but 0x0.st doesnt seem to be working for me :(07:47
mighty17[m]also amazing getting ppsspp!!07:48
stano_it's a big project.  the cmake-generated makefile itself is 450kB07:48
stano_the binary with debug symbols is 183MB07:48
stano_you should be able to wget any 0x0 link mighty17[m]07:49
mighty17[m]omg 183 mb :007:49
mighty17[m]stano_: i am on mobile data now, limited GBs07:50
stano_ok it is 4.7MB maybe more than you want to spend07:51
stano_i still have the binary that worked, but it doesn't work now. it would be best to learn why.07:52
mighty17[m]Oooh nice dude07:54
mighty17[m]The perf seems also pretty great07:55
stano_not for action stuff but for rpg's fine07:55
stano_i was a bit surprised though07:56
mighty17[m]It's a binary, debugging that, have fun :P07:57
stano_well i compiled it07:57
mighty17[m]Didnt expect it to run? :P07:57
stano_it didn't for a couple months, then i got it to run07:57
mighty17[m]Need to check how much diff 1.17 ddk makes07:58
stano_would be nice if some graphics guru would be with us08:02
mighty17[m]well even getting it run on such ancient devices is an achievement xD08:04
stano_cat /sys/devices/platform/omapdrm.0/driver/module/initstate returns 'live'08:07
mighty17[m]yeah drm works08:09
mighty17[m]atleast for my device it does08:09
stano_what can i do that tests it08:09
mighty17[m]as in? also what device?08:11
stano_well there's mpv -vo drm08:13
mighty17[m]pretty sure if gpu works u have working drm ig08:15
mighty17[m]hardware accl wont work for omap coz it has different ducati subsystem08:15
stano_drm as an xorg extension doesn't require openGL at least08:16
stano_do you have a working mpv media player you can try -vo drm with?08:18
mighty17[m]not now, we can just apt get vlc or smth08:18
mighty17[m]there is also openmediaplayer08:21
stano_mhm ppssppsdl generates about 1000 lines of errors in /var/log/messages08:21
stano_that stuff you posted earlier with Jul 18 08:21:06 ml1 kernel: [29898.947723] PVR_K:(Error): PVRMMapRemoveRegisteredArea: psOffsetStruct 0x24887c7e for memory area 0x0xb820ff45 is still mapped; psOffsetStruct->ui32Mapped 1 [1754, rivers/gpu/drm/pvrsgx/1.9.2253347/services4/srvkm/env/linux/mmap.c08:23
mighty17[m]yeah that error is kinda known, we still dont know why it happens in 5.11 and not 5.10 kernel08:26
mighty17[m]git bisect needs to be done for that08:26
stano_maybe that's why i had running ppssppsdl earlier! thanks08:27
stano_thank you that might BE it08:28
stano_i will celebrate this with some food. bbl.08:28
mighty17[m]haha enjoy!08:32
uvosdrm is not a x extenstion09:34
uvosyour thinking of dri09:35
uvos-vo drm dosent help you unless you want to view video on ddk1.17 in console09:35
stano_ok09:36
tmlindWizzup: on pvr blobs, i agree with uvos we should just fix up things to use ddk 1.17 as then the same setup should work for n900 and droid4 with mainline kernel09:37
mighty17[m]How about trying 1.17 with different ui/de?09:42
uvossure09:44
uvosanything wayland should work on it09:45
uvosbut thats off topic here..09:45
mighty17[m]Yeah, makes sense we would want Hildon working :D09:52
uvosWizzup: parazyd: ntp seams broken again.10:17
mighty17[m]uvos: on the topic of videos, do videos run well ie without the hw accl we have10:19
uvosWizzup: looks like latest devel wifi works fine on xt875 and xt89410:20
uvosmighty17[m]: ?10:21
uvosmighty17[m]: thats not a awnserable question, in pure software some low res/ lightly compressed videos will work10:22
uvosevery thing is a lot faster on wayland ddk1.17 incl gl video presentation10:23
uvossw video presentation is the same ofc10:23
stano_https://talk.maemo.org/showthread.php?p=1572159 x265 960x540 works great with -tune fastdecode10:26
stano_just great.  up to ~1500kbps sustained, 2500kbps peak at 24fps10:27
Wizzuptmlind: ok @ kernel10:27
Wizzupuvos: good10:27
mighty17[m]Ohk thanks uvos!10:51
mighty17[m]Tbh I tried pmos with ddk1.17 and phosh and them maemo with 1.9 Hildon, well feels like maemo is faster10:52
mighty17[m]For benchmarks I can't run glmark on pmos as it crashes the GPU :(10:52
uvosmighty17[m]: pmos pvr (mesa + ddk1.17) setup underperformes compeard to pure pvr10:58
uvosbut not by that mutch10:59
uvosalso yes glmark crashes on this setup10:59
uvosno idea about phosh never tried it10:59
Wizzupuvos: ok, rooted the device with motofail11:00
uvosthe root method included in clownboot liekly works too btw11:00
Wizzup$ adb shell11:01
Wizzuproot@cdma_solana:/# id11:01
Wizzupuid=0(root) gid=0(root)11:01
uvoswhat android and kernel version is this?11:01
uvos2.3.4 and 2.6.41?11:01
Wizzuproot@cdma_solana:/# uname -a11:01
WizzupLinux localhost 2.6.35.7-g790a33c #1 SMP PREEMPT Fri Aug 12 22:19:20 CDT 2011 armv7l GNU/Linux11:01
Wizzup2.3.4 android11:01
WizzupI think it's just stock, per most websites11:01
uvosit never got upgraded afaik11:02
uvos(smooth move motorola btw one device gets 4.1 and another with the same hw never gets upgraded)11:02
Wizzuphttps://sites.google.com/site/sdshadowscollection/droid-3-xt86211:02
Wizzupsee section "Stock ROM"11:02
uvosok looks like your set11:04
uvosas thats the kernel with the los kexec modules11:04
mighty17[m]uvos: for pmos i think the issue is musl?11:11
tmlindat least glmark2-es2-wayland behaves just fine for me with plain alpine, on v5.13 kernel11:13
mighty17[m]hm thats weird11:14
tmlindthat's with the patches from jonathan bakker for wlroots and scripts to install the pvr blobs11:14
mighty17[m]indeed, even i used his patches11:15
stano_it seems glmark2's suite of tests isn't a bad match to the omap4's gpu11:21
stano_in terms of general amount of geometry it spins around11:21
mighty17[m]it gave around 70+ish score with maemo which actually beats mali 400 :P11:22
stano_nice11:22
stano_first spinny horse gets me 24fps under hildon on droid411:22
stano_46fps under plan x11:23
stano_plain11:23
stano_ ./glmark2-es2 --fullscreen gives diagonal lines, like it's not getting proper screen dimensions or stride11:24
uvosits 100% cpu limited on x due to cpu shuffeling the frame around11:25
uvosit gets 176 fps on plain drm on ddk1.1711:25
uvostmlind: its broken on pain drm, on wayland it works11:25
Wizzup"The application safestrap has stopped unexpectedly" :/11:25
stano_well this isn't openpandora so fps is less important than rendering apps properly11:26
stano_but games tweaked for droid4/leste would enjoy optinally bypassing that x stuff uvos11:26
mighty17[m]it gets 176 fps on plain drm on ddk1.17 > whaat!! thats like more than double of what i managed once in pmos11:27
mighty17[m]pmos = 1.17ddk*11:27
stano_what hardware mighty17[m]11:27
mighty17[m]omap443011:28
uvosmighty17[m]: your display is higher resolution no?11:28
stano_things slow down a lot on hdmi at higher resolution11:28
uvosalso pmso uses jonathan bakker mesa11:28
uvosthis underperforms11:28
uvosWizzup: hmm :(11:29
mighty17[m]uvos: its 1024x60011:29
Wizzupuvos: maybe I need a different one11:30
uvosmaybe11:30
uvosi gues you could also install safestrap by hand11:30
uvosnot fun tho11:30
uvosany misatke and your reflashing everything in fastboot and starting from scratch11:31
uvossame thing with clownboot, if it dosent work your flashing motorola android and starting from unrooted android11:32
uvosi had to do that soooo many times for bionic11:32
Wizzuplet's first see if I got the right one11:33
Wizzupmany links are dead11:33
mighty17[m]also pmso uses jonathan bakker mesa > is that slower? iirc he took the chromium mesa11:33
mighty17[m]i can try using different mesa (ie one maemo uses?)11:33
uvos"[11:28] <uvos> this underperforms"11:34
uvoscan you at least read the next line under the one you just mentioned11:35
uvosno ofense11:35
mighty17[m]😅 erm sorrry11:36
uvoshttps://github.com/maemo-leste/bugtracker/issues/524#issuecomment-88137308011:36
Wizzupfor the record most of the mega links work https://forum.xda-developers.com/t/index-motorola-droid-3-2011.3114734/#post-6145658511:36
Wizzupas in they're not dead11:36
uvosfollow this for full performance pvr11:36
uvosWizzup: ok11:36
uvosWizzup: ich drücke die daumen, ttyl11:37
uvos*dir11:37
Wizzupttyl11:37
Wizzupsafestrap 2 also is unhappy11:42
Wizzupthat's too bad11:42
Wizzuphttps://rootjunkysdl.com/?dir=Droid%203 this seems helpful11:45
mighty17[m]follow this for full performance pvr > ohk thanks a lot!11:46
Wizzupuvos: so I think I got most of the roms downloaded from the net (see above link), saved it all, and I guess I'll reflash later and root it again12:04
tmlinduvos: nice summary for issue 524, maybe also the link to jonathan's pending patch for wlroots-0.12 patch?12:47
* tmlind goes back to patching cabin roof12:49
* Wizzup is having trouble setting rpath for libs12:58
Wizzupsigh13:03
stano_i see quick flashing of charging light now (2x/sec) i didn't used to13:21
stano_now it stopped :)13:24
stano_modrana wont letme select 'home' position - it goes somewhere in eastern europe13:34
stano_another case of a programmer not doing the freaking obvious of starting the application in last state when closed13:34
stano_Psion's OS was good at that13:35
stano_Epoc13:37
stano_"Thanks for a great app, but I have to second nas's question: is it possible to set the default coordinates to somewhere besides Brno?13:53
stano_I fully support using your hometown as default city in your own software, but I still hope that it is not hardcoded onto C++ source :)13:53
stano_I checked modRana's config files, and I didn't find anywhere a default value, so if it can't use the last saved GPS, or even the last position modRana had before closing it, I could set it manualy at my city, and be able to see traffic at the moment I run it, and not have to wait GPS signal or to go to point my street.13:54
buZzi so wish modrana had offline maps16:30
buZzand vector maps16:30
stano_mhm16:41
stano_nice finger-gui though, laudable easy to read and tap16:41
WizzupbuZz: I think it does, doesn't it?16:45
Wizzup(offline maps)16:45
buZzyeah but with a weird method of preloading tiles16:45
buZzwhich seems to have some issues with caching failed downloads :D16:45
sixwheeledbeastonly if you already have the tiles and the offline monav stuffs17:05
stano_what's your favorite movie that not many people know about?17:48
stano_oops wrong chan17:52
mighty17[m]Can I ask about powervr downstream here?18:44
buZzmighty17[m]: you may ask anything ;)19:28
buZz^ @stano_ , Tekkonkinkreet19:28
buZz:D19:28
mighty17[m]Soo well I'm trying to run test_hwcomposer and seems like some powervr file is missing, and it being blobs I have no clue what file is it19:31
mighty17[m]https://pastebin.ubuntu.com/p/wFNQsHtGjn/19:31
buZzyou could run it through strace to see which file19:32
buZzoh you did :P19:32
buZzwhole lotta /vendor/lib ?19:32
mighty17[m]And logcat snippet https://pastebin.ubuntu.com/p/hpNBGsFkrz/19:33
buZzlibhydris? lol19:33
buZzyeah no clue about android19:33
buZzi dont think maemo leste has a /vendor/lib19:33
mighty17[m]Yeah android, maemo works awesome! :D19:36
buZz:)19:45
buZzmighty17[m]: not sure who is the biggest powervr expert in here19:45
mighty17[m]Well downstream is rly a mess19:48
uvosWizzup: so did you get safestrap to work?19:53
buZzmighty17[m]: yeah powervr in general seems to be :)19:58
mighty17[m]buZz lolyes xD idk who to ask so i asked here20:11
buZzwhats your target device?20:12
mighty17[m]Well it's Samsung Galaxy Tab 220:13
buZzis that a exynos?20:13
mighty17[m]buZz https://github.com/Unlegacy-Android/proprietary_vendor_ti vendor files20:14
buZzoh, a omap?20:14
buZz4430, sweet20:15
buZzmighty17[m]: if i had to guess, libhydris doesnt release the powervr for any use by your tools20:15
mighty17[m]Should work tbh, as mer does work and libhybris/mer are close20:17
buZzright, but is mer using powervr over libhydris?20:18
buZzhybris*20:18
mighty17[m]Yes indeed20:21
buZzcouldnt you poke around in that fs for powervr files?20:22
mighty17[m]In libhybris?20:23
buZzin the mer setup20:24
Wizzupuvos: no, I think I will flash android stock, root it, etc21:41

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