Priest of the Order of the Butterfly
Posts: 538 from 2003/2/25
From: France
Some tweaks I figured out to make QEmu run Morphos a bit better.
Mouse accuracy
-device usb-mouse -device usb-tablet allows a bit better mouse handling
between the guest and the host. Not perfect but a bit better with.
Network
sungem is working better than rtl8139 on my setup (ie: read rtl8139 is
simply failing)
Building a somewhat more integrated QEMU (linux)
------------------------------------------------
Using VNC to access the emulated machine can be a bit cumbersome. It is
possible to build QEMU to use a GTK window for displaying the guest. Do not expect 3D acceleration at all. :)
You'll need to fetch the QEMU source tree, install GCC and whatever the usual mess for building stuff.
1. CC tweaking before building QEMU
CC="gcc -mavx -march=native" CXX="g++ -mavx -march=native" ../configure \
--target-list=ppc-softmmu \
--enable-lto \
--enable-gtk
-march=native is used to solve an issue with some unsupported atomic16 op
on my system. Might not be necessary at all for yours.
-mavx should be set only if your system supports AVX2 extension.
You'll probably need to install libgtk-3-dev (for debian) before configuring.
2. Build QEMU
make
3. Tweak the qemu starting recipe
Add "-display gtk" to your qemu starting options
qemu will now display a window with a perfect mouse matching between
host and guest. No more VNC needed for accessing the guest.
Some somewhat usefull options that can be used to improve the UI experience:
-display gtk,window-close=on|off,fullscreen=on|off,gl=on|off,show-menubar=on|off,zoom-to-fit=on|off
It is not a fully detailed how to but some rough hint to build an 'improved' QEMU experience for running MorphOS.