Click Here
home features news forums classifieds faqs links search
5654 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
43 crawler(s) on-line.
 14 guest(s) on-line.
 1 member(s) on-line.


 jap

You are an anonymous user.
Register Now!
 jap:  33 secs ago
 jacknife:  9 mins ago
 bennymee:  15 mins ago
 amisteph:  34 mins ago
 Overflow:  42 mins ago
 Blade2019NL:  1 hr 8 mins ago
 clint:  1 hr 21 mins ago
 saimo:  1 hr 21 mins ago
 number6:  1 hr 35 mins ago
 KimmoK:  1 hr 52 mins ago

/  Forum Index
   /  Amiga OS4 Hardware
      /  sam460 emulated in qemu
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 Next Page )
PosterThread
tlosm 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 14:58:17
#221 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
Hypex 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 15:30:04
#222 ]
Elite Member
Joined: 6-May-2007
Posts: 9566
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
Profile     Report this post  
Spectre660 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 15:43:55
#223 ]
Elite Member
Joined: 5-Jun-2005
Posts: 3743
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.

_________________

 Status: Offline
Profile     Report this post  
wawa 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 16:07:21
#224 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6162
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 16:55:10
#225 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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 04: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
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 14-Jul-2018 18:48:30
#226 ]
Elite Member
Joined: 10-Jul-2005
Posts: 8993
From: Unknown

@tlosm

Nice!

 Status: Offline
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 9:34:00
#227 ]
Elite Member
Joined: 10-Jul-2005
Posts: 8993
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 10:09 AM.
Last edited by pavlor on 15-Jul-2018 at 09:40 AM.

 Status: Offline
Profile     Report this post  
Karlos 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 10:16:31
#228 ]
Elite Member
Joined: 24-Aug-2003
Posts: 2020
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.

_________________
IBrowse/AWeb user? amiga.org - classic browser edition

 Status: Offline
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 10:26:52
#229 ]
Elite Member
Joined: 10-Jul-2005
Posts: 8993
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 13:22:08
#230 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
wawa 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 13:36:54
#231 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6162
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 03:07 PM.
Last edited by wawa on 15-Jul-2018 at 03:06 PM.
Last edited by wawa on 15-Jul-2018 at 01:39 PM.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 15-Jul-2018 14:20:10
#232 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 16-Jul-2018 9:51:04
#233 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
virgolamobile 
Re: sam460 emulated in qemu
Posted on 17-Jul-2018 22:41:42
#234 ]
Regular Member
Joined: 23-Feb-2004
Posts: 170
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 10:42 PM.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 17-Jul-2018 23:01:14
#235 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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 08:54 AM.
Last edited by tlosm on 18-Jul-2018 at 08: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
Profile     Report this post  
virgolamobile 
Re: sam460 emulated in qemu
Posted on 18-Jul-2018 13:18:36
#236 ]
Regular Member
Joined: 23-Feb-2004
Posts: 170
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 01:19 PM.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 18-Jul-2018 14:15:47
#237 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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 02: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
Profile     Report this post  
mulder77 
Re: sam460 emulated in qemu
Posted on 18-Jul-2018 17: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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 18-Jul-2018 17:36:14
#239 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 18-Jul-2018 18:04:13
#240 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2648
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
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle