ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<alyssa> looks like you've found yourself a graphics driver bug
* alyssa sighs
<steev> :(
<steev> alyssa: fwiw, seems to only happen on the radxa zero, which i believe is a mali g31 (amlogic s905y or something), doesn't happen on e.g. the pinebook pro
<flowriser> steev, how would I write a dts?
<flowriser> Because as far as I can tell, all the little bits of drivers are covered so I just need something to unify them like the lenovo flex 5 dts
<flowriser> Well, I've made it this far; no turning back now
<steev> keep in mind that not everything needed for sc8180x is in the kernel yet either
<flowriser> But I suppose somebody managed to boot the kernel at least xD
<steev> there is bamse's tree that i pointed to the other day, that has the most complete support, but some timings and such may be off for your device, but you could take that tree
<flowriser> gonna give a try to 5.16 too
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
uos has joined #aarch64-laptops
uos has quit []
iivanov has joined #aarch64-laptops
<steev> 5.16 won't have it
<HdkR> I should really just take my tweet down with me booting Linux on the ProX. It's just misleading.
<steev> it was true at the time
<alyssa> steev: mali-g31 and mali-t860 (pinebook pro) are different architectures
<alyssa> could easily be e.g. a compiler bug
<steev> alyssa: ah, good point
<alyssa> Can you install the latest Mesa (git clone https://gitlab.freedesktop.org/mesa/mesa) and reproduce there?
<steev> i can try latest mesa, i'm on 21.3.3 iirc
<alyssa> Thanks... 21.3 "should" be new enough but just in case
<steev> alyssa: so, somewhat better, but also, somewhat worse?
<alyssa> steev: ....I'll take what I can get? 😅
<steev> "meson build/ -Dgallium-drivers=lima,panfrost,kmsro,swrast -Dplatforms=wayland,x11 -Dvulkan-drivers=panfrost -Ddri-drivers= -Dllvm=true" are my settings
<alyssa> that's fine
<steev> the weird "fuzzy" lettering is gone
<steev> i'm rebuilding alacritty though because it's not working properly
<alyssa> dmesg, I imagine, is complaining a lot about panfrost
<alyssa> Page faults or GPU timeouts, I imagine
<steev> oh
<steev> yes, yes it is
<alyssa> so good news, this sounds like a mesa bug
<alyssa> ("how is that good news again?")
<steev> [ 50.748262] panfrost ffe40000.gpu: js fault, js=0, status=INSTR_INVALID_ENC, head=0x7209900, tail=0x7209900
<steev> [ 50.853067] panfrost ffe40000.gpu: js fault, js=0, status=IMPRECISE_FAULT, head=0x6f96900, tail=0x6f96900
<alyssa> bad news, -ENOTIME to f---
<alyssa> INSTR_INVALID_ENC you say?
<alyssa> now you have my attention :p
<alyssa> a compiler bug in a fragment shader, spicy
<steev> it's not a huge deal, that system *mostly* sits idle (though i have 2 more on the way.... eventually... whenever ameridroid actually gets their stock in and ships them....)
<steev> i'd paste the dmesg but the stupid audio is broken on there too, so the dmesg prior to the panfrost stuff is very spammy about dai links being missing
<steev> https://bpa.st/Z52Q is all the panfrost bits
<steev> i suppose i could check if firefox is now broken heh
<steev> this is using debian's llvm 13 btw
<alyssa> this is definitely a Mesa bug
<alyssa> (or possible panfrost kernel)
<alyssa> definitely not firefox or llvm
<alyssa> likely a Bifrost compiler bug
<flowriser> HdkR, whaa you booted Linux on the ProX? How did you manage that?
<alyssa> we should probably move this to #panfrost and stop spamming this channel
<HdkR> flowriser: Badly
<flowriser> HdkR, more details please :D I am trying to boot on an acer spin 7 which has the same cpu mostly so I am very curious
aguslr has joined #aarch64-laptops
aguslr_ has quit [Ping timeout: 480 seconds]
<HdkR> flowriser: I used ACPI boot as a hack to bring it up
<flowriser> HdkR, ooh you mean the acpi=off flag?
<HdkR> nah, Just didn't use device tree
<flowriser> Did you use grub and any other parameters? Also, what patches did you wind up using?
<HdkR> I used Fedora's grub. https://github.com/Sonicadvance1/linux/tree/wip/sq1_surface_prox This hacky AF branch.
<flowriser> Amazing, will try it myself :D How did you create the bootable usb? For me, using Ubuntu's grub on arm is missing some modules
<HdkR> ProX uses UEFI so just a USB flash drive with some boot flags set was enough
<flowriser> ooh, I've been struggling for days with the grub thing; I've been trying with 1 Mib partition, ESP partition, DATA partition and then using grub-install --target arm64
<flowriser> HdkR, am I on the right track? I've even dropped to the Shell efi and tried to boot the kernel but didn't work
<flowriser> Looking over the Fedora grub docs is very nice, much more readable and understandable for me
<HdkR> I didn't do any grub-install things. Just yoinked the partition from their image
<flowriser> ok, so I've figured out why the kernel was simply restarting and not doing anything
<flowriser> I think, at least; it appears that when EFI loads a certain driver it reboots
<flowriser> and that driver appears to be GraphicsConsole