Click Here
home features news forums classifieds faqs links search
5688 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
59 crawler(s) on-line.
 22 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 trixster:  5 mins ago
 BigD:  6 mins ago
 Rob:  10 mins ago
 billt:  11 mins ago
 BSzili:  12 mins ago
 Trixie:  16 mins ago
 kas1e:  17 mins ago
 mr2:  20 mins ago
 Frank:  23 mins ago
 Eric_S:  36 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
mulder77 
Re: sam460 emulated in qemu
Posted on 16-Jun-2018 22:22:29
#121 ]
Member
Joined: 15-Aug-2011
Posts: 10
From: Unknown

@miggymac

Can you paste the command line options how you've started the Kickstart?
I get a crash before that.
Just curious to see.

 Status: Offline
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 17-Jun-2018 7:11:51
#122 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9010
From: Unknown

@tlosm

Im not sure, but OS4 for SAM460 may not contain CLGD5446 driver.

 Status: Offline
Profile     Report this post  
pavlor 
Re: sam460 emulated in qemu
Posted on 17-Jun-2018 7:12:12
#123 ]
Elite Member
Joined: 10-Jul-2005
Posts: 9010
From: Unknown

@mulder77

Welcome!

 Status: Offline
Profile     Report this post  
Fl@sh 
Re: sam460 emulated in qemu
Posted on 17-Jun-2018 17:55:33
#124 ]
Regular Member
Joined: 6-Oct-2004
Posts: 124
From: Napoli - Italy

..Any news about OS4 compatibility under sam460 emulation?
Does we have to wait for a next release?

 Status: Offline
Profile     Report this post  
Trekiej 
Re: sam460 emulated in qemu
Posted on 17-Jun-2018 23:09:31
#125 ]
Cult Member
Joined: 17-Oct-2006
Posts: 700
From: Unknown

Getting closer.

_________________
John 3:16

 Status: Offline
Profile     Report this post  
wawa 
Re: sam460 emulated in qemu
Posted on 18-Jun-2018 8:05:00
#126 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6187
From: Unknown

i dont know about os4 but aros (ppc) is working on qemu pretty well ba now. im using it almost every day to cross check big endian software. the performance doesnt seem very high though. perhaps there is some sort of jit somewhere i didnt care for, because i need it only for testing.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 18-Jun-2018 11:20:50
#127 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

this is the today pull with many Zoltan improvements.
I dint have test it yet. will write after work the config line for make user test with os4



git://github.com/dgibson/qemu.git tags/ppc-for-3.0-20180612

Last edited by tlosm on 18-Jun-2018 at 11:21 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  
Fl@sh 
Re: sam460 emulated in qemu
Posted on 18-Jun-2018 18:57:41
#128 ]
Regular Member
Joined: 6-Oct-2004
Posts: 124
From: Napoli - Italy

@tlosm

Good news, I'll wait about your config line.
I'd like to use it with powermac g5 11.2, a quad core powerpc g5 beast renewed for os4.
Could you compile a special version for powermac?

 Status: Offline
Profile     Report this post  
mulder77 
Re: sam460 emulated in qemu
Posted on 19-Jun-2018 7:38:58
#129 ]
Member
Joined: 15-Aug-2011
Posts: 10
From: Unknown

Oh, quite interesting. Didn't think about this.
So there is no CPU emulation involved if qemu is executed on a G4 Mac mini (Linux)?
That would eliminate a huge bottleneck, I guess.

I compiled from the given repository, but OS4.1 still crashes when Kickstart has been loaded.
So I'd be interested in the options, too.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 19-Jun-2018 9:56:04
#130 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

@mulder77

The linux kernel for now make difference from kvm in Book3e (Sam,x5000,601) and book3s (603,604.G4,G5,Power).
All powerpc cpu are full compatible in instruction set .
Example on my G5 i have my old ssd with linux 16.04 full working that was installed on my x5000.

Pratically now you cant run kvm virtualized sam 460 on Mini or G5 because the kvm kernel limit.

Hope my english is understandable :P


PS: zoltan today make new updateds on sources

Last edited by tlosm on 19-Jun-2018 at 09:56 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  
mulder77 
Re: sam460 emulated in qemu
Posted on 19-Jun-2018 12:49:16
#131 ]
Member
Joined: 15-Aug-2011
Posts: 10
From: Unknown

@tlosm

Not sure, if I got it right.
Does it mean, even on G4 Macs the CPU must be emulated, if the Sam460 is emulated?

If you can share your knowledge how you proceeded further with the boot process, that'd be highly appreciated.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 6:44:34
#132 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

@mulder77

exactly it have to be emulated and not virtualized because the kvm limitations. i repeat the cpus are 100% compatible.

@All
for the command line, please wait a little bit because in Zolatan have included the cirrus pci compatibility in Qemu Sam and many many new updates and fix and will probably included in next git pull and is better for me test before share.



_________________
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  
Fl@sh 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 6:53:48
#133 ]
Regular Member
Joined: 6-Oct-2004
Posts: 124
From: Napoli - Italy

@tlosm

Is there any possibility to enable kvm on powermacs?
How much we have to wait for a next version with OS4 gfx card compatibility?

 Status: Offline
Profile     Report this post  
mulder77 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 7:51:50
#134 ]
Member
Joined: 15-Aug-2011
Posts: 10
From: Unknown

@tlosm

Thanks for the info. The work is much appreciated.
Will be interesting to see how well the CPU emulation on a current x86_64 CPU will be.
In WinUAE, OS4 via qemu-plugin is ok, so I very interested to see how a Sam460 will be like.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 9:01:57
#135 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

@Fl@sh

about kvm on powermac for now is not possible because the kvm limitations that i had wrote on prw post.
On X86_64 for my test on Threadripper the Qemu perfrom really really well on Integer it is poor on FPU and GFX performances because only 2D.

About the GFX qemu-ppc on X86_64 can do the vfio pci-stub it mean, if some one have a PC with pci slot and a pci gpu amigaos compatible, probably will have this gpu as native on Qemu Sam460.

On old PPC host the vfio dont work for now,sorry, probably in future kernel implamentations? who know..


_________________
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 20-Jun-2018 10:24:54
#136 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6187
From: Unknown

@tlosm

you testing with linux, right? cant tell for sure because i dont know what benchmarks to use, but aros ppc in qemu under a vm on an i5 or i7 boots slow, seems speedwise alright but when it comes to heavy apps, perhaps with fpu involvement, im not srertain, gets pretty sluggish.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 11:00:19
#137 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

@wawa

Yes im using linux

My speed comment is not about qemu-Sam460 that is in middle stage many things need to be improved . my overall speed testing on Qemu is with the MacOsX tiger (g3beige) with GeekBench and with e5500 (x5000 ppce500) with hw monitor and dnetc. I know Sam 460 qemu need improvements but Zoltan is working harder . im sure in future everything will be much better in Sam 460 emulation.

Last edited by tlosm on 20-Jun-2018 at 11:02 AM.
Last edited by tlosm on 20-Jun-2018 at 11:01 AM.
Last edited by tlosm on 20-Jun-2018 at 11:01 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  
wawa 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 11:41:48
#138 ]
Elite Member
Joined: 21-Jan-2008
Posts: 6187
From: Unknown

@tlosm

im not sure zoltan can improve cpu emulation. it is as it is i guess, and im talking about pure number crunching, not responsivity of the gui or things like that. i fear on x86(_64) emulated single core performence of a ppc remains and will probably stay in the area of an emulated m68k (respectively with or without jit).

btw, en course compiling odyssey for ppc, some peculiarities of ammc440/460 cpus came to light. they dont affect most of usual code but usually c++ multithreaded (as far as im able to tell). concretely the cpu doenst know lwsync insn and the code needs to be sompiled without it or the system needs to emulate it with sync after its been cought in an exception. which is both ways performance issue in comparison to other ppc cpus executing the same code.

it isnt probably a crucial issue, so far only this was a prroblem, but it may indicate that emulating a higher class ppc cpu, perhaps even an g4 and using an apropriate version of system in that emulated environment might be a more performent option. unfortunatelly for os4 it would require writing an amigaone emulation instead of sam440 i assume.

Last edited by wawa on 20-Jun-2018 at 12:12 PM.
Last edited by wawa on 20-Jun-2018 at 12:11 PM.
Last edited by wawa on 20-Jun-2018 at 12:03 PM.

 Status: Offline
Profile     Report this post  
jabirulo 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 12:56:26
#139 ]
Regular Member
Joined: 20-Jun-2004
Posts: 330
From: Donosti (GUIPUZCOA)

@tlosm

Hi, do you know ho to use/enable the virtual GFX/PCI redirection? Or a web page that shows an example.
I dl'ed (2018.06.15) and build qemu under Linux ubuntu on a X86 machine, but seems sm502 gfx isn't complete emulated, so it doen't go into Workbench, just stays on AmigaOS bootlogo (aros sam440ppc works/loads, but only has 640x480 resolution).

The Linux box is a Q8300 (IIRC) with an ATI X1600/X1550 PCIe pluged.
TIA

Last edited by jabirulo on 20-Jun-2018 at 12:57 PM.

 Status: Offline
Profile     Report this post  
tlosm 
Re: sam460 emulated in qemu
Posted on 20-Jun-2018 14:11:08
#140 ]
Elite Member
Joined: 28-Jul-2012
Posts: 2655
From: Amiga land

@jabirulo

redirection for qemu-ppc is working only on pci hw and not on pcie.
in any way you can read about vfio and pci-stub here

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

or here

https://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

but there are many website about

_________________
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