[Solved] Sound Card Disappears

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
dismasop
Level 1
Level 1
Posts: 22
Joined: Sun Dec 16, 2018 1:18 pm

[Solved] Sound Card Disappears

Post by dismasop »

Code: Select all

System:    Host: Dismas Kernel: 4.15.0-42-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.7 
           Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop System: Dell product: XPS 7760 AIO v: N/A serial: <filter> 
           Mobo: Dell model: 0D4VY1 v: A00 serial: <filter> UEFI [Legacy]: Dell v: 2.4.0 date: 07/13/2018 
CPU:       Topology: Quad Core model: Intel Core i7-7700 bits: 64 type: MT MCP arch: Kaby Lake rev: 9 L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 57600 
           Speed: 900 MHz min/max: 800/4200 MHz Core speeds (MHz): 1: 900 2: 900 3: 900 4: 900 5: 900 6: 900 7: 900 8: 900 
Graphics:  Device-1: Intel HD Graphics 630 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480] vendor: Dell driver: amdgpu v: kernel 
           bus ID: 01:00.0 
           Display: x11 server: X.Org 1.19.6 driver: amdgpu,ati,modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.0.5 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-H HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.15.0-42-generic 
Network:   Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:1f.6 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Bigfoot Networks driver: ath10k_pci 
           v: kernel port: e000 bus ID: 04:00.0 
           IF: wlp4s0 state: down mac: <filter> 
           Device-3: Atheros type: USB driver: btusb bus ID: 1-11:6 
Drives:    Local Storage: total: 476.94 GiB used: 20.32 GiB (4.3%) 
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KXG50ZNV512G NVMe 512GB size: 476.94 GiB 
Partition: ID-1: / size: 468.45 GiB used: 20.32 GiB (4.3%) fs: ext4 dev: /dev/nvme0n1p1 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: amdgpu temp: 38 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 285 Uptime: 3h 19m Memory: 15.51 GiB used: 2.79 GiB (18.0%) Init: systemd runlevel: 5 Compilers: 
           gcc: 7.3.0 Shell: bash v: 4.4.19 inxi: 3.0.27 
First post, so forgive any faux pas!

I've had this problem since Mint 18.x, and putzed around every so often, but need to fix it so it doesn't interrupt my workflow as much.

When going to sleep or at bootup, my built-in soundcard does not show. Rather, it goes to via HDMI2 to a second monitor. On "Sound Settings" the "Built-in Analog Stereo" will disappear, leaving only HDMI/DisplayPort2

pulseaudio -k will tend to activate it, although I just use pavucontrol and choose "Configuration" and choose "Audio Stereo Output" and then everything works perfectly fine.

I've tried a few solutions online that were mostly Ubuntu, but none of them seemed to fix it permanently. The sound was incredibly loud on install, but I did find an online solution for that.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Sound Card Disappears

Post by MrEen »

Hi dismasop, and welcome to the forum.

On the Configuration tab of pavucontrol, is there a separate HDMI Profile you can set to Off? Or are all settings under one Profile?

Your inxi results lead me to believe it's the latter. If it's the former, set the HDMI Profile to Off and you should be good. If it's the latter we have a little more work to do.

In the terminal enter pacmd list-sinks | grep -e 'name:' -e 'index:'. Here's my output for reference:

Code: Select all

scott@scott-HP ~ $ pacmd list-sinks | grep -e 'name:' -e 'index:'
  * index: 0
	name: <alsa_output.pci-0000_00_14.2.analog-stereo>
    index: 1
	name: <alsa_output.platform-snd_aloop.0.analog-stereo>
    index: 2
	name: <alsa_output.pci-0000_00_01.1.hdmi-stereo>
scott@scott-HP ~ $ 
Yours should have a line similar to alsa_output.pci-0000_00_1f.3.analog-stereo. Then in the terminal enter xed admin:///etc/pulse/default.pa. It'll ask for your password which may not show anything as you type, just type it and hit Enter.

Once the file opens, scroll to the bottom and change this line:

Code: Select all

#set-default-sink output
to this:

Code: Select all

set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
making sure you used what your line showed if my example wasn't 100% the same.

Now save the file, run pulseaudio -k in the terminal so pulseaudio reloads the config and your issue should be gone.

Good luck.
User avatar
dismasop
Level 1
Level 1
Posts: 22
Joined: Sun Dec 16, 2018 1:18 pm

Re: Sound Card Disappears

Post by dismasop »

That seems to have done the trick, thank you!

I just also noticed that if I went to pavucontrol and chose the HDMI before I applied the fix, the Built-in Audio disappeared from the Sound Settings entirely. Interesting.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: [Solved] Sound Card Disappears

Post by MrEen »

You're welcome. Glad you're fixed. :)
Locked

Return to “Hardware Support”