WebSite Information > Article Discussions

Run IBM OS/2 on Android using Limbo PC Emulator

<< < (5/7) > >>

Dr.waka:
Qemu version 5.0.1 does not necessarily require ninja, However later versions do. You should be able to manually compile it or bootstrap Ninja if needed for something.

Most Linux distros add patches/backport to maintain features and security and avoid issues with VM's failing due to migration changes. You may want to try 4.20-5.01 if you want to build and avoid ninja.

The kernel driver mainly adds CPU pass through so that its using the hosts CPU capabilities. With HyperV/KVM pass through it can run most Linux Os's and playback youtube video decently if using OpenGL.

It can do some light gaming via OpenGL and Virgl, otherwise you would need to pass through hardware to a VM.  Then its 95+% of Baremetal performance..

I have never had to touch the source code, I just use GCC SDL or GTK then configure and make.. It has its own dependencies. The documentation has linux and windows listed as supported hosts.

Im actually trying to install it in a VM in Linux now because my spare desktop was getting an SMP error and needed TPM cleared on each boot.





Dave Yeo:

--- Quote from: Ibrahim Hakeem on May 07, 2021, 04:21:37 am ---Forgive my ignorance, I'm not too familiar with this end of stuff. Without a kernel driver will things like audio, networking, graphical emulation (specifically DX-style 3d rendering), etc be a possibility? Effectively - what would the limitations/expectations be?

--- End quote ---

Basically it would have the same usability as the previous port, with hopefully the addition of working audio.
Networking would require a TAP driver I believe, which we don't have. Graphical emulation is always going to be limited due to our limited graphics drivers. Speed will be limited without a kernel driver and even with a kernel driver, the OS/2 kernel is missing stuff to take advantage of VT.
There's always the Virtual Box port for some of this stuff. It has some of the same limitations due to lack of Operating System support. Development on the OS/2 kernel basically stopped at the beginning of the century and the last things added were things like fixes for fast CPU's, along with SSEx support and the BEGINLIBPATH/LIBPATHSTRICT stuff for Mozilla development, so different DLLs with the same name could be used.
It's a 1990's operating system dragged into the 21st century.

Ibrahim Hakeem:
Honestly, having audio would be a massive win in of itself compared to the options we've currently got for any post Win3x emulation. I have a feeling that Qemu might also potentially be a bit faster compared to vBox.

Dr.waka:
From Linux Mint 20 using Qemu 5.1.94 with KVM I can install and Run my copy of ArcaOS 5.06.

Audio output, video playback, and internet works.

Essentially I can load up a VM give it 8GB of RAM and 4 dedicated cpu cores and emulate a VESA adapter that uses my hosts GPU for running the video from the OS. I can add more CPUs and RAM as desired.

This works with my monitors resolution seems snappy for input and restarts cleanly. Packages updates without any issues.

I made a 2.5GB ram drive with Tempfs and installed the OS to that.  This is an example config I used.

 ./qemu-system-x86_64 -L . -M q35 -vga virtio --accel kvm -m 8096 -cpu host -smp 4,sockets=1,cores=4,threads=1   -cdrom 'dev/sr0'  -boot menu=on  -device piix4-ide -drive file=/dev/ram0,id=disk1,format=raw,if=none -device ide-hd,drive=disk1  -device e1000,netdev=net0 -netdev user,id=net0   -audiodev pa,id=ad0,out.mixing-engine=on,out.buffer-length=512,timer-period=1000 -device AC97,addr=05,audiodev=ad0

I only have 2 days experience with ArcaOS... Please keep that in mind. There is undoubtedly room for improvement in that config.

Tom:

--- Quote from: Dave Yeo on April 26, 2021, 04:13:04 pm ---Not really, the build requirements don't currently exist on our platform, namely Ninja, which works sorta like make.
It's also 1.4 GB's of source.

--- End quote ---

While working on qtwebengine, dmik seems to have ported Ninja to OS/2:

https://github.com/bitwiseworks/qtwebengine-os2/issues/2

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version