Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
26 user(s) are online (20 user(s) are browsing Forums)

Members: 0
Guests: 26

more...

Support us!

Headlines

 
  Register To Post  

« 1 ... 5 6 7 (8) 9 10 »
Re: QEMU GPU-PCIe AmigaONE
Just can't stay away
Just can't stay away


See User information
@Balaton
@All

I have the backup so I can make a mistake and start over.
But the suggestion doesn't work at least for me.
Ubuntu 25.04 but like Arch they use ( pipewire )
It's not a problem I do the best I can.

sudo apt install pulseaudio pulseaudio-module-bluetooth gstreamer1.0-pulseaudio
systemctl --user stop pipewire.socket pipewire-pulse.socket
systemctl --user disable pipewire.socket pipewire-pulse.socket
systemctl --user mask pipewire.socket pipewire-pulse.socket
systemctl --user enable pulseaudio.service pulseaudio.socket
systemctl --user start pulseaudio.service pulseaudio.socket

Ok after reboot

sudo -s
pulseaudio -D ( doesn't work )
instead:
pulseaudio --system
it works but there's something wrong I think you need to configure something with pulseaudio.

with SUDO vlc does not start at all not that you can't hear the audio it doesn't start at all

link:
https://it.linuxadictos.com/soluzione- ... -e-pulseaudio-main-c.html

even following this,
However it doesn't work anyway.

I think it would be ideal to create a small tutorial on this audio problem.
Or something that solves this thing.

VFio seems solved
I use Ubuntu 25.04 I also used Arch the problem is always the same.

I have a clean configuration also because I only use it to emulate AmigaOS.
So I don't install strange things.

The question is can't this thing be solved all together.
or whoever did it should explain it to others.

The guide by @falke34 works and is fine.

But I think he hasn't encountered audio problems otherwise he would have written it in the tutorial he wrote.

Apart from this all the steps done with any distribution I have used lead to the same problem with SUDO the audio is not heard.

Someone who explains to everyone the steps to not use SUDO which in the end is the audio that does not work not the real GPU.

Thanks.

note:
One doubt could be the use of two GPUs 4060rtx and R9 280x at the same time.

But from what I read there are other people who use two GPUs on PCIe not integrated.

link pipewire and qemu It can be useful ?

https://archive.fosdem.org/2024/events ... BackendInQEMU_Dl33abI.pdf


but the basic problem remains how to pass the GPU without using SUDO ?


Edited by white on 2025/5/12 0:21:04
Edited by white on 2025/5/12 0:46:41
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
Quote:
sudo apt install pulseaudio pulseaudio-module-bluetooth gstreamer1.0-pulseaudio
systemctl --user stop pipewire.socket pipewire-pulse.socket
systemctl --user disable pipewire.socket pipewire-pulse.socket
systemctl --user mask pipewire.socket pipewire-pulse.socket

Stop here and do not start pulseaudio (or stop it if it's running) then add -audio alsa,id=audio0,out.try-poll=off option to QEMU command and see if that works.

Quote:
I think it would be ideal to create a small tutorial on this audio problem.
Or something that solves this thing.

Yes do that if you find a solution. We can't write a tutorial on a problem we've never encountered.

Quote:
The guide by @falke34 works and is fine.

But I think he hasn't encountered audio problems otherwise he would have written it in the tutorial he wrote.

Exactly and others who did this either did not have this problem or gave up before even trying sound.

Quote:
One doubt could be the use of two GPUs 4060rtx and R9 280x at the same time.

But from what I read there are other people who use two GPUs on PCIe not integrated.

This should not be a problem as GPUs don't influence sound. If it works on the host under normal user and only not under root then it's a problem connecting to the sound server not with hardware. The picture on slide 3 in the presentation you linked shows the setup (just ignore everything within QEMU box where you would have AmigaOS instead of Linux) the QEMU app connects to the sound server on the machine or directly to alsa if using that option. But if the sound server overrides alsa you can't use it and depending on how it accepts connections root may not have the info to connect to it. You could try just uninstalling all pipewire and pulseaudio and just use plain alsa which should work under any user.

Quote:
but the basic problem remains how to pass the GPU without using SUDO ?

I have answered that already and there are guides you can look up (that's where I also found out from) but it's hard to explain if you're missing details.

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


See User information
which audio chipset was used for testing

Thanks

on my motherboard i have a :
Realtek S1200A

I also report this article written by @dorindabassey

one of the people who worked on qemu 8.1 with the pipewire audio

https://medium.com/@dorindabassey/pipe ... ckend-in-qemu-be014359475

audio/pwaudio.c: Add Pipewire audio backend for QEMU .

https://gitlab.com/qemu-project/qemu/- ... a0e62d3ecca09837fc23ba4b3


note:
I think maybe a way to go is virt-manager to overcome the GPU obstacle without SUDO
and creating the code for Virt-Manager should not be difficult.

Also because even if I solve the audio
I can not access the GPU.


Edited by white on 2025/5/12 14:02:50
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
It does not matter, your problem is not related to host hardware, QEMU or AmigaOS, only your host Linux setup.

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


See User information
@Balaton

mine is only a constructive speech I absolutely do not intend to make criticisms.

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
Just can't stay away
Just can't stay away


See User information
@Balaton

this should not be necessary with Ubuntu 25.04 since the iso I download is the same as the one others use.

I follow your advice and I do it willingly.

But I do not do anything special to complicate things
Standard qemu installation compiled to the latest version and everything else without wrong steps is working including the GPU.

Now I did:
systemctl --user stop pipewire.socket pipewire-pulse.socket
systemctl --user disable pipewire.socket pipewire-pulse.socket
systemctl --user mask pipewire.socket pipewire-pulse.socket

sudo apt-get install alsa-base alsa-utils alsamixergui

alsactl init

result:

Found hardware: "HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,19da1726,00100100" "0x19da" "0x1726"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Realtek ALCS1200A" "HDA:10ec0b00,10438797,00100001" "0x1043" "0x8797"
Hardware is initialized using a generic method

step 2:

sudo qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -vga none -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=06:00.1,bus=pci.0 -device bochs-display,romfile="" -cdrom /home/white/Scaricati/Radeon/AmigaONE-CD-RADEON/AmigaOneInstallCD-53.54.iso -audio alsa,id=audio0,out.try-poll=off

result:
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: L'host non è attivo
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: L'host non è attivo
audio: Could not create a backend for voice `via-ac97.out'

without SUDO:

qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -vga none -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=06:00.1,bus=pci.0 -device bochs-display,romfile="" -cdrom /home/white/Scaricati/Radeon/AmigaONE-CD-RADEON/AmigaOneInstallCD-53.54.iso -audio alsa,id=audio0,out.try-poll=off
qemu-system-ppc: -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on: vfio 0000:06:00.0:

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

sudo gedit /etc/modprobe.d/alsa-base.conf

Result my config alsa-base.conf :

# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

-----------------------------
Is there anything I can change to make it work in:

/etc/modprobe.d/alsa-base.conf

Thanks.

@Balaton

from what I read the values ​​​​should be 0 instead of 2
this should also apply to USB-AUDIO devices if I wanted to disable the integrated Audio Chipset from the BIOS

But I await your further advice.


Edited by white on 2025/5/12 16:50:10
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
Just can't stay away
Just can't stay away


See User information
@Balaton

Rebooting the system
Now the audio is completely gone there is no active device on Ubuntu 25.04
In the BIOS the audio chipset is still active.
Maybe I'm on the right track if I configure

/etc/modprobe.d/alsa-base.conf

or it's all completely wrong.
-----------------------------------------------

lspci -k :

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
Subsystem: ASUSTeK Computer Inc. Device 8808
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Starship/Matisse IOMMU
Subsystem: ASUSTeK Computer Inc. Device 8808
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
Subsystem: ASUSTeK Computer Inc. Device 8808
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
DeviceName: Onboard IGD
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
Subsystem: ASUSTeK Computer Inc. Device 8808
Kernel driver in use: pcieport
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
Subsystem: ASUSTeK Computer Inc. Device 8808
Kernel driver in use: pcieport
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
Subsystem: ASUSTeK Computer Inc. Device 8808
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
Subsystem: ASUSTeK Computer Inc. Device 87c0
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 87c0
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller
Subsystem: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
Kernel driver in use: xhci_hcd
01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
Kernel driver in use: ahci
Kernel modules: ahci
01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
Subsystem: ASMedia Technology Inc. Device 0201
Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
Subsystem: ASMedia Technology Inc. Device 3308
Kernel driver in use: pcieport
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
Subsystem: ASMedia Technology Inc. Device 3308
Kernel driver in use: pcieport
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
Subsystem: ASMedia Technology Inc. Device 3308
Kernel driver in use: pcieport
03:00.0 VGA compatible controller: NVIDIA Corporation AD107 [GeForce RTX 4060] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1726
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
03:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. Device 1726
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 87d7
Kernel driver in use: r8169
Kernel modules: r8169
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
Subsystem: PC Partner Limited / Sapphire Technology Device 3001
Kernel driver in use: vfio-pci
Kernel modules: radeon, amdgpu
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970]
Subsystem: PC Partner Limited / Sapphire Technology Device aaa0
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
Subsystem: ASUSTeK Computer Inc. Device 8808
08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
Subsystem: ASUSTeK Computer Inc. Device 8808
08:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
Subsystem: ASUSTeK Computer Inc. Device 8808
Kernel driver in use: ccp
Kernel modules: ccp
08:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
Subsystem: ASUSTeK Computer Inc. Device 87c0
Kernel driver in use: xhci_hcd
08:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 8797
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
white@emulazione:~$

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
Just can't stay away
Just can't stay away


See User information
I'm starting to think that pipewire is the right choice, the problem I guess is the audio chipset peripheral on the motherboard

Device 0:

"HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,19da1726,00100100" "0x19da" "0x1726"

Device 1:

"HDA-Intel" "Realtek ALCS1200A" "HDA:10ec0b00,10438797,00100001" "0x1043" "0x8797"

now the device on number 1
with alsamixer ( F6 )
and then sudo alsamixer store
it seems not to keep its settings.

while instead when I open alsamixer it opens device 0 which would be HDMI of the Geforce 4060

what is the pipewire configuration file to edit it by hand and change it to 1


alsamixer -c 1

opens directly
Device 1:
"HDA-Intel" "Realtek ALCS1200A" "HDA:10ec0b00,10438797,00100001" "0x1043" "0x8797"

but then it doesn't keep the settings.

Thanks.

Yet all this is by default in Ubuntu 25.04 there is not much to do.
they put pipewire in it I did not install it


Edited by white on 2025/5/12 18:24:24
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
Of course you are free to do what you want and have fun trying random things but if the goal is to fix one particular problem then maybe it helps focusing on that.

For alsa:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC887-VD Digital [ALC887-VD Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0

then I have in /etc/asound.conf

defaults.pcm.!card PCH
defaults.ctl.!card PCH

(which may not be needed but previously I had another card and this makes sure it selects the on board audio). And this gives:

$ aplay -L
...
default:CARD=PCH
HDA Intel PCH, ALC887-VD Analog
Default Audio Device
...
but I don't know how it works on your distro.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Just popping in
Just popping in


See User information
For anyone else that is looking to try this with AmigaOne version of AOS4.1Fe, I just saw the Alinea is apparently stocking it again. I was able to order it today. I have the same card that smarkusg used so I hope this will be the magic ticket to full emulation with a real GPU.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Not too shy to talk
Not too shy to talk


See User information
@themamboman
If you have any questions, I am happy to help
I described just what @balaton wanted in - > https://www.amigans.net/modules/newbb/ ... id=154815#forumpost154815
In private message I sent you my @

Good luck and have fun with AmithlonNG

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


See User information
Every now and then I disassemble everything to save electricity with two cards and two monitors it consumes more.

A question that I have not found an answer to on google.

But it may be possible that using a Hd .raw previously created for qemu on another machine.
So for convenience I import it again into the new installation of Ubuntu 25.04 to not start all over again for example I do not have full permissions for the HD.raw file
I had this doubt.

Now I don't have the file mounted, I should restore the backup to check the permissions.
A bit like what happens to a real SSD chmod 777 for example.

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
Just can't stay away
Just can't stay away


See User information
@Balaton

Another test done directly as ROOT
so no longer using SUDO

Check if VFIO is linked:

spci -nnk -s '0000:06:00.0'
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:3001]
Kernel driver in use: vfio-pci
Kernel modules: radeon, amdgpu


lspci -nnk -s '0000:06:00.1'
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
Subsystem: PC Partner Limited / Sapphire Technology Device [174b:aaa0]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel

aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)
hw:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, 27G2G4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
HDA NVidia, HDMI 1
HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
HDA NVidia, HDMI 2
HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
HDA NVidia, HDMI 3
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, 27G2G4
Direct sample mixing device
dmix:CARD=NVidia,DEV=7
HDA NVidia, HDMI 1
Direct sample mixing device
dmix:CARD=NVidia,DEV=8
HDA NVidia, HDMI 2
Direct sample mixing device
dmix:CARD=NVidia,DEV=9
HDA NVidia, HDMI 3
Direct sample mixing device
hw:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Direct hardware device without any conversions
hw:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Hardware device with all software conversions
plughw:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Hardware device with all software conversions
sysdefault:CARD=Generic
HD-Audio Generic, ALCS1200A Analog
Default Audio Device
front:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Front output / input
surround21:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Generic,DEV=0
HD-Audio Generic, ALCS1200A Analog
Direct sample mixing device
dmix:CARD=Generic,DEV=1
HD-Audio Generic, ALCS1200A Digital
Direct sample mixing device

WITHOUT SUDO everything passes no permission denied

set password as ROOT to access

sudo su

qemu-system-ppc -M amigaone -m 2048 -bios /home/white/Scaricati/Radeon/u-boot-amigaone.bin -serial stdio -m 2048 -cdrom /home/white/Scaricati/Radeon/AmigaONE-RADEON/AmigaOneInstallCD-53.54.iso -vga none -device rtl8139,netdev=network01 -netdev user,id=network01 -device vfio-pci,host=06:00.0,bus=pci.0,x-vga=on,multifunction=on -device vfio-pci,host=06:00.1,bus=pci.0 -device bochs-display,romfile=""

Result AUDIO:

couldn't open play stream: File o directory non esistente
sndio: failed to open device
audio: Could not create a backend for voice `via-ac97.out'
couldn't open play stream: File o directory non esistente
sndio: failed to open device



WITHOUT SUDO
everything passes no permission denied

password set as ROOT to access

the GPU is fast but the sound is not heard with:
AC97 or with ES1370

End of TEST.

We put ourselves back in the hands of the blond god, even if in reality everything is less than blond and blue-eyed
If you know a little geography.

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
Not too shy to talk
Not too shy to talk


See User information
it would be awesome if you could provide a linux VM image with QEMU all configured correctly and all one has to do is drop in your own OS4 licensed copy ISO to make it work.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@white
Quote:
aplay -L

null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default
Default ALSA Output (currently PipeWire Media Server)


Your alsa is configured to output via pipewire and we've found you can't connect to it as root. Either find out how to allow root to connect to pipewire or change alsa default to a real output on a card you want to use then it should work. No other magic or prayers will fix it.

Go to top
Re: QEMU GPU-PCIe AmigaONE
Quite a regular
Quite a regular


See User information
@NinjaCyborg
Quote:
it would be awesome if you could provide a linux VM image with QEMU all configured correctly and all one has to do is drop in your own OS4 licensed copy ISO to make it work.

Who would be the "you" to do that? But then you would be asking questions about how to use the virtual machine image so I'm not sure this would help much.

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


See User information
@Balaton
now I'll try to see what I can find on pipewire and alsa.
Thanks.

For me using root doesn't create any problems at least this has been solved now.
I have access to the GPU

I repeat the question again because it is clear that there are many topics in the forum and I understand that not everything can be read

Someone who is emulating the AmigaONE and uses the
ALCS1200A audio chipset
mounted on their motherboard ?

Just to have a more complete picture.

Thanks.

@NinjaCyborg

There is a very efficient project that is based on Linux that I was a beta-tester for called ( Amilator ) I still have the .iso given to me by the author it relies on FS-UAE to emulate AmigaOS 4.1 Classic.
It works very well. Without needing to install anything if you want.

I have never had any problem exchanging information clearly without it violating the licenses.

Of course I would never put AmigaOS software online because people develop it and work to do it.

But it is also true that a person is free to give away what he wants to whoever he wants if done privately.

Like
Isaac Asimov

A robot may not injure a human being or, through inaction, allow a human being to come to harm.

A robot must obey the orders given to it by human beings, except where such orders would conflict with the First Law.

A robot must protect its own existence, as long as such protection does not conflict with the First or Second Law.



Recommended film:

Bicentennial Man

with Robin Williams
a little pearl in an ocean of rubbish films.

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
Quote:
Someone who is emulating the AmigaONE and uses the
ALCS1200A audio chipset
mounted on their motherboard ?

The audio codec chip is not relevant to your problem in any way. You could ask instead if anybody uses QEMU with pipewire.

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


See User information
@Balaton
I know you don't use Ubuntu so I'm excluding you from this comment



If you google pipewire and qemu you will find a lot of users having problems with KVM or Virt-Manager

I haven't been able to find a solution yet and Ubuntu should be easy to find.

Arch Linux also had the exact same problem.

Yes the right question is probably how did you configure pipewire with Ubuntu.

But it should be easy to solve
It would be enough just to have the path to the pipewire configuration file and the Ubuntu configuration file.

I guess this doesn't require a license
for this file.

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
Just can't stay away
Just can't stay away


See User information
I would download Ubuntu Studio

If pipewire doesn't work in that distribution it doesn't work anywhere.
Since it's made specifically for those who make music.

https://ubuntustudio.org/

https://ubuntustudio.org/audio-configuration/


Ok I'm downloading it
In the end it's a few minutes.
And it takes a moment to install it and configure it
GPU vfio etc. etc.

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 ... 5 6 7 (8) 9 10 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project