austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
pcercuei has quit [Quit: dodo]
Jookia has quit [Remote host closed the connection]
Jookia has joined #etnaviv
_whitelogger has joined #etnaviv
schurig_ has joined #etnaviv
schurig has quit [Ping timeout: 258 seconds]
schurig_ is now known as schurig
mauz555 has joined #etnaviv
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #etnaviv
mauz555 has quit [Remote host closed the connection]
mauz555 has joined #etnaviv
embden has joined #etnaviv
lynxeye has joined #etnaviv
<lynxeye> austriancoder: the message stuck in moderation due to "Too many recipients to the message" on the etnaviv ML is pretty annoying. Is there any way to turn this off?
okias[m] has left #etnaviv ["User left"]
pcercuei has joined #etnaviv
<austriancoder> lynxeye: lets see..
<schurig> okay, I found the error of my "libGL error: failed to authenticate magic". So here is the report for the next googler ...
<schurig> when experimenting with the X11 etnaviv/modesetting, X11 didn't start at all, because part of it did access /dev/dri/card0 instead of /dev/dri/card1. I tried to fix this with "kmsdev".. but somehow this didn't work out
<schurig> all I get was a starting X11 server, where clients like urxvt could connect, but a totally black screen
<austriancoder> lynxeye: you should never see this message again
<schurig> when I, by hand, swapped card0 and card1 device nodes, then at least X11 started (without any xorg.conf file) in framebuffer mode
<lynxeye> austriancoder: thanks!
<schurig> so I wrote systemd service that swapped it for me ... which in then forgot. And the Section / Driver "Armada" / EndSection didn't like it. Somehow X11 started, and urxvt was there, but I got this error message when I started glxgears
<schurig> Question: with Section / Driver "armada" / Endsection in xorg.conf it is normal that I only get 2D acceleration, e.g. for bitblitting and the odd program that still uses ancient X protocols ... but no 3D acceleration, e.g. it is normal that glxinfo shows me "llvmpipe". Correct ???
<lynxeye> schurig: No, at least if you built the armada driver with dri support, you should also get 3D accel.
<lynxeye> TBH though I haven't tested this in a long time
<schurig> hmm, at configure time it said DRI2 enabled, DRI3 disabled
<schurig> should I compile with --enable-dri3 ?
<lynxeye> schurig: dri2 should be fine, so something other is broken
<schurig> relevant configure output: https://pastebin.com/7A71viVV
<schurig> hmm, in the Xorg.log I found this:
<schurig> (II) Initializing extension GLX
<schurig> AIGLX: Screen 0 is not DRI2 capable
<schurig> yet kmscube, which also uses dri, works nicely
<lynxeye> schurig: kmscube does not use the X11 dri protocol
<schurig> the Xserver itself, at this time of startup, also doesn't use the X11 dri **protocol**. But it uses DRI.
<schurig> and kmscube also uses DRI. E.g. when I run "strace -oa -efile kmscube" and later "grep dri a" I see lots of hits to /dev/dri/* files, to .drirc
philn_ is now known as philn
<schurig> IMHO all of this is totally overcomplex, buggy, and underdocumented. And a bit like on Windows. When one googles, one finds lots of result, from years ago. No up-to-date readme giving examples, expected outputs, and hints on how to debug things systemtatically ---the "error" messages don't say someting that is usally, they could as well jus say "some unknown error happened, you're hosed".
<schurig> sorry, but I'm really frustrated
<schurig> I know that the devs all work on their free time on it ... but so did I for my opensource programs
<schurig> on windows, the error messages are also next to unusable, and you also hear "just update", without a way of finding the root cause ... or gaining a thorough understanding
<lynxeye> schurig: Xorg has never been a well maintained platform with etnaviv, as too few people are interested in this
<lynxeye> /dev/dri is the DRM device. kmscube is using this to do render acceleration. To get 3D accel under X11, the OpenGL driver aka Mesa has to talk to both the etnaviv DRM device for the acceleration AND the X server for presentation via the DRI2 protocol
<schurig> so it should be named /dev/drm then .... see what I mean with overcomplex? I, in my simplicity assumed that if semething is /dev/dri, then it's DRI. This is not personally meant to you, it's totally not your fault.
<lynxeye> naming is hard and sometimes names picked some decades ago does turn out to be confusing for other people...
<schurig> btw, kmscube also (successfully) ldopens libxcb-dri2.so and libxcb-dri3.so ... so there are more things that made me assume that it uses "DRI"
<schurig> so, if now the screen claims to not support DRI ... how can I dig into this?
<Marex> schurig: I totally understand your frustration, when I debug etnaviv, I am going through the same ... endless reading of the code, since there is either no documentation, or it's scattered all over the various github repos ... but at least I dont have to deal with X11
<schurig> i'm now starting to put the equivalent of printf's into the code :-/
berton has joined #etnaviv
schurig has quit [Quit: Leaving]
nathanhi- has joined #etnaviv
nathanhi has quit [Ping timeout: 246 seconds]
hanzelpeter has joined #etnaviv
lynxeye has quit [Quit: lynxeye]
karolherbst has quit [Quit: duh 🐧]
karolherbst has joined #etnaviv
lfa has quit [Ping timeout: 256 seconds]
kherbst has joined #etnaviv
karolherbst has quit [Ping timeout: 272 seconds]
hanzelpeter has quit [Quit: leaving]
kherbst has quit [Ping timeout: 240 seconds]
karolherbst has joined #etnaviv
karolherbst has quit [Client Quit]
karolherbst has joined #etnaviv
nathanhi- is now known as nathanhi
dv_ has quit [Ping timeout: 272 seconds]
_whitelogger has joined #etnaviv
berton has quit [Remote host closed the connection]
karolherbst has quit [Quit: duh 🐧]
karolherbst has joined #etnaviv
karolherbst has quit [Quit: duh 🐧]
karolherbst has joined #etnaviv
mauz555 has quit [Remote host closed the connection]
embden has quit [Ping timeout: 260 seconds]