libera/#maemo-leste/ Friday, 2023-10-27

Wizzupdsc: arno: this is known until we merge tp module04:18
Wizzupfreemangordon: I'm getting more music and videos in OMP now :)05:43
tmlindgot the mz617 usb modem flakeyness sorted out, will try to push out updated branch over the weekend. will take a look at enabling mz609 lcd next, then i guess it's time to rebase the n_gsm pathes for gps :) hmm maybe uvos already rebased the n_gsm stuff to v6.6-rc series?06:47
tmlindi only really care about wlan + lcd + touch + gps on these devices to use with maps with m-l fyi.. most of the other devices should be similar to d4 though06:49
tmlindpresumably the gps is still on the modem06:50
Wizzuptmlind: this is super great06:52
WizzupI am at openfest not this weekend but next weekend and want to see if I can show off mz617 with m-l06:52
WizzupI think uvos tried to rebase but he said something was missing06:52
WizzupI don't remember what06:52
tmlindok, mz609 has different backlight and touchscreen so no idea how long that might take06:54
tmlindwith mz617 i noticed that i could just mkfs ext4 on the big vfat partition, then reboot to android and it gets still mounted an reinitialized with the default directories06:55
tmlindso that can be used both by anrdoid and m-l if anybody cares about the stock android support still06:55
tmlindit's not mkfs.ext4 on the android root though, i think it's mke2fs where ext4 needs to be specified to reformat (and lose all the user data naturally)06:56
Wizzupyes, that makes sense06:57
tmlindhmm i think it was make_ext4fs on the stock android partition i used to reformat userdata partition mmcblk1p2007:00
Wizzupfreemangordon: I'm thinking of quickly adding support for the menu arrow in qt5, I think we can just decide whether to render it or not in QXcbWindow::show ?07:11
Wizzupthere is an old ifdef 0'd version in qmenu_bar.cpp that just needs to be adapter for xcb mostly07:11
Wizzupadapted07:12
WizzupI don't know if the xgetwmprotocols hackery is really necessary07:12
WizzupIt might just need to set the property07:13
Wizzup_HILDON_WM_WINDOW_MENU_INDICATOR07:13
WizzupI don't know what we need the _NET_WM_CONTEXT_CUSTOM for07:13
Wizzupfreemangordon: like this https://github.com/maemo-leste/qt-platform-maemo/commit/bceb0413873b15c87f06deca1fafe0b769d0eb2a07:20
freemangordonWizzup: yes, now the tracker does not crash...07:27
freemangordonsorry, just woke up, need some coffee first07:28
uvos__tmlind: i did not rebase the gps or modem patches, i rebased all of my/leste stuff, noticed the broken omap dai and gave up09:52
uvos__iic omap-dai should work again now so ill continue when i have the time09:52
uvos__tmlind: ^^^09:53
tmlinduvos__: ok i'll take a look at rebasing the modem patches, i think audio might need that wip mcbsp patch, maybe it's only needed with some configurations though09:55
tmlinduvos__: this one, not sure what caused that to start happening https://lore.kernel.org/linux-omap/20231018082142.5b7d3ad5@aktux/T/#m64db662085f60290447b13f09c96cdb38cd4f4fd09:56
uvos__tmlind: ok great yeah only the modem is still needed10:00
uvos__everything else is rebased10:00
tmlindnice10:00
tmlinddid you rebase the pvr stuff too?10:00
tmlindit will be interesting to see if the ants are still there on mz619 as it's a video mode panel..10:01
* tmlind needs some lunch bbl10:03
uvos__tmlind: yeah i have pvr10:08
uvos__tmlind: there was just some minor drm api changes10:08
Wizzupuvos__: tmlind: ok, good to hear10:14
WizzupI have the mz619 on my desk here, brought it to asia :)10:14
tmlindok great less stuff for me to rebase10:48
uvos__i was pretty suprised how pvr rebased with almost no fuss14:25
uvos__and worked too14:26
uvos__the pvr code is pretty scary14:26
uvos__btw we should probubly update our usermode binaries and move the omap3/4 onto mesa-amber14:27
uvos__atm we cant futher update mesa (for the pp for instance)14:27
uvos__since any further mesa updates would permanenly break pvr14:27
dsc_walking antssss14:29
uvos__since the ants are in textures its more like ants in amber :P14:29
uvos__the ants situation is no different in 6,6 unfortinatly14:30
Wizzupuvos__: please lmk if you have a kernel for the mz617, would love to try16:12
uvos__Wizzup: https://github.com/IMbackK/droid4-linux/tree/maemo-6.616:23
uvos__i mean this should boot all the way to accelerated hildon on m617, but i have not tried it on the tablet besides checking if it boots to console16:23
uvos__on d4 it works fine, besides the modem and sound16:24
freemangordonnew definition of 'boots fine' :p16:24
freemangordonsorry, "works fine"16:24
freemangordonBTW, it seems omapdrm driver does not support color keying and alpha blending :(16:25
freemangordonor rather, the code is in the driver, but userspace cannot reach it16:26
freemangordonomapfb supports it, but not omapdrm16:27
uvos__why would we want color keying? we dont need accelerated overlays in a compositing window manager16:28
freemangordonso we want compositing to happen during fullscreen video playback?16:30
freemangordonlike, 'pause', 'play' etc buttons?16:30
freemangordonor, I am missing somthign16:30
freemangordonuvos__: like, how am I supposed to put button over XV playback?16:31
Wizzupuvos__: hm, no modem and sound, I guess that is what you said was fixed now?16:31
uvos__Wizzup: modem ist just not rebased yet, sound is probably fixed with the patch tmlind posted16:32
uvos__freemangordon: you dont16:32
freemangordonhmm?16:32
uvos__freemangordon: with xv you either do wat mpv dose (insert the widget into the stream)16:32
Wizzupok16:32
uvos__or you forget about xv and use gl (wich is what everyone has doen16:32
uvos__)16:32
freemangordonor, use color keying16:32
uvos__except everyhone is dropping support16:33
uvos__(incl xv in the first place)16:33
freemangordonIIRC, this does not mean overlay16:33
uvos__so its not really a sollution16:33
freemangordonok, but we don;t have glimagesink that work with gles2 :(16:33
freemangordon*works16:33
uvos__hm ok :(16:33
freemangordonalso, I don;t see what is the issue with using DSS HW to do what we want at no cost, but have to write shaders and whatnot16:35
freemangordonthat's suboptimal16:35
freemangordonBTW, drm subsystem has support for color keying16:36
uvos__no issue, its just how everyone else in the stack is railroading you too16:36
freemangordonnot ,really16:36
freemangordonkernel has support16:36
uvos__sure the kernel16:36
freemangordonit is that particular driver that does not have16:36
freemangordonuvos__: see https://www.kernel.org/doc/html/latest/gpu/drm-kms.html, "Existing KMS Properties"16:39
freemangordonarmada, nv and radeon support it16:40
freemangordonBTW, qt somehow manages to draw on top of the video16:41
freemangordonit is just that we are missing transparency16:42
uvos__qt is gl accelerated internally, presumably it just renders the video to a texure and composes its own window16:44
uvos__or do you mean it manages while using xv16:44
freemangordonyes16:44
uvos__hmm16:45
freemangordonvideo playback in openmediaplayer is done by mafw-gst-renderer (separate process), which uses xvimagesink16:45
freemangordonso omp passes playback widget window xid to mafw16:45
uvos__hmm ok16:46
dsc_did someone say qt16:46
freemangordonand mafw-gst-renderer gets 'embeded'16:46
freemangordonyes, I am in love with it :)16:46
uvos__xembed yeah16:46
uvos__but thow it renders over xv16:46
uvos__no idea16:46
freemangordonme neither16:46
uvos__without hw overlay16:46
freemangordonbut it works fine16:46
freemangordonbesides the buttons that are in the middle (play, pause, etc) that have funny backgrounds16:47
freemangordonmaybe xorg does something sane, dunno16:47
freemangordonand no, qt does not use gl for QWidget, afaik16:47
uvos__it sure dose for qmultimedia surfaces16:48
uvos__which you arnt using16:48
freemangordonyeah16:48
freemangordonmaybe somehow the clipping region is correct16:48
uvos__these things are fundamentally impossible in wayland btw, jfyi16:51
uvos__so porting of that will be fun16:51
uvos__(or rather you would just ditch this for qmulitmedia)16:51
freemangordonyeah16:52

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