libera/#maemo-leste/ Friday, 2021-11-05

mighty17[m]<uvos> "mighty17: wrt what works and..." <- Still the same, just fixed accl and added vibrator, display/bl issue still exist, and I don't know how to do audio05:13
freemangordonok, mistery around "Xorg: ../../../../include/privates.h:121: dixGetPrivateAddr: Assertion `key->initialized' failed." revealed07:21
freemangordonEXA has to be initialized on every ScreenInit07:21
Wizzupah07:33
Wizzupnice find07:33
freemangordoneah,07:42
freemangordonyah07:42
freemangordonaah07:43
freemangordon*YEAH*07:43
Wizzup? :D07:43
freemangordonstill having my first coffee, typos07:43
Wizzupoh that was a frustrated correction rather than a scream in extasy07:43
freemangordonyeah07:43
freemangordonso, now h-d starts and if rotated to portrait with xrandr is visible/working07:44
freemangordonon d4 that is07:44
freemangordonhowever, in landscape there are some DRI errors07:44
freemangordon"PVRDRIBufferCreateFromNames: Failed to create plane from name"07:45
freemangordonbut anyways, I will drop omap BOs in favor of gbm BOs07:46
Wizzupright07:46
Wizzupit'll be really cool to have this working07:46
freemangordonseems nobody uses kernel to rotate, even modesetting07:46
freemangordonbut, IIUC omapdrm supports TILER framebuffer rotation07:47
freemangordonwe''ll need VRFB as well07:47
freemangordonbut here it becomes tricky, as there are 12 VRFB contexts max07:47
freemangordonso, I am not sure what is the correct time for attaching VRFB to FB07:48
freemangordonmaybe only when rotation is requested07:49
Wizzupuvos: I see /dev/input/event7:Mapphone Audio Headphones - but I don't get plug events on it it seems07:49
freemangordonotherwise we may run out of contexts very quickly07:50
Wizzupfreemangordon: hm, is this for a while fb or what?07:50
Wizzupwhole*07:50
freemangordonalso, it seems there is an issue with the rotation - IIUC, somehow PVR should see the rotated address07:50
freemangordonyes, the whole FB gets rotated07:51
Wizzupuvos: oh but pulse does pick it up07:51
freemangordonbut, this makes sense07:51
freemangordonunless I don;t understand the question07:51
Wizzupfreemangordon: well if we have 12, how many full framebuffers in rotation do we need active?07:51
Wizzupbut really I'm just asking randomly07:51
freemangordon1, but we don;t know in advance which exactly one ;)07:52
Wizzuphm, ok, I don't know much about vrfb07:52
freemangordonit is simple07:52
freemangordonit basically provides you with for addresses to access one and the same memory block07:53
freemangordons/for/four07:53
freemangordonfor 0/90/270/360 degress rotation07:53
freemangordon*degrees07:53
freemangordonlook into trm, it is well explained07:54
Wizzupok07:54
freemangordonthe point is that the resource is limited to 12 contexts (context defines image memory, size and rotation)07:55
freemangordonbut, I don;t know how is that supposed to work in terms of PVR driver trying to access that memory07:56
freemangordonbecause PVR shall write to the 'rotated' range07:57
freemangordonoh, wait, PVR renders to another bo07:58
freemangordonwhich we are copying to the framebuffer bo07:58
freemangordonhmm, hmm, that must be it07:58
tmlindfreemangordon: sounds like that's the part i was wondering about for a long time, where does the copying happen?08:00
freemangordonwhich driver?08:00
tmlindpvr bo copy to framebuffer bo08:00
freemangordonin modesetting, glamor does it08:01
tmlindWizzup: sounds like d4 should be available used by the truck pellet by this time, maybe try contacting some electronics recycling warehouses in the usa?08:01
freemangordonby wrapping PVR bo into KHRImage, and then to textture08:01
freemangordonand then it renders that texture to FB bo FBO08:02
freemangordonFBO is GL FBO08:02
freemangordondo you parse or I shall rephrase?08:02
tmlindwell so are you saying also wayland must copy pvr bo to fb bo at some point?08:02
freemangordonyes08:02
tmlindok so not done in the kernel08:03
freemangordonno08:03
tmlindthat means likely the d4 artifacts are likely a missing flush on the pvr side before the bo gets copied to the fb bo08:03
freemangordonbut! on fullscreen there should be no copy08:04
freemangordonPRESENT should just switch framebuffers on vblank08:04
freemangordontmlind: I don;t think we can avoid the copy in non-fulscreen08:05
tmlindso what about running weston-simple-dmabuf-egl, where does that bo get copied?08:06
tmlindok, just trying to understand how it works08:06
freemangordonwhat is weston-simple-dmabuf-egl?08:06
freemangordontmlind: lets speck in terms of xorg, I don;t know what WL stuff does08:07
freemangordonthough it should be similar/same08:07
freemangordonso, with modesetting: we have one scanout framebuffer, lets call it 'primary bo'08:07
tmlindfreemangordon: that's the weston test app that fails like wlroots if trying to use the default render node08:08
freemangordonall the 2d rendering happens on 2d textures (which are basically offscreen pixmaps) which then glamor renders to that primary bo using GL08:09
tmlindmighty17[m]: sorry not really familiar with the audio stuff, just try to recycle and patch what's already there08:09
tmlindfreemangordon: ok08:11
freemangordonfor 3D - it is rendered to another bos (PVR GL GBM backed surface provides up to 3 buffers (bos) for double-buffering)08:11
freemangordonthen the freshly rendered BO is being 'finished' by calling gbm_surface_lock_front_buffer (EGLSwapBuffers or similar does that, somewhere in MESA)08:12
freemangordonthen this BO is being send to xserver by using the PRESENT extension08:13
freemangordon"being send" is simply passing dma_buf fd08:13
tmlindfreemangordon: if you have some names for the pvr kernel module functions that get called around the bo copy to fb bo, i can try to debug the artifacts issue08:13
freemangordonno, this happens in userspace08:14
freemangordonin xorg/whatever userspace driver08:14
tmlindright but the flushing ioctl is still needed to scan out the pvr bo and that happens in kernel module?08:14
freemangordonI guess this is needed because of SGX MMU08:15
freemangordonin order SGX to be able to render to the memory08:15
tmlindsounds like we're now missing dma_sync_single somewhere in the pvr kernel driver after pvr userspace is done rendering to the pvr bo08:16
freemangordonyou need to set-up its MMU, because we have no dedicated VRAM08:16
tmlindyup08:16
freemangordontmlind: actually I think there is no "pvr bo" and "omapdrm bo"08:17
tmlindthe artifacts are visible also with hdmi with uvos' sgx clock slow trick, we just don't notice them so easily as the screen gets repainted at 60hz08:17
freemangordonall bos are allocated by omapdrm08:17
freemangordonor rather by DRM engine08:17
tmlindfreemangordon: right yes that's what i understand also, but pvr just uses a separate bo08:17
freemangordonwhich calls back omapdrm dma_buf callbacks08:17
freemangordonit can;t be separate, because FD is valid for all the kernel08:18
freemangordonalso, define "separate08:18
freemangordon"08:18
tmlindhmm so maybe the missing flush is still somewhere in omapdrm, note that the pvr driver does it's own dma sync/invalidate calls08:18
freemangordonyes, but it does that from the SGX POV, iiuc08:19
tmlindyeah seems to mostly invalidate for sgx08:19
freemangordonit flushes what has been cached in SGX caches, no?08:19
tmlindnot that i see08:19
freemangordonah08:19
tmlindmaybe that's the missing part08:20
tmlindi'm only seeing pvr_invalidate_range called sometimes08:20
freemangordonok, seems I am missing the theory there08:21
tmlindme too08:21
freemangordonthe point is:08:21
freemangordonwe use WC memory for framebuffers, right?08:21
tmlindyeah08:21
freemangordonbut, where the cache itself lives?08:21
freemangordonin DRAM controller?08:22
freemangordonI'll assume that08:22
tmlindwell it's write-combine, i guess we could run some tests on non-cached too08:22
freemangordonnoo, that'd run the performance even more08:23
freemangordon*ruin08:23
tmlindright but might be interesting to see for debugging if the artifacts go away08:23
freemangordonoh, it is write-combine, but the cached data stays in cache (so DSS reads stale data), until a flush happens08:24
freemangordonis that correct?08:24
tmlindif it works with uncached, then it rules out the missing flush for the write-combine buffer08:24
tmlindi suspect with the artifacts we get the pvr bo copy to fb bo before the pvr bo has been flushed out08:25
tmlindnot easily visible at higher rates or on hdmi as the next frame already might be good08:25
freemangordonI need to re-read again my books on how WC works in terms of multiple devices accessing the memory bus08:25
freemangordontmlind: agreed08:25
freemangordonbut, there are fences, which looks to be used08:25
tmlindthe reason sgx rate increase helps is the pvr bo is done earlier and more likely ready when pvr bo gets copied to the fb bo08:26
freemangordonmhm08:26
freemangordonsounds sane08:26
freemangordontmlind: but, this is for 2d only08:27
tmlindis there some difference in the ioctls to trap when the userspace copies pvr bo to kernel bo?08:27
tmlindto add a dump_stack() call08:27
freemangordontmlind: this is GL texture copy through shader08:27
freemangordonin terms of glamor that is08:28
tmlindhmm a stack trace would likely only show the ioctl to the call trace though, not what happens in the pvr driver earlier08:28
freemangordontmlind: you can easily test by putting glFlush()08:28
tmlindwhat's the kernel ioctl that translates to?08:28
tmlindeventually08:28
freemangordonand setting fush behaviour to 2 in powervr.ini08:29
freemangordonoh, it is far from being that simple08:29
freemangordon(ioctl)08:29
freemangordonbut, all this happens in the blobs, so not really sure how it's done08:29
tmlindok, probably some pvr custom ioctl08:30
freemangordonI suspect they call blit on SGX mmu handles08:30
freemangordonBTW, every gbm bo can be kind of mmaped into SGX device address space08:31
freemangordonand you get a 'handle' to that08:31
freemangordonand then you can pass those handles to SGX, for various rendering ops08:31
freemangordonI suspect clsed blobs to the same/similar08:31
freemangordonther is PVRSRVMapDmaBuf / PVRSRVUnmapDmaBuf that I was able to make working08:32
freemangordontmlind: but again, to know the rendering is finished, one must call some "waitforopstocompete" or somesuch finction from the blobs08:33
freemangordonwhich, IIUC, reads some memory address that is visible by both SGX and CPU08:34
freemangordonnon-cached memory I guess08:34
tmlindok08:35
freemangordontmlind: could you try to get tomi to help somehow for VRFB?08:35
tmlindfreemangordon: probably best that you just send an email to the related mailing lists08:36
Wizzupmaybe we should get the mesa and other stuff packaged for him so that it's perhaps easier to test/debug08:36
freemangordonI will take on the task to port VRFB to omapdrm, but I need some hints08:36
tmlindi doubt that tomi has much any cycles beyond dealing with current socs08:36
tmlindyeah tomi might have some good pointers08:37
freemangordonsure, that's why 'hints' :)08:37
freemangordonlike, when is the best time to allocate VRFB context08:37
tmlindyeah worth trying to send an email08:37
freemangordonok, need to pack, ttyl (next week) guys08:38
tmlindlater enjoy your vacation :)08:39
Wizzuphey looks like pstore gets autologged to /var/log/pstore/*09:23
WizzupI think that happens on reboot: https://pastebin.com/raw/gdwRaq0R09:25
tmlindoh interesting, that means the uart was not clocked when that happened09:30
mighty17[m]<tmlind> "mighty17: sorry not really..." <- yikes, does noone know about audio? it is very confusing :P for now i'll try usb-otg and pvr egl issues09:36
mighty17[m]`Cannot read pixels: missing GL_EXT_read_format_bgra extension`09:42
uvosWizzup: the evdev interface works09:50
Wizzupok, but not on the -devel 5.11 kernel09:52
WizzupI think09:52
uvosno :P09:52
uvosWizzup: its just that plug detection only works when the cpcap audio device has been used in some way recently, ie your playing something, the modem is playing something or pa has a stream active09:52
uvosthis is a power managment thing in cpcap09:52
Wizzupwell pa picks it up regardless I think09:52
uvosthat i dont fully understand yet09:52
uvosno09:52
Wizzuphmm09:52
uvosjust have to figure out what enable register for what device in cpcap ends up also enabling plug detection09:53
uvosbut it works in practice rn anyhow because as soon as you play something it kicks in and the device detects the hp09:53
uvosor if you open pavucontrol09:54
Wizzupah, yeah, ok09:54
uvosi think thats how its supposed to be used acctually and its a pm optimiziation. ofc for mainline kernel we have to work around it and make it report even when there is no audio in use.09:55
uvosbtw09:56
uvosyou broke osso-xterm09:56
uvossince you rebuilt it and now .launch is an so09:56
Wizzuphow?09:56
uvosx-terminal-emulator is broken09:56
mighty17[m]<mighty17[m]> "https://github.com/torvalds/..." <- tmlind:09:57
Wizzupah...09:57
uvosand you cant link x-terminal-emulator to osso-xterm either09:58
uvosthen maemo invoker dosent find the .launch09:58
WizzupI'll debug a bit later today09:59
uvosthank you ;)10:00
uvosncmpcpp not working is annoying :P10:01
Wizzuptmlind: btw I asked someone in the us if he has some ideas about recycle places because I don't really know much10:22
Wizzupuvos: so I guess it's e93e26432d5c3b3a697c050e4021392717dfd5af that broke it10:22
Wizzupoh it could be my moderinisation maybe10:23
tmlindWizzup: i used to have friends at a place called "hmr usa" but seems that place is no longer around10:25
uvosWizzup: yes10:26
uvosWizzup: that commit is the issue10:26
uvossince it causes .launch to be an so10:27
uvosthe real problem, why we where launching the .launch directly was that maemo launcher breaks on symbolic links10:27
Wizzuptmlind: ok, if you have any other ideas, please let me know10:28
Wizzupuvos: https://github.com/maemo-leste/bugtracker/issues/48410:28
WizzupI see10:28
uvos.launch being an so is needed for newer glibc10:28
uvosglibc broke it and mameo launcher dlopening a normal binary was a terrible hack in the first plae.10:29
uvos(well launcher is a terrible hack either way but i degress :P)10:29
tmlindWizzup: i'll send an email with you in cc, let's see what we find10:30
Wizzuptmlind: ty :)10:30
WizzupI got so used to using my d4 I was trying to insert the hp in the wrong side on my n90010:45
Wizzupgood sign10:45
uvosheh10:47
tmlindWizzup: ok mail sent to my old hmr usa friend, let's attempt to preserve as many as we can from recycling10:49
Wizzuptmlind: agreed!10:49
Wizzupthanks for that10:50
tmlindnp10:50
Wizzupwe can probably use some of the funding for it too10:50
tmlindgreat10:50
tmlindand if we manage to source few pellets full of them, we can probably get help from other non profit orgs for distributing to folks in the 3rd world countries too for reuse10:51
Wizzupyeah, that'd be great10:51
tmlindstill few years of usage easily left even in gsm mode10:52
Wizzupwe could try for the droid 3 too if those are still in circulation too, since they might even work in the us10:52
tmlindgood idea, maybe reply to that mail10:52
Wizzup(with sigmakey unlock)10:52
uvosi mean you could look for d3s outside the us too10:52
uvosm3s, whatever10:53
tmlindyeah sure10:53
tmlindlet's see what we can find, then maybe set up a new webpage for sourcing usable phones10:53
Wizzupuvos: I found it extremely hard to find any at all in europe10:53
Wizzuptmlind: yeah10:53
uvosWizzup: they wernt sold in europe10:54
tmlindyou'd assume it would be easy to find sponsors for something like that, maybe even verizon could be interested to sponsor that kind of reuse10:54
uvosthey where sold in south america and china + south asia10:54
tmlindok10:54
uvosat least in volume10:54
uvosi think you could order one from moto europe directly at some point10:54
Wizzupdo we know anyone who works at verizon?10:55
tmlinddon't think so, but these recycling folks probably do10:55
tmlindrecycling must be a huge issue.. so shipping them to reuse outside your market would be good publicity stunt10:56
Wizzup*nod*10:58
parazydThat's brilliant10:59
WizzupI also found this https://smartphonerecycling.com/11:02
tmlindworth emailing for sure11:12
mighty17[m]tmlind: https://github.com/tmlind/wlroots/commit/04491889240bbadb693aa37036dc55835118b2cc the desc of this commit is bit confusing, does it imply that pvr has IMG_read_format as a replacement for EXT_read_format_bgra ?11:36
tmlindyeah so it seems11:39
mighty17[m]wait, what?!11:42
mighty17[m]https://docs.imgtec.com/Architecture_Guides/Supported_Extensions_OpenGL_ES_EGL/topics/d0e2505.html so series5 has some other thing, series6 got it properly?11:42
mighty17[m]so we can probably replace `EXT_read_format_bgra` with `IMG_read_format` in wlroots, and then we're only left with 1 missing extension? :D11:44
l_bratchawesome October update post :)12:16
Wizzupl_bratch: cheers12:17
Wizzuptmlind: I am not sure what you meant regarding part numbers, do you mean spare parts?12:42
Wizzuphrm:12:52
Wizzuphttps://dpaste.com/GZT9YUGWA.txt12:53
Wizzupuvos: I added this to /etc/default/ofono:12:55
WizzupDAEMON_OPTS="-d "*,*/*,*/*/*""12:55
Wizzupand /etc/rsyslog.d/daemons.conf:12:55
Wizzupif $programname == 'ofonod' then /var/log/test/ofonod.log12:55
Wizzup& stop12:55
Wizzup(did it for some others as well)12:55
Wizzupmight help making debugging easier12:55
* Wizzup afk12:55
mighty17[m]tmlind: also `GL_EXT_read_format_bgra` working for you in wlroots (i assume you use 0.14)13:31
uvosmighty17[m]: thats just an input driver13:58
uvosmighty17[m]: it exposes the powerbutton on pmic gpio to userspace on evdev13:58
mighty17[m]Ah I wonder why not in Mainline :P16:08
Wizzuphttps://packages.debian.org/sid/qtbase5-gles-dev not in buster :/17:02
Wizzup( https://packages.debian.org/source/sid/qtbase-opensource-src-gles )17:03
Wizzupuvos: regarding osso-xterm, osso-xterm $(which ncmpcpp) seems to work17:26
Wizzupfrom console17:26
Wizzupoh right it's the x-terminal-emulator thing17:27
Wizzupuvos: ok so maemo invoker and maemo launcher just appends .launch blindly and then tries $PATH18:05
uvosWizzup: so it looks for x-terminal-emulator.path?18:13
uvosWizzup: *so it looks for x-terminal-emulator.launch?18:13
Wizzupuvos: so first of all the symlink will have to change to osso-xterm from osso-xterm.launch18:14
Wizzupbut secondly I need to change the code to do this:18:14
uvosyeah sure18:14
Wizzup * First resolve in PATH18:14
Wizzup * Then resolve symlink(s)18:14
Wizzup * Then add launch18:14
Wizzup * Then run18:14
Wizzupwhat it does right now is:18:14
uvosyeah18:14
Wizzup* append .launch if not absolute path18:14
Wizzup* search in PATH18:14
Wizzup* run18:14
uvosok18:15
Wizzupso it makes it x-terminal-emulator.launch18:15
uvosok18:15
WizzupI'll fix it, I don't think this can break things even though it'll work slightly differently18:15
Wizzupwe'll see18:15
uvosif you cant do it rn, maybe drop maemo-launcher support from osso-xterm build untill it works18:15
uvossince it breaks all the terminal=true applications18:15
Wizzupno, I will do it today or tomorrow18:16
uvosok18:16
Wizzupit's been a long day though :)18:16
uvosno worrys18:16
uvosjust if you want to do something else first18:16
Wizzupnah I'll do this first18:16
uvosWizzup: so what do you want to do about the charge-mode problem?18:26
WizzupI was going to test it this morning but forgot18:26
uvosok18:26
uvoswe need to either enable charge-mode18:27
uvosor disable battery guard i guess18:27
uvosbut i dont like the latter because the battery can end up <3v18:27
uvoswhich is bad18:27
Wizzupdoes charge mode auto detect if it needs to charge? probably not right?18:27
uvosWizzup: not sure what you mean18:28
uvosthe device ends up in the charge-mode runlevel if it boots with the usb plugged in18:28
Wizzupwhat does boot.cfg look like in your proposed scenario18:28
Wizzupanother entry with softlevel=charge-mode?18:28
uvosWizzup: no18:28
Wizzupok18:28
uvosthe signle entry gets softlevel=charge-mode18:29
uvosthe charging sdl then runs and checks machine state18:29
Wizzupok18:29
uvosand boots another runlevel or shows the battery symbol depending on the conition it finds18:29
Wizzuplet me try18:29
* Wizzup reboots18:29
uvosif usb is not plugged it boots to default18:30
uvosif usb is plugged but the battery is full it powers off18:30
uvosif the power button is pressed it boots default18:30
Wizzup18:30 < uvos> if usb is plugged but the battery is full it powers off18:30
uvosif an alarm fires it boots default18:30
WizzupI have to question this I think18:30
uvosif the usb cable is removed it powers off18:30
Wizzupaha18:31
Wizzupwell it booted to charge mode alright18:31
uvosright now you can unplugg to power of18:31
Wizzupbattery shows low red, but it was full in h-d18:31
Wizzupdoes it turn off the screen eventually?18:31
uvosit tries to18:31
uvosbut driectfb cant18:31
uvoswith the drm sdl backend it works18:31
Wizzupso it'll maybe draw more power than it receives18:31
uvosno18:32
Wizzup(I just tried on d4)18:32
uvosit charges18:32
uvosbut yeah its slow18:32
uvos(this will start working with ddk1.17 for free)18:32
Wizzupok, so it's known not to close screen on d418:32
WizzupI thought that already drm18:32
Wizzups/close/turn off/18:33
uvosno it runs on driectfb18:33
uvosbecasue drm is broken on ddk1.918:33
Wizzuphah I think because I used charge-mode ofono for once recognizes the sim properly18:33
uvosheh18:33
uvosbeacuse it delays boot i gues18:33
Wizzupyes18:33
uvosthe fbdev device on d4 is also buggt18:34
uvosthose lines should not be there18:34
uvosthats a known issue18:34
uvos(also on the kernel m-l)18:34
uvosbtw18:34
Wizzupok18:35
uvosis a chache coherency issue with omapdrmfb18:35
kona_i did something unexpectedly inauspicious:  i updated my n900 maemo-leste and now the ui acts strange in the following ways:  apps don't launch, and if i launch them from ssh the windows show up but i can't switch between them (it always  goes back to showing the home screen when i select one.)18:45
buZzthats a interesting bug18:45
konait's unexpected, for sure.18:46
konaSeems like maybe time to re-image :)18:46
uvoshmm wierd18:46
uvosare you on devel or stable?18:47
uvoscan you click stuff in the apps you launch?18:48
uvosWizzup: the issue with xorg reporting the wrong display size on n900 breaking hildons setting of the input transformation matrix was fixed right?18:49
konauvos: it's sort of acting like the screen needs re-cal18:51
konacan't click in the apps18:52
uvoskona: could you paste xinput list-props $TOCHSCREENID?18:52
konastandby18:52
konauvos: os-release https://pastebin.com/qVSWXvXM18:53
uvosthats non interesting i know your running leste :P18:54
konanot sure if devel or stable?18:54
uvosdosent say there18:55
uvosthats in cat /etc/apt/sources.list18:55
uvosim also more instested in "xinput list-props $TOCHSCREENID"18:55
uvosif you have a line with "beowulf-devel" in /etc/apt/sources.list your on devel18:56
konahttps://pastebin.com/Dn51Pzpw18:56
konaI don't see -devel there.18:56
uvosok so your on stable18:56
uvosnow xinput18:56
konanow for the dumber question:  $TOUCHSCREENID is not set, should this be the X Display or?18:57
uvoskona: run xinput with no paramters18:57
uvosunder Virtual core pointer18:57
uvosyou have a device other than the  XTEST pointer18:57
uvosthat is the touchscreen18:57
uvosit has an id18:57
konaTSC2005 touchscreen                       id=8    [slave  pointer  (2)]18:57
uvosgreat18:57
konaso, 818:57
uvosso its 818:57
uvosyeah18:57
konahttps://pastebin.com/Lmii8pKK18:58
uvoscrap18:58
konacrap?18:59
uvosyeah we messed up18:59
uvossec18:59
uvossorry18:59
konano worries.  i figured it was me.18:59
kona:)18:59
uvosWizzup: parazyd: we broke the n900 by accident by not fixing xf86-video-pvrsgx but updating hildon-desktop for stable :(19:00
uvoskona: xinput set-prop 8 --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 119:01
uvosshould fix it temporarly19:01
konauvos: do i need to restart anything after that command?19:04
uvoskona: no19:04
Wizzupuvos: hm19:05
uvosyou where working on pvrsgx beacuse xinput map-to-output was broken19:05
uvosbecause n900 reports a display size of 019:05
uvosi totaly forgot about that19:06
uvosand now stable is broken on n90019:06
Wizzupyeah19:07
Wizzupwell, we could do a quick fix and not apply it on n90019:08
uvossec ill add a check for sanity to the matrix to h-d19:08
uvosthen we just have to rush that patch to devel19:08
Wizzupand then to stable19:08
uvosyeah19:09
konai don't think that command quite worked.19:12
konahttps://pastebin.com/G2aG54Fy  <-- new output from list-props19:13
konaseems like the same as before?19:14
uvosh-d reapplies the matrix when the display turns on i think19:15
uvoshave the display on19:15
uvosrun xinput set-prop 8 --type=float "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 119:15
uvosand try using the device immidatly with no delay19:15
uvosshould work for at least a short while19:15
konathat seems to have worked.19:15
konathanks!19:19
lelIMbackK opened a pull request: https://github.com/maemo-leste/hildon-desktop/pull/16 (hd-xinput: sanity check matrix before applying it)19:23
uvosWizzup: here comes a fix with all haste19:23
uvosonly tested to not interfear with d4, my n900 is empty19:23
konauvos: as you indicated, the system seems to revert to the previous matrix after some time of screen inactivity.19:25
uvosyeah19:25
uvoskona: real fix should be incomeing real soon19:25
konayay!19:26
konai'm just glad that when you said "crap" it wasn't that my touchscreen is dead :)19:26
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/hildon-desktop/pull/16 (hd-xinput: sanity check matrix before applying it)19:28
Wizzupuvos: shall we just go straight to stable19:28
WizzupI don't see the point of -devel19:29
uvosi do see the point of testing it on a n90019:29
uvosfor one second19:29
Wizzupok19:29
uvosaltho it not working is qutie unlikely19:29
uvosmaybe kona wants to test it :P19:29
konasure, how do i test it?19:30
Wizzupbuilding for -devel first then19:30
uvosadd "deb https://maedevu.maemo.org/leste beowulf-devel main contrib non-free  n900" to /etc/apt/sources.list at the end19:30
uvoskona: ^^^19:31
uvosand wait for my mark19:31
* kona is standing by19:31
Wizzupmark19:45
uvoskona: do a apt update and upgrade19:46
konaapt update is running19:46
uvoskona: should pull a new h-d19:46
uvos(hildon-desktop)19:46
konahildon-desktop/testing 1:2.2.184+2m7 armhf [upgradable from: 1:2.2.183+2m7.1]19:47
uvosthats the ticket19:47
konahildon-meta is being kept back, but i told it to proceed anyway19:48
konaupgrade finished, same behavior, but i'm not convinced that h-d restarted19:50
uvoskona: you have to reboot19:50
konarebooting.19:50
Wizzupyou could have done 'pkill hildon-desktop'19:53
Wizzupbut yeah19:54
Wizzup(as root)19:54
konayears of running windows at work have desensitized me to reboots.19:54
Wizzup:)19:55
konauvos: Wizzup: seems to work for me.19:55
konado you want the list-props output to verify?19:55
konaCoordinate Transformation Matrix (156): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.00000019:56
Wizzupnah19:56
konak19:56
Wizzupty :p19:56
Wizzupbuilding for beowulf now19:57
lelIMbackK closed an issue: https://github.com/maemo-leste/bugtracker/issues/375 (Qwebengine renders empty frame on Droid4)19:57
konanow i can manage my beowulf cluster from beowulf.20:01
konaor something :)20:01
Wizzup;)20:01
konaI celebrated the restoration of the touchscreen to working order in -devel by replacing the screen protector my n900 came with, it was peeling up one side20:59
Wizzup:)20:59
konaI don't think I've ever been so successful applying a screen protector before...21:00
konahttps://rootaction.net/owncloud/index.php/s/B4TKayoAsmMATtE21:02
uvosqt example webbrowser thats suprisingly feture full and polished http://uvos.xyz/maserati/screenshots/qtwebbrowser.png21:08
uvosalso has own vkb http://uvos.xyz/maserati/screenshots/qtwebbrowser2.png21:09
konaUvos: is that in the repo?21:40
uvosno21:40
konaI'll have to chase it down and build for n90021:43
uvosit uses qml just opeing it pushes the d4 over 500mb memory usage21:43
uvosso really wont work on n90021:44
konasad21:45
dsc_uvos: do you have a link to the code? is it this https://doc.qt.io/archives/qt-5.9/activeqt-activeqt-webbrowser-example.html ?21:49
uvosgit clone https://code.qt.io/cgit/qt-apps/qtwebbrowser.git/21:50
dsc_using QWebEngineView via QtWidgets should be more performant, someone said "30mb memory usage on d4" today but I have yet to confirm that :P21:56
Wizzupdsc_: 30-40MB22:42

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