02:25
lyubov_ has quit [Ping timeout: 268 seconds]
02:25
lyubov_ has joined #maemo-leste
04:20
joerg has quit [Ping timeout: 240 seconds]
04:21
joerg has joined #maemo-leste
06:22
<
dreamer >
sunshavi: tssk. doesn't even mention maemo-leste
08:11
inky_ has quit [Ping timeout: 252 seconds]
08:12
inky has quit [Ping timeout: 252 seconds]
08:12
inky_ has joined #maemo-leste
09:51
uvos has joined #maemo-leste
10:01
<
uvos >
tmlind_: we really need to get of ddk1.9 :(
10:02
<
tmlind_ >
uvos: yeah that thing is a big blocker :(
10:03
<
uvos >
could you update ts-buttons from the original repo next time
10:03
<
uvos >
instead of merging it
10:03
<
uvos >
there is a (minor) bug fix in there
10:03
<
uvos >
i should also try again to merge it .....
10:03
<
tmlind_ >
ok i guess i should script it
10:03
<
tmlind_ >
and i need to sort out all the sucky modem gsmtty stuff..
10:03
<
uvos >
so far i have not been able to get anyone to comment on it even on the input ml
10:04
<
uvos >
which is annoying
10:04
<
tmlind_ >
hmm so what can we do get stuff working with ddk-1.17 instead of ddk-1.9?
10:04
<
uvos >
no one is working on it right now
10:04
<
uvos >
so in theory it should work but there are lots of bugs
10:05
elastic_dog has quit [Ping timeout: 240 seconds]
10:05
<
uvos >
and its allways really hard to decern if its the blobs fault
10:05
<
tmlind_ >
you mean fmg's test app?
10:05
<
uvos >
read the log here
10:06
<
uvos >
there are 2 methods
10:06
<
uvos >
a main problem here being that none of us know if what glamor dose it to spec or not
10:07
<
tmlind_ >
so we currently get noting on the screen with pvr_egl_shim?
10:08
<
uvos >
its glamors own rendering that breaks
10:08
<
uvos >
and then there is wierd stuff like pvr just breaking depending on where you glfinish
10:08
<
tmlind_ >
sounds like it could be glamor missing some gles parts?
10:08
<
uvos >
and n900 flat out not working at all
10:09
<
uvos >
no it uses the egl/gbm interfaces in ways that are unclear if its compatible with gles
10:09
<
uvos >
mesa swalows this fine but who knows
10:10
<
tmlind_ >
can we somehow test the approach on gles without pvr on some hardware?
10:10
<
uvos >
it works on radionsi
10:10
<
tmlind_ >
but that's not gles?
10:10
<
uvos >
i forced patched glamor into gles mode
10:11
elastic_dog has joined #maemo-leste
10:11
<
uvos >
radionsi also supports gles ofc
10:11
<
tmlind_ >
ok.. may not still be gles only?
10:11
<
uvos >
well its useing libgles
10:11
<
uvos >
ofc the gl support in egl might make a difference
10:11
<
tmlind_ >
hmm but i guess if you patched it to force gles that answers the question :)
10:11
<
uvos >
i have no idea really
10:12
<
tmlind_ >
anything else we can do to test it individually for smaller components?
10:13
<
uvos >
not really so fmg wrote his test app and it narrows it down to a call that glamor dose
10:13
<
uvos >
if you reproduce glamors path in it it breaks
10:13
<
uvos >
and if you do it a different way it works
10:13
<
uvos >
we dont know if the glamor path is illigal
10:14
<
uvos >
or pvr is buggy
10:14
<
Wizzup >
right, and I think you said that if what glamor does is illegal, we have to fix up all the places where it does it wrong
10:15
<
uvos >
even then the performance is wierd, and fmg had to introduce glfinish in random places to make it work
10:16
<
Wizzup >
That does kind of sound like pvr has some problems
10:16
<
Wizzup >
but iirc we had no place to report potential issues, other than some forums, I guess?
10:17
<
uvos >
i gues the best path is to repo it on some chip ti still has in its catalog
10:17
<
uvos >
ie the industrial variants of the omap4
10:18
<
tmlind_ >
fyi, pvr ddk-1.17 with wayland works surprisingly well with the patches we carry, kind of makes me suspect the issue is in glamor
10:18
<
uvos >
tmlind_: well one thing is
10:18
<
uvos >
that the performance on plain drm/gbm is mutch lower than on wayland
10:18
<
uvos >
which makes no sense
10:19
<
uvos >
and is nothing we could be at fault for
10:19
<
Wizzup >
uvos: which devices are that?
10:20
<
uvos >
the d4 and yes this could be an interaction with the command mode display
10:20
<
Wizzup >
uvos: sorry, I mean the supported ones
10:20
<
uvos >
might be usefull to have mz617 working to ellimitae that possibility
10:22
<
uvos >
AM4379 for instance
10:22
<
uvos >
there are several
10:22
<
uvos >
i think tmlind_ is knowlagble on what ti processors are based on omap4 platform
10:24
<
tmlind_ >
i think am43 has still pvr530
10:24
<
tmlind_ >
for mz617, there seem to be lots of issues with drivers/gpu/drm/bridge currently, seems like many bridge drivers are having issues right now
10:25
<
tmlind_ >
i guess the patches to move to use drm atomic functions caused some issues for bridges
10:25
<
uvos >
thats good to hear in a way
10:25
<
tmlind_ >
also bridges on i2c bus have extra issues with the two possible probe paths
10:26
<
uvos >
at least a suspect problem is well known
10:26
<
uvos >
i have not found the time yet to look at mz617 at all since i decided to get calls working first ;)
10:26
<
tmlind_ >
yeah best to ask around from folks using bridges for mz617 and wait a bit to let things settle
10:26
<
tmlind_ >
yeh me neither
10:27
<
tmlind_ >
i doubt anybody at ti is going to spend any time on the pvr issue we have, we need to come up with some other solutions
10:27
<
uvos >
we can probubly patch glamor to high heaven and make it work
10:28
<
uvos >
but its not fun work
10:28
<
uvos >
since it feals very random when pvr decides to work an when not
10:28
<
Wizzup >
Could it be a problem in kernel comms somehow?
10:28
<
tmlind_ >
could it be some pm related issue?
10:28
<
uvos >
so manny questions :P
10:28
<
uvos >
i wish i knew
10:29
<
tmlind_ >
we need to establish some bounty for fixing this :)
10:29
<
Wizzup >
we could probably
10:29
<
uvos >
we can then have a modesetting ddx fork that we patch to load glamor-prv
10:29
<
uvos >
and then have package it seperately
10:29
<
uvos >
so a hacked ddx would be ok packaging wise
10:30
<
uvos >
(ie you want to be able to use regular modesetting on pp)
10:31
<
tmlind_ >
so what happens with pvr_egl_shim on pinephone? that should be gles only, right?
10:31
<
uvos >
pp supports gl
10:33
<
tmlind_ >
well wlroots needs some patches for the gles calls and i guess fmg fixed up xorg also for some gles calls
10:34
<
tmlind_ >
are there any glTexSubImage2D GL_TEXTURE_2D calls in glamor path?
10:35
<
uvos >
thats what breaks
10:35
<
uvos >
on egl textures
10:35
<
tmlind_ >
some calls need gles version specific handling
10:36
<
tmlind_ >
mostly xcracer's wlroots patch
10:37
<
tmlind_ >
but that patch does not include EGL_KHR_, not sure if wlroots already has some handling for those?
10:37
inky has joined #maemo-leste
10:38
<
tmlind_ >
yeah grepping wlroots for EGL_KHR_ shows some version specific handling
10:39
<
tmlind_ >
$ git grep -C10 EGL_KHR_ | grep check_egl_ext
10:39
<
tmlind_ >
render/egl.c- if (!check_egl_ext(client_exts_str, "EGL_EXT_platform_base")) {
10:39
<
tmlind_ >
render/egl.c: if (check_egl_ext(client_exts_str, "EGL_KHR_debug")) {
10:39
<
tmlind_ >
render/egl.c: if (check_egl_ext(display_exts_str, "EGL_KHR_image_base")) {
10:39
<
tmlind_ >
render/egl.c- check_egl_ext(display_exts_str, "EGL_EXT_buffer_age");
10:39
<
tmlind_ >
render/egl.c: if (check_egl_ext(display_exts_str, "EGL_KHR_swap_buffers_with_damage")) {
10:39
<
tmlind_ >
render/egl.c- } else if (check_egl_ext(display_exts_str,
10:39
inky_ has quit [Ping timeout: 250 seconds]
10:42
<
uvos >
could you link xcracer patch too
10:43
<
uvos >
or the commit id
10:43
<
uvos >
if its in mainline wlroots
10:47
<
tmlind_ >
i think it's in the pmos bugzilla entry
10:47
<
tmlind_ >
that should be added to the ml bug page if not there
10:50
<
tmlind_ >
see patch attached there, 0001-render-Don-t-use-GL_EXT_unpack_subimage-when-not-ava.patch
10:54
<
tmlind_ >
heh see also the comment there: ".. I've tried xfce4 but the blobs are missing an extension (GL_OES_texture_border_clamp) required by glamor for modesetting plus according to the Maemo guys there's other issues with gles2 and glamor/modesetting."
11:00
<
uvos >
i need to setup an enviroment to play with this again
11:00
<
uvos >
i gues i have an extra xt875 i can dedicate to the task
11:07
elastic_dog has quit [Ping timeout: 240 seconds]
11:14
elastic_dog has joined #maemo-leste
11:20
<
tmlind_ >
with wlroots, without the GL_TEXTURE_2D handling as in the patch there was no output in sway, just window frames
11:27
Danct12 has quit [Remote host closed the connection]
11:35
<
tmlind_ >
maybe it's possible to test on some different hardware if pvr_egl_shim works with gles3 but fail with gles2 as on these pvr using devices
11:44
<
tmlind_ >
hmm so maybe that page explains why GL_CLAMP_TO_EDGE is needed for gles2
11:50
<
tmlind_ >
i don't understand though, does these pages show how to implement the missing extensions for pvr or what?
11:51
<
tmlind_ >
or is GL_EXT_texture_border_clamp just an extension name for gl?
11:52
<
uvos >
its a extension name for gles too
11:52
<
uvos >
but its only implmented for gpus > sgx
12:00
<
tmlind_ >
heh maybe we can just file an xfce4 bug saying pvr with gles2 does not work :)
12:42
inky_ has joined #maemo-leste
12:45
inky has quit [Ping timeout: 248 seconds]
13:13
inky_ has quit [Remote host closed the connection]
13:14
inky has joined #maemo-leste
13:18
inky has quit [Ping timeout: 240 seconds]
13:24
inky has joined #maemo-leste
14:02
inky_ has joined #maemo-leste
14:30
xmn has joined #maemo-leste
15:01
inky has quit [Ping timeout: 240 seconds]
15:02
inky has joined #maemo-leste
15:18
mardy has quit [Quit: WeeChat 2.8]
17:00
Pali has joined #maemo-leste
17:24
xmn has quit [Ping timeout: 248 seconds]
17:43
inky has quit [Quit: IRC for Sailfish 0.9]
17:52
inky has joined #maemo-leste
17:54
inky has quit [Client Quit]
17:55
inky has joined #maemo-leste
18:06
<
freemangordon >
uvos: IIRC, with the latest kernel I tried, gbm performance was ok
18:06
<
freemangordon >
5.10 or 5.11
18:06
<
freemangordon >
can;t remember
18:08
inky has quit [Quit: Leaving]
18:08
inky has joined #maemo-leste
18:15
<
freemangordon >
ok, it seems indent pointer bug is triggered by typedef-ed struct. It seems it thinks this is multiply, not declaration.
18:17
<
freemangordon >
Wizzup: do you know any other tool than indent?
18:23
<
freemangordon >
there is some uncrustify thingie, going to check it
18:43
<
uvos >
you cant turn off it changeing the postion of *
18:43
<
uvos >
would be an obvious option to add
18:43
<
uvos >
since its totaly impossible to detemine if something is a mult or a pointer based on just one source file
18:48
lexik has quit [Quit: Bella ciao.]
18:49
lexik has joined #maemo-leste
18:49
<
uvos >
hm which makes me wonder
18:50
<
uvos >
how dose the compiler know what this means:
18:50
<
uvos >
int number = 10;
18:50
<
freemangordon >
uvos: you can't turn it off
18:50
<
uvos >
Klass *somepointer
18:50
<
freemangordon >
uncrustify seems promising
18:50
<
uvos >
some_function(number*somepointer);
18:51
<
freemangordon >
it has couple of hundred options :D
18:51
<
uvos >
freemangordon: heh
18:51
<
freemangordon >
but seem syou can fine tune it, if you find the option you need, ofc ;)
18:52
<
uvos >
so in the above example am i multiplying the pointer adress by 10 or am i derefencing it and mult that by 10
18:52
<
uvos >
how dose the compiler now
18:52
<
uvos >
oh right dereference would be number**somepointer
18:53
<
freemangordon >
but, as I am never sure, I always put braces
18:55
<
uvos >
yeah nvm its not ambiguous
18:55
<
uvos >
i was confused
19:15
Danct12 has joined #maemo-leste
20:21
joerg has quit [Read error: Connection reset by peer]
20:27
joerg has joined #maemo-leste
20:34
_inky has joined #maemo-leste
20:56
inky has quit [Quit: Leaving]
23:00
uvos has quit [Ping timeout: 252 seconds]
23:15
Pali has quit [Ping timeout: 248 seconds]