DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-allwinner
PhotoJim has joined #armbian-allwinner
<DC-IRC> <zwillx> hi all, found an allwinner bug (maybe?) when trying to use sun4i drm stuff as module. I am trying to build things like DRM_SUN4I=m to be able to use lsmod etc and try to figure out the framebuffer/DRM to get dev/fb0 jumpstarted on Orangepi zero2W
<DC-IRC> <zwillx> https://paste.next.armbian.com/ulalutuxan around line 5630
<DC-IRC> <zwillx> sorry in advance if it's a hierarchy thing/amateur mistake XD I used the make menuconfig equivalent and couldn't find the discrepancy. Building on UB server vm aarch64. Any tips appreciated!
<DC-IRC> <zwillx> hi all, found an allwinner bug (maybe?) when trying to use sun4i drm stuff as module. I am trying to build things like DRM_SUN4I=m to be able to use lsmod etc and try to figure out the framebuffer/DRM to get dev/fb0 jumpstarted on Orangepi zero2
<DC-IRC> <zwillx> https://paste.next.armbian.com/ulalutuxan around line 5630
<DC-IRC> <zwillx> sorry in advance if it's a hierarchy thing/amateur mistake XD I used the make menuconfig equivalent and couldn't find the discrepancy. Building on UB server vm aarch64. Any tips appreciated!
<DC-IRC> <viraniac> I have looked in the kernel code. This seems to be an issue with the mainline kernel
<DC-IRC> <viraniac> BTW, what changes have you made to the kernel config and why?
<DC-IRC> <viraniac> Just trying to understand your use case
<DC-IRC> <zwillx> thanks Gunjan for the response! Alright I removed most things relating to TV, radio, unneeded networking, etc, because I was getting an Alpine linux variation together for zero2W. When you do that, you get into the "modloop" and there are basically performance issues with all those extra modules- 150mb vs I believe 20. It also builds faster. But it's surprising that when the <clipped message>
<DC-IRC> <zwillx> kernel config for DRM_SUN4I, DRM_SUN8I etc are switched to "=m" rather than "=y", the problem arises. I will go back now and try the build with =y again, just to confirm
<DC-IRC> <zwillx> Happy to contribute for zero2W defconfig if I get it working 🙂 wifi is working for example, and everything else except HDMI at the moment. I haven't confirmed bluetooth but the pieces are there
<DC-IRC> <viraniac> just put y for DRM_SUN4I, DRM* things for now
<DC-IRC> <viraniac> just put y for DRM_SUN4I_* things for now
<DC-IRC> <viraniac> DRM_SUN4I is the one that controls hdmi I believe
<DC-IRC> <viraniac> I see you are using current kernel, which is 6.1. Try edge kernel. You will have better luck with that for H618 CPU
<DC-IRC> <zwillx> ok, easy change! is it intended to use both DRM_SUN4I and also DRM_SUN8I (both)? Seems redundant
<DC-IRC> <zwillx> Interesting, OK I will give that a try also! Although, I believe it is a 616 except with slightly more cache, so the kernel actually doesn't affect that (it's all internal to cpu). That was my limited understanding anyway, but I'll def give it a shot 👍
<DC-IRC> <viraniac> I believe SUN4I is the main thing. Choosing SUN8I only adds a small part more to it
<DC-IRC> <zwillx> is it worth trying SUN8I=n?
<DC-IRC> <zwillx> (for DRM anyway)
<DC-IRC> <viraniac> can't say for sure, but I think that module will be needed
<DC-IRC> <tenkawa42> from what I'm reading its actually this one
<DC-IRC> <tenkawa42> DRM_LIMA
<DC-IRC> <viraniac> LIMA? lima was used till H5, a64. anything later uses panfrost for gpu support
<DC-IRC> <tenkawa42> the Orange Pi zero 2W git still has it in its code base
<DC-IRC> <tenkawa42> enabled and referenced
<DC-IRC> <tenkawa42> *shrug*
<DC-IRC> <tenkawa42> They may have misdocumented it
<DC-IRC> <shivansps> H618 is G31
<DC-IRC> <zwillx> I will see 🙂
<DC-IRC> <zwillx> Thank you for the tips! 😄 I will report any progress. BTW you're right - this seems new to edge vs current
<DC-IRC> <zwillx> ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM
<DC-IRC> <zwillx> I like seeing that! because heat output seems a bit high on this thing
<DC-IRC> <zwillx> PS I am looking to do an emulator at the end so yes, looking at Panfrost : )
<DC-IRC> <shivansps> G31 is about RPI3 gpu from what i was able to test
<DC-IRC> <shivansps> G31 is about equal to the RPI3 gpu from what i was able to test
<DC-IRC> <shivansps> on the good side it supports OpenGL 3.1 with partial 3.2 and 3.3 stuff
<DC-IRC> <tenkawa42> I only have two Allwinner board models left (and I don't get to work on them much) so I haven't kept on them..
<DC-IRC> <tenkawa42> The Quadra I work with and the H5 FriendlyElec's I work on
<DC-IRC> <zwillx> it's certainly underappreciated re: G31. Like, these results are pretty darn good to me:
<DC-IRC> <zwillx> the Panfrost project is pretty amazing as well. I think it's probably better on the Amlogics due to improved process node (lower heat) but I'm looking forward to try it.. just need a screen 😅
<DC-IRC> <zwillx> Honestly these boards are $20 so if you guys want one dm me some info I'll donate a couple
<DC-IRC> <viraniac> Yeah, I live in India and only one seller has got OPi Zero 3. They are selling it for 70 USD
<DC-IRC> <viraniac> Hence waiting for any of the other seller to get it. Importing is also a mess. And directly ordering from Aliexpress is banned by government for some reason
_whitelogger has joined #armbian-allwinner
<DC-IRC> <viraniac> Aliexpress and bunch of other chinese websites were banned 4 years ago. I used to order a lot from them before that. It used to be easier to import things. But now, there is 40-80% custom duty that we have to pay on import and then we have to pay 18% vat on top of that
<DC-IRC> <tenkawa42> Although I don't like the company due to my dealings with them in my past in business I'm still a Broadcom person personally
<DC-IRC> <viraniac> Broadcom is good, but they heat pretty fast. I see that with all Pis starting from Pi3. 60 degree is idle temperature. Thats with passive heatsink and no case. Fan only reduces 1 or 2 degrees in my test.
<DC-IRC> <viraniac> Not sure why the temperatures are so different in my tests when compared to online reviews. but they are always like that
<DC-IRC> <viraniac> for me Allwinner runs cooler than that
<DC-IRC> <zwillx> well, I'm serious about donating if you can find a way! Compared to the $200 raspberry pi a couple years back, it's not a bad deal even with 40% customs XD
<DC-IRC> <zwillx> 80%.. that's a bit rough lol
<DC-IRC> <zwillx> IMO Amlogic 905 wins. I have Radxa Zero also and it's super cool, even without heatsink. Allwinner is hotter despite full board heatsink. But Radxa is very expensive vs OPi.. over double, makes no sense. The chip itself is only a small difference I believe $2
<DC-IRC> <tenkawa42> this is my RPI4
<DC-IRC> <tenkawa42> temp1: +26.8°C
<DC-IRC> <tenkawa42> (granted I'm running a really good case)
<DC-IRC> <tenkawa42> argon40 nvme case is a nice setup
<DC-IRC> <viraniac> Pis are no longer $200. Its ~90ish USD in India for 8GB RPi5
<DC-IRC> <tenkawa42> yeah they are reasonable again
<DC-IRC> <tenkawa42> I preordered 2... one is in transit already
<DC-IRC> <tenkawa42> the other vendor is much slower
<DC-IRC> <viraniac> Yeah, but I think now we are hijacking the Allwinner channel and flooding it with broadcom stuff, 😉
<DC-IRC> <tenkawa42> haahaa... Well someone build a H7/H8 then
<DC-IRC> <tenkawa42> lol
<DC-IRC> <tenkawa42> get that octa core H8 going
<DC-IRC> <tenkawa42> lol
<DC-IRC> <Tonymac32> Correct, move along 😆
<DC-IRC> <viraniac> I would like to see some board with sun60i
<DC-IRC> <viraniac> Allwinner T736 with A76 cores, maybe allwinner can release more CPU's like that
<DC-IRC> <zwillx> hahaha. IMO the performance between Broadcom and Amlogic/Sunxi favors the latter https://gadgetversus.com/processor/broadcom-bcm2711-vs-amlogic-s905/
<DC-IRC> <zwillx> does sun move to 12nm like the others? 28nm is a bit spicy on the heat
<DC-IRC> <viraniac> R923 (4xA73+4xA53+1xRISCV(E906), sun60i new product 2023/2024, 12nm)
<DC-IRC> <viraniac> A736/T736 (2xA76+6xA55, IMG BXM, new product 2023/2024, 12nm)
<DC-IRC> <viraniac> A737/T737 (2xA78+6xA55, IMG BXM, 12nm)
<DC-IRC> <viraniac> Seems like they are going to move to it. For their upcoming processors
<DC-IRC> <Tonymac32> Some of these had PowerVR didn't they? Wasted silicon