New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound (`module-vchan-sink` crashing) in Xenial TemplateVMs #3682

Closed
SaswatPadhi opened this Issue Mar 9, 2018 · 4 comments

Comments

Projects
None yet
5 participants
@SaswatPadhi

SaswatPadhi commented Mar 9, 2018

Qubes OS version:

Qubes release 4.0 (R4.0)

Affected component(s):

Xenial TemplateVMs

Steps to reproduce the behavior:

Build a new Debian-based TemplateVM with Ubuntu Xenial

Expected behavior:

Sound works out of the box

Actual behavior:

pulseaudio fails to start because module-vchan-sink cannot be loaded:

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 8.0
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 541bf2d56cf749b7a70019fa87a7fea6.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/user/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-8.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: System supports high resolution timers
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/user/.config/pulse/541bf2d56cf749b7a70019fa87a7fea6-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/user/.config/pulse/541bf2d56cf749b7a70019fa87a7fea6-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/user/.config/pulse/541bf2d56cf749b7a70019fa87a7fea6-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").

E: [pulseaudio] module-vchan-sink.c: vchan module loading
E: [pulseaudio] module-vchan-sink.c: play libvchan_fd_for_select=17, ctrl=0x7c0e10
E: [pulseaudio] module-vchan-sink.c: rec libvchan_fd_for_select=21, ctrl=0x7c0f40
E: [pulseaudio] module-vchan-sink.c: Failed to create sink.
E: [pulseaudio] module.c: Failed to load module "module-vchan-sink" (argument: ""): initialization failed.
E: [pulseaudio] main.c: Module load failed.
E: [pulseaudio] main.c: Failed to initialize daemon.

@SaswatPadhi SaswatPadhi changed the title from No sound (`module-vchan-sink` crashing) in Xenial builds to No sound (`module-vchan-sink` crashing) in Xenial TemplateVMs Mar 9, 2018

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 9, 2018

Member

What pulseaudio version you have there?

Member

marmarek commented Mar 9, 2018

What pulseaudio version you have there?

@SaswatPadhi

This comment has been minimized.

Show comment
Hide comment
@SaswatPadhi

SaswatPadhi Mar 9, 2018

It's 8.0 (the default with Xenial).

It's 8.0 (the default with Xenial).

@pdinoto

This comment has been minimized.

Show comment
Hide comment
@pdinoto

pdinoto May 9, 2018

I am experiencing the same issue (pulseaudio-qubes module not starting on Debian VMs) since pulseaudio went from 10.0-1+deb9u1 to 11.1-5. It was working fine during 9.0 to 10.0 (with the required re-link of the module into the proper directory).

Confirmed that sound works again after downgrading back to 10.0.-1

pdinoto commented May 9, 2018

I am experiencing the same issue (pulseaudio-qubes module not starting on Debian VMs) since pulseaudio went from 10.0-1+deb9u1 to 11.1-5. It was working fine during 9.0 to 10.0 (with the required re-link of the module into the proper directory).

Confirmed that sound works again after downgrading back to 10.0.-1

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Jul 25, 2018

Member

Artful (pulseaudio 10.0) and bionic (pulseaudio 11.1) have sound working out the box.

Member

unman commented Jul 25, 2018

Artful (pulseaudio 10.0) and bionic (pulseaudio 11.1) have sound working out the box.

@marmarek marmarek closed this Jul 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment