All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Mon Dec 07, 2020 4:44 am 

Joined: Mon Dec 07, 2020 4:36 am
Posts: 2
Hi Team.

New to the forums and pretty new to Raspberry PI also.
I saw that StereoTool will run on the Pi now, so purchased a Pi 4 with 4gb of RAM. My plan is to use it to feed my FM Transmitter so I can get RDS and better processing. My station has been running since 2006.

So far I have got over the obstacle of getting the Hifiberry working (I can now play audio from VLC through it and output from the RCA jacks).

The problem I am getting, is loading stereotool. I am using 'stereo_tool_gui_pi2' 32bit Alsa.
Even prior to disabling the onboard sound, so the HifiBerry was recognised and used, I was getting the below errors when I run StereoTool.
I still get the same with the HiFiBerry configured and working (confirmed via VLC).
Quote:
pi@raspberrypi:~/Downloads $ ./stereo_tool_gui_pi2

Warning: Cannot set real-time priority, run with sudo for real-time control.
Thimeo Stereo Tool 9.62 (for Linux) (C) Thimeo Audio Technology, 2001-2020
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Segmentation fault
I'm not sure if this is a fault on my side or something else broken? Has anyone else successfully configured StereoTool to work with a HiFiBerry DAC+ADC on a PI4?

Many Thanks
Grant


Top
   
PostPosted: Tue Dec 08, 2020 4:50 am 

Joined: Mon Dec 07, 2020 4:36 am
Posts: 2
I did some more testing today... No go with the 32bit ALSA version.. I always get the errors above followed by a segmentation fault.
I tried a reimage on a new SD card, same result.
Tested using JACKD and no issues.

For both JACK and ALSA versions, I can only run the 32 bit versions.

So curious now why the ALSA version (32bit) is giving me this fault.
Using a new SD card and a legitimate Raspberry Pi4 PSU.

Thanks


Top
   
PostPosted: Sun Dec 13, 2020 5:15 pm 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 10566
Ok, those first errors don't mean anything (they are output by Linux itself, and there's no way to block them, when we check which sound cards are available). The Segmentation fault is a real issue obviously... Which is probably not something you can fix on your end, it has to be a bug.


Top
   
PostPosted: Sun Jan 03, 2021 3:03 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 10566
This is weird: I tried to investigate this, and it crashed here as well. But when I build it again with debug info it doesn't crash. Then, when I built it without debug info it still didn't crash. I'm now running a full build (that takes a day) to see what it does. I'll report here when I know more...


Top
   
PostPosted: Tue Jan 05, 2021 3:49 pm 

Joined: Thu Jan 31, 2013 12:04 am
Posts: 71
Did you edit config.txt with the driver for the right dac.


Top
   
PostPosted: Sun Feb 14, 2021 4:47 am 

Joined: Sun Feb 14, 2021 3:19 am
Posts: 1
I'm having a similar issue getting StereoTool running on a Raspberry Pi with HiFiBerry DAC+ADC Pro.

Like the OP, I am getting a Segmentation fault when trying to launch the program. Running the latest Raspberry Pi OS and have the HiFiBerry DAC working following the instructions on their site: https://www.hifiberry.com/docs/software ... ux-3-18-x/

Hardware:
Raspberry Pi 4 Model B 4GB
HiFiBerry DAC+ ADC Pro

Software:
Raspberry Pi OS (2021-01-11-raspios-buster-armhf)
HiFiBerry Device Tree Overlay (dtoverlay=hifiberry-dacplusadcpro in boot/config.txt)
StereoTool

Some additional information on my system:
Code:
uname -a
Linux raspberrypi 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux
Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dacplusadcpro], device 0: HiFiBerry DAC+ADC Pro HiFi multicodec-0 [HiFiBerry DAC+ADC Pro HiFi multicodec-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Code:
./stereo_tool_gui_pi2
Thimeo Stereo Tool 9.62 (for Linux) (C) Thimeo Audio Technology, 2001-2020
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Segmentation fault
Code:
(gdb) run
Starting program: /home/pi/Downloads/stereo_tool_gui_pi2 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb6ad1450 (LWP 4792)]
 
Warning: Cannot set real-time priority, run with sudo for real-time control.
[New Thread 0xb62d0450 (LWP 4793)]
Thimeo Stereo Tool 9.62 (for Linux) (C) Thimeo Audio Technology, 2001-2020
[New Thread 0xb4d12450 (LWP 4794)]
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
 
Thread 4 "stereo_tool_gui" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4d12450 (LWP 4794)]
0xb12bead8 in __dynamic_cast () from /lib/arm-linux-gnueabihf/libstdc++.so.6
Thanks!


Top
   
PostPosted: Mon Mar 15, 2021 9:47 pm 
User avatar

Joined: Mon Nov 30, 2015 5:05 pm
Posts: 23
Got the same error tonight when trying to run the latest releases micrompx decoder on my Pi 1B+ (yes, old hardware but should work nonetheless).
Code:
Linux raspberrypi 5.4.83+ #1379 Mon Dec 14 13:06:05 GMT 2020 armv6l GNU/Linux
Code:
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"


Top
   
PostPosted: Wed May 05, 2021 6:35 pm 

Joined: Wed May 05, 2021 6:34 pm
Posts: 1
Did anyone get to the bottom of this? Same issue here, latest version of Pi OS, stereo tool etc, using alsa. Card shows up fine having entered the dtoverlay, but segmentation fault as per... :(


Top
   
PostPosted: Wed May 26, 2021 11:10 am 
Site Admin
User avatar

Joined: Mon Mar 17, 2008 1:40 am
Posts: 10566
Quote:
Did anyone get to the bottom of this? Same issue here, latest version of Pi OS, stereo tool etc, using alsa. Card shows up fine having entered the dtoverlay, but segmentation fault as per... :(
With the latest version as well (9.70)?

"Segmentation fault" is a bug in Stereo Tool, and that could be anywhere (no reason to assume it's sound card related).


Top
   
PostPosted: Thu Jul 08, 2021 3:06 pm 

Joined: Thu May 20, 2021 8:28 pm
Posts: 3
Hi,
I have the same issue on Raspi4 Model B with iQAudio Dac+.
Any help will be appreciated.

pi@raspberrypi:~ $ ./stereo_tool_gui_pi2
Thimeo Stereo Tool 9.70 (for Linux) (C) Thimeo Audio Technology, 2001-2020
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
Segmentation fault
pi@raspberrypi:~ $


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 11 posts ]  Go to page 1 2 Next

All times are UTC+02:00


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited