Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
18 user(s) are online (10 user(s) are browsing Forums)

Members: 0
Guests: 18

more...

Support us!

Headlines

 
  Register To Post  

« 1 2 3 4 (5)
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
You can try same command with '-device vfio-pci,host=05:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=05:00.1,bus=pci.0 -device bochs-display,romfile=""' part replaced with '-device sm501' then try with and without sudo and see if sound works or not. If it does not work with sudo then that's the problem and has nothing to do with vfio.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton

You're right I tried with the CD with Silicon
the audio is not heard if I use ( sudo )
while instead the audio is heard if I do NOT use ( sudo )

How can I understand what is happening ?


if I don't use ( SUDO ) it gives me permission denied:

qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -drive media=disk,format=raw,file=/home/white/Scaricati/Radeon/1ONE-32gb.raw -vga none -device vfio-pci,host=05:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=05:00.1,bus=pci.0 -device bochs-display,romfile=""
qemu-system-ppc: -device vfio-pci,host=05:00.0,bus=pci.0,x-vga=on,multifunction=on: vfio 0000:05:00.0:

Could not open '/dev/vfio/15': Permission denied

i only use sudo when i compile qemu

sudo make install -j16

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
I'm not trying to explain, it would take too long. In short, sudo means run as root user. The root user is normally allowed to do everything but maybe not always. Your Linux distro has security settings to only allow connections to your X session as the user who is logged in so other users cannot connect to the sound server. To solve it probably the simplest is to use the passed through audio function of the Radeon card (the -device vfio-pci,host=05:00.1 part in your command) then set in AmigaOS to use HDMI output and then it should go where the picture goes so on the TV or monitor where the Radeon is connected. At least assuming that HDMI output works on AmigaOS and also works with this setup which is untested. If that does not work you can try using different audio backends in QEMU but that's harder to explain.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton

the option in the kernel is like this now
amd_iommu=on iommu=pt

I read that you can also do
amd_iommu=on iommu=soft

what is it for ?

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
No idea but there's a documentation link at kernel.org then look for Administration, kernel boot parameters or something like that, all of these are documented there. (In any case won't help sound problems.)

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton

ok now I'll read a little

[white@qemu-amiga ~]$ ls -l /dev/vfio
totale 0
crw------- 1 root root 242, 0 25 apr 23.58 15
drwxr-xr-x 2 root root 80 25 apr 23.58 devices
crw-rw-rw- 1 root root 10, 196 25 apr 23.58 vfio

What do you see when you close your eyes ?
I see light, lots of light
I see you, dad
And I see mommy too
And I see me and we are together
And we play forever.
Go to top

  Register To Post
« 1 2 3 4 (5)

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project