ChanServ changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://oftc.irclog.whitequark.org/etnaviv
BobBeck has quit [Remote host closed the connection]
mvlad has joined #etnaviv
lynxeye has joined #etnaviv
Talkless has joined #etnaviv
<Talkless> Hi. I got some chinese "tablet" what has NXP i.MX 8M Mini 4xCortex-A53m, now runs Debian 11, but there's no OpenGL hardware acceleration. glxgears -info prints llvmpipe..., horrid Qt Qml (OpenGL-based) application performance, etc...
<Talkless> Any hints on how to enable hw acceleration on i.MX8?
<Talkless> I've tried building http://git.arm.linux.org.uk/cgit/xf86-video-armada.git/?h=unstable-devel but module fails:
<Talkless> kernel is 4.14.98-2.3.0+ #1 SMP PREEMPT Mon Nov 8 02:36:19 UTC 2021 aarch64 GNU/Linux
<Talkless> some dmesg output: https://paste.debian.net/1235951/
pcercuei has joined #etnaviv
<Talkless> if I don't us armada x11 module, glamore fails too: https://paste.debian.net/1235952/
<Talkless> (default)
<Talkless> I've managed to make video HW decoding for GStreamer work: https://community.nxp.com/t5/i-MX-Solutions/Where-do-I-get-v4l2h264dec-and-other-gstreamer-plugins-for/m-p/1434181/thread-id/192#M193 but now stuck with OpenGL :/
<lynxeye> Talkless: Sounds like you are on a NXP downstream kernel. Is etnaviv even enabled there?
BobBeck has joined #etnaviv
<Talkless> lynxeye: device came with some "Image", whic his NOT debian kernel. Debian 11 uses 5.10 iirc, not 4.14. That 4.14 Is downstream, if I understand correclty.
<Talkless> maybe it's too old?
<Talkless> oh sorry lynxeye, I misunderstood that "you need downstream"..
<Talkless> lynxeye: how do I know if entaviv is enabled?
<Talkless> check*?
<pcercuei> dmesg?
HayashiEsme[m] has quit []
<Talkless> pcercuei: my previous paste had "etna" grepped, I see nothing... :/
<Talkless> Debian comes with "config" directory where I can see enabled features:
<Talkless> $ file /usr/src/linux-headers-5.15.0-0.bpo.3-amd64/include/config/NF_TABLES
<Talkless> /usr/src/linux-headers-5.15.0-0.bpo.3-amd64/include/config/NF_TABLES: empty
<Talkless> not sure how it's with this downstream kernel
<Talkless> lynxeye: so maybe I should contact board developers, and ask to make shure they built kernel with entaviv enabled?
<Talkless> if Image file, inside first partition, is 25MB of size, it probably means it's both kernel and initrd? Maybe I could extract useful info from it?
<lynxeye> Talkless: If that's a downstream kernel you probably have no chance to get the opensource userspace working properly on the device. If you want to run a stock Debian, you need to run a upstream kernel. However upstream on that SoC currently has some severe limitations like the MIPI DSI support still not being available.
<Talkless> lynxeye: so maybe there's closed-source alternative? I'm really new to this ARM stuf :/
<Talkless> lynxeye: these chinese somehow made Debian boot on that downstream kernel :)
<Talkless> they sell device with Android or Debian preinstalled
<lynxeye> Talkless: Yep, maybe you can get the Vivante userspace driver to work on the device. Not sure where to get that TBH, I don't really care about the closed source blob.
<pcercuei> probably Debian 6 or so ;)
<pcercuei> What board is it? Why can't you run the upstream kernel?
<Talkless> pcercuei: cpu is NXP i.MX 8M Mini 4xCortex-A53m, not sure what "board".
<Talkless> pcercuei: I don't know if I can or cant, device came preinstalled like that. This device has bunch of periphials (CAN, NFC, what not), not sure if "default" kernel would even work...
<Talkless> lynxeye: so "Vivante" is propertary driver name, and "etnaviv" is FOSS alternative to that, did I got it right?
<Talkless> pcercuei: it's not a dev board, it' some chinese "tablet", similar to these https://www.newaye.com/vehicle-tablets/7-inch-tablet-for-car/heavy-duty-tablet.html (not exact model)
<pcercuei> < Talkless> lynxeye: so "Vivante" is propertary driver name, and "etnaviv" is FOSS alternative to that, did I got it right?
<pcercuei> Vivante is the GPU manufacturer, the proprietary driver is named "galcore"
<pcercuei> sorry, no. The kernel driver from Vivante is named "galcore"
<pcercuei> etnaviv is the open-source effort to support these GPUs, there's one part in userspace in Mesa/libdrm, and one part in the kernel as the etnaviv DRM driver
<Talkless> I see, thanks pcercuei
shoragan has quit [Server closed connection]
shoragan has joined #etnaviv
philn has quit [Server closed connection]
philn has joined #etnaviv
Surkow has quit [Server closed connection]
Surkow has joined #etnaviv
pjakobsson_ has joined #etnaviv
pjakobsson has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
cphealy_ has quit []
`join_su1line has joined #etnaviv
`join_subline has quit [Ping timeout: 480 seconds]
Talkless has quit [Remote host closed the connection]
cphealy has joined #etnaviv
pcercuei has quit [Quit: brb]
pcercuei has joined #etnaviv
`join_su1line has left #etnaviv [#etnaviv]
mvlad has quit [Remote host closed the connection]
pcercuei has quit [Quit: dodo]