Re: Audio problems (Solved)

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
joegum
Posts: 32
Joined: Thu Jul 30, 2015 2:12 am

Re: Re: Audio problems (Solved)

#41 Post by joegum »

I just marked this thread Solved. Installing KDE seems top have corrected the problem with TDE. VLC still has audio days later.

aus9
Posts: 128
Joined: Sat Jul 02, 2016 1:14 am

Re: Re: Audio problems (Solved)

#42 Post by aus9 »

great that you solved it.

joegum
Posts: 32
Joined: Thu Jul 30, 2015 2:12 am

Re: Re: Audio problems (Solved)

#43 Post by joegum »

It's working. Exactly why it's working is still a mystery. But, i can live with a little mystery :)

Thanks everyone for your time and all the advice :)

joegum
Posts: 32
Joined: Thu Jul 30, 2015 2:12 am

Re: Re: Audio problems (Solved)

#44 Post by joegum »

The problem just started occurring again after the latest upgrade. I don't know if there's a connection.

The problem is solved by logging out of TDE, ,logging into Plasma Desktop, logging out of Plasma desktop, then back into TDE.

Edit: I just posted a link to this thread on the Trinity users mailing list.

joegum
Posts: 32
Joined: Thu Jul 30, 2015 2:12 am

Re: Re: Audio problems (Solved)

#45 Post by joegum »

This is a reply I received on the Trinity Users mailing list:
Maybe this is a good time to add to the confusion. Something in the
environment as tdm is starting shuts off the sound, and it is 100%
repeatable here, running R14.0.4. And despite my best efforts at adding
the fix it command to stuff that either runs as root by init, (rcS) or
as me when I log in, sound is deader than a nail until I find a terminal
and type in the fix it: alsactl restore.

This has existed as a bootup problem for at least a year. I hear the big
thump in the speakers as the driver is loaded way back in the text only
portion of the reboot, which I see because I am an anacronism and always
have a no-splash on the kernel's load line in grub.conf. That thump
tells me the sound should work, so what is it in the tdm load time frame
that mutes it?

Whatever it should be found & killed. With no regrets. SSS theory.

aus9
Posts: 128
Joined: Sat Jul 02, 2016 1:14 am

Re: Re: Audio problems (Solved)

#46 Post by aus9 »

Hi

Based on quote box above. ....I have removed TDE, does it have its own autostart folder under your home name?

If it does you can add a unmuting and volume setting config there.

If it doesn't then you can add a system wide init script to run after /etc/init.d/alsa-utils has attempted to restore mixer levels.

######################

Leaping off topic....I nearly always set up a swap index file system wide for my intel cards like this

/etc/modprobe.d/intel.conf
contents
options snd_hda_intel index=1
reboot and then if you run alsamixer -c0 your card swapped to analog. Which for me is my preferred output device. I am not suggesting that MX sound setup fails, but its something I have grown used to from other distros and we are in the unofficial forum


system wide force of mixer level setup
##################################
reboot to be sure, then as local user run

Code: Select all

alsmixer -c0
and set your mixer levels and press EScape key to exit mixer and then set up that mixer level config file in a non-standard place, do not use the system place.

Code: Select all

sudo alsactl -f mysound.state store 0
use your filemanager to check file has been successfully created at your home folder, then create a system wide init script.

use root powers to inject one line into /etc/rc.local so it reads....change to your home name of course
I assume you would run sudo kate /etc/rc.local to get root powered text editor unless TDE uses a diff text editor
contents
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
/usr/bin/alsactl -f /home/gordon/mysound.state restore 0
exit 0
reboot to test

2) you did not mention if you had to unmute anything....your mysound file should unmute it but if fails to do so....
you tell us what you had to unmute and we prefix the alsactl line with a amixer unmuting command.
YMMV

aus9
Posts: 128
Joined: Sat Jul 02, 2016 1:14 am

Re: Re: Audio problems (Solved)

#47 Post by aus9 »

I should add above should work as I tested in on MX-15 but MX-15 does not run a true systemd system but the init system. So for any distro on systemd they may have better luck creating a service file but users of non-MX15 may prefer to read wikis that help systemd users.

Post Reply

Return to “MX Modified”