Sound problems in Linux Mint Ulyana.

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Okay, I would suggest you try a 5.8 kernel. You can install one following the steps here: https://www.linuxuprising.com/2018/10/2 ... el-in.html

Actually, before you try that, is the sound the same with the Live ISO you used to install with? If it works fine on the Live version, run sudo alsactl store followed by cat /var/lib/alsa/asound.state and paste that output here.
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

I can't properly boot into the Live session, as every I have a weird glitch where I can't boot into an OS without closing the lid, but if I do that booting into a live session, I just don't boot into it. If I don't do that, I don't see the desktop at all. But just from the opening sound of Linux Mint, the sound is perfectly fine in the Live session.

Code: Select all

state.Generic {
	control.1 {
		iface CARD
		name 'HDMI/DP,pcm=3 Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Default'
		value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.5 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name ELD
		value ''
		comment {
			access 'read volatile'
			type BYTES
			count 0
		}
	}
	control.7 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		value.4 0
		value.5 0
		value.6 0
		value.7 0
		comment {
			access 'read write'
			type INTEGER
			count 8
			range '0 - 36'
		}
	}
}
state.Generic_1 {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 87
		value.1 87
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 -6525
			dbvalue.1 -6525
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Capture Volume'
		value.0 59
		value.1 59
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 63'
			dbmin -1725
			dbmax 3000
			dbvalue.0 2700
			dbvalue.1 2700
		}
	}
	control.7 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.9 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.10 {
		iface MIXER
		name 'Master Playback Volume'
		value 44
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 -3225
		}
	}
	control.11 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface CARD
		name 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface CARD
		name 'Headphone Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.16 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.17 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.18 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 254
		value.1 254
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -20
			dbvalue.1 -20
		}
	}
}
I also upgraded to a 5.8.1 kernel, and the sound isn't fixed. I had typed this part out before the first part, and the previous issue is fixed, so yay! The sound problem still persists though.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Okay, we're getting somewhere!

In your installed version, run sudo touch /var/lib/alsa/asound.state followed by xed admin:///var/lib/alsa/asound.state and when the file opens if there's any content there, delete it and paste in what you pasted above. Save the file, then run sudo alsactl restore then test the sound.

I'm really hoping that's going to fix this.

Good luck! :D
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

Nothing changed :cry:
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Okay, try this next:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<'blacklist snd_hda_codec_realtek'
Reboot after running that then test the sound.
If that makes things worse, run this to undo it followed by another reboot:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

I'm so sorry I hadn't responded, I had to focus on school, I have some free time, so I had done what you had told me to do, and it's a bit better. It only plays static whenever there's bass or a low pitched sound.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Don't worry about delays in troubleshooting this. We deal with what we can when we can.

Your outputs early on showed headphones in use. Was that correct, and do the speakers do the same thing?
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

Yes, I'm using headphones, and it doesn't do anything with the speakers in the terms of static noise.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Okay, this might sound silly, but remove the headphones and blow as hard as you can (without spitting if possible) into the port, then reinsert the headphones and see if there's any change.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

When that surely fails, let's see if lowering the headphone volume helps. This is separate from your volume control. Run this then test:

Code: Select all

amixer -c1 set Headphone 80%
You'll need to add more volume with your volume control, and 100% won't be as loud as it was before, but maybe that'll stop this from happening. If so, we can play with the 80% and see how high we can go without adding the noise back.
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

There is unfortunately no change,
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

The lowering of the volume didn't work either.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

There's only the single audio port on that computer, correct?
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

Yeah.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Okay, I highly doubt this is going to help, but I don't know what else to try at this point:

Install alsa-tools-gui so you can run HDAJackRetask. When it opens make sure ALC295 is selected in the upper left beside Select a Codec.

Check the box for Show unconnected pins, then the Override checkbox for 0x21. Change that to Not connected.

Now try each Not connected pin other than 0x21 to see if one can be changed to Headphones by checking their Override boxes. When you've changed one of them, click on Apply now then test the sound. If success, click on Install boot override, then reboot and test again. If no success, undo the change and try another pin.

If you get an error saying Device or resource busy, then you'll have to click on Install boot override then reboot to test. If not fixed, click on Remove boot override then reboot again before trying another pin.

Good luck.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

I'm off to bed very shortly, so I'll check back tomorrow to see how it went.
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

I just have no idea. Neither of the pins worked.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

Not terribly surprising. If you had clicked on Install boot override, go ahead and click on Remove boot override now. Then reboot so everything is back to square one.

I should probably get you to run this again to see if anything else is still left behind that I forgot to have you change back:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
And we can see if the generic parser has better luck than the Realtek one with this command:

Code: Select all

sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<'blacklist snd_hda_codec_realtek'
That needs to be followed by a reboot again. And if it makes things worse, you can undo it with this this followed by another reboot:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
EDIT: Oops, we already tried that. The curl output will suffice for now.
XRhetorical
Level 1
Level 1
Posts: 23
Joined: Thu Sep 24, 2020 4:12 pm

Re: Sound problems in Linux Mint Ulyana.

Post by XRhetorical »

As I do this more and more, and I try more and more things, I'm beginning to think that this is a hardware problem. I had connected to Bluetooth, and there was no problem whatsoever, and I'm sorry to have wasted your time. I'll just buy a replacement headphone jack M-M, and I wish you well. Again, sorry to have wasted your time.
User avatar
MrEen
Level 22
Level 22
Posts: 16509
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound problems in Linux Mint Ulyana.

Post by MrEen »

It was no waste. We tried some stuff and did find some differences.

There is still a possibility it's not a hardware issue, but could just as easily actually be the cause. Bluetooth is very different. And even your speakers were fine.

Maybe a little shielding around the wires to the port would fix this, but that's just guessing.
Post Reply

Return to “Sound, Multimedia, & Codecs”