how to vc4 graphics on aarch64 pi4?

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: how to vc4 graphics on aarch64 pi4?

Postby gofree » Thu Nov 26, 2020 8:25 am

will try later this week - busy with some other stuff - If it will work I'll buy you a beer :) just kidding - is there a way to send you few bucks to support arm arch - edit. found it, done it
Last edited by gofree on Fri Nov 27, 2020 4:59 pm, edited 1 time in total.
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: how to vc4 graphics on aarch64 pi4?

Postby graysky » Thu Nov 26, 2020 1:18 pm

No need to pay me anything; I do this to give back to the community and personal reasons. I'm sure donating to the official project would be welcomed.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: how to vc4 graphics on aarch64 pi4?

Postby gofree » Fri Nov 27, 2020 3:14 pm

the cpu usage went from 70perc to 30perc - so I guess its far better ( guess the alarm7 is even lower , but its a very good start and might be usable )

packages installed from the repo you posted...ill give it a spin for a week or so to see how it perfoms longterm

any chance that mesa 20.3 could help ?

gonna search if there is a libcec-rpi how to for rpi4 64bit - till than Ill stick with bluetooth keyboard instead of TV remote
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: how to vc4 graphics on aarch64 pi4?

Postby graysky » Fri Nov 27, 2020 4:19 pm

$this->bbcode_second_pass_quote('gofree', 't')he cpu usage went from 70perc to 30perc - so I guess its far better ( guess the alarm7 is even lower , but its a very good start and might be usable )


No sure what your use case is... kodi playback? If so, version 19 of kodi (arm7h or aarch64) only has hardware acceleration for HEVC format also called x265.

$this->bbcode_second_pass_quote('gofree', 'p')ackages installed from the repo you posted...ill give it a spin for a week or so to see how it perfoms longterm

any chance that mesa 20.3 could help ?


This kernel tracks the rpi-5.10.y branch so things should get better as that code matures. RPi Foundation will eventually replace 5.4.y with 5.10.y.

$this->bbcode_second_pass_quote('gofree', 'g')onna search if there is a libcec-rpi how to for rpi4 64bit - till than Ill stick with bluetooth keyboard instead of TV remote


Are you saying that using CEC is not working under kodi-rbp4-git from my webhost?
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

Re: how to vc4 graphics on aarch64 pi4?

Postby gofree » Fri Nov 27, 2020 4:58 pm

yes, kodi playback for multimedia simultaneously rpi is acting as samba, running couple containers, jupter notebook , etc - like I said 30perc its huge improvement against 70perc :) from this point Im staying on aarch64 fron now on

to libcec I had to to adjust arm7h libcec-rpi pkgbuild to aarch64 and its working now ( standard libcec for aarch64 didnt work ) - maybe I just overlooked something

big thanks to you for the work you've done so far ! aarch64 is way to go
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: how to vc4 graphics on aarch64 pi4?

Postby graysky » Fri Nov 27, 2020 5:35 pm

Your post prompted me to try building libcec-rpi for aarch64 and then to rebuild kodi against it. Good to hear that the rebuild is superfluous and that just dropping in the package works.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: how to vc4 graphics on aarch64 pi4?

Postby gofree » Sat Nov 28, 2020 1:11 pm

I did install latest packages from your webhost today - libcec is loaded ( O can see it in kodi ) but the TV remote is not working. I guess this the price of beta version of kodi , etc. Keep up the work, I'm not complaining - I feel more like a tester and giving feedback. I'll install new releases when they'll be ready and report ( or I can provide logs , etc, if youd like )

Thanks
gofree
 
Posts: 23
Joined: Tue Nov 10, 2020 11:12 am

Re: how to vc4 graphics on aarch64 pi4?

Postby graysky » Sat Nov 28, 2020 2:36 pm

I can't rule out something on my side causing the issue. If you have a spare SD card, you can try out the beta version of libreelec. If CEC works there, something on my end is to blame.

EDIT: I don't think kodi is the problem...

On armv7h (with 5.10.0.rc5-7)
$this->bbcode_second_pass_code('', '
% echo 'scan' | cec-client -s -d 1
opening a connection to the CEC adapter...
requesting CEC bus information ...
CEC bus information
===================
device #1: Recorder 1
address: 1.0.0.0
active source: no
vendor: Pulse Eight
osd string: CECTester
CEC version: 1.4
power status: on
language: eng


currently active source: unknown (-1)
')

On aarch64 (with 5.10.0-rc5-7):
$this->bbcode_second_pass_code('', '
% echo "scan" | cec-client RPI -s -d 1
opening a connection to the CEC adapter...
ERROR: [ 11] Open - vc_cec could not be initialised
ERROR: [ 11] could not open a connection (try 1)
ERROR: [ 1011] Open - vc_cec could not be initialised
ERROR: [ 1011] could not open a connection (try 2)
ERROR: [ 2012] Open - vc_cec could not be initialised
ERROR: [ 2012] could not open a connection (try 3)
ERROR: [ 3012] Open - vc_cec could not be initialised
ERROR: [ 3012] could not open a connection (try 4)
ERROR: [ 4013] Open - vc_cec could not be initialised
ERROR: [ 4013] could not open a connection (try 5)
ERROR: [ 5013] Open - vc_cec could not be initialised
ERROR: [ 5013] could not open a connection (try 6)
ERROR: [ 6014] Open - vc_cec could not be initialised
ERROR: [ 6014] could not open a connection (try 7)
ERROR: [ 7014] Open - vc_cec could not be initialised
ERROR: [ 7014] could not open a connection (try 8)
ERROR: [ 8015] Open - vc_cec could not be initialised
ERROR: [ 8015] could not open a connection (try 9)
ERROR: [ 9015] Open - vc_cec could not be initialised
ERROR: [ 9015] could not open a connection (try 10)
unable to open the device on port RPI
ERROR: [ 10016] could not start CEC communications
')

So the problem is likely with libcec-rpi not kodi...

See: https://github.com/Pulse-Eight/libcec/issues/540
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: how to vc4 graphics on aarch64 pi4?

Postby traysh » Mon Nov 30, 2020 4:37 am

@graysky

Is it possible to use this kernel and boot using usb storage?
traysh
 
Posts: 1
Joined: Mon Nov 30, 2020 4:31 am

Re: how to vc4 graphics on aarch64 pi4?

Postby graysky » Mon Nov 30, 2020 11:12 am

$this->bbcode_second_pass_quote('traysh', '@')graysky
Is it possible to use this kernel and boot using usb storage?


I never tried this in general. Since this is using the rpi-kernel not the mainline-kernel, the bootloader package mentioned in other threads is not used at all. Are you able to boot armv7h from USB? I would think the steps to do it would be similar for this.
graysky
Developer
 
Posts: 1876
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000
Top

PreviousNext

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 5 guests