libera/#maemo-leste/ Friday, 2021-12-03

dsc_Wizzup: thx @ n90004:30
dsc_I have 10/10 faith in PowerVR SGX530 GPU running my application without a problem (lie)04:31
dreamerwhich application is that? :)04:36
dsc_dreamer: https://twitter.com/maemoleste/status/146569746004346470704:38
dreamerah, neat :)04:38
dsc_(ga naar bed :D)04:38
dreamer(zelluf!)04:38
dsc_net wakker :P04:38
dreameroh, mogge04:38
dsc_moggel04:39
* dreamer wel zo crashen ja04:39
dsc_:P04:39
Wizzupuvos: iiirc tmlind mentioned the bridge12:07
Wizzupnot sure what wasn't working though :)12:08
Wizzupfreemangordon: where does osso-abook store contacts? in eds right, and that stores it where?12:50
mighty17[m]<uvos> "clk rate mismatch: 170666667 !=..." <- It's 3x, so I should try 170666667/2?14:17
Wizzupwondering if we should ask the nemomobile folks for help with audio15:24
Wizzupthey seem active and might be more willing to help somehow - https://blog.mlich.cz/2021/12/nemomobile-in-december-2021/15:24
uvosWizzup: yes i know, i was hopping this was the problem, but seemingly omapdrm refuses to even try and activate the dsi signal with the bridge as the endpoint15:29
uvosdont know why atm15:29
uvosmighty17[m]: sure but really you should try and find out where 170666667 comes from15:30
uvosmighty17[m]: its proubly something its caluclating from your pannel timeings or something like that15:30
uvosjust trace it backwards15:30
mighty17[m]So you're saying that I'll have to patch things in kernel possibly?15:31
uvosmaybe not, could be something in your dts if you have the timeings there - or your pannel driver if you have one (you should)15:32
uvospoint is idk where it gets the rate from - i think it calculates it from the timeings, so to figure out where it comes from you have to read the code in the backtrace15:33
uvos(thats whats its for after all)15:33
mighty17[m]uvos: It's simple panel, maybe I need to upstream the original one?15:34
uvosno simple pannel should work in theory (but a pannel driver is perferd afaik) but idk how often im supposed to say it, read the code to the functions in the backtrace to figure out where the rate comes from....15:36
uvosor run the pannel at the "correct" rate15:37
uvoswhere it dosent work15:37
uvosand compear the reigster state with android15:37
uvosto figure out whats wrong15:37
mighty17[m]Yea yes, I get the part about backtrace, it's just that I'm being lazy at times for it :(15:37
uvosthen you can go backwards from there15:37
uvosyeah i mean theres no free lunch im afraid15:37
mighty17[m]uvos: Rwmem right?15:37
uvosyeah15:37
uvosrwmem can ready any register if you know the address to it15:38
mighty17[m]i dunno the address in android tho15:39
uvosthe TRM tells you15:39
uvosand ofc the registers addresses are the same on any os15:39
mighty17[m]https://github.com/MightyM17/linux_openpvrsgx/blob/espresso-dev/drivers/gpu/drm/omapdrm/dss/dss.c#L654 just a warning tho? :o15:40
uvosyou can download the omap4's trm easy on google15:40
uvosyeah but your pannel dosent work at the correct rate @60Hz15:40
uvosso you should understand the warning no?15:40
mighty17[m]uvos: https://www.ti.com/pdfs/wtbu/OMAP4430_ES2.0_Public_TRM_vJ.pdf yeah i need it for pinmuxing15:40
mighty17[m]uvos: yeah, its at 30Hz if i use /2 value, but anyways i'll try to understand backtrace15:41
uvosmighty17[m]: right @trm i would dump the entire range starting at 0x4804000015:43
uvosand compear15:43
uvosit will be vastly the same most likely15:44
uvosletting you find differences hopfully easily15:44
mighty17[m]neat! thats something i can do currently15:44
uvosand then for those registers that are different read what they do and see i fany makes sese15:44
mighty17[m]uvos: omap4-l4 would also give that right?15:44
uvosbut i would read the backtrace code first15:45
uvossince thats less work15:45
mighty17[m]uvos: thats what im doin :D15:45
uvosidk what omap4-l4 is15:45
mighty17[m]the dtsi15:45
uvosok15:46
mighty17[m]rwmem will compile in android?15:48
uvosmighty17[m]: sure do what i explain here for cpacprw https://github.com/IMbackK/cpcaprw15:49
mighty17[m]thanks!15:50
mighty17[m]<uvos> "mighty17: right @trm i would..." <- `-ash: ./rwmem: Permission denied`15:55
mighty17[m]even as sude15:56
mighty17[m]sudo*15:56
uvoson mainline?15:57
mighty17[m]yeah15:57
uvostheres a kernel config option that resetrcs access to /dev/mem to certain addresses iirc15:57
mighty17[m]hm will check15:58
mighty17[m]uvos: regarding android, does it need busybox and stuff to run? or just TWRP will be fine?16:17
mighty17[m]also `make_standalone_toolchain.py --arch arm --force --api 21 --stl gnustl --install-dir=$(SOME_PATH)` api matters here? as in will i have to use api21 rom on device as well16:27
mighty17[m]`export CROSS_COMPILE=$(SOME_PATH)/binary` binary doesnt exist in `$(SOME_PATH)`16:33
Wizzupso thumb2 builds are not possible with omap2plus_defconfig since armv6/omap2 doesn't do thumb, let's disable it for our builds16:38
uvoswe allreday disable omap216:39
Wizzupmaybe, not in the droid4-linux that I have atm16:39
Wizzupsre seems to be MIA mostly btw, he was usually so quick to respond :)16:40
uvosmighty17[m]: the $(SOME_PATH) isent to be taken literally ofc16:40
uvoshe as allways been MIA for as long as i have been around at least16:41
uvoswrt response speed16:41
uvosWizzup: https://github.com/maemo-leste/droid4-linux/blob/maemo/beowulf-experimental/debian/patches/0004-remove-omap2-from-defconfig.patch16:42
Wizzupthat is not enough16:42
Wizzupit also needs to remove ...MULTI_v6=y16:42
uvoswe should do that then16:43
Wizzupyes, I am16:43
uvosidk if we want thumb kernel tho16:43
uvosdosent omap3 have semi broken thumb?16:43
Wizzupwell it's the last resort for me to see if I can get the n900 to boot/work reliably :)16:43
uvosis that worked around in kernel?16:43
Wizzupeverything else I tried failed16:43
Wizzupyes, the errata is worked around16:43
uvoswell thumb should not help16:44
uvosif it dose its just maksing something16:44
Wizzupif it is masking something, then that is progress16:44
Wizzupour stable 5.1 n900 kernel is thumb216:44
Wizzuptmlind: with thumb2 kernel the problem is still there on the n900, so I'm pretty sure it's a regression17:04
Wizzupmaybe I should build plain 5.15 and see if it also occurs - maybe our droid4 patches cause problems somehow?17:05
uvossure yeah its possible17:05
mighty17[m]<uvos> "mighty17: the $(SOME_PATH) isent..." <- i know, but that build dir doesnt have binary17:09
uvosdid i make a slight typo maybe17:10
uvos?17:10
uvoscould be binarys17:10
uvosor bin17:10
mighty17[m]bin17:10
uvosregarding the api version17:12
uvosno you just need an andoroid with api >2117:12
mighty17[m]coolio!18:04
mighty17[m]<uvos> "or bin" <- `make: error while loading shared libraries: libffi.so.8: cannot open shared object file: No such file or directory`18:05
Niklas[m]Hello,is there also a x86 build of Maemo Leste?I'd like to try it on a small tablet which has not enough memory for Arch+Gnome.19:04
buZzwell, kinda19:05
buZzthere's maemo-leste-1.0-amd64-20211031.qcow2.xz19:05
buZzfor running in qemu, or a .vdi for doing the same in vmware/virtualbox , iirc19:05
buZznot completely sure how far that would get you19:05
buZzhttps://phoenix.maemo.org/view/Images/job/leste-image-virtual/19:05
uvosthats one option19:06
buZzNiklas[m]: but i'd love to hear how far you can get :D19:06
uvosthe option i would reccomend is install devuan normaly, add our repos to your sources and install hildon-meta19:06
buZzah, yes good point19:06
Niklas[m]And if I convert them to a ISO,can I boot them on real hardware?Does it support UEFI (this stupid thing has no legacy boot -.-)19:06
buZzbut are there x86 packages in repo then?19:06
uvosbuZz: yes19:06
buZzyou cant convert a .vdi to .iso19:07
uvosamd6419:07
buZzuvos: sweet19:07
buZzNiklas[m]: so grab a devuan iso , install distro with uefi or whatever you want19:07
uvoswe dont build x86-32 tho19:07
uvosso depends on how old his tablet is19:07
buZzthen add repo and install hildon-meta19:07
buZz32bit only would be >15yo, i guess?19:07
Niklas[m]The CPU supports 64bit,but the UEFI is 32bit-only19:08
uvossome atom processors where pretty recent19:08
buZzNiklas[m]: ah one of -those-19:08
buZzlol19:08
uvosyour uefi dosent support bios emulation?19:08
Niklas[m]Nope19:08
buZzthose are quite a hell to work with :P19:08
uvosgreat19:08
uvos:P19:08
buZzi know fedora actively supports this 32bit-uefi-64bit-rootfs setup19:09
buZzor used to at least, i think fedora is over19:09
Niklas[m]I mean,it has like a dozen times more settings than the BIOS of my laptop,but legacy boot is not among them :/19:09
Niklas[m]I have Arch Linux installed currently.It supports 32bit UEFI with 64bit OS just fine,but since some updates ago I haven't been able to use a GUI because desktop environments getting more and more bloated and 1GB of RAM (not upgradeable) is too few for them19:10
Niklas[m]And it never ran smoothly.I hope Maemo can do better,as it still supports the Nokia N900 for example which has even less19:11
buZzNiklas[m]: why not just install fluxbox  , openbox , blackbox , windowmaker , whatever19:12
uvosi mean if you get away from kde/gnome arch has no issues with 1gb on lxqt or something like i3, sway19:12
buZzany of the <10MB ram using window managers19:12
buZztwm , dwm19:12
Niklas[m]Yeah,but this thing has no hardware keyboard.GNOME is the only one which works quite well with touchscreen-only and a 7 inch screen19:13
uvosthe benifit i gues is that we have a touch frendly ui19:13
uvosoh 7 inches19:13
uvosthat bearly a tablet at all :P19:13
buZzmy biggest tablet is a 8" omap433019:14
buZzoh, omap4460 perhaps?19:15
buZzseems postmarket supports it nowadays :P https://wiki.postmarketos.org/wiki/Archos_80_G9_(archos-a80)19:15
buZzah, no it doesnt19:16
Niklas[m]Which Devuan release should I download now to add the Maemo repos later?19:17
buZzi -think- maemo leste is still on beowulf?19:18
buZz> Maemo Leste is based on Devuan Beowulf (Debian Buster) and all the "supported" devices ship with recent Linux (mainline-based) kernels.19:18
buZzyes19:18
Niklas[m]Thanks,I'll try that19:19
freemangordonNiklas[m]: beware that hildon-desktop requires 3D acceleration19:59
Niklas[m]If GNOME worked before,that should be supported,right?20:00
freemangordonumm, not sure20:01
freemangordondoes gnome require 3D?20:01
Niklas[m]I don't know,I normally don't use GNOME if I don't have to :D20:01
freemangordonwell, I use it all the time, however, I never been interested if it requires 3d or not. But I doubt it does20:02
freemangordonanyway, what is the GPU in the thingie you want leste on?20:02
Niklas[m]It's some dual-core Intel Atom cpu with integrated graphics20:03
Niklas[m]Intel HD Graphics probably?20:03
freemangordonoh, you should have drivers then20:04
Niklas[m]That's good but I didn't have luck with booting another OS so far,will try again in a few days.20:14
Wizzupfreemangordon: old gnome didn't, new gnome most likely does20:59
Wizzupi.e. gnome 14.04 can't be compared to modern gnome20:59
uvosgnome has required 3d accell since gnome3 with gnome-shell21:13
Wizzupright21:13
uvosgnome3 is older than 2014 i think21:13
uvosso even fmgs gnome needs accel21:14
uvosunless he uses gnome-legacy? or classic? idk21:14
uvosthere was some fallback mode for a while i think21:14
freemangordongnome-session-flashback21:14
freemangordon:)21:14
Niklas[m]I used the normal Gnome 3.Maybe it was even updated to Gnome 40,I don't remember.21:14
freemangordonyeah, given the GOU is intel you shouldn;t have issues21:15
freemangordon*GPU21:15
uvosNiklas[m]: yes you did the falback thing was dropped a long time ago21:15
uvosnot sure when exactly but 3+ years at least21:15
Niklas[m]Graphics acceleration really shouldn't be a problem and never was.Booting a 64bit OS on 32bit UEFI is,however.21:16
uvosyeah21:16
uvosfun21:16
Niklas[m]Maybe I can start the Devuan USB stick using the GRUB which is already installed on internal storage.21:16
uvosyeah sure once you have grub its easy21:27

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