ChanServ changed the topic of #lima to: Development channel for open source lima driver for ARM Mali4** GPUs - Kernel has landed in mainline, userspace driver is part of mesa - Logs at https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=lima and https://freenode.irclog.whitequark.org/lima - Contact ARM for binary driver support!
_whitelogger has joined #lima
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #lima
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #lima
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #lima
kaspter has joined #lima
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #lima
kaspter has quit [Quit: kaspter]
kaspter has joined #lima
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #lima
gediz0x539 has joined #lima
<gediz0x539> hi all. I'm trying to make Qt utilize GPU through lima on Allwinner A13. I could not execute kmscube yet. log contains dmesg+lsmod+kmscube launch attempt: http://ix.io/2HOX
<gediz0x539> I've seen some people use kmscube with "-D /dev/dri/card1" argument but I do not how to create a card1 device. is it a must?
<xdarklight> gediz0x539: (I only have boards with Amlogic SoCs, but it should be similar). try running: ls -lah /dev/dri/by-path/
<xdarklight> I get card0, card1 and render128 there. one card is linked to the lima GPU and the other to the Amlogic VPU (display hardware)
<xdarklight> one seems to be missing for you, but it's not clear to me which one
<gediz0x539> it outputs "platform-1c40000.gpu-card -> ../card0" and "platform-1c40000.gpu-render -> ../renderD128"
<xdarklight> my opinion: you're not looking at the lima problem but rather as to why the A13's display controller is not showing up as card in there
<xdarklight> s/the lima problem/a lima problem/
<gediz0x539> I was kind of suspecting this too. I feel like there's something missing in my dts about display units, panels. I could not find a working example to compare.
<xdarklight> for example on my Odroid-C1+ (Amlogic based) I also have card0 and renderD128 link to the lima GPU. then I also have: "platform-d0100000.vpu-card -> ../card1" (VPU is the Amlogic display interface IP)
<gediz0x539> Allwinner VPU would probably be under a different tree named Cedrus, I assume but I will look for it
<xdarklight> I think cedrus is something different. my understanding is that cedrus is a video decoder
<xdarklight> (on Amlogic we call this "vdec")
<xdarklight> referencing your dmesg: the driver which should be responsible for creating card1 is "sun4i_drm"
<gediz0x539> I see. I'm not sure about Cedrus part, you are probably right.
<xdarklight> maybe there's an Allwinner related IRC channel where "the right people" can help debug this
<gediz0x539> I've also asked there but I think people are enjoying their weekend :)
<gediz0x539> I've seen a post in a gitlab issue of mesa repo https://gitlab.freedesktop.org/lima/mesa/-/issues/127#note_391001
<gediz0x539> which recommends probing lima after sun4i_drm. I've also tried this but failed.
<xdarklight> on Amlogic the probe order of the lima and VPU driver results in swapped /dev/dri/card{0,1} names. but regardless of the probe order: you should be getting two /dev/dri/cardN entries, while you're only getting one right now
<gediz0x539> yes. I've tried it again. probing lima creates a card entry but probing sun4i_drm won't create one.
<gediz0x539> looks like I have to dig more. thanks a lot.
<xdarklight> happy digging then :)
<gediz0x539> o/
gediz0x539 has left #lima [#lima]
gediz0x539 has joined #lima
chewitt has quit [Read error: Connection reset by peer]
chewitt_ has joined #lima
<daniels> gediz0x539: #linux-sunxi would be your channel for that
<gediz0x539> daniels: okay. thanks.
<daniels> np, good luck :)
Rondom has joined #lima
dev1990 has quit [Remote host closed the connection]
chewitt_ has quit [Read error: Connection reset by peer]
chewitt has joined #lima
kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
dev1990 has joined #lima
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
embed-3d has joined #lima
gediz0x539 has quit [Ping timeout: 265 seconds]
gediz0x539 has joined #lima
macc24_ has joined #lima
gediz0x539 has quit [Ping timeout: 260 seconds]
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
embed-3d has joined #lima
gediz0x539 has joined #lima
macc24_ has quit [Ping timeout: 265 seconds]
macc24 has joined #lima
kaspter has quit [Quit: kaspter]
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #lima
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #lima
Net147 has quit [Read error: Connection reset by peer]
Net147 has joined #lima
gediz0x539 has left #lima [#lima]
gediz0x539 has joined #lima
gediz0x539 has left #lima [#lima]