No Sound on 19.2 XFCE

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

No Sound on 19.2 XFCE

Post by milon » Wed Sep 11, 2019 12:08 pm

I recently upgraded my work PC and installed a fresh copy of LM 19.2 with XFCE, and I can't get any audio at all to play. I really don't know anything about the Linux audio system, but according to my forum searches, this info may be helpful:

Code: Select all

cooper@CooperFamilyChiro:~$ inxi -Fxz
System:
  Host: CooperFamilyChiro Kernel: 5.0.0-27-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop System: Hewlett-Packard product: p7-1180t v: 2.00 
  serial: <filter> 
  Mobo: PEGATRON model: 2AC2 v: 2.00 serial: <filter> BIOS: AMI v: 7.16 
  date: 10/05/2011 
CPU:
  Topology: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24743 
  Speed: 1596 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Hewlett-Packard driver: N/A bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: vesa unloaded: fbdev,modesetting 
  resolution: 1280x1024~N/A 
  OpenGL: renderer: llvmpipe (LLVM 8.0 256 bits) v: 3.3 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.0.0-27-generic 
Network:
  Device-1: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: rt2800pci 
  v: 2.3.0 port: f040 bus ID: 05:00.0 
  IF: wlp5s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus ID: 06:00.0 
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 307.42 GiB used: 30.67 GiB (10.0%) 
  ID-1: /dev/sda vendor: Western Digital model: WD2500BPVT-26JJ5T0 
  size: 232.89 GiB temp: 29 C 
  ID-2: /dev/sdb vendor: Western Digital model: WD800AAJS-60B4A0 
  size: 74.53 GiB 
Partition:
  ID-1: / size: 226.58 GiB used: 15.19 GiB (6.7%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 703.5 MiB used: 297.8 MiB (42.3%) fs: ext4 
  dev: /dev/sda1 
  ID-3: swap-1 size: 979.5 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-3 
Sensors:
  System Temperatures: cpu: 35.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 233 Uptime: 22h 11m Memory: 5.73 GiB used: 1.64 GiB (28.6%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

Code: Select all

cooper@CooperFamilyChiro:~$ aplay -l
aplay: device_list:270: no soundcards found...
This command was run while playing a YouTube video (and Firefox reports audio is being played):

Code: Select all

cooper@CooperFamilyChiro:~$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 14.70 ms
	max request: 4 KiB
	max rewind: 4 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	configured latency: 25.00 ms; range is 0.50 .. 2000.00 ms
	module: 14
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"
Any ideas on what I should try? I don't absolutely require audio, but some things will be quite difficult without it.

sleeper12
Level 6
Level 6
Posts: 1045
Joined: Thu May 25, 2017 3:22 pm

Re: No Sound on 19.2 XFCE

Post by sleeper12 » Wed Sep 11, 2019 12:46 pm

Until MrEen advises, have a look here:
https://mreen.000webhostapp.com/SoundFixTips.html

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Wed Sep 11, 2019 1:33 pm

Hi milon.

Looks like your sound card is playing hide and seek with your computer. Your inxi results show this:

Code: Select all

Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.0.0-27-generic
Yet ALSA, via aplay, reports no soundcards found.

In addition, you're running in software rendering mode, as indicated by this:

Code: Select all

OpenGL: renderer: llvmpipe (LLVM 8.0 256 bits) v: 3.3 Mesa 19.0.8
Your system is getting old, so it is possible the 5.x kernel has removed some support you still require. Do you still have a 4.15 kernel you could boot to and test the sound stuff?

One more thing. Your partitioning setup looks a little odd to me. Is that a RAID setup?

Beyond all that, thy these in the terminal one line at a time (Cinnamon users reading this don't remove pulseaudio!):

Code: Select all

apt remove --purge alsa-base pulseaudio
apt install alsa-base pulseaudio
sudo alsa force-reload
One last thing. Check in your BIOS to see if anything sound related is disabled. One user even had success by disabling the on-board sound for one boot, then re-enabling it on the next boot.

Hoser Rob
Level 14
Level 14
Posts: 5495
Joined: Sat Dec 15, 2012 8:57 am

Re: No Sound on 19.2 XFCE

Post by Hoser Rob » Thu Sep 12, 2019 8:59 am

MrEen wrote:
Wed Sep 11, 2019 1:33 pm
... Your system is getting old, so it is possible the 5.x kernel has removed some support you still require. Do you still have a 4.15 kernel you could boot to and test the sound stuff?...
That's what I was thinking, new kernels are reaaly meant for new hardware support and are much more likely to break old machines than fix them. The 4.15 kernel series is LTS and should be all you'll need.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Thu Sep 12, 2019 3:24 pm

Thanks for the replies!

I haven't checked the MrEen link yet since he replied already. ;)

Yes, it is older hardware - the sad part is that it's a significant upgrade anyway! >_<

The HDD setup isn't RAID as far as I know. But I've never knowingly messed with RAID. It's 2 SATA drives, both encrypted (I work in healthcare). Maybe that's what's odd about it? SATA-0 is the primary drive, and SATA-1 is a (manual) backup drive. If I understand correctly, RAID is a different physical technology and not just a configuration/setting. This may be unrelated, but since installing 19.2 I've had difficulty with GRUB finding the boot partition and have had to occasionally boot into the rescue mode, scan drives & repair GRUB, then reboot. Not sure if that's related - I haven't tried to diagnose that yet.

I usually can't reboot during the working day, so I haven't tried falling back to kernel 4.15 yet. According to Update Manager, I do have 4.15 installed on the system. How do I boot that instead of 5.x?

I tried this without rebooting:

Code: Select all

apt remove --purge alsa-base pulseaudio
apt install alsa-base pulseaudio
sudo alsa force-reload
No joy so far - sound mixer still only lists Dummy Output. The 'aplay' and inxi' commands list the same info - aplay can't see a soundcard and inxi finds it just fine. I'll look into the BIOS later when I can afford a reboot, and I'll try to roll the kernel back then too (hopefully I can figure it out, or maybe someone can point me to it).

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Thu Sep 12, 2019 3:52 pm

Okay, it was the encryption that threw me off. It most likely isn't an issue in this regard.

Booting to the 4.15 kernel is easy if the grub screen shows when you boot up. Just select advanced options, and you should see the older kernels available there. You might need to search the forum if your grub screen doesn't show on boot on how to access it. I specifically altered my grub file on 18.3 to make it show just for this kind of reason. For me, setting GRUB_TIMEOUT=10 in /etc/default/grub was enough. For some, adding GRUB_TIMEOUT_STYLE=menu is also necessary I believe. After making that change, run sudo update-grub in the terminal to apply the changes.

It is also possible just shutting down the computer for several minutes might be enough to get the sound card recognized properly. Just checking aplay -l in the terminal will let you know if it's recognized.

Good luck.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Fri Sep 13, 2019 1:21 pm

Okay, I rebooted and got into kernel 4.15

Code: Select all

cooper@CooperFamilyChiro:~$ aplay -l
aplay: device_list:270: no soundcards found...
cooper@CooperFamilyChiro:~$ inxi -Fxz
System:
  Host: CooperFamilyChiro Kernel: 4.15.0-54-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop System: Hewlett-Packard product: p7-1180t v: 2.00 
  serial: <filter> 
  Mobo: PEGATRON model: 2AC2 v: 2.00 serial: <filter> BIOS: AMI v: 7.16 
  date: 10/05/2011 
CPU:
  Topology: Quad Core model: Intel Core i5-2400 bits: 64 type: MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 6144 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24740 
  Speed: 1596 MHz min/max: 1600/3400 MHz Core speeds (MHz): 1: 1596 2: 1596 
  3: 1596 4: 1596 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x1024~60Hz 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Desktop v: 3.3 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-54-generic 
Network:
  Device-1: Ralink RT5390 Wireless 802.11n 1T/1R PCIe driver: rt2800pci 
  v: 2.3.0 port: f040 bus ID: 05:00.0 
  IF: wlp5s0 state: down mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: 2.3LK-NAPI port: e000 
  bus ID: 06:00.0 
  IF: enp6s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 307.42 GiB used: 29.48 GiB (9.6%) 
  ID-1: /dev/sda vendor: Western Digital model: WD2500BPVT-26JJ5T0 
  size: 232.89 GiB 
  ID-2: /dev/sdb vendor: Western Digital model: WD800AAJS-60B4A0 
  size: 74.53 GiB 
Partition:
  ID-1: / size: 226.58 GiB used: 14.60 GiB (6.4%) fs: ext4 dev: /dev/dm-1 
  ID-2: /boot size: 703.5 MiB used: 297.8 MiB (42.3%) fs: ext4 
  dev: /dev/sda1 
  ID-3: swap-1 size: 979.5 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-3 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 220 Uptime: 4m Memory: 5.73 GiB used: 948.1 MiB (16.2%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
No joy. No soundcard detected and I'm definitely running the 4.15 kernel. When I leave the office, I shut everything down over the weekend. On Monday, should I boot kernel 5.x or 4.15? Are there any downsides to running an older kernel?

Also, I assume that the card should be detected whether or not the speakers are plugged in, right? I've got speakers plugged in, but I'm not certain if I'm using the correct motherboard audio port. :lol:

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Fri Sep 13, 2019 7:54 pm

I would suggest sticking with the 4.15 kernel. It's actually not older. Ubuntu will be supporting that kernel for quite a while.

Regardless which kernel you're booted into when you read this, see if running sudo alsa force-reload in the terminal gets the card recognized in aplay.

If no, let's see the output of lsmod | grep snd as well as dmesg | grep snd

Where the speakers are plugged into won't matter until the card is recognized, so don't sweat it yet. :wink:

User avatar
Spearmint2
Level 16
Level 16
Posts: 6739
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: No Sound on 19.2 XFCE

Post by Spearmint2 » Fri Sep 13, 2019 8:07 pm

Code: Select all

alsamixer
There's a place in there (F6) to pick sound card/chip. If there's an SB or soundblaster choice, try that.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Fri Sep 13, 2019 8:46 pm

Spearmint2 wrote:
Fri Sep 13, 2019 8:07 pm

Code: Select all

alsamixer
There's a place in there (F6) to pick sound card/chip. If there's an SB or soundblaster choice, try that.
I'm pretty sure that won't work as aplay is reporting no soundcards found. alsamixer only shows what's available for found soundcards.

I'm thinking it's possible snd-hda-intel isn't loading for some reason, which the lsmod output will confirm.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Mon Sep 16, 2019 1:50 pm

Thanks again for the quick & helpful replies!

Unfortunately I wasn't able to check the forums again before coming back to work today, and kernel 5.x is still the default so that's what booted. I'll look into changing that for the future.

Still no sound, but here's the output of the various commands upon a fresh boot:

Code: Select all

cooper@CooperFamilyChiro:~$ aplay -l
aplay: device_list:270: no soundcards found...
cooper@CooperFamilyChiro:~$ sudo alsa force-reload
[sudo] password for cooper:           
Unloading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
Loading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
cooper@CooperFamilyChiro:~$ aplay -l
aplay: device_list:270: no soundcards found...
cooper@CooperFamilyChiro:~$ lsmod | grep snd
snd_hda_intel          40960  0
snd_hda_codec         131072  1 snd_hda_intel
snd_hda_core           86016  2 snd_hda_intel,snd_hda_codec
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               102400  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  2 snd_seq_midi,snd_seq_midi_event
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  2 snd_seq,snd_pcm
snd                    86016  8 snd_seq,snd_seq_device,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_rawmidi
soundcore              16384  1 snd
cooper@CooperFamilyChiro:~$ dmesg | grep snd
[  191.448952] snd_hda_intel 0000:00:1b.0: Linked as a consumer to 0000:00:02.0
[  191.448996] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[  191.452901] snd_hda_intel 0000:00:1b.0: no codecs found!
[  561.986611] snd_hda_intel 0000:00:1b.0: Dropping the link to 0000:00:02.0
[  562.317213] snd_hda_intel 0000:00:1b.0: Linked as a consumer to 0000:00:02.0
[  562.317253] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[  562.321415] snd_hda_intel 0000:00:1b.0: no codecs found!
cooper@CooperFamilyChiro:~$ alsamixer
cannot open mixer: No such file or directory
cooper@CooperFamilyChiro:~$ 
What do you make of that? And I have no idea why 'alsamixer' results in 'mixer' not being a file or directory - I entered it as a one-word command and copy-pasted everything from terminal back here. If it helps, I can re-try everything once I roll it back to kernel 4.15 but I doubt that will actually help.

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Mon Sep 16, 2019 3:42 pm

Okay, there's a couple of possibilities going on. First, your BIOS may need updating. I'm not the one to help with that, but it might fix the issue. You could also try the disable audio for one boot, re-enable on the next thing mentioned earlier. It's possible a BIOS update might also fix that occasional GRUB issue.

Here's another thing that may work. In the terminal enter xed admin:///etc/modprobe.d/alsa-base.conf and when the file opens scroll to the bottom and add this new line:

Code: Select all

options snd-hda-intel probe_mask=1
Save and close the file (ignore the warnings the terminal will spit out) then run sudo alsa force-reload in the terminal. Does that get it recognized?

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Tue Sep 17, 2019 5:11 pm

Thanks for another helpful reply, MrEen!

I'll check on the BIOS later. I've done that before from Windows platforms, so I'm confident I can figure that out.

I missed the disable audio for one boot thing earlier - I'll try that on next reboot.

Editing the alsa-base.conf and restarting alsa didn't fix it either, but it was worth a shot.

I'll post again once I've tried the other 2 solutions.

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Tue Sep 17, 2019 5:35 pm

A couple other ideas that may help.

Does this system get shut down overnight and weekends? If not, see if shutting it down for a few minutes makes any difference.

And if you're up for it, changing options snd-hda-intel probe_mask=1 to options snd-hda-intel single_cmd=1, save and force reload again may help. I should also mention, when you make an edit that doesn't work, undo it afterwards so it doesn't conflict with future fix attempts.

I'll add one more Hail Mary, try sudo rmmod snd_hda_intel followed by sudo modprobe snd_hda_intel

If that last one works, we're fighting a race condition. We can add those to startup commands to work around the issue.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Wed Sep 18, 2019 12:01 pm

I had some downtime today, so I tried the remaining suggestions.

The options snd-hda-intel single_cmd=1 didn't work (and I reverted the change afterwards). The "Hail Mary" didn't work. There's no option to disable audio in the BIOS, and the BIOS driver is up to date. I shutdown over weekends, but not nightly.

aplay -l still says there are no sound cards present. I highly doubt that audio is broken since the previous owner used this tower for gaming. But I'm not sure what else to try now. :-/

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Wed Sep 18, 2019 1:15 pm

Is there still a copy of Windows on this machine?

If so, boot to Windows and see if you have working sound there. Then do a full shutdown. Do not reboot. Wait a few minutes, then boot up into Mint and check aplay -l once more.

If no, check the BIOS for Secure Boot and Fast Boot options. If you find any, disable them. Do this even if Windows is still on the machine.

Also, I can't believe I haven't already asked for this, but paste back the output for dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Wed Sep 18, 2019 1:25 pm

One more thing. Do you have firejail running? If you're not sure, you probably don't.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Thu Sep 19, 2019 4:11 pm

No MS Windows here. No firejail either.

Code: Select all

cooper@CooperFamilyChiro:~$ dmesg | grep -C1 -E 'ALSA|HDA|HDMI|snd[_-]|sound|hda.codec|hda.intel'
[    0.041049] ACPI: Added _OSI(Linux-Dell-Video)
[    0.041049] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.041049] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[   52.728330] gpio_ich: GPIO from 436 to 511 on gpio_ich
[   52.874154] snd_hda_intel 0000:00:1b.0: failed to add i915 component master (-19)
[   52.877136] snd_hda_intel 0000:00:1b.0: no codecs found!
[   52.943179] cfg80211: Loading compiled-in X.509 certificates for regulatory database
cooper@CooperFamilyChiro:~$ 
Next time I can shutdown, I'll look into Secure Boot / Fast Boot and disable what I find.

EDIT - Again, thank you SO MUCH for you continued assistance with this. I really appreciate it!

User avatar
MrEen
Level 13
Level 13
Posts: 4966
Joined: Mon Jun 12, 2017 8:39 pm

Re: No Sound on 19.2 XFCE

Post by MrEen » Thu Sep 19, 2019 4:46 pm

You're very welcome! This line is new to me and could be the cause of your issues(s):

Code: Select all

[   52.874154] snd_hda_intel 0000:00:1b.0: failed to add i915 component master (-19)
I say "issue(s)" because of the Software Rendering issue I mentioned in my first post. I just now realized you have the vesa driver loaded instead of modesetting, and that could be the cause, but graphics in NOT my area.

Anyway, searching on that line from dmesg has given me a couple of ideas to try. Try this first:

1. In the terminal enter sudo touch /etc/modprobe.d/modesetting.conf

2. In the terminal enter xed admin:///etc/modprobe.d/modesetting.conf and when the file opens add this line:

Code: Select all

options i915 modeset=1
3. Save the file, reboot then test the sound.

One thing I rarely mention; take a look in Driver Manager (it's in the Menu under System) and see if there are recommended drivers to install. That could resolve the graphics issue, and if we're lucky, might also cure the sound issue.

milon
Level 1
Level 1
Posts: 47
Joined: Thu Jan 10, 2019 3:20 pm

Re: No Sound on 19.2 XFCE

Post by milon » Thu Sep 19, 2019 6:36 pm

My BIOS (which apparently was designed in the stone age) doesn't have any secure boot or fast boot options. It's not the most basic/useless one I've seen before, but it's close, LOL.

I tried the modesetting.conf file suggestion, and the file didn't previously exist if that matters. I copy/pasted your commands, saved the file, and rebooted. Still no sound card detected. :(

I don't have a separate graphics card, so I assumed I should be on software rendering. Maybe I'm wrong about that? Anyway, I did check the drivers, and there's nothing listed at all - proprietary or otherwise. I poked around Intel (my CPU is an i5-2400), and they don't offer Linux drivers. I did learn that my CPU has the Intel HD Graphics 2000 chipset and the code name is Sandy Bridge (apparently a legacy CPU at this point). Intel also pointed me to https://01.org/linuxgraphics/downloads to get Intel graphics drivers for Linux. I can't really figure out that site, but at the bottom of the Firmware page there's another link for i915 drivers. I followed that and found drivers for Sky Lake etc CPU's, but nothing seems to be Sandy Bridge related. Does any of this mean anything to anyone?

EDIT:
I also poked around in apt just in case something showed up there. This was the most promising find:

Code: Select all

cooper@CooperFamilyChiro:~$ apt search i9
i   i965-va-driver                  - VAAPI driver for Intel G45 & HD Graphics f
p   i965-va-driver:i386             - VAAPI driver for Intel G45 & HD Graphics f
p   i965-va-driver-shaders          - VAAPI driver for Intel G45 & HD Graphics f
p   i965-va-driver-shaders:i386     - VAAPI driver for Intel G45 & HD Graphics f
p   libcupti9.1                     - NVIDIA CUDA Profiler Tools Interface runti
v   liblabltk-ocaml-dev-l9fi9       -                                           
v   liblabltk-ocaml-l9fi9           -                                           
v   libldap-ocaml-dev-xlui9:i386    -                                           
p   libnppidei9.1                   - NVIDIA Performance Primitives lib for Imag
v   python-numpy-abi9               -                                           
v   python-numpy-abi9:i386          -                                           
v   python3-numpy-abi9              -                                           
v   python3-numpy-abi9:i386         -                                           
cooper@CooperFamilyChiro:~$ 
I'm intrigued that the i965-va-driver package is installed - that's what the i means in the first column, yes? I expected to find nothing, or to find an i915 entry. Does that mean anything? I considered trying to install i965-va-driver-shaders, but it was going to remove i965-va-driver to do that, and that didn't sound good. ;)

Post Reply

Return to “Sound, Multimedia, & Codecs”