You are not logged in.

#1 2022-12-06 22:24:34

Moviuro
Member
Registered: 2012-06-03
Posts: 73

Bluetooth audio, snd_hda_intel Too many BDL entries

Hi all,

I'm having recurring issues with Fallout 4 (running with Proton inside flatpak) and sound stopping (crashing?) when I'm playing. When saving the game, randomly, the sound stops. In journalctl, I can see:

Dec 06 22:58:05 toxoplasmosis wireplumber[2173537]: error reading timerfd: Resource temporarily unavailable
Dec 06 22:58:05 toxoplasmosis systemd[1083]: wireplumber.service: Main process exited, code=killed, status=9/KILL
Dec 06 22:58:05 toxoplasmosis systemd[1083]: wireplumber.service: Failed with result 'signal'.
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/ldac
Dec 06 22:58:05 toxoplasmosis systemd[1083]: wireplumber.service: Consumed 5.833s CPU time.
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/aptx_hd
Dec 06 22:58:05 toxoplasmosis systemd[1083]: Starting screen color temperature wrapper...
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx_hd
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/aptx
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/aac
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/sbc
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/sbc
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/sbc_xq
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/sbc_xq
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/faststream
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/faststream_duplex
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/opus_05
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/opus_05
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint unregistered: sender=:1.15550 path=/MediaEndpoint/A2DPSource/aac
Dec 06 22:58:05 toxoplasmosis systemd[1083]: wireplumber.service: Scheduled restart job, restart counter is at 50.
Dec 06 22:58:05 toxoplasmosis systemd[1083]: Stopped Multimedia Service Session Manager.
Dec 06 22:58:05 toxoplasmosis systemd[1083]: wireplumber.service: Consumed 5.833s CPU time.
Dec 06 22:58:05 toxoplasmosis systemd[1083]: Started Multimedia Service Session Manager.
Dec 06 22:58:05 toxoplasmosis rtkit-daemon[1228]: Successfully made thread 2174682 of process 2174682 owned by '1000' high priority at nice level -11.
Dec 06 22:58:05 toxoplasmosis rtkit-daemon[1228]: Supervising 9 threads of 5 processes of 1 users.
Dec 06 22:58:05 toxoplasmosis rtkit-daemon[1228]: Successfully made thread 2174685 of process 2174682 owned by '1000' RT at priority 20.
Dec 06 22:58:05 toxoplasmosis rtkit-daemon[1228]: Supervising 10 threads of 5 processes of 1 users.
Dec 06 22:58:05 toxoplasmosis wireplumber[2174682]: Failed to set scheduler settings: Operation not permitted
Dec 06 22:58:05 toxoplasmosis wireplumber[2174682]: [513:24:53.697295179] [2174682]  INFO Camera camera_manager.cpp:299 libcamera v0.0.2
Dec 06 22:58:05 toxoplasmosis kernel: snd_hda_intel 0000:08:00.1: Too many BDL entries: buffer=2097152, period=65536
Dec 06 22:58:05 toxoplasmosis kernel: snd_hda_intel 0000:08:00.1: Too many BDL entries: buffer=2097152, period=65536
Dec 06 22:58:05 toxoplasmosis kernel: snd_hda_intel 0000:08:00.1: Too many BDL entries: buffer=2097152, period=65536
Dec 06 22:58:05 toxoplasmosis kernel: snd_hda_intel 0000:08:00.1: Too many BDL entries: buffer=2097152, period=65536
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/ldac
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/aptx_hd
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx_hd
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/aptx
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/aac
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aac
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/sbc
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/sbc
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/sbc_xq
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/sbc_xq
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/faststream
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/faststream_duplex
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/opus_05
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/opus_05
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Dec 06 22:58:05 toxoplasmosis bluetoothd[1183453]: Endpoint registered: sender=:1.15563 path=/MediaEndpoint/A2DPSource/opus_05_duplex
Dec 06 22:58:05 toxoplasmosis pipewire-pulse[1276590]: mod.protocol-pulse: client 0x55b86d83cd60 [Fallout 4]: ERROR command:-1 (invalid) tag:4294967295 error:25 (Input/output error)
Dec 06 22:58:06 toxoplasmosis wireplumber[2174682]: RFCOMM receive command but modem not available: AT+BTRH?
Dec 06 22:58:06 toxoplasmosis kernel: input: Cacophony (AVRCP) as /devices/virtual/input/input1486
Dec 06 22:58:06 toxoplasmosis systemd-logind[730]: Watching system buttons on /dev/input/event21 (Cacophony (AVRCP))
Dec 06 22:58:06 toxoplasmosis wireplumber[2174682]: RFCOMM receive command but modem not available: AT+XEVENT=Bose SoundLink,158
Dec 06 22:58:06 toxoplasmosis wireplumber[2174682]: Failed to register battery provider. Error: org.freedesktop.DBus.Error.UnknownMethod
Dec 06 22:58:06 toxoplasmosis wireplumber[2174682]: BlueZ Battery Provider is not available, won't retry to register it. Make sure you are running BlueZ 5.56+ with experimental features to use Battery Provider.

After sound has stopped, Fallout 4 no longer appears in the "Playback" tab of pavucontrol-qt.

I am running Fallout 4 with the following custom command, hoping it would make the sound work better, but no dice  (the sound also stops working if I don't use this custom command)

WINEDLLOVERRIDES="xaudio2_7=n,b" %command%

After shutting down the game:

% pactl list sinks
Sink #7403
	State: SUSPENDED
	Name: alsa_output.pci-0000_0a_00.4.analog-stereo
	Description: Starship/Matisse HD Audio Controller Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 10290 /  16% / -48,24 dB,   front-right: 10290 /  16% / -48,24 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_0a_00.4.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC1220 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0xfce00000 irq 107"
		alsa.name = "ALC1220 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		api.alsa.card.longname = "HD-Audio Generic at 0xfce00000 irq 107"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "front:1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "4"
		device.api = "alsa"
		device.class = "sound"
		device.id = "80"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "2"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Starship/Matisse HD Audio Controller"
		node.name = "alsa_output.pci-0000_0a_00.4.analog-stereo"
		node.nick = "ALC1220 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:pcm:1:front:1:playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "18"
		clock.quantum-limit = "8192"
		client.id = "36"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "85"
		object.serial = "7403"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		device.bus = "pci"
		device.bus_path = "pci-0000:0a:00.4"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_0a_00.4"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "2884637"
		device.product.id = "0x1487"
		device.product.name = "Starship/Matisse HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0a:00.4/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		analog-output-lineout: Line Out (type: Line, priority: 9000, availability group: Legacy 4, available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 5, not available)
	Active Port: analog-output-lineout
	Formats:
		pcm

Sink #7441
	State: SUSPENDED
	Name: bluez_output.60_AB_D2_46_3F_A2.1
	Description: Cacophony
	Driver: PipeWire
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 36638 /  56% / -15,15 dB,   front-right: 36638 /  56% / -15,15 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: bluez_output.60_AB_D2_46_3F_A2.1.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		api.bluez5.address = "60:AB:D2:46:3F:A2"
		api.bluez5.codec = "aac"
		api.bluez5.profile = "a2dp-sink"
		api.bluez5.transport = ""
		card.profile.device = "1"
		device.id = "42"
		device.routes = "1"
		factory.name = "api.bluez5.a2dp.sink"
		device.description = "Cacophony"
		node.name = "bluez_output.60_AB_D2_46_3F_A2.1"
		node.pause-on-idle = "false"
		priority.driver = "1010"
		priority.session = "1010"
		factory.id = "8"
		clock.quantum-limit = "8192"
		device.api = "bluez5"
		media.class = "Audio/Sink"
		media.name = "Cacophony"
		node.driver = "true"
		factory.mode = "merge"
		audio.adapt.follower = ""
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "38"
		object.serial = "7441"
		client.id = "36"
		api.bluez5.class = "0x240418"
		api.bluez5.connection = "disconnected"
		api.bluez5.device = ""
		api.bluez5.icon = "audio-headphones"
		api.bluez5.path = "/org/bluez/hci0/dev_60_AB_D2_46_3F_A2"
		bluez5.auto-connect = "[ hfp_hf hsp_hs a2dp_sink ]"
		bluez5.profile = "off"
		device.alias = "Cacophony"
		device.bus = "bluetooth"
		device.form_factor = "headphone"
		device.icon_name = "audio-headphones-bluetooth"
		device.name = "bluez_card.60_AB_D2_46_3F_A2"
		device.product.id = "0x4020"
		device.string = "60:AB:D2:46:3F:A2"
		device.vendor.id = "bluetooth:009e"
	Ports:
		headphone-output: Headphone (type: Headphones, priority: 0, available)
	Active Port: headphone-output
	Formats:
		pcm

Cacophony is the fancy name of my Bose QC 35 II headset.

% lsmod | grep snd
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
snd_seq                77824  7 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_hda_codec_realtek   184320  1
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     69632  1
snd_hda_intel          57344  2
snd_intel_dspcfg       32768  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         159744  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intelsnd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intelsnd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               155648  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              40960  3 snd_seq,snd_hrtimer,snd_pcm
snd                   114688  16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
soundcore              16384  1 snd
% lspci -nnk | grep -A3 Audio
08:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
08:00.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:73a6]
--
0a:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
        Subsystem: ASRock Incorporation Device [1849:2228]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

What should I do now? The kernel message returns very few hits on search engines.


bspwm, BTRFS over LUKS
Archlinux a lot, FreeBSD more and more...
Murphy's rule: The day you need a backup, you tell yourself you should have created some.

Offline

#2 2022-12-06 23:04:51

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 20,204

Re: Bluetooth audio, snd_hda_intel Too many BDL entries

Tried running the thing outside of the flatpak? IS this the only program you are having issues with? snd hda intel issues are irrelevant for bluetooth audio should be safe to ignore.

This sounds more like a game/wine/proton rather than a general audio stack issue. Which proton version did you try? Can you test e.g. Proton Experimental/GE or so?

Offline

#3 2023-01-02 08:39:57

Moviuro
Member
Registered: 2012-06-03
Posts: 73

Re: Bluetooth audio, snd_hda_intel Too many BDL entries

Thanks for the pointers V1del. I suspect the recent 0.14.3 update to wireplumber fixed my issue (https://pipewire.pages.freedesktop.org/ … eases.html).

Fallout 4 through Steam on flatpak is indeed the only program that was having issues (no such issue with e.g. Cyberpunk 2077, but I have not been through my entire steam collection to try it out). I had tried many different proton versions (either available through flatpak or steam distribution, incl. GE, experimental).


bspwm, BTRFS over LUKS
Archlinux a lot, FreeBSD more and more...
Murphy's rule: The day you need a backup, you tell yourself you should have created some.

Offline

Board footer

Powered by FluxBB