tk has quit [Quit: Well, this is unexpected.]
tk has joined #maemo-leste
cockroac1 has joined #maemo-leste
uvos__ has quit [Ping timeout: 256 seconds]
System_Error has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
Pali has quit [Ping timeout: 272 seconds]
System_Error has joined #maemo-leste
TonyStone has quit [Remote host closed the connection]
TonyStone has joined #maemo-leste
TonyStone has quit [Remote host closed the connection]
TonyStone has joined #maemo-leste
Oksanaa has quit [Remote host closed the connection]
Oksanaa has joined #maemo-leste
cockroac1 has quit [Quit: leaving]
xmn has joined #maemo-leste
Oksanaa has quit [Remote host closed the connection]
Oksanaa has joined #maemo-leste
TonyStone has quit [Quit: Leaving]
TonyStone has joined #maemo-leste
rafael2k has quit [Ping timeout: 256 seconds]
joerg has quit [Ping timeout: 272 seconds]
joerg has joined #maemo-leste
macros__ has quit [Ping timeout: 256 seconds]
macros_ has joined #maemo-leste
sunshavi has quit [Ping timeout: 256 seconds]
sunshavi has joined #maemo-leste
joerg has quit [*.net *.split]
xmn has quit [*.net *.split]
meridion has quit [*.net *.split]
Langoor has quit [*.net *.split]
avoidr has quit [*.net *.split]
sixwheeledbeast has quit [*.net *.split]
joerg has joined #maemo-leste
avoidr has joined #maemo-leste
Langoor has joined #maemo-leste
sixwheeledbeast has joined #maemo-leste
xmn has joined #maemo-leste
meridion has joined #maemo-leste
brabo has quit [*.net *.split]
brabo has joined #maemo-leste
System_Error has quit [*.net *.split]
yanu_ has joined #maemo-leste
yanu_ has quit [Client Quit]
macros__ has joined #maemo-leste
macros__ has quit [Ping timeout: 252 seconds]
sunshavi has quit [Ping timeout: 272 seconds]
mardy has joined #maemo-leste
rafael2k has joined #maemo-leste
_inky has quit [Ping timeout: 250 seconds]
<freemangordon> Wizzup: YAY! finally, YT sound on d4 :)
inky has joined #maemo-leste
_inky has joined #maemo-leste
inky_ has quit [Ping timeout: 256 seconds]
<freemangordon> but not in FF, weird
<Wizzup> maybe fx is muted?
<freemangordon> but how and where. and by whom?
macros__ has joined #maemo-leste
<Wizzup> freemangordon: pulse can mute per app
<Wizzup> maybe check pavucontrol
macros_ has quit [Ping timeout: 250 seconds]
<freemangordon> checked
<freemangordon> firefox is there and is 100%
Pali has joined #maemo-leste
<Wizzup> ok
<freemangordon> it seems FF itself does not send any audio
<freemangordon> seems default autoplay setting is "block audio"
<freemangordon> nice
<Wizzup> heh..
<freemangordon> yeah, setting UA to iphone makes all the diffference :)
<freemangordon> I'll have to look at XV soon
<freemangordon> Wizzup: BTW, do I need to run some manual calibration on wifi?
<freemangordon> niiice, headphones work :)
pere has quit [Ping timeout: 272 seconds]
xmn has quit [Quit: ZZZzzz…]
System_Error has joined #maemo-leste
<Wizzup> freemangordon: calibration should be automatic
pere has joined #maemo-leste
<freemangordon> ok
Oksanaa has quit [Ping timeout: 250 seconds]
inky has quit [Ping timeout: 240 seconds]
System_Error has quit [Remote host closed the connection]
inky has joined #maemo-leste
System_Error has joined #maemo-leste
<Wizzup> on first boot at least
<Wizzup> (of fresh sd card)
inky has quit [Ping timeout: 252 seconds]
_inky has quit [Ping timeout: 252 seconds]
_inky has joined #maemo-leste
uvos__ has joined #maemo-leste
uvos__ is now known as uvos
<uvos> Wizzup: so charging sdl is still broken, because you remvoed directfb but did not enable kmsdrm in sdl2
<Wizzup> hmm
<Wizzup> --enable-video-kmsdrm --disable-kmsdrm-shared \
<Wizzup> is that not ok?
<uvos> dont see it
<uvos> oh you forgot to merge it into devel
<Wizzup> argh
<Wizzup> I merged locally but didn't push
<Wizzup> let me fix
<Wizzup> thanks for checking
<Wizzup> building
<uvos> great thanks
<freemangordon> Wizzup: uvos: (^\s*xkb_symbols\s\"(.*)\"*.)?{((?:[^}{]*(?R)?)*+)}
<freemangordon> I plan to use that to match in xkb symbols file
<freemangordon> is there any obvious flaw?
<uvos> i gues the obvious flaw is that is really hard for me to accern what this regex dose :P
<uvos> but that might just be me
<freemangordon> well, I am very bad at regexes so I use regex101 :)
<freemangordon> but in short - it should extract symbols and contents of each symbols group
<uvos> i get that
<uvos> there sould be a full parser for xcb files too right?
<uvos> why not use that?
<freemangordon> because tehre is no
<freemangordon> *there
<uvos> really?
<freemangordon> mhm
<freemangordon> you can use some parser if you know what you look for
<freemangordon> but, there is no ready lib that can provide you all the info in xkb files
<uvos> ok wierd
<freemangordon> at least I was not able to find one
<freemangordon> agree
<freemangordon> this is the latest (xkb_symbols\s\"(.*)\".*)?{((?:[^}{]*(?R)?)*+)}
<Wizzup> uvos: libsdl2 is in repo
<lel> MerlijnWajer closed a pull request: https://github.com/maemo-leste/sgx-ddk-um/pull/1 (weaken glib 2.29 symbol in libGLESv1)
<Wizzup> building for -devel
<lel> MerlijnWajer created a repository: https://github.com/maemo-leste-extras/neverball-gles
<lel> MerlijnWajer created a repository: https://github.com/maemo-leste-extras/openlara
<Wizzup> uvos: ^
<lel> IMbackK opened an issue: https://github.com/maemo-leste/bugtracker/issues/608 (Petition upstream debian/devuan to re enable GLESv1)
<uvos> Wizzup: great
<Wizzup> freemangordon: looks like the RE'd code doesn't want to build
<Wizzup> (also looks like we aren't actually shipping that RE'd code yet then?)
<freemangordon> no, we are not
rafael2k has quit [Ping timeout: 272 seconds]
<Wizzup> ok
<freemangordon> will look at it later, have to attend work mtg
<Wizzup> np
<Wizzup> uvos: btw if you can please make sure the extras pkgs have this base64 encoded icon and maybe create a wiki entry for it
<uvos> Wizzup: ok
<uvos> Wizzup: btw, non urgent, but if you find the time at some point could you try sphone on the pp (all functions, calls sms etc).
<uvos> Wizzup: if it works there compleatly ill promote it to stable for the first time
<Wizzup> ok
<Wizzup> yeah I can try that some time this week I think
inky has joined #maemo-leste
_inky has quit [Ping timeout: 252 seconds]
_inky has joined #maemo-leste
mepy has quit [Ping timeout: 250 seconds]
pere has quit [Ping timeout: 240 seconds]
pere has joined #maemo-leste
mepy has joined #maemo-leste
inky_ has joined #maemo-leste
inky has quit [Ping timeout: 272 seconds]
_inky has quit [Ping timeout: 252 seconds]
_inky has joined #maemo-leste
_inky has quit [Ping timeout: 252 seconds]
xmn has joined #maemo-leste
macros_ has joined #maemo-leste
_inky has joined #maemo-leste
macros__ has quit [Ping timeout: 250 seconds]
pere has quit [Ping timeout: 252 seconds]
uvos has quit [Remote host closed the connection]
pere has joined #maemo-leste
rafael2k has joined #maemo-leste
uvos has joined #maemo-leste
<uvos> Wizzup: aaand charging sdl still dosent work
<uvos> Wizzup: now it segfaults in SDL_CreateWindow.. while on my localy build sdl2 its fine
<Wizzup> uvos: hm, same HEAD?
<uvos> no
<uvos> i have --disable-video-opengl
<Wizzup> hm, it'd not be ideal to have to add that
<uvos> yeah
<uvos> EGL client APIs: OpenGL OpenGL_ES
<uvos> im thinking this might be a problem
<uvos> (this is eglinfo)
<uvos> its not reporting opengl as unavailbale
<uvos> as it should
<uvos> freemangordon: ^^^
<Wizzup> well is it not available via llvmpipe?
<Wizzup> I guess not for this renderer
pere has quit [Ping timeout: 240 seconds]
<uvos> Wizzup: freemangordon: ok so i "fixed" it for now by having charge-mode force sdl to use a gles2 context, but there is a real problem here
<uvos> creating a gl context via egl causes a segfault
<uvos> it should just fail
rafael2k has quit [Ping timeout: 240 seconds]
<Wizzup> understood
akossh has joined #maemo-leste
<sicelo> fwiw, there's a real chance that pmOS will deprecate charging-sdl in the near future, in favor of lvgl based stuff. at least the sdl FDE unlocker is already in process of deprecation
<uvos> our charging_sdl shares nothing with postmarket os's at this point except the code that draws the icon texture
<uvos> so thats not a concern
macros__ has joined #maemo-leste
<uvos> sicelo: hmmm charging-lvgl basicly works like our charging-sdl
<uvos> sicelo: and the defficanies reported in pmos -sdl is essantly what i thought too when i changed how it works
<uvos> so this is failed co-operation at its finest
<freemangordon> uvos: can you test with blobs?
<sicelo> you mean you sent your charging-sdl patches or issues upstream and they didn't cooperate?
<uvos> sicelo: no its also my fault, i thought the unesscarly complex way it worked in pmos was as intended
<uvos> freemangordon: not right away
<freemangordon> though, they may have disabled GL in mesa
<uvos> probubly
<uvos> for sgx 545
<uvos> i assume
<freemangordon> no
<uvos> yes
<uvos> sgx 545 supports desktop gl
<freemangordon> this is in 443x blobs
<uvos> so those blobs support omap4470
<freemangordon> could be
<freemangordon> however, they do dload of the relevant blobs
<freemangordon> but, there is no libOGL, so I don't know how is that supposed to work
<freemangordon> lemme check how chromeos deals with that
<uvos> chomeos is for series6
<uvos> that also supports ogl
<uvos> in all variants afaik
<freemangordon> ok, lemme see 343x blob
<freemangordon> uvos: hmm, actually no
<uvos> hmm?
<freemangordon> chromeos mesa pvr does not report PVRDRI_API_GL IIUC
<uvos> ok
<freemangordon> this is chromeos
<uvos> ok
<freemangordon> this is the blob
<uvos> maybe just remove the opengl line then
<uvos> since it cant do any good
<freemangordon> yes, but I wonder how is that supposed to work
<uvos> it might be here for sgx545 and this is a subtle bug in the blobs
<uvos> ie it dosent
<freemangordon> yeah
<freemangordon> lemme check how it loads the libs
<uvos> have to check if this porblem exitst in full blob setup
<freemangordon> mhm
<freemangordon> blob tries to load libPVROGL.so
<freemangordon> uvos: do you have some mesa build around?
<freemangordon> as it will take me hours to build here
<uvos> no sry
<freemangordon> ok
<freemangordon> also, how to test that the fix is proper? by using eglinfo?
pere has joined #maemo-leste
<uvos> good question
<freemangordon> uvos: hmm, for X11 platform only OpenGL_ES is reported
<uvos> yeah
<uvos> its only a problem in plain drm
<uvos> GBM platform: EGL client APIs: OpenGL OpenGL_ES
<freemangordon> 'GBM platform'
<freemangordon> mh
<uvos> right
<freemangordon> but why the difference?
<uvos> no idea
<freemangordon> Wizzup: ^^^
<freemangordon> so, we shall be consistent, no?
<uvos> in x11 also sdl is fine
<uvos> its with the kmsdrm backend it thinks it can go opengl
<freemangordon> ok, lemme check in what state my mesa tree on d4 is
<uvos> also its interesting that the GBM platform also dosent report any valid gl configs
<uvos> but i gues thats to late for sdl
<freemangordon> yeah, seems the decision has already been taken
<freemangordon> ok, I'll just #ifdef OGL in pvr dri
<freemangordon> bencoh: did you manage to do some mesa cross-compile instructions?
<freemangordon> uvos: BTW, it is the same in 343x blob
<freemangordon> so it is not about 545
<freemangordon> maybe they just limit the API with mesa build
<freemangordon> hmm, actually why don;t we disable OGL in mesa?
<freemangordon> I mean - it is already disabled for x11
<freemangordon> why shall we keep it for gbm?
<freemangordon> Wizzup: ^^^
<Wizzup> hey
<Wizzup> freemangordon: we build mesa for all devices
<Wizzup> some can support opengl
<Wizzup> e.g. pinephone does
<Wizzup> and most adreno based devices will
sunshavi has joined #maemo-leste
<freemangordon> Wizzup: the point is that opengl is disabled for x11
<freemangordon> why shall it be enabled for gbm?
<freemangordon> we either enable it for bot or disable it for both, IIUC
<freemangordon> *both
<uvos> its not disabled for x11 is it
<uvos> (explicitly, by us)
<uvos> ?
<uvos> afaik we disabled GLX on omap
<uvos> but thats totaly unrleated to egl
<freemangordon> well then why OGL is not reported for X11?
<uvos> i dont know
* freemangordon boots PP
<freemangordon> on PP we have "EGL client APIs: OpenGL OpenGL_ES" for x11
<freemangordon> could it be some bug in mesa?
<uvos> its possible
<uvos> but hard to tell without some mesa supported gles only gpu
<uvos> (are there any even !?)
<freemangordon> also, I wonder how is a particular API detected
<freemangordon> because you cannot create OGL context on sgx
<freemangordon> unless I introduced some bug
* freemangordon checks
<uvos> freemangordon: well one thing that your re dosent do that the blobs did
<uvos> was use llvmpipe in glx
<uvos> glx now just fails
<uvos> previously mesa just used llvmpipe
<freemangordon> are you sure?
<uvos> yes
<uvos> but blobs here is ddk 1.9
<uvos> so im not sure its relevant
<freemangordon> ah
<freemangordon> test with 1.17 blobs
<uvos> how
<uvos> xorg dosent work
<uvos> so no glx
<freemangordon> LD_LIBRARY_PATH/LD_PRELOAD
<uvos> GLX?
<freemangordon> ah, yeah
<freemangordon> sorry
<freemangordon> well, I don;t know what they did
<freemangordon> but do we really want llvmpipe for glx?
<uvos> well there are apps that just dont work this way
<uvos> but did work before
<uvos> like linuxcnc
<uvos> (even had fine performanec on llvmpipe)
<uvos> also extreamly niche i know, but some cfd scientific software i use renders still images using glx, an i could view computation results on d4 over network/iglx before
<freemangordon> uvos: I am afraid that if we enable glx, lot sof applications will prefer it over gles2
<uvos> freemangordon: sure but glx is a parameter in xorg.conf
<uvos> freemangordon: so we could have it work on llvm and then disable it
<uvos> but its not a big issue
<uvos> this opengl reporing over egl on kms/drm is much more annyoing
<freemangordon> uvos: I think you can override with export MESA_LOADER_DRIVER_OVERRIDE=swrast or somesuch
<bencoh> freemangordon: afaict once you have a crosscompilation container ready it's pretty straightforward
<freemangordon> uvos: MESA_LOADER_DRIVER_OVERRIDE=swrast glxgears works on d4
<uvos> ah ok
<freemangordon> bencoh: where should I get one from? :)
<uvos> the reason mesa dosent cose llvmpipe in the first place then is probubly because we need MESA_LOADER_DRIVER_OVERRIDE=pvr
<bencoh> Wizzup: do we have a public lxc image for the crossbuilder somewhere?
<freemangordon> no idea
<freemangordon> bencoh: but anyway, I am already compiling on device
<bencoh> ah :(
<freemangordon> [600/2515]
<freemangordon> :)
<bencoh> want me to build it? :D
<freemangordon> no, as I want to be able to make changes to test
<bencoh> I see
<bencoh> I wonder how large my current lxc container is, maybe I could share it
<Wizzup> bencoh: no, would be nice if we did
<bencoh> actually I could rebuild one and upload it maybe
<bencoh> (3mbps upload from here)
<bencoh> freemangordon: apparently the last version I've built here is maemo/beowulf-experimental (f4b8c04bede)
<bencoh> freemangordon: which branch/commit should I pick? (I wanna test it)
<freemangordon> mesa?
<bencoh> yeah, mesa
<freemangordon> maemo/beowulf-devel
<bencoh> alright, lemme see
<bencoh> iirc we had to fiddle with some build deps from devuan 4 (chimaera) right?
<bencoh> like clang/llvm
<Wizzup> bencoh: sounds good @ rebuild and upload
<Wizzup> bencoh: what you need is in the repos
<freemangordon> bencoh: everything should be in backports
<bencoh> Wizzup: which repos though?
<Wizzup> ours
<freemangordon> and devaun backports
<Wizzup> if it works in the ci, it works with our repos
<freemangordon> (meson/ninja)
<Wizzup> freemangordon: we imported libllvm8
<bencoh> freemangordon: yeah I think I manually fetched that from devuan's backports back then
<Wizzup> hmm I don't think you need that newer meson but ok
<freemangordon> you do
<Wizzup> clearly our CI does't need it
<Wizzup> doesn't*
<bencoh> hmm
<freemangordon> yes, you do
<Wizzup> maybe our ci uses backports
<freemangordon> mhm
<Wizzup> it's possible
<bencoh> lemme test what I have, if it works I'll try to upload it as it is first
<Wizzup> in any case not chimaera
<freemangordon> yeah
<bencoh> then we'll start thinking
<bencoh> dpkg-checkbuilddeps: error: Unmet build dependencies: libdrm-dev (>= 2.4.107-4) llvm-8-dev libclang-8-dev libclang-cpp11-dev
<bencoh> guess I didn't build it in that specific container ... let's make a new one than
<bencoh> Wizzup: which repository should I use for leste backport? and which key should I import for leste's repositories (545FEC4E0927F6FD and 2700BD8E6604EC2E) ?
<bencoh> (I suppose the keys are the *.asc from http://maedevu.maemo.org/)
<Wizzup> there is no leste backports, there is devuan backports
mardy has quit [Quit: WeeChat 2.8]
<Wizzup> https://maedevu.maemo.org/testing-key.asc this is the key for the repos
<Wizzup> https://maedevu.maemo.org/extras-key.asc this is the key for extras
<bencoh> ah, alright
<bencoh> thx
<freemangordon> uvos: I don;t think this OGL context comes from pvr dri
<freemangordon> see https://pastebin.com/Y25uS2W9
<freemangordon> this is the result from LIBGL_DEBUG=verbose eglinfo
<freemangordon> on d4
<freemangordon> uvos: how to repro that segfault?
<uvos> freemangordon: build the previous version of charge-mode, rung charging_sdl in vt with unset DISPLAY
<uvos> freemangordon: or
<uvos> the code here should also work
<freemangordon> ok
<uvos> if you dont set SDL_GL_CONTEXT_PROFILE_ES
<uvos> and set SDL_GL_CONTEXT_MAJOR_VERSION to something sane for opengl
<uvos> like 2.1
<freemangordon> ok
<uvos> no sure what im supposed to see in your eglinfo
<uvos> *not
<freemangordon> see when libpvr_dri_support.so is loaded and unloaded
<freemangordon> gbm vs x11
Oksanaa has joined #maemo-leste
<uvos> ah yeah
<freemangordon> this means all this info does not come from pvr
<uvos> so its llvmpipe or soemthing
<freemangordon> mhm
<uvos> but why no worky then :P
<freemangordon> well...
<uvos> also why should pvr not work on gbm
<uvos> and it _dose_ work
<uvos> (if you choose gles)
<uvos> looking at eglinfo on my desktop machine makes me thing this (mesa) is buggy
<uvos> i get all contexts as possible on x11
<freemangordon> why not?
<uvos> but on gbm i dont get opengl
<freemangordon> ah
<uvos> but then opengl works if i run sdl in a vt with kmsdrm backend
<uvos> and EGL client APIs: OpenGL OpenGL_ES
<uvos> is the same in both cases
<freemangordon> SDL_GL_CONTEXT_PROFILE_ES=1 LIBGL_DEBUG=verbose ./egltest segfaults
<freemangordon> do I miss something?
<uvos> SDL_GL_CONTEXT_PROFILE_ES
<uvos> thats not how that works
<uvos> you have to set the flag in code, its not an envvar
<freemangordon> ah, ok
<freemangordon> but it is already set
<freemangordon> SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
<uvos> hmm
<uvos> printenv | grep SDL ?
<freemangordon> ah, yeah
<uvos> also we are trying on kmsdrm right?
<freemangordon> no idea
<freemangordon> SDL_RENDER_DRIVER=?
<freemangordon> kmsdrm?
<uvos> export SDL_VIDEODRIVER=kmsdrm
<uvos> to force it
<uvos> the sdl backend
<freemangordon> root@devuan-droid4:/tmp# printenv | grep SDL
<freemangordon> SDL_VIDEODRIVER=kmsdrm
<freemangordon> still segfaults
<freemangordon> or, this is expected?
<uvos> hmm
<uvos> no
<uvos> not with SDL_GL_CONTEXT_PROFILE_ES
<uvos> export SDL_RENDER_DRIVER=opengles2 ?
<freemangordon> segfault
<freemangordon> lemme try with swrast
<uvos> hmm
<uvos> so charging sdl dosent set SDL_GL_RED_SIZE etc3
<uvos> the diff might be the test app requesting 16 bit
<freemangordon> lemme comment it
<uvos> ofc that should not segfault either
<uvos> if thats the cause
<freemangordon> uvos: why the "xcb_connection_has_error() returned true" message
inky_ has quit [Ping timeout: 252 seconds]
<uvos> is that what SDL_GetError() reports?
<freemangordon> no idea
<uvos> well whats the output?
<freemangordon> this
<uvos> also unset DISPLAY ofc
<uvos> just in case
<freemangordon> root@devuan-droid4:/tmp# ./egltest
<freemangordon> Segmentation fault
<freemangordon> xcb_connection_has_error() returned true
<freemangordon> hmm
<uvos> that dosent make any sense to me
_inky has quit [Ping timeout: 252 seconds]
<freemangordon> yep, DISPLAY was set
<freemangordon> but, it still segfaults
<uvos> ok just to check
<uvos> so in a vt where there is not xorg running as root (clean env sudo su - or root login) with SDL_VIDEODRIVER=kmsdrm and SDL_RENDER_DRIVER=opengles2 and SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
<uvos> it segfaults?
<freemangordon> Xorg is stopped
<uvos> oh and
<freemangordon> this is ssh session, is that an issue?
<uvos> no
<uvos> ah maybe its gles1
<uvos> SDL_GL_CONTEXT_MAJOR_VERSION
<uvos> 2 and SDL_GL_CONTEXT_MINOR_VERSION 0
<freemangordon> sec
<freemangordon> INFO: Suscess
<uvos> ok
<uvos> yeah gles 1 dosent work
<uvos> because of a glibc2.29 symbol
<freemangordon> mhm
<freemangordon> ok, how to make it crash now?
<freemangordon> SDL_VIDEO_X11_FORCE_EGL=1
<freemangordon> no, this is for X11
<uvos> unset SDL_RENDER_DRIVER=opengles2, remove SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
<freemangordon> ok
<uvos> ie make it auto detect
<uvos> it will auto detect opengl and segfault
<uvos> expected beahvior: autodetect gles2 or maybe use opengl with llvmpipe
<freemangordon> mhm
<freemangordon> I have copmmented the version lines as well
<freemangordon> *commented
<freemangordon> and now it segfaults
<freemangordon> but, it segfaults even with export SDL_RENDER_DRIVER=opengles2
<uvos> yeah
inky_ has joined #maemo-leste
<uvos> that hint is ignored most of the time
<uvos> some sdl modules read it
<uvos> and its exposed to applications to read
<uvos> viea SDLhints
<freemangordon> ok
<uvos> i just reccomended you set it before because im not sure it dosent do something else too
<freemangordon> ok
<freemangordon> hmm
<freemangordon> 0xb6f5ef46 in KMSDRM_DestroyWindow (_this=0x412b28, window=0x435780) at ./src/video/kmsdrm/SDL_kmsdrmvideo.c:1471
<freemangordon> (gdb) p windata
<freemangordon> $1 = (SDL_WindowData *) 0x0
<freemangordon> I would say this is a bug in sdl
<uvos> it lacks error checking
<uvos> but it reads opengl as its abckend
<uvos> and then cant create a context
<uvos> so there is bug in mesa/egl here
<uvos> (it claims opengl support but cant back it up)
<freemangordon> do you know how does it detects backends?
<freemangordon> *detect
inky_ has quit [Ping timeout: 272 seconds]
<uvos> hmm what backends? sdl reading render backends?
<freemangordon> is there a way to enable some SDL traces?
<uvos> video backends?
<freemangordon> whatever you mean by "it reads opengl as its abckend"
<freemangordon> how does it read opengl?
<uvos> SDL_egl.c
<uvos> it reads from egl what it supports
<uvos> as you can see in eglinfo
<uvos> this reports opengl
<freemangordon> ah, right
<uvos> and then it goes to create a context
<uvos> and that fails
<freemangordon> mhm
<uvos> then sdl has a bug that this isent handled
<uvos> but thats beside the point
<uvos> egl should not be lieing
<freemangordon> uvos: well, I would say this is a bug in sdl
<freemangordon> because it may request context that is not supported
<freemangordon> and it will still fail the creation
<uvos> but it isent
<uvos> egl claims suport
<uvos> yes it should handle the error
<freemangordon> mhm
<uvos> but still egl should not claim support it dosent have
<freemangordon> agree
<freemangordon> 650 files to compile
<freemangordon> will take few more hours, so will continue tomorrow
_inky has joined #maemo-leste
<freemangordon> when I will be able to play with pvr
_inky has quit [Ping timeout: 240 seconds]
_inky has joined #maemo-leste
<freemangordon> night!
<bencoh> 'night :)
<bencoh> uploading tarball btw, you'll supposedly just need to install the mesa build-deps / add your backport packages
<bencoh> (currently uploading a non-backport image because I want it clean)
uvos has quit [Ping timeout: 252 seconds]
akossh has quit [Quit: Leaving.]
amk has left #maemo-leste [#maemo-leste]
elastic_dog has quit [Ping timeout: 250 seconds]
elastic_dog has joined #maemo-leste