libera/#maemo-leste/ Friday, 2022-10-07

freemangordonuvos: do you have an idea how to test compositing performance?18:21
WizzupI think one of the x perf tools has a test for it18:21
freemangordonthanks18:22
Wizzupx11perf -compwinwin50018:22
freemangordonI don;t know what this is measuring, but even if I disable compositing in the driver, it makes no difference in the score18:35
Wizzupmaybe it's not a good test then18:36
buZzfreemangordon: maybe run compiz? :D does that still exist?18:38
buZzor https://wiki.archlinux.org/title/xcompmgr18:39
freemangordonanyway, it is not compositing that slows down scrolling18:39
Wizzupwell that's not an easy measurable 'test'18:39
Wizzupand h-d does compositing also18:39
buZzright18:39
freemangordonyes, I think what h-d does is the issue18:39
buZzah, maybe using wrong opengl calls or something?18:40
freemangordonbecause with CheckComposite() etc returning TRUE and doing nothing I see no measurable performance increase when h-d is running18:40
freemangordonno, most -probably TFP is very slow18:41
freemangordonor... dunno18:41
buZzmaybe need to try with a compositing-disabled window manager?18:41
buZzlike fluxbox or something18:41
freemangordonwell, if I stop h-d it is enough18:41
freemangordonfps increases by factor of 2-318:41
freemangordonI was just hoping it is xorg compositing that is the issue18:42
freemangordonmaybe I should have done that before wasting a week on REing the blob :(18:49
buZzhehe cool, i now have 1080p output on hdmi , and indeed until you kill/restart h-d maemo is a bit confused20:44
buZzhmm, https://www.ti.com/lit/ml/swpt034b/swpt034b.pdf?ts=1665176547841   <- that says the 'display controller' has 'multi-pipelines' and 'multioutput'   https://i.imgur.com/GiOYKvO.png23:05
uvosbuZz: yes so?23:08
uvosfreemangordon: so what dose compositing accelration in xorg do exactly23:09
buZzuvos: i'm trying to find if hdmi -and- lcd on could work23:09
uvossure ofc23:09
uvosnot just in theory it works in fine in practicce23:10
buZzbecause when i enable hdmi, the lcd turns off :P23:10
uvosjust hildon dosent know what to do with it23:10
uvosno its just black beacuse hildon freaks out23:10
uvosit works fine with plain x23:10
buZzah, maybe i shouldnt add --primary?23:10
uvosdosent help23:10
uvoshildon dosent know about that23:10
uvosthis is use other window manager teretory23:11
buZzhmhm23:11
uvosfreemangordon: while compositing x dosent really render anything, i though it was something about accelerating the offscreen buffers but idk.23:11
buZzbut with just mirroring?23:11
uvoscant do that either23:12
buZzn900 can :P23:12
uvossince the dsi pannel can do one resolution, and one reslution only23:12
buZzyeah thats fine23:12
uvosand its unlikey the external montior can do the same resolution23:12
uvosso its unlikely to ever work23:12
uvosthe n900 works entirely differently23:12
uvosit dosent have 2 display outputs at all23:12
buZzyou can display a 960x560 buffer on a 1280x720 screen though :P23:13
uvosits just a dumb converter chip that drives the tv out23:13
uvosbuZz: the mode has to line up23:13
uvosoften the montiors will accept other scann rates thatn edid tells xorg23:13
uvosbut you have to add a custom modline for that23:13
uvosnever tried it23:13
uvosbut that could work23:13
buZzhmhm23:15
uvosso the way that would work23:15
buZzwell one of my hdmi 'tvs' is just a capture unit ;)23:15
uvosis use cvt to generate a modeline23:15
uvosthen add the modeline to the crtc using xrandr23:15
uvosand activate it23:15
uvosthen you can mirror the internal display to that23:16
uvosand kill hildon23:16
buZzhmm :)23:16
uvosshould work if the external display accepts the scann rate (not guarenteed)23:16
uvosthe other thing that might work23:17
uvosis to use a native resolution on the external display and add a xorg (xrandr --output --transfrom <matrix>) transformation matrix to the output to match the effective resolution to the one of the internal display23:19
uvosbut that will only work if the ddx supports transformations23:19
uvosi think only glamor dose that23:19
uvosso no nvm23:19
buZzhehe laaame; https://i.imgur.com/YQkLDKb.png23:44

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