Article 4ZRA1 Reicast ALSA error

Reicast ALSA error

by
whschimmel
from LinuxQuestions.org on (#4ZRA1)
I have installed reicast for kubuntu 19.10. This is the snap version from the snap store.
I have installed both the stable version as the edge version with same result

The dreamcast bios was added, but I can only launch the bios or a game with the sound disabled.

when I launch something with sound enabled I get an error:
Code:Config dir is: /home/wouter/snap/reicast/392/.config/reicast/
Data dir is: /home/wouter/snap/reicast/392/.local/share/reicast/
Personality: 00000000
Updated personality: 00000000
Linux paging: 4096 00001000 00000FFF
MAP 00800000 w/ 25165824
MAP 20000000 w/ 25165824
MAP 04000000 w/ 16777216
MAP 06000000 w/ 16777216
MAP 0C000000 w/ 0
vmem reserve: base: 25600000, aram: 45600000, vram: 29600000, ram: 31600000
Mem alloc successful!

Found 10 matching FB configs.
Chosen visual ID = 0x24
evdev: Opened device 'Microsoft X-Box 360 pad' using custom mapping 'Microsoft X-Box 360 pad mapping'
OpenGL version: 4.3.0 NVIDIA 435.21
Screen DPI is 69, size 640 x 480. Scaling by 1.00
Loaded /home/wouter/snap/reicast/392/.local/share/reicast/data/dc_boot.bin as bootrom

Loaded /home/wouter/snap/reicast/392/.local/share/reicast/data/dc_nvmem.bin as nvram

recSh4 Init
Freeing fpcb

CodeCache addr: 0x536000 | from: 0x536000 | addr here: 0x5342b0
Using Recompiler
Sh4 Reset
Auto-selected audio backend "alsa" (Advanced Linux Sound Architecture).
Initializing audio backend "alsa" (Advanced Linux Sound Architecture)...
ALSA: trying to determine audio device
ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM plughw:0,0,0
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM plughw:0,0
unable to open PCM device plughw:0,0: No such file or directory
Using Recompiler
cntx // fpcb offset: -135266304 // pc offset: -184 // pc A0000000
Freeing fpcb
recSh4:Dynarec Cache clear at 8C0000DE
reicast: pcm.c:1250: snd_pcm_writei: Assertion `pcm' failed.
Aborted (core dumped)file /usr/lib/x86_64-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so is present on my system.

What I could find out is that I need to specify a correct default ALSA device somewhere but I don't get this working.
https://www.alsa-project.org/wiki/Asoundrc

looking at the site above I need to specify the sound settings in an file in location
Code:$HOME/.asoundrccalled from location:
Code:/usr/share/alsa/alsa.conf--> This file is present

the other file mentioned on the website is NOT present
Code:/etc/asound.conf
some additional info:

aplay -l
Code:**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887-VD Analog [ALC887-VD Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0When I click on the tasbar sound icon on the desktop I have 2 devices:
Code:1. HDMI / Displayport 2 (GM206 High Definition Auidio Controller)
2. Line Out (Build-in Audio Analog Stereo)I am using the Line Out as default sound controller

Output of lspci -v

Code:wouter@wouter-kubuntu:/etc$ lspci -v
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
Subsystem: Gigabyte Technology Co., Ltd 4 Series Chipset DRAM Controller
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 24
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000a000-0000afff [size=4K]
Memory behind bridge: dd000000-deffffff [size=32M]
Prefetchable memory behind bridge: 00000000b0000000-00000000cfffffff [size=512M]
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD (Realtek ALC887)
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at dfff8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 25
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00001000-00001fff [size=4K]
Memory behind bridge: dfc00000-dfcfffff [size=1M]
Prefetchable memory behind bridge: 00000000d0000000-00000000d01fffff [size=2M]
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 26
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00009000-00009fff [size=4K]
Memory behind bridge: dfd00000-dfdfffff [size=1M]
Prefetchable memory behind bridge: 00000000d0200000-00000000d03fffff [size=2M]
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at ff00 [size=32]
Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at fe00 [size=32]
Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at fd00 [size=32]
Kernel driver in use: uhci_hcd

00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at fc00 [size=32]
Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Gigabyte Technology Co., Ltd GA-D525TUD
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at dffff000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
I/O behind bridge: 0000b000-0000bfff [size=4K]
Memory behind bridge: dfe00000-dfefffff [size=1M]
Prefetchable memory behind bridge: None
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Gigabyte Technology Co., Ltd 82801GB/GR (ICH7 Family) LPC Interface Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich
Kernel modules: intel_rng, lpc_ich, leds_ss4200

00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01) (prog-if 8a [ISA Compatibility mode controller, supports both channels switched to PCI native mode, supports bus mastering])
Subsystem: Gigabyte Technology Co., Ltd NM10/ICH7 Family SATA Controller [IDE mode]
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable)
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable)
I/O ports at f900 [size=16]
Capabilities: <access denied>
Kernel driver in use: ata_piix
Kernel modules: pata_acpi

00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
Subsystem: Gigabyte Technology Co., Ltd GA-8I945PG-RH/GA-D525TUD Mainboard
Flags: medium devsel, IRQ 19
I/O ports at 0500 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 960] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GM206 [GeForce GTX 960]
Flags: bus master, fast devsel, latency 0, IRQ 34
Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at ce000000 (64-bit, prefetchable) [size=32M]
I/O ports at af00 [size=128]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation GM206 High Definition Audio Controller (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GM206 High Definition Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at deffc000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

02:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI])
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at dfcfe000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

03:00.0 Ethernet controller: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet (rev c0)
Subsystem: Gigabyte Technology Co., Ltd AR8151 v2.0 Gigabit Ethernet
Flags: bus master, fast devsel, latency 0, IRQ 32
Memory at dfdc0000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 9f00 [size=128]
Capabilities: <access denied>
Kernel driver in use: atl1c
Kernel modules: atl1c

04:01.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
Subsystem: Silicon Image, Inc. SiI 3512 SATARaid Controller
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
I/O ports at bf00 [size=8]
I/O ports at be00 [size=4]
I/O ports at bd00 [size=8]
I/O ports at bc00 [size=4]
I/O ports at bb00 [size=16]
Memory at dfeff000 (32-bit, non-prefetchable) [size=512]
[virtual] Expansion ROM at dfe00000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: sata_sil
Kernel modules: sata_sillatest?d=yIl2AUoC8zA latest?i=JFL9mCao7u0:JT7JDpGs8xc:F7zBnMy latest?i=JFL9mCao7u0:JT7JDpGs8xc:V_sGLiP latest?d=qj6IDK7rITs latest?i=JFL9mCao7u0:JT7JDpGs8xc:gIN9vFwJFL9mCao7u0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments