Creating a bug report/issue
Since recently I do not get sound output from the boss 2 player (after updating from dietpi 8.11 to dietpi 8.15 and 8.16). I tried reinstalling the dietpi-os (clean install to SD card), but no change for the better.
Additional when streaming spotify (raspotify), there is no sound output and after 10-20 ish seconds the player on my phone skips to next track and so on.
Output on /boot/config.txt:
# Docs: https://www.raspberrypi.com/documentation/computers/config_txt.html
# Overlays: https://github.com/raspberrypi/firmware/blob/e53d0757d08d1c36f911b0d9a392859e66709ad3/boot/overlays/README
#-------Display---------
# Max allocated framebuffers: Set to "0" in headless mode to reduce memory usage
# - Defaults to "2" on RPi4 and "1" on earlier RPi models
#max_framebuffers=0
# If you get no picture, set the following to "1" to apply most compatible HDMI settings.
#hdmi_safe=1
# Uncomment to adjust the HDMI signal strength if you have interferences, blanking, or no display.
# - Ranges from "0" to "11", use values above "7" only if required, e.g. with very long HDMI cable.
# - Default on first RPi1 A/B is "2", else "5", on RPi4 this setting is ignored.
#config_hdmi_boost=5
# Uncomment if HDMI display is not detected and composite is being outputted.
#hdmi_force_hotplug=1
# Uncomment to disable HDMI even if plugged, e.g. to force composite output.
#hdmi_ignore_hotplug=1
# Uncomment to force a console size. By default it will be display's size minus overscan.
#framebuffer_width=1280
#framebuffer_height=720
# Uncomment to enable SDTV/composite output on RPi4. This has no effect on previous RPi models.
#enable_tvout=1
# SDTV mode
#sdtv_mode=0
# Uncomment to force a specific HDMI mode (this will force VGA).
#hdmi_group=1
#hdmi_mode=1
# Uncomment to force an HDMI mode rather than DVI. This enables HDMI audio in DMT modes.
#hdmi_drive=2
# Set "hdmi_blanking=1" to allow the display going into standby after 10 minutes without input.
# With default value "0", the display shows a blank screen instead, but will not go into standby.
# NB: Some legacy OpenMAX applications (OMXPlayer) cannot wake screens from real standby.
hdmi_blanking=1
# Set to "1" if your display has a black border of unused pixels visible.
disable_overscan=1
# Uncomment the following to adjust overscan.
# Use positive numbers if console goes off screen, and negative if there is too much border.
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# Rotation
#display_hdmi_rotate=0
#lcd_rotate=0
#-------RPi camera module-------
#start_x=1
#disable_camera_led=1
#-------GPU memory splits-------
gpu_mem_256=16
gpu_mem_512=16
gpu_mem_1024=16
#-------Boot splash screen------
disable_splash=1
#-------Onboard sound-----------
dtparam=audio=off
#-------I2C-------------
dtparam=i2c_arm=on
#dtparam=i2c_arm_baudrate=100000
#-------SPI-------------
#dtparam=spi=off
#-------Serial/UART-----
# NB: "enable_uart=1" will enforce "core_freq=250" on RPi models with onboard WiFi.
enable_uart=0
#-------SD card HPD-----
# Comment to enable SD card hot-plug detection, while booting via USB or network.
# NB: This causes constant CPU load and kernel errors when no SD card is inserted.
dtparam=sd_poll_once
#-------Overclock-------
temp_limit=70
initial_turbo=20
#over_voltage=0
#arm_freq=1500
#core_freq=500
#over_voltage_min=0
#arm_freq_min=300
#core_freq_min=250
#sdram_freq_min=400
arm_64bit=1
dtoverlay=disable-wifi
dtoverlay=allo-boss2-dac-audio
Output of aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: Boss2 [Allo Boss2], device 0: bcm2835-i2s-allo-cs43130 allo-cs43130-0 [bcm2835-i2s-allo-cs43130 allo-cs43130-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Contents of /etc/asound.conf:
pcm.!default {
type hw
card 0
device 0
}
ctl.!default {
type hw
card 0
}
Output of speaker-test -t wav -c 2:
speaker-test 1.2.4
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 8 to 131072
Period size range from 4 to 65536
Using max buffer size 131072
Periods = 4
was set period_size = 32768
was set buffer_size = 131072
0 - Front Left
1 - Front Right
Time per period = 0.063274
0 - Front Left
1 - Front Right
Time per period = 0.172713
0 - Front Left
1 - Front Right
Time per period = 0.209401
0 - Front Left
1 - Front Right
^CTime per period = 0.170877
speaker-test does not give any output to the speakers
Alsa mixer: master is on 60%, connected speakers are on max.
Hopefully this gives some pointers as what is wrong⦠Thank you
Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=16
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='not applicable'
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0
- Kernel version |
uname -a
Linux AlloPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
RPi 4 Model B (aarch64)
- SD card used | SanDisk Extreme
Additional Information (if applicable)
- Software title | Raspotify
- Was the software title installed freshly or updated/migrated? | Both, same issue after fresh install
- Can this issue be replicated on a fresh installation of DietPi?
ā If you sent a ādietpi-bugreportā, please paste the ID here ā - Bug report ID |
echo $G_HW_UUID
Steps to reproduce
- Boot device, install raspotify, play spotify on phone and select dietpi destination, wait for it to connect, click play button. after 10-20 seconds next track starts playing etc, no sound output
Expected behaviour
- Sound output should be occuring
Actual behaviour
- No sound output
Extra details
- ā¦