Poster | Thread |
tlosm
|  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 13:58:17
| | [ #221 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @pavlor
litte video by me for understand just a little how it works on threadripper https://www.youtube.com/watch?v=ML7-F4HNFKQ _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
Hypex
 |  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 14:30:04
| | [ #222 ] |
|
|
 |
Elite Member  |
Joined: 6-May-2007 Posts: 11351
From: Greensborough, Australia | | |
|
| @tlosm
The speed looks pretty good. It looks like it booted faster than the real thing. Can you plug a USB stick into it? Does the sound work? Can you play Spencer? 
All you need now is a mini Linux booter with this and you are right to go. Given a VM pretty much makes direct hardware access obsolete in the modern age the speed should be pretty good. And you got yourself the next AmithlOS4.  |
|
Status: Offline |
|
|
Spectre660
 |  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 14:43:55
| | [ #223 ] |
|
|
 |
Elite Member  |
Joined: 4-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @Hypex
Boots faster than a real Sam460ex but video performance is slow enough to make me cringe compared to my Sam460ex setup .
Quote:
Hypex wrote: @tlosm
The speed looks pretty good. It looks like it booted faster than the real thing. Can you plug a USB stick into it? Does the sound work? Can you play Spencer? 
All you need now is a mini Linux booter with this and you are right to go. Given a VM pretty much makes direct hardware access obsolete in the modern age the speed should be pretty good. And you got yourself the next AmithlOS4.  |
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
wawa
|  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 15:07:21
| | [ #224 ] |
|
|
 |
Elite Member  |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| @Spectre660
hypex: The speed looks pretty good.
moving windows around doesnt prove much except that memory performance is good, which is expectable because of the host hardware.
in fact i agree with you. as i said gfx performance is pretty good (in comparison). on aros it even seems to be quite faster than on os4: populating workbench windows with icons happens about in an instant, browsing through mui/zune prefs renders in an instant. but all this only portrays well cpu inintensive area.
just note how long zune prefs program takes to load and execute, as such (being rather a low spec application). ill wait with judgement about practical usefulness of this emulation, till some heavy tasksy or benchmarks are performed (so where are they already, is that so hard?). suffice to say, i repeat, that i am testing webkit bowsers and other general purpose software and have a direct comparison running them in parallel both in qemu-system-ppc and qemu-system-i386, so on my end i can tell what the actual performance difference is. just i dont want to bother with a video, that would be static for the most time anyway.
i dont want to make this qemu effort look bad, on the contrary i find it quite useful, but i wouldnt want to wake unnecessary expectations. |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 15:55:10
| | [ #225 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Hypex
for now i just finally have the os running and booting from the hd. audio works some tine yes some time not... because a qemu bug not because sam emulation.
video isnt the best because is emulated sm502... the real one was crappy on os4 emulated will be like the real one Zoltan is try to have the real sam460. Note im using an img 30gb big... smaller means much more faster disk access and read 
Spectre just wait when passthruout will work .
PS: Morphos is impressive fast here. Last edited by tlosm on 14-Jul-2018 at 03:57 PM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 14-Jul-2018 17:48:30
| | [ #226 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| |
Status: Offline |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 8:34:00
| | [ #227 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| It seems QEMU 3.0.0 for Windows will not run on my computer, an attempt to start ends with error message "MinGW Runtime Assertion".
Edit: Seems to be SAM460 emulation related issue, generic PPC Linux starts with:
qemu-system-ppc -hda debian_wheezy_powerpc_standard.qcow2
Edit2: QEMU3.3.0 runs (generic PPC 750 emulation as above) cca 25 % faster than WinUAE with QEMU plugin based on older QEMU release (OGR-NG in dnetc: cca 3,800,000 keys/sec vs cca 3,100,000 keys/sec on Core i3-5005U 2 GHz). If the SAM460 emulation has similar performance, CPU speed difference between QEMU and WinUAE would be small. Last edited by pavlor on 15-Jul-2018 at 09:09 AM. Last edited by pavlor on 15-Jul-2018 at 08:40 AM.
|
|
Status: Offline |
|
|
Karlos
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 9:16:31
| | [ #228 ] |
|
|
 |
Elite Member  |
Joined: 24-Aug-2003 Posts: 4844
From: As-sassin-aaate! As-sassin-aaate! Ooh! We forgot the ammunition! | | |
|
| I've seen a few videos of general usage and the deficiencies in the graphics are somewhat obvious*. However what I really want to understand is the emulated CPU performance. Has anyone compiled any real world benchmarks, for example, video encoding, image processing etc and hownthey compare to physical hardware?
*with virtual GPU passthrough support I can see this being fixed. _________________ Doing stupid things for fun... |
|
Status: Offline |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 9:26:52
| | [ #229 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| @Karlos
If my benchmark above is valid also for SAM460ex emulation, then general integer performance on my host (Core i3-5005U 2.0 GHz) is comparable to 750FX 366 MHz. Memory speed will be probably higher than real hardware (at least it is so in WinUAE), which speeds up video decoding (eg. MPlayer). I didn´t test FPU, but I assume nothing changed since my last benchmarks (=slooooooooooow). |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 12:22:08
| | [ #230 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @pavlor
here my mos https://www.youtube.com/watch?v=EZJ42NPG8Qo
here on threadripper more than 8k keys mac99 cpu G3 Osx tiger dnetc bench _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
wawa
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 12:36:54
| | [ #231 ] |
|
|
 |
Elite Member  |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| @tlosm
not bad, odyssey loaded really fast (i assume it has been ran before, so one thing maybe is, it doesnt probablly need to parse font cache), might be worth to show it browsing some reference site. overall morphos looks really fast, it is installed, not a boot iso i take it? Last edited by wawa on 15-Jul-2018 at 02:07 PM. Last edited by wawa on 15-Jul-2018 at 02:06 PM. Last edited by wawa on 15-Jul-2018 at 12:39 PM.
|
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 15-Jul-2018 13:20:10
| | [ #232 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @wawa
installed on img _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 16-Jul-2018 8:51:04
| | [ #233 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| new pull
git://github.com/dgibson/qemu.git tags/ppc-for-3.0-20180716
[Qemu-ppc] [PULL 0/6] ppc-for-3.0 queue 20180716 David Gibson Oggi, 10:44 peter.maydell@linaro.org;David Gibson (david@gibson.dropbear.id.au); The following changes since commit 9277d81f5c2c6f4d0b5e47c8476eb7ee7e5c0beb:
docs: Grammar and spelling fixes (2018-07-13 10:16:04 +0100)
are available in the Git repository at:
git://github.com/dgibson/qemu.git tags/ppc-for-3.0-20180716
for you to fetch changes up to 6730df0514d3aec35e646ff9833fbe8b05fd0776:
sm501: Fix warning about unreachable code (2018-07-16 11:19:10 +1000)
---------------------------------------------------------------- ppc patch queue 2018-07-16
Here's my first hard freeze pull request for qemu-3.0. This contains an assortment of bugfixes. Several are for regressions, others are for bugs that I think are significant enough to address during hard freeze.
---------------------------------------------------------------- BALATON Zoltan (3): sm501: Update screen on frame buffer address change sam460ex: Correct use after free error sm501: Fix warning about unreachable code _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
virgolamobile
|  |
Re: sam460 emulated in qemu Posted on 17-Jul-2018 21:41:42
| | [ #234 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| Tried the QEMU 3.0 rc0 and it worked! Great!
Some limitation I've encountered so far: - not possible to have 2GB of RAM, I stop at 1GB; - not possible to start Sysmon, it generates a Grim Reaper; - not possible to start AmigaOS 4.1 Final update 1, it generates a Grim Reaper; - not able to test the Cirrus video card so far (-device cirrus-vga), even if I copied the required files from the OS4.1 Classic I own.
Maybe it is just me messing it up, here the command I use for launching qemu-system-ppc -machine sam460ex -m 2048 -rtc base=localtime -serial mon:stdio -device ide-hd,drive=disk,bus=ide.0 -drive file=/home/virgola/amigaos.qcow2,format=raw,id=disk -device virtio-mouse-pci -device virtio-keyboard-pci
 Last edited by virgolamobile on 17-Jul-2018 at 09:42 PM.
|
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 17-Jul-2018 22:01:14
| | [ #235 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @virgolamobile -device cirrus-vga
the emulated Sam460 can handle only 900MB of ram because a controller limit
about the issues ... try to open the programs from the shell but after add more stack Last edited by tlosm on 18-Jul-2018 at 07:54 AM. Last edited by tlosm on 18-Jul-2018 at 07:53 AM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
virgolamobile
|  |
Re: sam460 emulated in qemu Posted on 18-Jul-2018 12:18:36
| | [ #236 ] |
|
|
 |
Regular Member  |
Joined: 23-Feb-2004 Posts: 192
From: Somewhere in Northern Italy | | |
|
| @tlosm
I know how to enable it while launching QEMU, the problem relies for me on the AmigaOS side.
I have tried the following: 1) Got "Devs/Monitors/PCIGraphics" from ACube (http://acube-systems.biz/download/DualGraphicCardSetup.lha); 2) Got kickstart modules from the AmigaOS 4.1 Final for Classic (CirrusGD542X.chip, CirrusGD5434.chip, CirrusGD5446.chip, PicassoIV.card), placed them in the kickstart folder and enabled them in the kicklayout; 3) Quit QEMU, and restarted it; 4) Checked Prefs/ScreenMode but still I have only one board only ("Board 0").
Checked with Ranger (Sysmon does not work) and under "Gfx board" it only list the SiliconMotion 502. However, under "PCI Bus" I see a "VGA controller" and a "Display Controller".
What else I should do to enable the Cirrus board?
Last edited by virgolamobile on 18-Jul-2018 at 12:19 PM.
|
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 18-Jul-2018 13:15:47
| | [ #237 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @virgolamobile
Zoltan reply you on email 
if i remember good what i do when i see board1 in screen prefs:
try to use the line with -vga none and add -device cirrus-vga if i remember good you will see the AmigaOs Fe loading really really sloow showing. it mean the cirrus is start working.
Last edited by tlosm on 18-Jul-2018 at 01:16 PM.
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
mulder77
|  |
Re: sam460 emulated in qemu Posted on 18-Jul-2018 16:26:17
| | [ #238 ] |
|
|
 |
Member  |
Joined: 15-Aug-2011 Posts: 10
From: Unknown | | |
|
| Is the PIV emulation expected to be much better?
And if I get it right, in the future there could be a chance to add a PCIe Radeon card and pass it through into the emulation? This should give nearly native speed, correct? |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 18-Jul-2018 16:36:14
| | [ #239 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @mulder77
not faster because it use petunia for emulate 68k instructions but more compatible because sm502 emulation need to be implemented.
future in passthrought is my hope ... when it will work will gave really big improvements in emulation speed and compatiblity. _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 18-Jul-2018 17:04:13
| | [ #240 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| 3.0 rc1 available
https://download.qemu.org/qemu-3.0.0-rc1.tar.xz
_________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|