[SOLVED] Currently no sound on smtube running in AntiX 17
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This is part of the continuing saga of my friend who messed up an installation. I have gradually added most of what was lacking but we still have no sound. She only uses the sound for Youtube videos (smtube). I hardly ever use sound at all and know almost nothing about it!
When smtube is run from a terminal, it reports problems with .alsaequal.bin. We also had these errors:
Code:
ao/sndio can't open stdio default
[ao] Failed to initialise audio device -> no sound
problem with control file .alsaequal.bin
It also complains about not finding /dev/dsp. What package creates that device? Google suggests that it's an oss thing, but I have /dev/dsp on my LFS system and that only has alsa, not oss.
Is it safe to delete .alsaequal.bin and let the software recreate it?
I've tried using aplay to play some of the .wav files in /usr/share/sounds and I also get that .alsaequal error. If I run aplay as root, there are no errors but no sound either! I've also checked with alsamixer and everything seems to be active.
Maybe, re install/update smtube, (someone else had to do that lately), or purge & re install alsa (?).
Right. I'll try that next time I go round to her place. In the mean time, I have told her to delete that corrupt configuration file. After all, it wouldn't have been there the first time she used alsa, and seemingly it got created on the fly, so the same thing can be done again.
Roky, I have a working smtube on my AntiX laptop too. But that was a normal install, she had an abnormal one. I've been taking advantage of it to show her how Linux lets you fix things as you go along. We installed the whole desktop by hand! I haven't done that (outside of LFS) for years, not since I had a bad upgrade in Crux. This is the only thing that still needs doing.
Ok. I am going through the same thing myself hazel with my wifes Asus Windows 10 laptop that went belly up and I erased all the drive and put MX on it.
All I can think of right now is md5sum ok on original iso install?
Reinstalling smtube should not hurt. If me. I would use the remove config files also option in synaptic. Before reinstalling smtube. Instead of keeping old ones. That might be where she played in the deep end of the pool.
I use apt-get -f install from time to time on my gear also.
Edit: I reported the coaching class post. Must be opportunity post of some sort. Maybe a future spammer?
Loading the snd-pcm-oss will enable/create the /dev/dsp device. Or at least the /dev/dsp0, might still need to manually link /dev/dsp to it depending on your setup and versioning. But that's very old OSS (pre-alsa) stuff. The alsaequal.bin thing is interesting. And not necessary since you're probably not doing EQ through alsa. I'd probably move / rename / delete any $HOME/.alsa* or $HOME/.asound* stuff and see if that fixes it.
Loading the snd-pcm-oss will enable/create the /dev/dsp device. Or at least the /dev/dsp0, might still need to manually link /dev/dsp to it depending on your setup and versioning. But that's very old OSS (pre-alsa) stuff.
That's a kernel module, right? It may be old, but smtube seems to need it.
Just In case MX version is different from what AntiX carries.
Just realized I did not test yet . Opened a video. Got sound. Now to updatedb and check locate alsaequal.bin again.
The alsaequal was probably in a configuration file. And the error being that it could not find it. Not that any of that applies on a fresh install. But you could egrep the "contents" for alsaequal if it's still an issue.
So here I am again! We have established that, with the corrupt file removed, we now have sound through the headphone socket. No way of checking the back output because my friend doesn't have any speakers.
Youtube works via Firefox. Using smtube, it sometimes works and sometimes gives weird messages about "forbidden operations". I have no idea why. At least we are not getting those dsp errors any more. They must have been caused by the corrupt alsaequals file. Just for luck, I removed smtube and reinstalled it. We'll see how it goes from here.
Using smtube, it sometimes works and sometimes gives weird messages about "forbidden operations".
does it use youtube-dl as the backend?
if not, it should.
and if it does, it should be updated A LOT, outside of $PACKAGE_MANAGER (fortunately the youtube-dl binary comes with an option to do just that).
youtube-dl is the only community project that keeps up with the api-changing-game esp. youtube likes to play, in near-real-time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.