rellla changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi - *only registered users can talk*
BenG83 has quit [Quit: Leaving]
sunshavi has joined #linux-sunxi
BenG83 has joined #linux-sunxi
lurchi_ has quit [Read error: Connection reset by peer]
lurchi__ has joined #linux-sunxi
victhor has quit [Remote host closed the connection]
qeed has quit [Quit: Leaving]
ayaka has quit [Ping timeout: 252 seconds]
ayaka has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-sunxi
megi has quit [Ping timeout: 240 seconds]
anarsoul|2 has quit [Ping timeout: 246 seconds]
embed-3d has quit [Ping timeout: 252 seconds]
leviathan has joined #linux-sunxi
ildar has quit [Ping timeout: 250 seconds]
MartijnBraam has quit [Ping timeout: 260 seconds]
romainmahoux[m] has quit [Ping timeout: 252 seconds]
GuLinux[m] has quit [Ping timeout: 252 seconds]
k40s[m] has quit [Ping timeout: 264 seconds]
t4h4[m] has quit [Ping timeout: 264 seconds]
zongzor has quit [Ping timeout: 276 seconds]
mic-e[m] has quit [Ping timeout: 264 seconds]
oliver[m] has quit [Ping timeout: 264 seconds]
kuhn[m] has quit [Ping timeout: 264 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
t0dd1v has joined #linux-sunxi
kuhn[m] has joined #linux-sunxi
oliver[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
GuLinux[m] has joined #linux-sunxi
z3ntu has joined #linux-sunxi
YannSoubeyrand[m has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
zongzor has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
\\Mr-C\\ has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
ildar has joined #linux-sunxi
\\Mr_C\\ has quit [Ping timeout: 244 seconds]
Net147 has quit [Ping timeout: 268 seconds]
Gerwin_J has joined #linux-sunxi
qeed has joined #linux-sunxi
mic-e[m] has quit [Ping timeout: 250 seconds]
MartijnBraam has quit [Ping timeout: 260 seconds]
k40s[m] has quit [Ping timeout: 250 seconds]
YannSoubeyrand[m has quit [Ping timeout: 250 seconds]
t4h4[m] has quit [Ping timeout: 252 seconds]
kuhn[m] has quit [Ping timeout: 250 seconds]
z3ntu has quit [Ping timeout: 250 seconds]
GuLinux[m] has quit [Ping timeout: 252 seconds]
ildar has quit [Ping timeout: 252 seconds]
oliver[m] has quit [Ping timeout: 264 seconds]
zongzor has quit [Ping timeout: 252 seconds]
romainmahoux[m] has quit [Ping timeout: 264 seconds]
jernej_ has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
nuuuciano has quit [Ping timeout: 268 seconds]
jernej has quit [Ping timeout: 252 seconds]
akaizen has joined #linux-sunxi
jernej_ has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
Kadet has joined #linux-sunxi
Kadet has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
zongzor has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
oliver[m] has joined #linux-sunxi
kuhn[m] has joined #linux-sunxi
ildar has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
YannSoubeyrand[m has joined #linux-sunxi
GuLinux[m] has joined #linux-sunxi
z3ntu has joined #linux-sunxi
tuxillo has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
t0dd1v has quit [Quit: Connection closed for inactivity]
merlin1991 has quit [Remote host closed the connection]
kelvan has quit [Remote host closed the connection]
merlin1991 has joined #linux-sunxi
kelvan has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 272 seconds]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
reinforce has joined #linux-sunxi
leviathan has quit [Remote host closed the connection]
IgorPec has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 272 seconds]
Mr__Anderson has quit [Remote host closed the connection]
gumblex_ has joined #linux-sunxi
gumblex has quit [Ping timeout: 244 seconds]
selfbg has joined #linux-sunxi
chrisf_ has quit [Remote host closed the connection]
Necrosporus is now known as Guest72904
Guest72904 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
Necrosporus has joined #linux-sunxi
mfa298 has quit [Ping timeout: 245 seconds]
tllim has quit [Read error: Connection reset by peer]
mfa298 has joined #linux-sunxi
clemens3 has joined #linux-sunxi
airwind has joined #linux-sunxi
arete74 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
m4ssi has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
matthias_bgg has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
m4ssi has quit [Ping timeout: 268 seconds]
leviathan has joined #linux-sunxi
m4ssi has joined #linux-sunxi
BenG83 has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 250 seconds]
msimpson has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
megi has joined #linux-sunxi
\\Mr-C\\ has quit [Quit: (Read error: Connection reset by beer)]
swiftgeek_ has joined #linux-sunxi
swiftgeek_ is now known as swiftgeek
\\Mr_C\\ has joined #linux-sunxi
nios has joined #linux-sunxi
selfbg has joined #linux-sunxi
<selfbg> Can someone point me to working guide for sunxi-mali with mainline kernel?
<fALSO> i tried and failed
<fALSO> with my h5 :)
Xalius_Ph has joined #linux-sunxi
Xal1us_Ph has joined #linux-sunxi
Xalius_Ph has quit [Ping timeout: 272 seconds]
afaerber has quit [Quit: Leaving]
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-sunxi
airwind has quit [Ping timeout: 268 seconds]
afaerber has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
<selfbg> @fALSO Where did you give up ?
Xal1us_Ph has quit [Ping timeout: 268 seconds]
flygoat has joined #linux-sunxi
Xalius_Ph has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
f0xx has quit [Ping timeout: 246 seconds]
Xalius_Ph has quit [Ping timeout: 252 seconds]
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
<fALSO> selfbg, only fbdev works
<fALSO> at least to run X.org
<fALSO> and its very slow
lurchi_ is now known as lurchi__
random_yanek has quit [Quit: random_yanek]
random_yanek has joined #linux-sunxi
book` has quit [Quit: Leaving]
book` has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 245 seconds]
AneoX_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
AneoX has quit [Ping timeout: 252 seconds]
dddddd has joined #linux-sunxi
selfbg has quit [Ping timeout: 244 seconds]
heatfanjohn has joined #linux-sunxi
<heatfanjohn> How does the Linux Kernel write text characters to the HDMI display on the A64 chip when there isn't a GPU node and Mali or Lima loaded?
<heatfanjohn> I was upgrading to Fedora 29 and booted with a DTB that didn't have the GPU node and saw text characters on my HDMI display and Mali wasn't loaded
<heatfanjohn> Just curious to understand how that worked. Is that the simple-frame-buffer? There also wasn't a /dev/dri/card0 device nor /dev/fb0
<aalm> simplefb or something?
<heatfanjohn> Does simplefb expose a device?
<aalm> should have read to the end, yeah
<aalm> unsure about linux tbh.
<diego71> heatfanjohn: it use the simplefb, I suppose. The hardware is initialized by u-boot, and the kernel just use it
<diego71> (like, it just write in the framebuffer, nothing more)
<MoeIcenowy> heatfanjohn: you should know that GPU is not related to display hardware on many Embedded SoCs
<MoeIcenowy> in this case it's only rendering hardware
<MoeIcenowy> on Allwinner SoCs it's the case
<MoeIcenowy> the display hardware is Allwinner display pipeline (DE, TCON, HDMI controller, etc
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
flygoat has quit [Quit: Connection closed for inactivity]
<heatfanjohn> MoeIcenowy: Ah, thanks I didn't fully understand that. So the key for getting something to display on A64 is to have DE, TCON, HDMI in DTB and support in the kernel
<heatfanjohn> And therefore for me to have GDM run is to have all those which then creates /dev/dri/card0?
<MoeIcenowy> it's a 3D-acceleration-less DRM device
noblock has joined #linux-sunxi
<MoeIcenowy> btw if your kernel is 4.19 without patches you can expect only simplefb
<MoeIcenowy> as sun4i-drm for A64 is only planned into 4.20
<megi> Hi, I'm trying cedrus from 4.20-rc1 on H3, and I'm getting 'cma: cma_alloc: alloc failed, req-size: 256 pages, ret: -12' Anyone has idea what can be wrong? I have CMA set to 128MB in kernel config. And /proc/meminfo says 93320 kB CmaFree. It seems to decrease by 1MiB when starting vlc, but then vlc errs out.
reinforce has joined #linux-sunxi
Ntemis has joined #linux-sunxi
<megi> It's baffling why the alloc for 1MiB would fail when 92MiB are avilable.
<KotCzarny> no continuous blocks?
<megi> Unlikely?
<KotCzarny> does cma limits number of blocks requested?
<megi> AFAIK only other user is FB
<megi> All I could find is CMA_AREAS config
<megi> which is the default 7
<KotCzarny> try upping it to 15
<KotCzarny> just for the sake of trying
<megi> OK
<KotCzarny> then go to the code and check what error -12 is
<megi> ENOMEM
<MoeIcenowy> I think in this case in DT the default pool overrides other pools
<KotCzarny> ie. what code path does
<megi> MoeIcenowy: Interesting, I'll also check debugfs, if there's some hint there
<megi> MoeIcenowy: I think you're right, otherwise I should have CmaTotal 128mb
<megi> but I have 96
<megi> which is what is in dts
<megi> and debugfs says maxchunk 23296, which should be enough
<megi> that's 95MiB
<megi> so I'm still baffled :D
<megi> I guess I'll just try increasing it in dts
<rellla> megi: where is your cma allocated? in the lower 256MB? let me find the logs ...
<megi> 0x4a000000
<megi> looks like at 16MiB from the start of dram
<KotCzarny> rellla, it would shout about not being able to alloc cma at all if it was the ramdisk case
<megi> oh, off by on 160MiB from start
<fALSO> nice log that, im crying there about the kernel not booting
<fALSO> :-D
heatfanjohn has quit [Ping timeout: 256 seconds]
<megi> rellla: though reservation succeeds, it fails only later and only for cedrus, so it's probably something else
<rellla> megi: dmesg? just interested ...
<megi> cma: cma_alloc: alloc failed, req-size: 256 pages, ret: -12
<megi> + cedrus 1c0e000.video-codec: dma_alloc_coherent of size 1048576 failed, but that only restates the above
<rellla> no, i mean the part at the beginning about the successful cma reservation :)
<megi> ah
<megi> "Reserved memory: created CMA memory pool at 0x000000004a000000, size 96 MiB"
<rellla> so then, this is really another issue than mine :p
<jernej> megi: I usually receive such errors when trying to decode some h264 1080p videos
<jernej> in my case, I just increased pool size in DT and it's ok
<megi> yes, that's my case exactly
<megi> buny doesnt work
<jernej> just a sec
<megi> thanks :) I'v moved the start of cma to 32MiB and increased size to 160MiB, so hopefully it will work
<KotCzarny> :)
<megi> Thanks. It seems to take a lot of memory. My dts hack failed, but the kernel defaul from config (128MiB) allows it to play (though it's just green output), but CmaFree shows only a few kB free
aalm has quit [Ping timeout: 272 seconds]
<jernej> h264 needs buffer capable of holding at least 17 frames
<jernej> 1 for current frame and 16 for history
<jernej> 17 * 1080p in NV12 format that means ~50 MiB of memory
<jernej> consider what that means for 4k :)
<megi> eh :)
<jernej> and there are other users of CMA
<jernej> at least DRM driver reserves space for 1 framebuffer
<KotCzarny> i think mmc driver also grabs some
<jernej> at least DE2 doesn't care where CMA is located.
<megi> jernej: Does it really work for you? It fails the same as my dts change, and falls back to kernel config default value
<megi> OF: reserved mem: failed to allocate memory for node 'cma@40000000'
<jernej> yes, I tested with my LE port
<jernej> but I can test again later this day
<megi> does the cma region has to be in the lowest 256MiB?
<megi> for ve
<jernej> I didn't test other locations
<KotCzarny> it should
<KotCzarny> for A20
<KotCzarny> but for h3 i've found it works in a bit higher locations too
<KotCzarny> cma @ 40000000 wont work, it's start of mem
<megi> yes, even my 0x41000000 was too low
<KotCzarny> unless you can arrange that nothing is there
aalm has joined #linux-sunxi
<megi> ahh, uboot loads stuff even to 0x45000000 in my case
<jernej> don't you use U-Boot predefined addresses?
<megi> i put initrd there
<megi> I don't know I have to specify addresses in boot.scr, I don't think anything is predefined, unless there's just some convention
<KotCzarny> uboot has some predefines
<jernej> I use this: load mmc 0 ${ramdisk_addr_r} boot/uInitrd;bootz ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
<KotCzarny> check default env
<megi> ah, interesting, I've copied some fixed values from sunxi wiki and used them since
tllim has joined #linux-sunxi
heatfanjohn has joined #linux-sunxi
<heatfanjohn> MoeIcenowy: Yes, thanks, I'm running anarsoul's patched 4.19 which supports sun4i-drm on the A64
<heatfanjohn> I see that 4.21-rc1 released yesterday, I'm going to give that a try. That should have all the A64 support, right?
<fALSO> 4.20-rc1
<fALSO> it already has to CLK patches, =)
leviathan has quit [Remote host closed the connection]
<heatfanjohn> fALS0: yes, 4.20-rc1
anarsoul|2 has joined #linux-sunxi
<fALSO> love the 0 instead of a OH
<fALSO> =)
<megi> hmm, now I mnaged to break the driver :)
<megi> Unable to handle kernel NULL pointer dereference at virtual address 00000050 :)
<megi> when playing video
<anarsoul|2> :)
<megi> anyway, thank you all for help :) I'll leave the testing for later
BenG83 has joined #linux-sunxi
N1teHawk has quit [Quit: Bye.]
msimpson has quit [Quit: Leaving]
NiteHawk has joined #linux-sunxi
clemens3 has quit [Ping timeout: 268 seconds]
heatfanjohn has left #linux-sunxi [#linux-sunxi]
heatfanjohn has joined #linux-sunxi
matthias_bgg has quit [Quit: Leaving]
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn is now known as heatfanjohn_
heatfanjohn_ is now known as heatfanjohn
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Ping timeout: 252 seconds]
heatfanjohn has joined #linux-sunxi
heatfanjohn_ has joined #linux-sunxi
heatfanjohn has quit [Quit: Leaving]
heatfanjohn_ has quit [Client Quit]
m4ssi has quit [Remote host closed the connection]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn_ has joined #linux-sunxi
heatfanjohn_ has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
heatfanjohn has quit [Client Quit]
heatfanjohn has joined #linux-sunxi
<heatfanjohn> Test
<anarsoul|2> that's a lot of join flood
<KotCzarny> +1, not cool to test on public channels
<fALSO> yap
<heatfanjohn> Sorry about that ... I won't do that again ...
<buZz> whats a heatfan btw
<buZz> dont you normally use fans for cooling?
<fALSO> ;-)
<heatfanjohn> Miami Heat Basketball
<heatfanjohn> Yes, heat is bad for chips
<buZz> so no chips at the basketball court?
<buZz> just colddogs
<heatfanjohn> Only salsa ...
<buZz> ah, mexican miami? nice
<buZz> thats way easier than battling immigration
<buZz> just merging nations
<buZz> ;)
scelestic has quit [Quit: Lost terminal]
<heatfanjohn> I'm still a little confused over the Mali blobs and Wayland support. I understand now that "display output" doesn't depend on the GPU, so what do that Mali libs in mali-blobs/r6p2/arm64/wayland/ do?
<heatfanjohn> My guess would be that they allow the GPU to render graphics output in a wayland window?
scelestic has joined #linux-sunxi
ayaka has quit [Ping timeout: 272 seconds]
ayaka has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
altab has joined #linux-sunxi
altab has left #linux-sunxi ["<@trololo> ouai chui pas belle"]
<buZz> heatfanjohn: most allwinners have multiple video 'chips' inside
<buZz> the mali is just used for the 3d part of it
nios has quit [Remote host closed the connection]
mpmc has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
mpmc has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
ceng has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
Andy-D has joined #linux-sunxi
juri_ has quit [Ping timeout: 268 seconds]
IgorPec2 has quit [Ping timeout: 252 seconds]
juri_ has joined #linux-sunxi
lkcl has quit [Ping timeout: 268 seconds]
nuuuciano has quit [Ping timeout: 252 seconds]
victhor has joined #linux-sunxi
lkcl has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
robogoat has quit [Ping timeout: 250 seconds]
robogoat has joined #linux-sunxi
xeniter has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
reinforce has quit [Quit: Leaving.]
xyntrix has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]
upptech has joined #linux-sunxi
leio has quit [Ping timeout: 252 seconds]
leio has joined #linux-sunxi
paulk-leonov has quit [Ping timeout: 260 seconds]
clemens3 has joined #linux-sunxi
clemens3 has quit [Ping timeout: 246 seconds]
paulk-leonov has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 276 seconds]
<anarsoul|2> wens: mripard: hi, I didn't get any response on v5 patches 7-9 of "Add support for audiocodec in Allwinner A64"
<anarsoul|2> rest of the series has been merged through asoc tree, so only dts changes remain
<anarsoul|2> it's been quite a while since it was sent out, so I guess it's time for a ping
lurchi_ is now known as lurchi__
Putti has quit [Ping timeout: 245 seconds]
upptech has quit [Quit: Page closed]
xyntrix has quit [Quit: Leaving]