MorphOS runs on QEmu
  • MorphOS Developer
    jacadcaps
    Posts: 1789 from 2003/3/5
    From: Poland
    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: 1050 from 2013/5/24
    From: Englistan
    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.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 13:52
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    koszer
    Posts: 908 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: 10497 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
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    koszer
    Posts: 908 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: 10497 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
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    Andreas can you please link your lame version in case i will download it for make some benchs?
  • »17.07.18 - 15:08
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    koszer
    Posts: 908 from 2004/2/8
    From: Poland
    Quote:

    tlosmx wrote:
    Andreas can you please link your lame version in case i will download it for make some benchs?


    I guess this one was used. There are two versions in the archive: lame and lame_vmx (for AltiVec enabled machines).
  • »17.07.18 - 15:20
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 10497 from 2003/5/22
    From: Germany
    > Andreas can you please link your lame version [...]?

    Sorry, I haven't used any lame version myself, but merely discussed lame benchmark results published by others.
  • »17.07.18 - 15:42
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    koszer
    Posts: 908 from 2004/2/8
    From: Poland
    Quote:

    Andreas_Wolf wrote:
    > Andreas can you please link your lame version [...]?

    Sorry, I haven't used any lame version myself, but merely discussed lame benchmark results published by others.


    I'd call it a lame excuse :rotfl:
  • »17.07.18 - 16:23
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Spectre660
    Posts: 221 from 2015/6/30
    Anyone know if KVM on an X1000 would work ?.

    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.
  • »17.07.18 - 17:02
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1050 from 2013/5/24
    From: Englistan
    Quote:

    Spectre660 wrote:
    Anyone know if KVM on an X1000 would work ?.




    Not yet.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 17:12
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Intuition
    Posts: 1050 from 2013/5/24
    From: Englistan
    Quote:

    koszer wrote:
    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.


    It took around a minute roughly.

    Will run it again to make sure and on much faster hardware too.
    1.67GHz 15" PowerBook G4, 1GB RAM, 128MB Radeon 9700M Pro, 64GB SSD, MorphOS 3.9

    2.7GHz DP G5, 4GB RAM, 512MB Radeon X1950 Pro, OSX 10.5.8, 500GB SSHD, MorphOS 3.9
  • »17.07.18 - 17:14
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4856 from 2009/1/28
    From: Delaware, USA
    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.


    Yet another reason not to emulate the cpu, Jacek.
    Power 9...not X64, that would take care of that issue. ;-)

    Repetitive, I know, and very few have those systems, but it would run legacy PPC code.
    "Never attribute to malice what can more readily explained by incompetence"
  • »17.07.18 - 20:59
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 10497 from 2003/5/22
    From: Germany
    >>> I'd be willing to bet that this could be done better on Power9.

    >> 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.

    > Power 9...not X64, that would take care of that issue. ;-)
    > [...] it would run legacy PPC code.

    Would? Does? Will? I'm confused :-)
  • »17.07.18 - 22:02
    Profile
  • Jim
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Jim
    Posts: 4856 from 2009/1/28
    From: Delaware, USA
    Quote:

    Andreas_Wolf wrote:
    >>> I'd be willing to bet that this could be done better on Power9.

    >> 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.

    > Power 9...not X64, that would take care of that issue. ;-)
    > [...] it would run legacy PPC code.

    Would? Does? Will? I'm confused :-)


    Again, not just yet. But soon KVM should be a possible option.
    Interesting that I'd never considered the X1000, but that could serve as well.

    What about the final G5s? I know the 970FX doesn't have a hypervisor (apparently disabled from the Power 4 subset it was taken from), but QEMU-KVM already appears to be working on these.

    BTW - The low performance of PPC emulation on X64 doesn't surprise my, Mark told me it was borderline months ago and he wasn't sure if PPC emulation would make it into NG. Apparently primarily due to an issue related to available resources.

    The question becomes what do we want to do with emulation, because it won't be supported outside MorphOS.
    Then again, Nik's results are pretty remarkable, so maybe this is something the community can do on its own.
    "Never attribute to malice what can more readily explained by incompetence"
  • »18.07.18 - 00:46
    Profile
  • Butterfly
    Butterfly
    Posts: 80 from 2017/9/10
    KVM will work for sure for Morphos vmachine and better than emulated one because the emulated cpu use emulated altivec instruction thing that for my experience is not good working because make in idle the vcpu.

    for use the morphos in kvm do just sudo modprobe kvm and add --enable-kvm on Qemu command line.

    I dint have time to test myself because i dont have a monitor attached on my g5 quad, this days summer make this machine unusable because add more celsious in the home that is warm in the summer period (two days ago was 42° external and 30° in the home)

    PS: X1000 and G5,G4 are kvm compatible for Mac99 vhw
  • »18.07.18 - 07:53
    Profile