On Wednesday, November 10, 2021, Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


On Wednesday, November 10, 2021, <mnieuw@zap.a2000.nl> wrote:
Hi Andrew,
Very interesting, I was thinking about the same, for testing arm64
versions. I have some experience with qemu, although I mostly use
VirtualBox.
It is quite possible to use UEFI boot with qemu.
I presume the emulated arm64 machine is good enough for compilations,
for actually testing CinGG you probably need more?? 


as for runtime it works via vnc (!) on 4 (2ghz max) + 4(1.5 ghz max) arm core and 2 gb ram (+zswap around 1.4 gb shared with android 10) . sometimes it works fast enough (realtime) with even fullhd h264 video, sometimes not - probably due to cpu freqency/sheduling enforced by kernel) 


more memory, (-m 2047) more -smp :) 

there is link for opensuse install, you can use pre-installed os image 

https://en.opensuse.org/openSUSE:AArch64#Using_an_emulator

or debian arm64 image (also pre-installed, so no need for multihour long install) 

https://wiki.debian.org/Arm64Qemu
https://cdimage.debian.org/cdimage/openstack/current-10/

you can prepare specific source image with pre-downloaded/unpacked/patched source and add this as second hdd... 

A problem might be missing build utilities, I know a programmer who
(for fun) wanted to build a CinGG for macOS had problems there.

MatN

On Wed, 10 Nov 2021 13:07:13 +0300
Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org> wrote:

> because my patch series tend to fail on x86 while working on arm, I
> hope those links will help in creating virtual arm debian install for
> testing
>
> official qemu wiki
>
> https://wiki.qemu.org/Documentation/Platforms/ARM
>
> link from this wiki to older (2017) guide, you probably want to change
> debian distro name in d/l links
>
> https://translatedcode.wordpress.com/2017/07/24/installing-debian-on-qemus-64-bit-arm-virt-board/
>
> also, for faster performance try
> https://wiki.qemu.org/Features/tcg-multithread
> (do not forgot -smp 4 (or 8) argument)