oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<jenneron[m]> digetx: hi, i packaged mesa fork to pmOS, but i got a segfault when starting xorg https://dpaste.com/8X34RAG4V, i have applied those workarounds in pam config
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
marvin24 has quit [Ping timeout: 252 seconds]
marvin24 has joined #tegra
sikhye has quit [Remote host closed the connection]
sikhye has joined #tegra
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #tegra
marka has quit [*.net *.split]
digetx has quit [*.net *.split]
digetx has joined #tegra
marka has joined #tegra
<DavidHeidelberg> as jenneron added p4wifi to pmOS build
<DavidHeidelberg> Max tested and it works :) so p4wifi is running again as it should
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
HcE has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
torez has joined #tegra
sooda_ has quit [Ping timeout: 264 seconds]
<digetx> jenneron[m]: workarounds are actual
<digetx> I haven't seen that segfault, looks like null dereference; need stacktrace
<jenneron[m]> how to get one?
<digetx> don't strip debug, use gdb to run xorg
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
mikoro[m] has quit [Quit: You have been kicked for being idle]
torez has quit [Ping timeout: 252 seconds]
<jenneron[m]> digetx: i started xorg withoug glx and run glmark2 using gdb, it gives segfault too
<jenneron[m]> if it's not fine i can try to run xorg with gdb again
<jenneron[m]> alpine has this patch https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/mesa/musl-fix-includes.patch, but it seems to be a fix for not being compiled
torez has joined #tegra
sooda has joined #tegra
gouchi has joined #tegra
sooda has quit [Quit: abort, retry, fail?]
sooda has joined #tegra
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<m4t> jenneron[m]: would help to install appropriate -dbg packages for alpine e.g. https://pkgs.alpinelinux.org/package/edge/community/armhf/xorg-server-dbg
<m4t> not sure what all is involved... or if gdb on alpine is automatically set up to load symbols from -dbg packages like e.g. debian
<jenneron[m]> i didn't get how to attach pid to gdb, i was reading https://wiki.ubuntu.com/X/Backtracing
<jenneron[m]> it says "Then start gdb and attach to that process:", but it also says "In a true crash, X will terminate and drop back to a login screen. You can use the steps on this page to debug or report these kinds of issues.", so i don't understand how to attach PID of process when process is crashed
<m4t> 'gdb -p pid' then type 'cont'
<m4t> probably better to run under 'screen' or similar since X is crashing
<m4t> if it's crashing immediately then you need to run it underneath gdb from the start
<m4t> well you'd need to run it from console actually
<m4t> because it'd freeze X immediately i think
<jenneron[m]> yeah, it crashes immediately
<jenneron[m]> digetx: xorg has same to glmark2 backtrace https://dpaste.com/8ENRGQR4E
oldgalileo has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<nergzd723[m]> do you have musl-dbg installed?
<nergzd723[m]> might give some useful hints
<jenneron[m]> with musl-dbg installed https://dpaste.com/6WE7C73G2
<digetx> internet instantly suggests it's a musl's trouble https://bugs.freedesktop.org/show_bug.cgi?id=35268
<jenneron[m]> hm tls, i remember there is some patch in alpine
<jenneron[m]> after applying the patch xorg starts with glx enabled
<digetx> cool
<jenneron[m]> i still have issues https://dpaste.com/B4HL9HN7M
<digetx> show me environment variables (export) and glxinfo
<jenneron[m]> digetx: https://dpaste.com/6ZGH9U628
<DavidHeidelberg> jenneron am I missing some mesa progress? ;-)
<DavidHeidelberg> jenneron but that's still the broken mesa
<DavidHeidelberg> I thought it's based on some recent code
<DavidHeidelberg> I managed back then to run glxgears too, but that's like the "best of" what worked
<DavidHeidelberg> I'm not sure you want to provide this to users
<jenneron[m]> 21.1.0, latest we have
<jenneron[m]> it should not affect users as everything except glxgears will work with same software rendering as without it
<DavidHeidelberg> well, it'll introduce crashes
<jenneron[m]> but we will have a package so once there is some update appear we can easily upgrade it
<DavidHeidelberg> yeah, if you make the MR Draft and keep it ready for some progress on top of new kernel interface build mesa, then it most likely make sense
<jenneron[m]> DavidHeidelberg: which crashes?
<DavidHeidelberg> jenneron it's >1y I tried, but at some point I resigned and rather not played with it again
<jenneron[m]> i won't merge it if we get some issue which we can't fix
oldgalileo has quit [Remote host closed the connection]
gouchi has quit [Remote host closed the connection]
oldgalileo has joined #tegra
<digetx> have you started Xorg manually?
<digetx> alternatively, you can run MATE or other DE normally and then use its terminal
<digetx> if Xorg was started by login manager, then it may secure x11 connection
<jenneron[m]> it is i3wm with lightdm
<digetx> but you trying to run it from ssh, don't you?
<jenneron[m]> OpenRC runs lightdm which runs i3wm
<jenneron[m]> then i run `DISPLAY=:0 glxinfo` in ssh
<digetx> try to run it from gui terminal
<digetx> please show Xorg.log
<jenneron[m]> i see
<jenneron[m]> `Error loading shared library /usr/lib/xorg/modules/dri/tegra_dri.so: No such file or directory`
<jenneron[m]> because of `-Dprefix=/usr -Dlibdir=lib` it is installed to `/usr/lib/dri/tegra_dri.so`
<digetx> it normally should be /usr/lib/dri/tegra_dri.so, I think
<jenneron[m]> default path without those flags is /usr/local/lib
<digetx> you should check what paths are used by a normal mesa build in pmOS
<jenneron[m]> glxgears wants different path, so i should probably make a symlink
<digetx> I'm not sure from where /usr/lib/xorg/modules/dri is coming from, might be something pmOS-specific
<digetx> you may need to use some special configuration for the paths
<jenneron[m]> ok, now seems to work fine
<jenneron[m]> thanks for the assistance
<digetx> ubuntu doesn't have /usr/lib/xorg/modules/dri at all
<digetx> nice
oldgalileo7 has joined #tegra
oldgalileo has quit [Ping timeout: 265 seconds]
oldgalileo7 is now known as oldgalileo
torez has quit [Quit: torez]