You are not logged in.

#1 2016-07-08 03:07:44

jeffrey
Member
From: Plano, TX
Registered: 2016-07-08
Posts: 5

[Solved] No Sound on New Arch Linux Install (KDE)

Hello. I'm a new user to Arch Linux and I've been having trouble getting the sound working on my fresh Arch Linux (KDE) install.

So far, I have tried the instructions to get ALSA working:

1. sudo pacman -S alsa-utils
2. amiser sset Master unmute

My output is:

$ amixer sset Master unmute
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 49 [77%] [-15.00dB] [on]

I also have installed kdemultimedia-kmix. I can change the volume using my keyboard (Corsair K70 RGB), but nothing happens and I also don't see the volume bar in my system tray.

Additionally, when I look at my playback devices, I see a GM200 High Definition Audio Digital Stereo (HDMI).

This is my second install and the first one had a volume bar in the system tray. I'm not sure why I'm unable to see it in this installation.

Thank you for your help!

Last edited by jeffrey (2016-07-09 17:49:37)

Offline

#2 2016-07-08 04:32:25

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [Solved] No Sound on New Arch Linux Install (KDE)

So far, I have tried the instructions to get ALSA working:

1. ...
2. amiser sset Master unmute

Does the alsa mixer indicate a muted volume control?

A desktop I take it? Some system information would be nice: Dedicated server for a home entertainment system or personal machine? OEM or "after-market" sound cards? Integral audio? (Folks can't help if they don't know what they're dealing with.)

Also, please post the output of:

$ aplay -l

$ cat /proc/asound/cards

$ pacman -Qs alsa

$ pacman -Qs pulseaudio

Last edited by madpierre (2016-07-08 04:35:09)

Offline

#3 2016-07-08 05:05:26

jeffrey
Member
From: Plano, TX
Registered: 2016-07-08
Posts: 5

Re: [Solved] No Sound on New Arch Linux Install (KDE)

Thank you for helping! Answers to your questions:

madpierre wrote:

Does the alsa mixer indicate a muted volume control?

In the ALSA Mixer, Master is unmuted and everything else (Front, Surround, Center, LFE, etc.) is muted.

madpierre wrote:

A desktop I take it? Some system information would be nice: Dedicated server for a home entertainment system or personal machine? OEM or "after-market" sound cards? Integral audio? (Folks can't help if they don't know what they're dealing with.)

Yes, it's a desktop computer. I'm using the MSI X99 SLI Plus Motherboard's sound card. I don't understand sound cards too much, but I think it is a Realtek HD Audio.

madpierre wrote:

Also, please post the output of:

$ aplay -l

$ cat /proc/asound/cards

$ pacman -Qs alsa

$ pacman -Qs pulseaudio

[jeffrey@Lin ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[jeffrey@Lin ~]$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xfb330000 irq 43
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfb080000 irq 44
[jeffrey@Lin ~]$ sudo pacman -Qs alsa
local/alsa-lib 1.1.1-1
    An alternative implementation of Linux sound support
local/alsa-utils 1.1.1-1
    An alternative implementation of Linux sound support
local/zita-alsa-pcmi 0.2.0-3
    The successor of clalsadrv, provides easy access to ALSA PCM devices.
[jeffrey@Lin ~]$ sudo pacman -Qs pulseaudio
local/paprefs 0.9.10-6
    A simple GTK-based configuration dialog for PulseAudio
local/pasystray-git 0.5.2.r54.g13e683e-1 (multimedia)
    PulseAudio system tray (a replacement for padevchooser)
local/plasma-pa 5.6.5-1 (plasma)
    Plasma applet for audio volume management using PulseAudio
local/pulseaudio 9.0-1
    A featureful, general-purpose sound server
local/pulseaudio-gconf 9.0-1
    GConf support for PulseAudio

Also, it seems like nothing except for the time is showing up in my system tray. I installed ScreenCloud and RedShift (and ran Redshift-gtk) and it doesn't show up in the system tray. Could this possibly be linked to the issue?

Here is my error when running 'redshift-gtk'

(redshift-gtk:12574): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

Please let me know if you need any additional information.

Last edited by jeffrey (2016-07-08 05:44:59)

Offline

#4 2016-07-08 06:47:13

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [Solved] No Sound on New Arch Linux Install (KDE)

1) Kill the NVIDIA sound. Some would recommend commenting out the NVIDIA entry in /proc/asound/cards. Personally, I prefer to remove the module from the kernel and then blacklist the module- followed by reboot of course. This will force the machine to choose the integrated sound controller. Thereby avoiding conflicts.

2) Remove pulseaudio and run straight ALSA. Beyond a certain point, the two are simply parallel controls and provide little more than confusion from my experience.

3) After all the above, you may have to reset alsa to complete the job.

4) As far as the redshift-gtk error, as it states, there is a problem in the CSS definition of GtkButton's style properties (deprecated) and it shouldn't be used. There may be an upgrade in the AUR but you'll have to sort that one out for yourself (that's your job in "Arch-World").

5) KDE applets and icons, I can't be of much help. I haven't used KDE for a number of years- I'd likely provide more harm than good. My only suggestion- dig deeper into your KDE setup.

Last edited by madpierre (2016-07-08 08:44:49)

Offline

#5 2016-07-08 19:04:07

jeffrey
Member
From: Plano, TX
Registered: 2016-07-08
Posts: 5

Re: [Solved] No Sound on New Arch Linux Install (KDE)

madpierre wrote:

1) Kill the NVIDIA sound. Some would recommend commenting out the NVIDIA entry in /proc/asound/cards. Personally, I prefer to remove the module from the kernel and then blacklist the module- followed by reboot of course. This will force the machine to choose the integrated sound controller. Thereby avoiding conflicts.

2) Remove pulseaudio and run straight ALSA. Beyond a certain point, the two are simply parallel controls and provide little more than confusion from my experience.

3) After all the above, you may have to reset alsa to complete the job.

4) As far as the redshift-gtk error, as it states, there is a problem in the CSS definition of GtkButton's style properties (deprecated) and it shouldn't be used. There may be an upgrade in the AUR but you'll have to sort that one out for yourself (that's your job in "Arch-World").

5) KDE applets and icons, I can't be of much help. I haven't used KDE for a number of years- I'd likely provide more harm than good. My only suggestion- dig deeper into your KDE setup.

I have a couple questions regarding your instructions..

1. How do you blacklist? I saw some instructions on the Arch Wiki, but didn't understand. How do you remove the module from the Kernel? And then how do you know what name to use to blacklist the module?

5. When you say dig deeper, do you mean settings-wise? When I installed KDE the first time it seemed like I had the systray working but it didn't get set up by default the second time around.

Thank you for your help! If I can't figure out how to blacklist it, I'll just use the other method.

Last edited by jeffrey (2016-07-08 19:04:33)

Offline

#6 2016-07-08 21:09:58

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [Solved] No Sound on New Arch Linux Install (KDE)

How do you blacklist?

1) Find the module's name (hint: audio card module names are usually prefaced with "snd_")- https://wiki.archlinux.org/index.php/Ke … nformation

**If you still have trouble determining the name of the module  enter "$ lspci -v" but please first read and try the instructions. It's to your benefit.

2) Unload the module- https://wiki.archlinux.org/index.php/Ke … e_handling
**My personal preference- "# rmmod module_name" (But, again, read and try the instructions.)

3) Blacklist the module- https://wiki.archlinux.org/index.php/Ke … acklisting

4) Reboot

5) If you still have questions after reading the above, ask.


When you say dig deeper, do you mean settings-wise?


Yes. You should be able to manually create launchers and applets that appear in the systray (or on a panel) which are persistent. As I wrote, I haven't worked with KDE in many years. My memory is always suspect. However, I don't recall having any difficulty customizing the DE. I do recommend that you first work with the tools available in the GUI. Then, and only if need be, use the console to tailor the DE to your liking. Be patient. Use your creative abilities. Research. Most of all: Think.

https://www.kde.org/


Thank you for your help!


No thanks required (but appreciated). You're welcome, of course.

Last edited by madpierre (2016-07-08 21:28:28)

Offline

#7 2016-07-08 21:49:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,452

Re: [Solved] No Sound on New Arch Linux Install (KDE)

The module will be snd-hda-intel for both, you shouldn't black list here (except maybe snd-hda-codec-hdmi ). Also it shouldn't be a problem to use pulseaudio if you want to use it, there likely was a misconfiguration that would be easily resolved. If you intend to use pulseaudio you might want to make sure what your streams are set to in e.g. pavucontrol (or post

pacmd list-sinks

so we can have a look)

For most other parts follow madpierrre's advice.

Last edited by V1del (2016-07-08 22:12:19)

Offline

#8 2016-07-09 16:06:32

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [Solved] No Sound on New Arch Linux Install (KDE)

Welcome to Arch jeffrey! You have options. Explore them and find the one that works for you.

Offline

#9 2016-07-09 17:49:19

jeffrey
Member
From: Plano, TX
Registered: 2016-07-08
Posts: 5

Re: [Solved] No Sound on New Arch Linux Install (KDE)

Thank you all for the help! I'm very excited to be a part of the community! smile

Offline

#10 2016-07-09 17:55:19

madpierre
Member
Registered: 2016-05-27
Posts: 188

Re: [Solved] No Sound on New Arch Linux Install (KDE)

Thank you all for the help! I'm very excited to be a part of the community!

Again, no thanks required. Welcome aboard.

Offline

Board footer

Powered by FluxBB