You are not logged in.

#1 2021-02-20 14:14:56

freebench
Member
Registered: 2020-06-14
Posts: 52

X11 bell events

hi

bell was setup as per https://wiki.archlinux.org/index.php/PulseAudio#X11_Bell_Events guide

Generally X11 bell works fine
There is one case when all sound works but the bell - logout/login (X restart)

When I try this, error returned

$ pactl load-module module-x11-bell sample=x11-bell display=$DISPLAY

Failure: Module initialization failed

the journal logs this

Feb 20 16:12:03 rokz pulseaudio[109439]: No protocol specified
Feb 20 16:12:03 rokz pulseaudio[109439]: XOpenDisplay() failed
Feb 20 16:12:03 rokz pulseaudio[109439]: Failed to load module "module-x11-bell" (argument: "sample=x11-bell display=:0.0"): initialization failed.
pacmd list-sink-inputs

0 sink input(s) available.

pacmd stat

Memory blocks currently allocated: 16, size: 1.1 MiB.
Memory blocks allocated during the whole lifetime: 1588109, size: 1.7 GiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 1.0 MiB.
Default sample spec: s16le 2ch 44100Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.pci-0000_00_1f.3.analog-stereo
Default source name: alsa_input.pci-0000_00_1f.3.analog-stereo
Memory blocks of type POOL: 13 allocated/793640 accumulated.
Memory blocks of type POOL_EXTERNAL: 1 allocated/1 accumulated.
Memory blocks of type APPENDED: 2 allocated/2 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/317903 accumulated.
Memory blocks of type IMPORTED: 0 allocated/476564 accumulated.

a quick fix is to restart pulseaudio or reboot machine

$ pulseaudio --kill
$ pulseaudio --start

is there any proper solution to this ?

Last edited by freebench (2021-02-21 18:06:46)

Offline

#2 2023-06-27 19:59:59

Ruberoid
Member
Registered: 2023-06-27
Posts: 1

Re: X11 bell events

Hey there, buddy!

Any update on this?
Same problem on debian12 + i3wm

Offline

Board footer

Powered by FluxBB