Author Topic: Sound issues with 5.30 Kernel in Pep 10 respin (Solved)  (Read 844 times)

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Sound issues with 5.30 Kernel in Pep 10 respin (Solved)
« on: December 19, 2019, 08:33:01 am »
I'm not sure if this is the correct place.  Please move it to where it should be.

I installed the Pep 10 respin and updated the Nvidia to 440, and if I leave the installed 5.0 kernel I get sound.

I updated the kernel to 5.30.0.24 and after reboot, I get no sound. 

Going to audio Mixer output devices show "Dummy Output"

If I boot back to the 5.0 kernel, I get sound again and going into audio mixer, I get "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo"  With Port set to Line Out plugged in.

Not sure why as in Linux Mint 19.3, I updated Nvidia to 440 and updated kernel to 5.30.0.24 and got sound, and never got a Dummy output. 

Was just curious why on the Pep 10 respin, updating to 5.30.0.24 causes it to not find my audio.  Haven't tried the other 5.30 kernels to see if those do it, would like to use latest version, but will try the others.

Just wonder what I could try in 5.30 to see if it sees the audio controller.

Thanks.

Solved it by using UKUU and picking 5.3.18 kernel.
« Last Edit: January 01, 2020, 01:04:24 am by Cajun_Man0001 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #1 on: December 19, 2019, 09:07:19 am »
The only changes we make to pulseaudio is

a) we add
Code: [Select]
### Added to make pulseaudio-equalizer work
load-module  module-dbus-protocol
# load-module module-equalizer-sink
to the bottom of
Code: [Select]
/etc/pulse/default.paIt's probably safe to remove that in Pep10Respin.

b) we add the file
Code: [Select]
/etc/asound.confwith the contents
Code: [Select]
pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
to fix multimedia buttons.

So maybe try deleting the /etc/asound.conf file, and removing those 3 lines from the end of /etc/pulse/default.pa .. something tells me this won't make a difference, but worth a try.

Also, does audio work in a Guest session ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #2 on: December 19, 2019, 10:06:57 am »
I'll re-install the 5.3.0-24 kernel and try those and see.

Never tried logging in as Guest.  Would the password be Guest as well?  Nevermind, I figured out Guest, got confused there for a minute.

Will find out.
« Last Edit: December 19, 2019, 10:15:59 am by Cajun_Man0001 »

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #3 on: December 19, 2019, 10:29:55 am »
Nope, I did those 2 and still Dummy Output and nothing in Configuration tab.

Tried Guest and no sound there either. 

Went back to 5.0.0-37 and deleted the 5.30.0-24.  Put those files back to default and have sound.

I could try Ukuu and have it install a 5.30 kernel, but it won't be hwe like these are.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #4 on: December 19, 2019, 10:45:31 am »
How exactly are you installing the 5.3.0 kernel ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #5 on: December 19, 2019, 11:41:23 am »
I go into the update manager and click on View tab and pick Kernel just like I did on Linux Mint 19.3.

I haven't tried putting Nvidia back to 435 and then trying kernel 5.30.  Maybe I'll try that next.

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #6 on: December 19, 2019, 01:57:21 pm »
No, downgrading to Nvidia 435 didn't do any better.

I thought about re-installing the respin but not check the box to load codecs and the driver so it installs without the Nvidia driver and then try to install the 5.3 kernel and see if I lose audio. 

If it doesn't affect the audio, then install Nvidia manually and see what happens.

Just hope I can install all the things that checkbox installs after install.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #7 on: December 19, 2019, 02:03:10 pm »
How is the audio connected ? .. Audio jack or HDMI ?

What's the output from:
Code: [Select]
aplay -land
Code: [Select]
cat /proc/asound/card0/codec* | grep Codecand
Code: [Select]
cat /proc/asound/card1/codec* | grep Codec
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #8 on: December 19, 2019, 03:17:06 pm »
I connect via audio jack. 

Here is the output for those commands:
Quote
aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC1220 Digital [ALC1220 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

cat /proc/asound/card0/codec* | grep Codec

Codec: Nvidia GPU 92 HDMI/DP

cat /proc/asound/card1/codec* | grep Codec

Codec: Realtek ALC1220

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #9 on: December 19, 2019, 07:15:41 pm »
If you open a terminal and run:
Code: [Select]
alsamixerthen hit F6 to choose the sound card .. are you able to select the NON-HDMI device ? .. and if so, does that make any difference ?
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #10 on: December 19, 2019, 08:21:25 pm »
Here are the commands in kernel 5.3:

Code: [Select]
cajunman@Cajun-Peppermint ~ $ aplay -l
aplay: device_list:270: no soundcards found...
cajunman@Cajun-Peppermint ~ $ cat /proc/asound/card0/codec* | grep Codec
cat: '/proc/asound/card0/codec*': No such file or directory
cajunman@Cajun-Peppermint ~ $ cat /proc/asound/card1/codec* | grep Codec
cat: '/proc/asound/card1/codec*': No such file or directory
cajunman@Cajun-Peppermint ~ $


AlsaMixer just gives Default as the only choice.

the other info in the previous reply was in kernel 5.0.  Sorry about the previous one, I was in Kernel 5.0 when I ran aplay -l


So in Kernel 5.3, it doesn't see a soundcard.

« Last Edit: December 19, 2019, 10:20:53 pm by AndyInMokum »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #11 on: December 20, 2019, 08:06:36 am »
Try this...

Run:
Code: [Select]
gksudo xed /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conffind the section that reads:-
Code: [Select]
[Element Desktop Speaker]
switch = off
volume = off
and change it to:-
Code: [Select]
[Element Desktop Speaker]
switch = on
volume = on
SAVE the file and exit the text editor.

Now reboot to test.

or instead of rebooting, you can juts run:
Code: [Select]
pulseaudio -k && pulseaudio --startto restart PulseAudio



Source:
https://leimao.github.io/blog/Ubuntu-No-Sound-Fix/
which seems specific to your ALC1220 chip, so fingers crossed.

If the speakers now work, but the headphones still don't, maybe we need to look here:
https://askubuntu.com/questions/934488/headphones-muted-after-startup
and also make the headphone changes.
« Last Edit: December 20, 2019, 08:08:16 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #12 on: December 20, 2019, 09:42:49 am »
Nope, changed that file, re-booted still no audio.

Click on the speaker icon, pick audio mixer, and still get Dummy Output in Output devices, and No cards found in the Configuration tab.

Really not sure what to do, as I said I tried Linux Mint 19.3 Cinnamon and updated to 5.3 in their updater and had audio.  Guess I need to download their XFCE version and try it. 

The only reason I'm wanting the 5.3 kernel is I hope to someday replace this Nvidia 2080 with a AMD 5700 XT and need the 5.3 kernel, and would need audio.

May not replace the NVIDIA but if I do, I'll need the 5.3 or higher kernel to support the 5700 XT. 

Apparently I'm the only one that is losing the audio cards when updating to 5.3, or no one updates to 5.3. 

Unless this 2080 is causing the issue, as I have noticed in some distros where I can install either Legacy or UEFI with the GTX 1080, some either install UEFI only or Legacy only with this RTX 2080.  Some will do both, but have strange issues.

Guess I could try to put my RX 580 in and try installing the respin then updating to 5.3 and see if I still lose audio, but FPS in ATS and ETS2 are not as high as with the 1080 or 2080. 

But I can't see changing a video card will make any difference as updating to the 5.3 kernel makes the onboard audio unseen, so I can't see how a different graphics card would make a difference.

I would think that the HWE 5.3 Kernel here would work as the HWE 5.3 kernel on Linux Mint 19.3 works fine.  At least I think the 5.3 kernel on both LM and Pep 10 respin are hwe.

I do apologize for bringing up Linux Mint, but I'm just trying to figure out why I am getting this. 

I do like this respin so I will just settle for the 5.0 kernel and have a working audio, when the time comes when I can afford a 5700 XT, hopefully by then the 5.3 kernels will allow me to have audio. 

Offline Cajun_Man0001

  • Newly Subscribed
  • *
  • Posts: 14
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 9
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #13 on: December 22, 2019, 12:28:03 am »
Well, I ended up installing Ukuu and installing the 5.3.18 kernel.  I do have audio and it finds my onboard audio card.  And Nvidia is working.

I made the mistake of trying a 5.4.5 kernel in UKUU and it killed Nvidia drivers.  So I'm sticking with 5.3.18.

If I can eventually get a RX 5700 XT graphics card, at least I can get a 5.3 kernel via UKUU to have a kernel that supports the 5700 XT.

Thank you for trying to help me figure out how to get the hwe 5.3 kernel to work.


Online VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5821
  • Karma: 1122
  • Team Peppermint
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Sound issues with 5.30 Kernel in Pep 10 respin
« Reply #14 on: December 22, 2019, 07:27:53 pm »
Well, I ended up installing Ukuu and installing the 5.3.18 kernel.  I do have audio and it finds my onboard audio card.  And Nvidia is working.

I made the mistake of trying a 5.4.5 kernel in UKUU and it killed Nvidia drivers.  So I'm sticking with 5.3.18.

Funny you should mention that. I was going to comment that Linux 5.3.18 is the only ver I've had any luck with.  ;)

Code: [Select]
╭─vindsl@Chi-You ~ 
╰─$ inxi -D -v1
System:    Host: Chi-You Kernel: 5.3.0-18-generic x86_64 (64 bit) Desktop: N/A
           Distro: Peppermint Seven
CPU:       Dual core Intel Core i7-3540M (-HT-MCP-) speed/max: 1722/3700 MHz
Graphics:  Card: Intel 3rd Gen Core processor Graphics Controller
           Display Server: X.Org 1.19.6 drivers: (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.01hz
           GLX Renderer: Mesa DRI Intel Ivybridge Mobile
           GLX Version: 3.0 Mesa 18.0.5
Drives:    HDD Total Size: 570.1GB (4.8% used)
           ID-1: /dev/mmcblk0 model: N/A size: 64.1GB
           ID-2: /dev/sda model: Samsung_SSD_850 size: 250.1GB
           ID-3: /dev/sdb model: Hitachi_HTS72323 size: 320.1GB
Info:      Processes: 207 Uptime: 1:02 Memory: 1303.2/7864.8MB
           Client: Shell (zsh) inxi: 2.2.35
╭─vindsl@Chi-You ~ 
╰─$

I'm sticking with it too  :)