Poster | Thread |
jabirulo
|  |
Re: sam460 emulated in qemu Posted on 29-Jun-2018 16:39:45
| | [ #161 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @wawa
Yes, AROS loads fine, but as you say it only offers 640x480 resolution, maybe is a plain ¿VESA? mode or whaterver "trick"/default mode AROS uses. |
|
Status: Offline |
|
|
billt
|  |
Re: sam460 emulated in qemu Posted on 29-Jun-2018 20:14:40
| | [ #162 ] |
|
|
 |
Elite Member  |
Joined: 24-Oct-2003 Posts: 3205
From: Maryland, USA | | |
|
| @jabirulo
How does one make a new gfx driver for AROS? Such as a new, Qemu/Vmware "SVGA card" driver? _________________ All glory to the Hypnotoad! |
|
Status: Offline |
|
|
jabirulo
|  |
Re: sam460 emulated in qemu Posted on 30-Jun-2018 10:11:13
| | [ #163 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @billt
Sorry, no frigging idea ¿
maybe look at AROS monitor driver sources. |
|
Status: Offline |
|
|
wawa
|  |
Re: sam460 emulated in qemu Posted on 30-Jun-2018 11:25:00
| | [ #164 ] |
|
|
 |
Elite Member  |
Joined: 21-Jan-2008 Posts: 6259
From: Unknown | | |
|
| @jabirulo
Thats what id think. There should be some templates presumably under hidds. however m68k has a wrapper that accepts Picasso drivers. Perhaps it could be implemented for ppc.
Last edited by wawa on 30-Jun-2018 at 11:34 AM.
|
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 7:41:55
| | [ #165 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @wawa next pull will include the cirrus for sam460 emulation for bypass the issue with sm502. i see Sebastian Bauer is helping Zoltan. Plus the qemu team is working for have better fpu emulation in ppc.
Last edited by tlosm on 01-Jul-2018 at 07:47 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 |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 8:07:34
| | [ #166 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| @tlosm
Quote:
Plus the qemu team is working for have better fpu emulation in ppc. |
Really good news! |
|
Status: Offline |
|
|
jabirulo
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 8:35:13
| | [ #167 ] |
|
|
 |
Regular Member  |
Joined: 20-Jun-2004 Posts: 370
From: Donosti (GUIPUZCOA) | | |
|
| @tlosm
Cirrus GFX? That maybe measn PicassoIV gfx support, but AFAIK sam460 (AmigaNG) doesn't support such gfx card, only in AmigaClassic PPC (A4000) and maybe is "tied" to such hardware.
AmigaNG only supports: ATI Radeon, Voodoo and sm502 (and maybe Permedia2).
Too hard to implement "basic" Voodoo3 gfx?
Anyway keep the good work Zoltan & S.Bauer!!!! Last edited by jabirulo on 01-Jul-2018 at 08:35 AM.
|
|
Status: Offline |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 11:15:30
| | [ #168 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| @jabirulo
There is no reason 68k CL driver wouldn´t work. |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 11:55:21
| | [ #169 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @pavlor
probably it will work we will see
just see now the email from Zoltan:
QEMU originally emulated a Cirrus Logic 54xx GPU and still has this although the default has changed to std vga a long time ago for PC emulation:
https://www.kraxel.org/blog/2014/10/qemu-using-cirrus-considered-harmful/
The CLGD 54xx chips were also used on the Picasso Amiga graphics cards and AmigaOS4 for example has drivers for it. According to Sebastian Bauer it may work better on AmigaOS than the SM502 currently so he submitted a patch to add this cirrus vga to PPC emulation:
http://patchwork.ozlabs.org/patch/931209/
The patch is not yet in master but likely will get in with the next pull.
However the Sam460 boot CD does not include the CLGD driver and the normal CLGD driver for classic Amiga gfx cards may not work with QEMU cirrus vga without some changes so maybe this is only useful for Sebastian at the moment who has a driver for it. Also this has the same problem as the vmware vga that you won't see U-Boot screen or would have two screens so I still think it does not worth trying to implement a driver for CLGD in AROS if it does not already have one. Here's the Linux driver for this card:
https://lwn.net/Articles/495642/
The author notes it's not a good GPU. (It was OK 25 years ago but times have changed.)
SM501/SM502 emulation could be improved to get to the same level as CLGD with the advantage that it works on all OSes and U-Boot firmware but for games and 3D neither of sm502/CLGD/vmware would likely be sufficient so for that I'd rather experiment with pass-through of real graphics card or looking at guest side driver for virtio-vga (but that's only for AROS as AmigaOS and MorphOS does not provide driver APIs so support for virtio-vga depends on the vendors of those OSes).
Hope this clears this up. I'm also preparing a page to collect all info about running Amiga like OSes on QEMU that I'll announce later where I hope to have everything at one place to help people understand what's the current status.
Regards, BALATON Zoltan Last edited by tlosm on 01-Jul-2018 at 12:02 PM. Last edited by tlosm on 01-Jul-2018 at 11:57 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 |
|
|
pavlor
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 12:06:51
| | [ #170 ] |
|
|
 |
Elite Member  |
Joined: 10-Jul-2005 Posts: 9660
From: Unknown | | |
|
| @tlosm
Note main QEMU branch of CLGD5446 GPU probably has no patches/improvements did by T. Willen for WinUAE. |
|
Status: Offline |
|
|
NutsAboutAmiga
|  |
Re: sam460 emulated in qemu Posted on 1-Jul-2018 12:12:25
| | [ #171 ] |
|
|
 |
Elite Member  |
Joined: 9-Jun-2004 Posts: 12960
From: Norway | | |
|
| |
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 3-Jul-2018 8:11:00
| | [ #172 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| New Pull
git://github.com/dgibson/qemu.git tags/ppc-for-3.0-20180703
Higlights are: * Mac platform improvements from Mark Cave-Ayland * Sam460ex improvements from BALATON Zoltan et al. * XICS interrupt handler cleanups from Cédric Le Goater * TCG improvements for atomic loads and stores from Richard Henderson * Assorted other bugfixes
BALATON Zoltan (5): ppc4xx_i2c: Rewrite to model hardware more closely hw/timer: Add basic M41T80 emulation sam460ex: Add RTC device ppc440_uc: Basic emulation of PPC440 DMA controller target/ppc: Relax reserved bitmask of indexed store instructions
Guenter Roeck (1): sam460ex: Fix sam460ex device tree when booting the Linux kernel
Sebastian Bauer (1): ppc: Include vga cirrus card into the compiling process
Last edited by tlosm on 03-Jul-2018 at 08:14 AM. Last edited by tlosm on 03-Jul-2018 at 08:12 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 |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 4-Jul-2018 5:28:46
| | [ #173 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| from Zoltan, info instructions and help. thanks for his time 
http://zero.eik.bme.hu/~balaton/qemu/amiga/ _________________ 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 |
|
|
davebraco
 |  |
Re: sam460 emulated in qemu Posted on 4-Jul-2018 10:16:41
| | [ #174 ] |
|
|
 |
Regular Member  |
Joined: 3-Jan-2005 Posts: 134
From: Belgium | | |
|
| @tlosm
Why can't we virtually plug a radeon 9250 or any OS4 compatible in qemu? Instead of Sm502 or cirrus etc. _________________ A1200PPC / Sam440ep / Sam460ex / X1000 / X5000 OS4.1 |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 4-Jul-2018 12:55:49
| | [ #175 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @davebraco
no one say no... just test
Quote:
Probably a lot of things depending on time and expertise available (both of which may be limited if only one person is working on this). Apart from profiling and trying to identify and eliminate bottlenecks (as already mentioned above) I think the interesting possibilities are: experimenting with KVM on PPC hardware, trying pass-through of physical devices to virtual machine (e.g. using a Radeon GPU for graphics) and support paravirtualisation (virtio drivers) on guest OSes that could help disk and network speed or using QEMU's virtio-gpu to support 3D acceleration |
_________________ 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 |
|
|
Leo
|  |
Re: sam460 emulated in qemu Posted on 4-Jul-2018 21:14:34
| | [ #176 ] |
|
|
 |
Super Member  |
Joined: 21-Aug-2003 Posts: 1597
From: Unknown | | |
|
| Qemu now boots MorphOS, nice!
Too bad it doesn't support network it seems.
 Last edited by Leo on 04-Jul-2018 at 09:16 PM.
_________________ http://www.warpdesign.fr/ |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 5-Jul-2018 5:12:34
| | [ #177 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @Leo
did you try to add an extra vdevice device like are realtek or e1000? _________________ 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 |
|
|
kamelito
|  |
Re: sam460 emulated in qemu Posted on 5-Jul-2018 5:33:05
| | [ #178 ] |
|
|
 |
Cult Member  |
Joined: 26-Jul-2004 Posts: 836
From: Unknown | | |
|
| @Leo
nice but I thought that it was forbidden by the Morphos licence. |
|
Status: Offline |
|
|
kamelito
|  |
Re: sam460 emulated in qemu Posted on 5-Jul-2018 5:36:55
| | [ #179 ] |
|
|
 |
Cult Member  |
Joined: 26-Jul-2004 Posts: 836
From: Unknown | | |
|
| @tlosm
how fast is running AmigaOS 4.x compared to winUAE? |
|
Status: Offline |
|
|
tlosm
|  |
Re: sam460 emulated in qemu Posted on 5-Jul-2018 6:45:03
| | [ #180 ] |
|
|
 |
Elite Member  |
Joined: 28-Jul-2012 Posts: 2755
From: Amiga land | | |
|
| @kamelit0
I dont know i didnt have time to test last git. if some one did it please reply. _________________ 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 |
|
|