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

sound failure debian-9 (stretch) template #1927

Closed
pugege opened this Issue Apr 21, 2016 · 18 comments

Comments

Projects
None yet
@pugege

pugege commented Apr 21, 2016

Qubes OS version (e.g., R3.1):

R3.1

Affected TemplateVMs (e.g., fedora-23, if applicable):

debian-9 (stretch)


Expected behavior:

appvm playback device attachment; normal sound

Actual behavior:

no appvm playback device attachment; no sound

Steps to reproduce the behavior:

playback device attachment with debian-8, normal sound

General notes:

stretch-testing repository enabled; current update; all dom0
audio testing normal both speaker & headphones; no muting re: alsamixer; normal
sound function with sys-usb (fedora 23 template) vlc


Related issues:

Relevant labels:

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 21, 2016

Member

Do I understand correctly that this is a localized hardware incompatibility issue between your audio hardware and your debian-9 template? If so, these sorts of localized hardware troubleshooting issues are best discussed and handled on the qubes-users mailing list. (More people are likely to see it there, and there is a higher chance that someone else may have experienced the issue and be able to help.)

Member

andrewdavidwong commented Apr 21, 2016

Do I understand correctly that this is a localized hardware incompatibility issue between your audio hardware and your debian-9 template? If so, these sorts of localized hardware troubleshooting issues are best discussed and handled on the qubes-users mailing list. (More people are likely to see it there, and there is a higher chance that someone else may have experienced the issue and be able to help.)

@pugege

This comment has been minimized.

Show comment
Hide comment
@pugege

pugege Apr 23, 2016

Yes, my system is stable with no sound issues with debian-8 and fedora 23 templates.
The problem is only with debian-9 template. I filed a report here with reference to issue
#1683, "Support Pulseaudio 8,0" and qubes-gui-vm 3.1.5+deb9u1 which has been uploaded to the stretch-testing repository. Perhaps that program, a dependency of
pulseaudio 8.0.2 is not yet compatible in debian-9 to allow program function?

pugege commented Apr 23, 2016

Yes, my system is stable with no sound issues with debian-8 and fedora 23 templates.
The problem is only with debian-9 template. I filed a report here with reference to issue
#1683, "Support Pulseaudio 8,0" and qubes-gui-vm 3.1.5+deb9u1 which has been uploaded to the stretch-testing repository. Perhaps that program, a dependency of
pulseaudio 8.0.2 is not yet compatible in debian-9 to allow program function?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 24, 2016

Member

Ok, thanks for the report.

As noted here, the Debian 9 template has been published for R3.1 but has not yet undergone extensive testing.

Member

andrewdavidwong commented Apr 24, 2016

Ok, thanks for the report.

As noted here, the Debian 9 template has been published for R3.1 but has not yet undergone extensive testing.

@hawaiikasper

This comment has been minimized.

Show comment
Hide comment
@hawaiikasper

hawaiikasper Apr 26, 2016

I used to have the same problem some time ago. After some testing I found out that the file "module-vchan-sink.so" couldn't be found. I think the cause is an upgrade from pulse-7.1 to pulse-8.0.

Try this as a workaround in your Debian (stretch) template:
sudo ln -s /usr/lib/pulse-7.1/modules/module-vchan-sink.so /usr/lib/pulse-8.0/modules/module-vchan-sink.so

I used to have the same problem some time ago. After some testing I found out that the file "module-vchan-sink.so" couldn't be found. I think the cause is an upgrade from pulse-7.1 to pulse-8.0.

Try this as a workaround in your Debian (stretch) template:
sudo ln -s /usr/lib/pulse-7.1/modules/module-vchan-sink.so /usr/lib/pulse-8.0/modules/module-vchan-sink.so

@pugege

This comment has been minimized.

Show comment
Hide comment
@pugege

pugege Apr 27, 2016

Thank you kindly, hawaiikasper for your helpful post. The simlink solved the sound problem.
Works great now! Thanks also axon & marmarek for your attention.

pugege commented Apr 27, 2016

Thank you kindly, hawaiikasper for your helpful post. The simlink solved the sound problem.
Works great now! Thanks also axon & marmarek for your attention.

@kulinacs

This comment has been minimized.

Show comment
Hide comment
@kulinacs

kulinacs May 25, 2016

This issue should be closed, adding the qubes testing repositories should fix the issue.
https://groups.google.com/forum/#!topic/qubes-users/JddCE54GFiU

This issue should be closed, adding the qubes testing repositories should fix the issue.
https://groups.google.com/forum/#!topic/qubes-users/JddCE54GFiU

@hawaiikasper

This comment has been minimized.

Show comment
Hide comment
@hawaiikasper

hawaiikasper Jul 15, 2016

This bug strikes again after pulseaudio got upgraded to version 9.0.

Again, one can use this as a workaround in the Debian (stretch) template:
sudo ln -s /usr/lib/pulse-8.0/modules/module-vchan-sink.so /usr/lib/pulse-9.0/modules/module-vchan-sink.so

This bug strikes again after pulseaudio got upgraded to version 9.0.

Again, one can use this as a workaround in the Debian (stretch) template:
sudo ln -s /usr/lib/pulse-8.0/modules/module-vchan-sink.so /usr/lib/pulse-9.0/modules/module-vchan-sink.so

@kbrn

This comment has been minimized.

Show comment
Hide comment
@kbrn

kbrn Oct 20, 2016

@marmarek Can you give this 3 minutes of attention? I think it's a super easy fix, no?

Thanks,
Andrew

kbrn commented Oct 20, 2016

@marmarek Can you give this 3 minutes of attention? I think it's a super easy fix, no?

Thanks,
Andrew

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 20, 2016

Member

There is already recently built gui-agent-linux 3.2.6 in testing repository.

Member

marmarek commented Oct 20, 2016

There is already recently built gui-agent-linux 3.2.6 in testing repository.

@pdinoto

This comment has been minimized.

Show comment
Hide comment
@pdinoto

pdinoto Feb 4, 2017

In a recent update to Debian 9 template, pulseaudio was again not working, as it has been bumped to version 10.0-1 and now it expects modules to be at /usr/lib/pulse-10.0/modules.

Same workaround works: on the template simply do:

user@debian-9:~$ sudo bash
root@debian-9:/home/user# cd /usr/lib/pulse-10.0/modules
root@debian-9:/usr/lib/pulse-10.0/modules# ln -s ../../pulse-9.0/modules/module-vchan-sink.so .

then shutdown the template and restart AppVMs based on it.

pdinoto commented Feb 4, 2017

In a recent update to Debian 9 template, pulseaudio was again not working, as it has been bumped to version 10.0-1 and now it expects modules to be at /usr/lib/pulse-10.0/modules.

Same workaround works: on the template simply do:

user@debian-9:~$ sudo bash
root@debian-9:/home/user# cd /usr/lib/pulse-10.0/modules
root@debian-9:/usr/lib/pulse-10.0/modules# ln -s ../../pulse-9.0/modules/module-vchan-sink.so .

then shutdown the template and restart AppVMs based on it.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Feb 4, 2017

@pdinoto Thanks, this fix worked for me too.

tasket commented Feb 4, 2017

@pdinoto Thanks, this fix worked for me too.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 7, 2017

Member

Just uploaded new package (qubes-gui-agent 3.2.14), should be linked with latest pulseaudio.

Member

marmarek commented Mar 7, 2017

Just uploaded new package (qubes-gui-agent 3.2.14), should be linked with latest pulseaudio.

@marmarek marmarek closed this Mar 7, 2017

@9jobsworth

This comment has been minimized.

Show comment
Hide comment
@9jobsworth

9jobsworth Oct 12, 2017

yes and i suspect that it happened again as part of the latest update to raspbian stretch.
haven't tried it yet and so can't prove it. all i know is that the sound has gone.
i have code like that and eventually i got so fed up with it that i created a variable
which of course changed with the version number. - voila problem solved.
nope that's not it. gr....

9jobsworth commented Oct 12, 2017

yes and i suspect that it happened again as part of the latest update to raspbian stretch.
haven't tried it yet and so can't prove it. all i know is that the sound has gone.
i have code like that and eventually i got so fed up with it that i created a variable
which of course changed with the version number. - voila problem solved.
nope that's not it. gr....

@archpaladin1

This comment has been minimized.

Show comment
Hide comment
@archpaladin1

archpaladin1 Oct 25, 2017

Problem strikes again with pulseaudio 11.1. Currently the latest qubes-gui-agent in the testing repository isn't linked against the latest version. The typical workaround doesn't work for me.

Problem strikes again with pulseaudio 11.1. Currently the latest qubes-gui-agent in the testing repository isn't linked against the latest version. The typical workaround doesn't work for me.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Dec 13, 2017

Member

@andrewdavidwong This is fixed for 11.1 in qubes-gui-agent 3.2.19, Can you close please?

Member

unman commented Dec 13, 2017

@andrewdavidwong This is fixed for 11.1 in qubes-gui-agent 3.2.19, Can you close please?

@marmarek marmarek closed this Dec 13, 2017

@9jobsworth

This comment has been minimized.

Show comment
Hide comment
@9jobsworth

9jobsworth Dec 13, 2017

my sound on audacious and youtube is now working great. thank you to whoever fixed it.

my sound on audacious and youtube is now working great. thank you to whoever fixed it.

@AhmedAA

This comment has been minimized.

Show comment
Hide comment
@AhmedAA

AhmedAA Jan 12, 2018

The fix does not work for debian sid (unstable)

I have no sound in my debian appvm's.

Qubes 4RC3
Installed debian 9 template through qubes-dom0-update
Changed repos in template to debian unstable (sid)
Made dist-upgrade as according to debian documentation (apt-get -u dist-upgrade)

Pulseaudio version 11.1.
Attempted with symlink of module-vchan-sink.so into the pulseaudio-11.1/modules/ folder and also tried with making a hard copy (cp) into the dir from pulseaudio-10.0/modules/

Any suggestions appreciated (also suggestions which help further debugging)!

Thanks!

EDIT:
It works in default untouched debian-9 template
Sorry for necrothreading (?)
@andrewdavidwong

AhmedAA commented Jan 12, 2018

The fix does not work for debian sid (unstable)

I have no sound in my debian appvm's.

Qubes 4RC3
Installed debian 9 template through qubes-dom0-update
Changed repos in template to debian unstable (sid)
Made dist-upgrade as according to debian documentation (apt-get -u dist-upgrade)

Pulseaudio version 11.1.
Attempted with symlink of module-vchan-sink.so into the pulseaudio-11.1/modules/ folder and also tried with making a hard copy (cp) into the dir from pulseaudio-10.0/modules/

Any suggestions appreciated (also suggestions which help further debugging)!

Thanks!

EDIT:
It works in default untouched debian-9 template
Sorry for necrothreading (?)
@andrewdavidwong

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jan 13, 2018

Member

@AhmedAA: Hm, looks like it might be best to file a new issue, since it's a different version of Debian.

Member

andrewdavidwong commented Jan 13, 2018

@AhmedAA: Hm, looks like it might be best to file a new issue, since it's a different version of Debian.

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