00:03
belcher has quit [Ping timeout: 265 seconds]
00:04
belcher has joined #maemo-leste
02:30
lightbringer has quit [Ping timeout: 246 seconds]
02:30
lightbringer has joined #maemo-leste
02:30
lightbringer has joined #maemo-leste
02:30
lightbringer has quit [Changing host]
02:52
lightbringer has quit [Ping timeout: 264 seconds]
02:52
lightbringer has joined #maemo-leste
02:52
lightbringer has quit [Changing host]
02:52
lightbringer has joined #maemo-leste
03:08
zhxt has joined #maemo-leste
04:07
joerg has quit [Ping timeout: 265 seconds]
04:07
joerg has joined #maemo-leste
04:07
joerg has quit [Read error: Connection reset by peer]
04:53
zhxt has quit [Ping timeout: 252 seconds]
04:58
doc has quit [Quit: Things to do]
05:08
joerg has joined #maemo-leste
06:30
doc has joined #maemo-leste
06:32
pere has quit [Read error: Connection reset by peer]
06:47
pere has joined #maemo-leste
06:59
BenLand100 has quit [Quit: s/BenLand100//]
07:00
BenLand100 has joined #maemo-leste
07:00
BenLand100 has quit [Changing host]
07:00
BenLand100 has joined #maemo-leste
07:23
BenLand100 has quit [Quit: s/BenLand100//]
07:45
<
Wizzup >
freemangordon: nice, opening pdf from email just worked
07:46
BenLand100 has joined #maemo-leste
07:46
BenLand100 has joined #maemo-leste
07:46
BenLand100 has quit [Changing host]
07:47
<
freemangordon >
not on my freshly upgraded d4
07:47
<
freemangordon >
yeah, but I am not going to dig into that
07:48
<
freemangordon >
my concern is modesetting/glamor
07:48
<
freemangordon >
I think those are FUBAR
07:49
<
freemangordon >
the point is: it seems that PRESENT implementation in modesetting is more or less broken
07:49
<
freemangordon >
maybe I shall pull latest master and see it is is better
07:50
<
freemangordon >
what I see on n900 - for some reason 'older' frames are drawn 'after' newer
07:50
<
freemangordon >
TFP is broken as well
07:51
<
freemangordon >
CMA area is 16 MB - how much more is needed for MS/GLAMOR to work?
07:51
<
freemangordon >
hmm, I have to try some video playback
07:52
<
freemangordon >
but given that performance is 3/4th of that without xorg, I doubt it will look nice
07:54
<
freemangordon >
Wizzup: I built mesa with dri3 enabled, does it make sense to build it with dri2?
07:54
<
freemangordon >
ah, where is uvos, he knows a bit about hat
07:54
<
freemangordon >
*that
07:56
<
freemangordon >
tmlind: does glmark-es2-drm works for you on d4?
07:57
<
Wizzup >
freemangordon: which xorg is this?
07:58
<
Wizzup >
it is possible some of the modeset problems are kms problems
07:58
<
freemangordon >
lemme check
07:58
<
Wizzup >
esp. the frame stuff/trails you mention
07:59
<
freemangordon >
5e3900904ddc27f3d5580ce3a07929469d82fb5e
07:59
<
Wizzup >
I do not know regarding dri2, probably not
08:00
<
Wizzup >
I would really suggest separating glamor and ms if we can in our evaluation
08:00
BenLand100 has quit [Quit: s/BenLand100//]
08:00
<
Wizzup >
modesetting I think we really want to use for the mode setting part
08:00
<
Wizzup >
there is no reason not to
08:00
<
Wizzup >
glamor if potentially a different story
08:01
<
Wizzup >
freemangordon: cannot check the commit hash atm but iirc tmlind had some fixes for xorg modeset and rotation
08:01
<
Wizzup >
if that is what you mean with present
08:02
<
freemangordon >
hmm, upstream has lots of fixes for glamor/ms
08:02
<
Wizzup >
I use modesetting on my laptop and it does not seem broken
08:02
<
freemangordon >
worths rtying latest master
08:02
BenLand100 has joined #maemo-leste
08:02
BenLand100 has quit [Changing host]
08:02
BenLand100 has joined #maemo-leste
08:02
<
Wizzup >
we also patch our xorg but only with my patch iirc
08:03
<
Wizzup >
(xrexcorcd related)
08:04
<
freemangordon >
since that there is a pile of commits
08:04
<
freemangordon >
so I am going to try latest master
08:09
<
freemangordon >
hmm, ABI_INPUT has changed, lets hope there will be no issue with that
08:10
<
freemangordon >
ABI_XINPUT_VERSION that is
08:10
<
freemangordon >
only minor is changed though
08:11
BenLand100 has quit [Quit: s/BenLand100//]
08:11
xmn has quit [Quit: ZZZzzz…]
08:12
<
Wizzup >
I think the xorg server builds some drivers as well no
08:12
<
Wizzup >
so you should just get them
08:13
<
freemangordon >
those are in separate repos
08:13
<
freemangordon >
but, for video, it is no issue as we use only modesetting
08:13
<
freemangordon >
and input ABI major is still 24, lets see
08:15
<
freemangordon >
Requested 'fixesproto >= 6.0' but version of FixesProto is 5.0
08:15
<
freemangordon >
No package 'libxcvt' found
08:15
<
freemangordon >
Requested 'inputproto >= 2.3.99.1' but version of InputProto is 2.3.2
08:18
BenLand100 has joined #maemo-leste
08:18
BenLand100 has quit [Changing host]
08:18
BenLand100 has joined #maemo-leste
08:20
belcher has quit [Ping timeout: 245 seconds]
08:21
<
Wizzup >
so this is a buster/beowulf+1 thing?
08:21
<
freemangordon >
mhm
08:22
<
Wizzup >
it could also be that master is prepped for some rc
08:22
<
freemangordon >
just installed one package from buster, with no issue
08:22
<
freemangordon >
lets see
08:23
<
freemangordon >
yeah, but we don;t need it with chromeos mesa
08:24
<
freemangordon >
we need x11proto-dev_2021.5-1_all.deb
08:27
belcher has joined #maemo-leste
08:31
pere has quit [Ping timeout: 264 seconds]
08:35
<
freemangordon >
tmlind: yeah, glmark doesn't work on droid4-pending-pvr-omapdrm-v5.15
08:36
<
freemangordon >
maybe the same "Fix page fault handling..." patch
08:37
<
freemangordon >
ok, upstream xorg is being build, fingers crossed
08:39
belcher has quit [Ping timeout: 252 seconds]
09:45
pere has joined #maemo-leste
10:19
inky has joined #maemo-leste
10:21
inky_ has quit [Ping timeout: 252 seconds]
10:34
<
freemangordon >
glmark2 Score: 21
10:36
<
freemangordon >
trying to start hildon-desktop, xorg segfault
10:39
<
freemangordon >
Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
10:39
<
freemangordon >
0xb55eb612 in ?? () from /root/mesa/sgx/libGLESv2_PVR_MESA.so
10:48
<
Wizzup >
debug symbols?
10:54
<
freemangordon >
this is ion the blob
10:54
<
freemangordon >
*in the
10:55
<
freemangordon >
I am trying some other thing ATM
11:07
<
freemangordon >
yes, with this h-d starts
11:12
<
freemangordon >
not that it works
11:13
<
freemangordon >
but at least good thing is that I can rmmod/modprobe on hang
11:21
<
freemangordon >
ok, TFP seems to work, somehow :)
11:24
<
freemangordon >
seems we need GL_OES_texture_border_clamp or replacement
11:24
<
freemangordon >
otherwise all repaints are fullscreen
11:30
<
Wizzup >
cool @ tfp
11:34
* Wizzup
is excited
11:34
<
freemangordon >
but, I don;t know how to implement GL_OES_texture_border_clamp replacement
11:34
<
freemangordon >
without that this is useless
11:34
<
Wizzup >
wonder if newer x will work with lima better
11:36
inky has quit [Read error: Connection reset by peer]
11:47
<
freemangordon >
trying to play video:
11:47
<
freemangordon >
ERROR: 0:1: Syntax error, GLSL Version 120 not supported
11:47
<
freemangordon >
I think this is a dead-end
11:48
<
bencoh >
what are you playing that video with?
11:48
<
freemangordon >
gst-launch
11:48
<
bencoh >
is glsl mandatory? that's odd
11:48
<
bencoh >
I bet it's for yuv/rgb conversion
11:48
<
freemangordon >
this is error from Xorg
11:48
<
freemangordon >
modesetting/glamor
11:49
<
freemangordon >
yeah, I would guess the same (yuv/rgb)
11:49
<
freemangordon >
I can try to force gst to do it in SW, but what is th epoint
11:50
<
bencoh >
I'd rather try disabling it in glamor, but yeah
11:50
<
bencoh >
or backport shader to older glsl
11:50
<
freemangordon >
and where it should be done?
11:50
<
freemangordon >
yeah, porting is ok
11:50
<
bencoh >
I mean, glsl shaders have been working for ... years, I doubt they just recently added something that enables yuv/rgb :)
11:51
<
freemangordon >
but doesn;t really make sense, given that PRV2d supports tens of types of surfaces in HW
11:51
<
bencoh >
what do you mean by that?
11:51
<
freemangordon >
it is just that SGX 3D driver functionality is limited to ES2
11:52
<
freemangordon >
I mean that we can try to not use glamor for EXA
11:52
<
freemangordon >
too many pieces are missing IIUC
11:52
<
mighty17[m] >
<freemangordon> "but, I don;t know how to..." <- Is the bgra extension working?
11:52
<
freemangordon >
yes
11:53
<
freemangordon >
mighty17[m]: sec, I'll pastebin the patch
11:55
<
mighty17[m] >
freemangordon you're a savior
11:55
<
bencoh >
I wonder if this got dropped at some point
11:55
<
freemangordon >
mighty17[m]: this alone is not enough
11:56
<
freemangordon >
at least for modesetting/glamor
11:56
<
mighty17[m] >
Can we try to patch gles instead of glamor?
11:56
<
freemangordon >
mighty17[m]: patch what exactly?
11:57
<
freemangordon >
uplift SGX driver to ES3.0?
11:58
<
mighty17[m] >
freemangordon: Heh that's impossible
11:58
<
freemangordon >
mhm
11:58
<
mighty17[m] >
freemangordon: Like wrapper around libegl or smth
11:59
<
mighty17[m] >
Else we'll have to patch all apps for support for the missing gles extensions
11:59
<
freemangordon >
bencoh: the point is that SGX driver seems to perform very well for 3D stuff, but glamor is FUBAR on gles2
12:00
<
bencoh >
freemangordon: oh, I see
12:00
inky has joined #maemo-leste
12:00
<
bencoh >
well then there is really no point in keeping it
12:00
<
freemangordon >
so, we can use modesetting without glamor but instead RE pvr_drv from old IMG DDKs
12:01
<
freemangordon >
but, I want to hear from uvos on that, I am not really experienced in that shit
12:01
<
bencoh >
wait, you really want to re the pvr driver?
12:01
<
freemangordon >
it is ~50k and I have a version with debug symbols
12:01
<
freemangordon >
a week or so
12:04
<
Wizzup >
this also doens't seem too bad: $ wc -l ./src/sgx_exa.c
12:04
<
Wizzup >
1176 ./src/sgx_exa.c
12:05
<
freemangordon >
what is this?
12:05
<
Wizzup >
xf86-video-pvrsgx driver
12:05
<
Wizzup >
based on fbdeb, but I assume that exa plugin arch didn't change much
12:06
<
freemangordon >
does it call into libpvr2d?
12:07
<
Wizzup >
maybe it contains the pvr2d stuff, I can't really tell without looking at the .so
12:07
<
freemangordon >
I think it does
12:08
<
freemangordon >
yes, it does
12:09
<
freemangordon >
it includes pvr2d.h
12:09
<
freemangordon >
which I guess comes from SDK/DDK
12:09
<
freemangordon >
actually, if we build that, it should work against the new sdk
12:09
<
freemangordon >
did we try it?
12:09
pere has quit [Ping timeout: 264 seconds]
12:10
<
freemangordon >
anyway, going to a walk, ttyl
12:22
<
mighty17[m] >
I'll try to add bgra patch to wayland (wlroots) ig, is that even possible
12:41
<
Wizzup >
freemangordon: we do not want to and cannot use most of xf86-video-pvrsgx
12:41
<
Wizzup >
but the exa part we can use in modesetting
12:43
<
Wizzup >
freemangordon: yeah pvrsgx_drv_la_LDFLAGS = -module -avoid-version -lm -lpvr2d
12:54
<
Wizzup >
freemangordon: most of the stuff in there I don't think we want/need, a lot of it is related to old omapfb and the really weird api with overlays
12:55
<
bencoh >
unused symbols can't hurt though
12:55
<
Wizzup >
the code is a mess
12:55
<
Wizzup >
we're trying to move away so we don't have to touch it again
12:56
<
Wizzup >
I don't think there's much of value there
12:56
<
Wizzup >
apart from the exa over pvr2d stuff
12:58
<
Wizzup >
freemangordon: does 3d work if you disable glamor, or does it require glamor to be loaded for dri3
13:57
<
freemangordon >
I think glamor is required because of dri3
13:57
<
freemangordon >
going to try without glamor
13:59
<
freemangordon >
hmm, it works with out glamor
14:00
<
freemangordon >
but, veeeery slow
14:01
<
freemangordon >
GL_RENDERER: llvmpipe (LLVM 7.0.1, 128 bits)
14:01
<
freemangordon >
yes, because of dri3
14:01
<
freemangordon >
but, I think I can compile mese for dri2
14:01
<
freemangordon >
*mesa
14:01
inky has quit [Ping timeout: 252 seconds]
14:05
<
freemangordon >
Wizzup: yes, we don't want xf86-video-pvrsgx, that's why I want to RE pvr_drv
14:05
<
freemangordon >
xf86-video-pvrsgx doesn't use 2D engine, iiuc
14:06
<
freemangordon >
this fbdev stuff we will want someday, because of XV stuff
14:06
<
freemangordon >
ofc it will need to be ported to drm
14:21
xmn has joined #maemo-leste
14:47
Pali has joined #maemo-leste
15:14
inky has joined #maemo-leste
16:00
doc has quit [Remote host closed the connection]
16:03
<
Wizzup >
freemangordon: what 2d engine is that
16:08
l_bratch has quit [Quit: Leaving]
16:08
<
freemangordon >
the one on SGX
16:12
<
freemangordon >
"Advanced and standard 2D operations (that is, vector graphics, BLTs (fixed blitters), ROPs (raster operating processors operations))"
16:16
<
freemangordon >
Wizzup: at least blit is in HW, IIUC
16:18
<
freemangordon >
Wizzup: look at pvr2d.h for type of ROPs it can do
16:18
inky has quit [Remote host closed the connection]
16:18
<
Wizzup >
ok, so this is part of the gpu then
16:18
<
freemangordon >
yeah
16:19
<
freemangordon >
and this is the public SDK
16:19
<
freemangordon >
it seems it can do more then that, at least by the looks of pvr_drv
16:20
inky has joined #maemo-leste
16:20
<
freemangordon >
maybe it can do vektor stuff in HW
16:20
<
freemangordon >
*vactor
16:20
<
freemangordon >
aaah
16:21
<
freemangordon >
vector :)
16:24
doc has joined #maemo-leste
16:26
<
Wizzup >
I need to go for some time of the eve, but will hopefully finish the droid3 kexecboot tomorrow
16:35
pere has joined #maemo-leste
16:56
l_bratch has joined #maemo-leste
17:09
l_bratch has quit [Quit: Leaving]
17:19
belcher has joined #maemo-leste
17:20
l_bratch has joined #maemo-leste
17:26
LjL has quit [Read error: Connection reset by peer]
17:28
LjL has joined #maemo-leste
18:09
uvos has joined #maemo-leste
18:13
<
uvos >
i am back around
18:13
<
uvos >
whats the state on pvr-xorg
18:13
<
freemangordon >
bad
18:14
<
uvos >
also any suggestions on what to do about the n900 wrt wayland
18:14
<
freemangordon >
basically nothing works ok
18:14
<
freemangordon >
what do you mean?
18:14
<
uvos >
dose someone have the patched blobs for me to use with a leste image?
18:14
<
freemangordon >
sure
18:14
<
uvos >
or shal i work to get wlan working on debian 11
18:14
<
freemangordon >
I will provide blobs, including mesa
18:14
<
freemangordon >
chromeos mesa that is
18:15
<
freemangordon >
BTW, I had x11 working with that
18:15
<
freemangordon >
but we hit various bug in modesetting/glamor
18:15
<
uvos >
yeah i saw that
18:15
<
freemangordon >
*bugs
18:15
<
uvos >
so the x11 emulation path in mesa works on pvr
18:15
<
freemangordon >
yeah
18:16
<
freemangordon >
so, now the plan is - I am REing pvr_drv, in hope we will have working EXA
18:16
<
freemangordon >
and then, somehow will implement PRESENT in it
18:16
<
uvos >
ok, taking the exa code from the old fbdev video-pvr driver is not an option?
18:16
<
uvos >
not for present ofc
18:17
<
freemangordon >
Wizzup: doesn;t like it
18:17
<
freemangordon >
me neuther, it doesnt really do any 2d accel
18:17
<
freemangordon >
IIUC
18:17
<
uvos >
Wizzup: can you comment on that?
18:18
<
freemangordon >
well, ofc I am not sure there will be any use of pvr_frv
18:18
<
freemangordon >
*pvd_drv
18:18
<
freemangordon >
what the?!?
18:18
<
freemangordon >
PVR_DRV
18:18
<
freemangordon >
but at least we will have a better understanding on what is under the hood
18:20
<
uvos >
Wizzup: with kexecboot on d3
18:20
<
uvos >
if bspw is just 2 mb on d3 i dont think its viable to use for kexecboot
18:20
<
uvos >
just put it on cdrom
18:21
<
uvos >
android dosent need that
18:21
<
uvos >
cdrom is pretty big
18:23
<
uvos >
212mb on xt894
19:14
<
uvos >
having touble compileing a hildon application
19:14
<
uvos >
hildon-gtk.h includes maemo-gtk-compat.h
19:14
<
uvos >
maemo-gtk-compat.h dosent appear to exist on my system
19:15
<
uvos >
at least acording to find
19:17
<
uvos >
oh i need to define MAEMO_GTK
19:17
<
uvos >
can we drop this
19:17
<
uvos >
since maemo-gtk-compat.h appears gohne
19:25
<
freemangordon >
[ 41324.198] (II) pvr: Driver for PowerVR chipsets: PowerVR SGX
19:25
<
freemangordon >
[ 41324.308] (EE) ERROR: Couldn't get PVR Services status
19:26
<
uvos >
freemangordon: context?
19:27
<
freemangordon >
REed driver
19:27
<
freemangordon >
most of it is still stubs though
19:30
Pali has quit [Ping timeout: 264 seconds]
19:46
akossh has joined #maemo-leste
19:52
<
Wizzup >
freemangordon: uvos: hi, I don't think I said I don't like the exa code for xf86-video-pvrsgx, but the fbdev code I don't like
19:52
<
Wizzup >
I cannot comment on whether it actually uses the 2d unit/api/whatever, that requires some more examination at leats from me
19:52
<
Wizzup >
uvos: I was able to load kexecboot in there I think
19:52
<
Wizzup >
it seems to fit at least
19:52
<
uvos >
well even if it dosent use it execpt to blit
19:53
<
uvos >
its still usefullt
19:53
<
uvos >
(as we would start with pvr2d just doing blits too)
19:53
<
Wizzup >
uvos: re: d3, I think I am almost there, the only thing that is missing is mmcblk1 not showing up
19:53
<
uvos >
Wizzup: fastboot dosent check sizes if you flash:raw
19:53
<
Wizzup >
uvos: ls -ls seems to indicate it matches
19:54
<
uvos >
Wizzup: omap4 has 3 mmc controllers iirc
19:54
<
uvos >
Wizzup: might be on a different one than on d4/bionic
19:55
avoidr has quit [Ping timeout: 245 seconds]
19:56
avoidr has joined #maemo-leste
19:56
<
uvos >
Wizzup: btw im massively refacotring sphone rn
19:56
<
uvos >
Wizzup: to make it modular
19:56
<
uvos >
dont work on it untill that drops
19:58
<
Wizzup >
uvos: no because it works on 5.11
19:58
<
Wizzup >
it shows up as mmcblk2
19:58
<
Wizzup >
so I could build 5.11 statically instead, I suppose
19:58
<
Wizzup >
just for the proof of concept
19:58
<
Wizzup >
but there are some traces in 5.14.9, so maybe that is the problem
19:58
<
uvos >
i would kinda prefer a lts kernel for the bootloader
19:59
<
uvos >
but yeah fixing 5.14+ is good in any case
19:59
<
uvos >
dose mmc work on d4 on 5.14? i dont think i have checked recently
19:59
<
uvos >
i wouldent notice
20:00
<
Wizzup >
not sure, haven't checked either
20:00
<
uvos >
sec ill boot the sway d4
20:00
<
Wizzup >
right, and I mean internal mmc, but you got that
20:01
<
uvos >
works fine on d4
20:02
<
uvos >
maybe is broken in 5.14 only
20:04
<
uvos >
had a 5.14 kernel on it too
20:04
<
uvos >
works just the same
20:04
<
uvos >
its d3 specific
20:05
<
uvos >
or there is patch about this that i pulled in via tmlids -pending
20:05
<
uvos >
into my tree
20:07
<
uvos >
Wizzup: your d3 kernel is vanilla mainline right?
20:10
<
Wizzup >
just the tar from kernel.org
20:24
joerg has quit [Read error: Connection reset by peer]
20:28
joerg has joined #maemo-leste
23:07
uvos has quit [Ping timeout: 252 seconds]
23:12
akossh has quit [Quit: Leaving.]