MorphOS runs on QEmu
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    Quote:

    Andreas_Wolf wrote:
    Video of MorphOS 3.11 on QEMU 3.0: https://www.youtube.com/watch?v=EZJ42NPG8Qo


    That looks surprisingly usable.
    Emulating a SAM460 with SM502 graphics.
    Think it requires that much cpu power?

    I have no intention of buying anything as extreme as a threadripper cpu.

    Still, that's cool.
    A system that could potentially run MorphOS and OS4 sessions simultaneously.
    "Never attribute to malice what can more readily explained by incompetence"
  • »15.07.18 - 18:43
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    ThePlayer
    Posts: 1068 from 2003/3/24
    From: Hamburg/Germany
    Quote:

    Jim schrieb:

    I have no intention of buying anything as extreme as a threadripper cpu.

    Still, that's cool.
    A system that could potentially run MorphOS and OS4 sessions simultaneously.



    I guess an AMD Ryzen 1700 or 2700x should run this as good as the Threadripper. And this CPUs arn't that expensive.
    I will try it in two weeks when i am back from vacation on my Ryzen 1600 and Post some benchmarks.
    Is it possible to use the Networkstack in MorphOS on QEMU?
    PowerMac G5 Quad 2.5 running UWQHD Resolution
  • »15.07.18 - 19:04
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    polluks
    Posts: 779 from 2007/10/23
    From: Gelsenkirchen,...
    Will be qemu part of MorphOS 4?
    Pegasos II G4: MorphOS 3.9, Zalman M220W · iMac G5 12,1 17", MorphOS 3.18
    Power Mac G3: OSX 10.3 · PowerBook 5,8: OSX 10.5, MorphOS 3.18
  • »15.07.18 - 21:20
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12073 from 2003/5/22
    From: Germany
    > Emulating a SAM460 with SM502 graphics.

    No, it's emulating a PowerMac3,1 with SM502 plugin card.
  • »15.07.18 - 23:50
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    ThePlayer wrote:
    Quote:

    Jim schrieb:

    I have no intention of buying anything as extreme as a threadripper cpu.

    Still, that's cool.
    A system that could potentially run MorphOS and OS4 sessions simultaneously.



    I guess an AMD Ryzen 1700 or 2700x should run this as good as the Threadripper. And this CPUs arn't that expensive.
    I will try it in two weeks when i am back from vacation on my Ryzen 1600 and Post some benchmarks.
    Is it possible to use the Networkstack in MorphOS on QEMU?


    Only when booting from the CD image. Once installed the OS freezes on boot up if you have networking enabled, no matter which emulated network card you use.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »16.07.18 - 09:00
    Profile
  • Butterfly
    Butterfly
    waldiamiga
    Posts: 90 from 2007/7/25
    From: Krakow, Poland
    Okay, I'm trying to run MorphOS ... Just for sport, but the Windows7 console being blown out spits me something like:
    Code:

    d:EmulacjaQEmu>qemu-system-ppc -machine mac99,via=pmu -m 512 -vga none -device
    sm501 -cdrom morphos-3.11.iso -boot d -prom-env boot-device=cd:,mac_ppc32boot
    .img' -bios openbios-qemu.elf -serial stdio -net nic,model=sungem -net user
    C>> annot manage 'misc display controller' PCI device type 'display':
    >> 126f 501 (3 80 0)
    >> set_property: NULL phandle

    >> =============================================================
    >> OpenBIOS 1.1 [Jun 27 2018 13:46]
    >> Configuration device id QEMU version 1 machine id 1
    >> CPUs: 1
    >> Memory: 512M
    >> UUID: 00000000-0000-0000-0000-000000000000
    >> CPU type PowerPC,G4
    milliseconds isn't unique.
    Output device screen not found.
    Output device screen not found.
    Trying cd:,mac_ppc32boot.img'...
    No valid state has been set by load or init-program

    0 >
    (qemu-system-ppc.exe:4328): Gtk-WARNING **: Could not load a pixbuf from /org/gt
    k/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
    This may indicate that pixbuf loaders or the mime database could not be found.

    Can anyone familiar with the topic write to me where the error is?

    [ Edited by waldiamiga 16.07.2018 - 13:12 ]

    MorphOS.pl
    PowerBook G4 1.67GHz|2GB DDR2|ATI Radeon 9700M 128MB|SSD 80GB|TFT 17"|MorphOS 3.1x
    Core i7 Notebook|WinUAE 3.x/AmigaOS4.1x & Icaros Desktop 2.x & QEmu 6.x.x
  • »16.07.18 - 12:05
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    Use absolute paths to hd and cd images and perhaps try with -sdl.
  • »16.07.18 - 12:47
    Profile Visit Website
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    Tested and played around a bit on a E5-1650 3.6GHz Xeon box and even with such a high end CPU it gives me sub-Efika speeds. Meh, won't run again.
  • »16.07.18 - 12:50
    Profile Visit Website
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4977 from 2009/1/28
    From: Delaware, USA
    Sub-Efika speeds, emulated SM502 graphics.

    I'd be willing to bet that this could be done better on Power9.
    "Never attribute to malice what can more readily explained by incompetence"
  • »16.07.18 - 13:10
    Profile
  • Leo
  • Order of the Butterfly
    Order of the Butterfly
    Leo
    Posts: 417 from 2003/8/18
    Quote:

    waldiamiga wrote:
    Okay, I'm trying to run MorphOS ... Just for sport, but the Windows7 console being blown out spits me something like:
    Code:

    d:EmulacjaQEmu>qemu-system-ppc -machine mac99,via=pmu -m 512 -vga none -device
    sm501 -cdrom morphos-3.11.iso -boot d -prom-env boot-device=cd:,mac_ppc32boot
    .img' -bios openbios-qemu.elf -serial stdio -net nic,model=sungem -net user
    C>> annot manage 'misc display controller' PCI device type 'display':
    >> 126f 501 (3 80 0)
    >> set_property: NULL phandle

    >> =============================================================
    >> OpenBIOS 1.1 [Jun 27 2018 13:46]
    >> Configuration device id QEMU version 1 machine id 1
    >> CPUs: 1
    >> Memory: 512M
    >> UUID: 00000000-0000-0000-0000-000000000000
    >> CPU type PowerPC,G4
    milliseconds isn't unique.
    Output device screen not found.
    Output device screen not found.
    Trying cd:,mac_ppc32boot.img'...
    No valid state has been set by load or init-program

    0 >
    (qemu-system-ppc.exe:4328): Gtk-WARNING **: Could not load a pixbuf from /org/gt
    k/libgtk/theme/Adwaita/assets/bullet-symbolic.svg.
    This may indicate that pixbuf loaders or the mime database could not be found.

    Can anyone familiar with the topic write to me where the error is?


    I am getting the same error on Windows.

    The same files work correctly on Linux & macOS.
    Nothing hurts a project more than developers not taking the time to let their community know what is going on.
  • »16.07.18 - 15:29
    Profile Visit Website
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    guys in the video im using morphos installed on img.
    the installation took really small time is really quick.

    use a raw as the image file ... dont make it more bigger than 10GB

    for boot the img is simple just swap the cd,\mac_soandso\boot.img in
    hd,\boot.img in the command line.


    the freeze or better the idle is because the lan . i think morphos try to go online form very beginning and this make all idle. just add -device rtl8139 without any other lan options.

    PS: there is a somewasre a crysalis pack iso complete for mos 3.11 without go online for download the packages?
  • »16.07.18 - 15:53
    Profile
  • Just looking around
    dark_knight
    Posts: 11 from 2012/8/12
    Does it work in MOS 3.11? I recall reading that it had stopped working after the MOS 3.10 release.

    The latest version I can find is: https://www.warmup-asso.org/download.php?op=geninfo&did=1
  • »16.07.18 - 21:06
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    jacadcaps wrote:
    Tested and played around a bit on a E5-1650 3.6GHz Xeon box and even with such a high end CPU it gives me sub-Efika speeds. Meh, won't run again.


    These are the lame aksack.wav results on a 2.9GHz i7-4600M laptop.

    I'll test on my 7700k when I get a chance.

    qemulameaksack.png
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 09:26
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    Jim wrote:
    Sub-Efika speeds, emulated SM502 graphics.

    I'd be willing to bet that this could be done better on Power9.



    What results does the Efika get with lame aksack.wav?

    virtgpu support will eventually come and it'll pass through a Radeon card that will appear on the pci bus to MorphOS and use it's native drivers.

    QEMU-KVM doesn't work as yet so no running this on any PPC or Power9 without emulating it same as on x64 for now.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 09:30
    Profile
  • MorphOS Developer
    jacadcaps
    Posts: 2971 from 2003/3/5
    From: Canada
    Quote:

    Intuition wrote:
    virtgpu support will eventually come and it'll pass through a Radeon card that will appear on the pci bus to MorphOS and use it's native drivers.



    That won't help with a buggy and slow CPU emulation though.
  • »17.07.18 - 13:38
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1110 from 2013/5/24
    From: Nederland
    Quote:

    jacadcaps wrote:
    Quote:

    Intuition wrote:
    virtgpu support will eventually come and it'll pass through a Radeon card that will appear on the pci bus to MorphOS and use it's native drivers.



    That won't help with a buggy and slow CPU emulation though.


    Better than nothing at all though and it can only improve.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.15

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 13:52
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1246 from 2004/2/8
    From: Poland
    Quote:

    Intuition wrote:

    Call me stupid but which figure am I supposed to be looking at to compare it to this?

    http://sintonen.fi/pics/lame_benchmark.png


    I guess it's encoding time in seconds. Efika does the job in 2 minutes and 20 seconds (140 s). PowerMac G5 2,7 GHz encodes this wav in 8 seconds. Now for the screenshot you posted the situation is interesting. The real time differs from estimated by a very high margin (and on a real machine - it's never this way, as the "real" equals to "estimated" ultimately). I guess something isn't right with the timer under emulation. I'd probably go for the ETA number and a stopwatch just to be sure.
  • »17.07.18 - 14:16
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12073 from 2003/5/22
    From: Germany
    >> http://sintonen.fi/pics/lame_benchmark.png

    > PowerMac G5 2,7 GHz encodes this wav in 8 seconds.

    Regression with newer lame version? The graph shows 8 seconds for the 2.0 GHz PowerMac G5 and 6 seconds for the 2.5 GHz PowerMac G5.
  • »17.07.18 - 14:24
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    koszer
    Posts: 1246 from 2004/2/8
    From: Poland
    Quote:

    Andreas_Wolf wrote:
    >> http://sintonen.fi/pics/lame_benchmark.png

    > PowerMac G5 2,7 GHz encodes this wav in 8 seconds.

    Regression with newer lame version? The graph shows 8 seconds for the 2.0 GHz PowerMac G5 and 6 seconds for the 2.5 GHz PowerMac G5.


    Hmm... I looked at the numbers at AROS page. I guess it's time to do a final benchmark on my G5 machine to dispel the doubts.
  • »17.07.18 - 14:32
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12073 from 2003/5/22
    From: Germany
    >>> PowerMac G5 2,7 GHz encodes this wav in 8 seconds.

    >> Regression with newer lame version? The graph shows 8 seconds for
    >> the 2.0 GHz PowerMac G5 and 6 seconds for the 2.5 GHz PowerMac G5.

    > Hmm... I looked at the numbers at AROS page.

    It's 7 seconds there ;-) I assume there have been different lame versions/binaries at play (apart from AltiVec vs. scalar versions).
  • »17.07.18 - 14:49
    Profile