Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
80 user(s) are online (62 user(s) are browsing Forums)

Members: 0
Guests: 80

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2)
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@Mlehto
Quote:
Afaik sm501 part on qemu doesnt emulate chip completely, nor I dont know how complete is sm502 driver on amiga or what are hw and amigaos limitations, if any. Lot of moving parts.

QEMU does not emulate the sound part and some other parts but those are probably unused by AmigaOS. It should emulate most what is needed for graphics. One limitation that comes from AmigaOS that it is limited to 16 bit depth with SM502 even on real machines. The chip itself can do 32 bit and it's emulated (works with MorphOS on QEMU too) but AmigaOS can't use that so that's not a QEMU issue. This was discussed long ago and took a while to understand it.

Go to top
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@balaton
If I remember correctly, @MartinW wanted to buy this driver when he was testing the vfio-pci GPU.
It is only available on x1000, x5000 and sam460.
https://amigakit.amiga.store/radeonhd-driver-version-p-1107.html

During the discussion, it was mentioned that it would not work on QEMU PEG2.
Perhaps it has some kind of detection for the machine it is running on, or some optimisations specific to the machines on which it can be used.

The RX card should work on a real AmigaOne with the new driver version. It has not been released publicly.
There was also a thread on this topic. When I find these two topics, I will add links to this message.

Go to top
Re: Emotion - Does it work under QEMU?
Just popping in
Just popping in


See User information
@smarkusgQuote:
smarkusg wrote:@balaton

The RX card should work on a real AmigaOne with the new driver version. It has not been released publicly.
There was also a thread on this topic. When I find these two topics, I will add links to this message.


Plese do, if you find them.

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Emotion - Does it work under QEMU?
Just popping in
Just popping in


See User information
@n3m3

Youre welcome :)

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Emotion - Does it work under QEMU?
Just popping in
Just popping in


See User information
@balaton

Does qemu emulate sm 502 2d accell ? Yes, it is unused by amiga side (afaik)

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@Mlehto
Quote:
Does qemu emulate sm 502 2d accell ? Yes, it is unused by amiga side (afaik)

It does emulate 2D and I think at least MorphOS uses it but I don't know if AmigaOS does or if it helps. You could find out by running QEMU with -trace enable="sm501_2d*" and see if it pokes those registers. Also see "qemu-system-ppc -device sm501,help" which has a property: "x-pixman= - Use pixman for: 1: fill, 2: blit, 4: overlap blit (default: 7)". For blits and fills QEMU can either use pixman if available or a fall-back if that fails. On macOS ARM it likely always uses fallback so this does nothing, I don't know about Windows but if it has pixman and on Linux this property can control when to use pixman or fall-back to simple copy. Depending on unknown factors one or the other may be faster so if you're into tweaking things and looking for highest graphics scores in 2DBench then you could try these options. If you do and report here back also include info on what hardware and host OS what settings worked, just reporting benchmark scores without info on what host and what settings were used does not help.

Go to top
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@smarkusg
Quote:
If I remember correctly, @MartinW wanted to buy this driver when he was testing the vfio-pci GPU.
It is only available on x1000, x5000 and sam460.
https://amigakit.amiga.store/radeonhd-driver-version-p-1107.html

During the discussion, it was mentioned that it would not work on QEMU PEG2.
Perhaps it has some kind of detection for the machine it is running on, or some optimisations specific to the machines on which it can be used.

I think these machines have a DMA engine while amigaone and pegasos2 don't but I don't know if that has anything to do with this (maybe Hans can advise). It may also be a marketing decision so they only sell it for A-Eon machines or only sold for these machines because these have PCIe ports and PCI to PCIe bridges did not work so you could not use it on PCI only machines. This last one is the most likely in my opinion but who knows.

Quote:
The RX card should work on a real AmigaOne with the new driver version. It has not been released publicly.
There was also a thread on this topic. When I find these two topics, I will add links to this message.

I don't remember this. I have no RX driver nor card to test so I did not follow it. I have older cards but no time to test them so I don't know much about those either. But did you test RX cards and confirmed they don't work with the available driver in Enhancer Software? What was the issue with it?

Go to top
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@balaton
AmigaOne. The problem is an “infinite loop” in the current drivers.

The AmigaOne RadeonRX topic is here:
https://www.amigans.net/modules/newbb/ ... id=154768#forumpost154768

I checked Radeon RX and Pegasos2, it works very slowly.
https://www.amigans.net/modules/newbb/ ... id=154606#forumpost154606

With the Radeon RX topic, we have to wait for the new kernel for Pegasos2 and drivers.
@kas1e has a real Pegasos2 with Radeon RX, a new kernel and drivers, and it works for him.
If something doesn't work with the new kernel and drivers in QEMU , then can redo the tests.

Go to top
Re: Emotion - Does it work under QEMU?
Just popping in
Just popping in


See User information
@n3m3

So, tested today on basic pegasos2 G4

Emotion - audio stutters, frame skipping
tested with https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8

Videovortex - works well

DVplayer with dvd movie. Could be old and not hd, works well.
Registered old version 0.7 something


On qemu

Emotion - works as on real pegasos. No much difference

Videovortex - aiduo stuttering, frame skipping

DVPlayer , black screen no video. Audio is perfect! :D
DVpalyer demoversion. Version number is same if i remember correctly.

Emotion doesnt work without HD/RX card. Not clear if va.library works with R9 270/280. Probably not. Emotion has tooltype VaapiAccel so with some car on some motherboard it works.

Here is my qemu script. It may be somehow helpful as syntax is changed. Had some troubles to get it right. -accel tcg,thread=multi actually helps, it takes away sluggishness on normal wb use.It takes something away from tcg, even with single cpu emu.

qemu-system-ppc \
-machine pegasos2 -m 1024 -rtc base=localtime \
-accel tcg,thread=multi \
-serial stdio -vga none -device sm501 \
-drive media=disk,format=raw,file=/home/miikka/amiga/hd0.img \
-cdrom /home/miikka/amiga/1montalbano.iso \
-kernel /home/miikka/amiga/bboot \
-initrd /home/miikka/amiga/Kickstart.zip \
-append "serial debuglevel=7" \
-netdev user,id=n0,ipv6=off,hostname=amigaos,hostfwd=tcp::2022-:22 \
-device rtl8139,addr=0x0a,netdev=n0,mac=52:54:00:12:34:56 \
-audio driver=alsa -device es1370 \
-no-reboot -d guest_errors -D qemu.log


White flag for this day...

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top
Re: Emotion - Does it work under QEMU?
Quite a regular
Quite a regular


See User information
@n3m3
@Mlehto

Try using mplayer for software rendering (sm502*) and Videovortex; it's faster than Emotion in this mode.
https://os4depot.net/share/video/play/mplayer.lha

@Maijestro even did a comparison test once (I can't find it on his YouTube channel right now).
e.g.:
https://www.youtube.com/watch?v=l2J357q-D64

It works better with QEMU than Emotion and has many options for configuration and adaptation.
It even has a special sdl1 video output to work on qemu peg2 G4.

Go to top
Re: Emotion - Does it work under QEMU?
Just popping in
Just popping in


See User information
@smarkusg

Thanks have to try.

On my laptop it probably needs paradigma level change to faster cpu :D

Peg2 1GHz G4, 1Gb mem, Radeon 9250
Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project