Created attachment 145475 [details]
dmesg from kernel 5.3, loading firmware
I'm trying to get somewhat accelerated video output out of my CuBox i4 (imx6 cpu, GC2000 graphics), but I don't have any luck with kernels 5.0, 5.2, or 5.3.
I tried recent Armbian and Fedora (30 and 31 beta).
The etnaviv messages from dmesg are:
[ 18.891291] etnaviv etnaviv: bound 130000.gpu (ops gpu_ops [etnaviv])
[ 18.895022] etnaviv etnaviv: bound 134000.gpu (ops gpu_ops [etnaviv])
[ 18.898366] etnaviv etnaviv: bound 2204000.gpu (ops gpu_ops [etnaviv])
[ 18.898385] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[ 18.929873] etnaviv-gpu 130000.gpu: command buffer outside valid memory window
[ 18.931182] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[ 19.075240] etnaviv-gpu 134000.gpu: command buffer outside valid memory window
[ 19.076522] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[ 19.076542] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[ 19.083510] [drm] Initialized etnaviv 1.2.0 20151214 for etnaviv on minor 1
I'll attach the complete dmesg - or you can see it here: http://ix.io/1WAW
Google brought me to Russell King's similar problem from June:
I don't know why the problem disappeared for him, though.
Initially I reported the problem at the armbian forum:
I'm more of a user than a developer, especially when it comes to the Linux kernel. But I can test switches or patches.
Any help would be appreciated!
I use "cma=256@2G" at the kernel command line as a workaround for now.
Ups, it is "cma=256M@2G" of course. Sorry for the typo.
Cool, thank you, "usual user"! Your "cma=256M@2G" works for me. No more "command buffer outside valid memory window", and I could start Weston with weston-launch! The terminal there had a nice shadow, and I could drag it around smoothly.
(But Fedora 31 for arm apparently does not offer vlc, mplayer, or kodi... so I'm gonna try Armbian again next, with the switch)
Created attachment 145508 [details]
Fedora can not ship for one or other legal reason what you are asking for.
But if you enable https://rpmfusion.org all you asked for is available.
E.g. Kodi is at 18.4 final currently. See kodi.jpeg while playing bbb.
Regression fix  just landed. The "@2G" workaround is no longer required.