Artix Linux Forum

Artix Linux => System => Topic started by: hd_scania on 12 March 2019, 11:01:09

Title: Music files muted in VLC
Post by: hd_scania on 12 March 2019, 11:01:09
How to make this audio card working using the below stated driver when playing some music files with VLC?
Code: [Select]
[hd_scania@hd-scania ~]$  sudo lspci -knn|grep -ie sound -ie music -ie snd -ie audio -ie hda
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
        DeviceName:  Onboard Audio
        Subsystem: Samsung Electronics Co Ltd 6 Series/C200 Series Chipset Family High Definition Audio Controller [144d:c604]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
[hd_scania@hd-scania ~]$
Title: Re: Music files muted in VLC
Post by: cynicfm on 12 March 2019, 11:35:26
Hey

I have no idea why sound card in your device is playing with you.
Perhaps when you open VLC, you should try to find a tab called 'Audio' then 'Audio Device' and then choose right audio output and then the sound should play, you haven't mentioned if you tried that  :)

Title: Re: Music files muted in VLC
Post by: hd_scania on 12 March 2019, 13:29:53
Under VLC I already have selected ‘‘HDA Intel PCH’’ for sound device, but the Plasma panels doesn’t show any output devices, on Phonon i see this device and have preferred to top as what my snap says. But still muted at all somewhy.
Title: Re: Music files muted in VLC
Post by: phoenix_king_rus on 12 March 2019, 14:46:38
Under VLC I already have selected ‘‘HDA Intel PCH’’ for sound device, but the Plasma panels doesn’t show any output devices, on Phonon i see this device and have preferred to top as what my snap says. But still muted at all somewhy.
What do alsamixer and (if you use pulseaudio) pavucontrol show?
Title: Re: Music files muted in VLC
Post by: cynicfm on 12 March 2019, 15:59:46
Yeah alsamixer could be another bet...
If you can look at this picture
(https://my.mixtape.moe/oxcsag.png)
The 00 in green box just above Master 41 means that it is not muted, mm is silence. :D You can change it by pressing m button and choose each ones with -> <- keys. I am pretty sure you know this already hahah. Sorry i am being silly at the moment.
Title: Re: Music files muted in VLC
Post by: hd_scania on 12 March 2019, 23:48:10
What do alsamixer and (if you use pulseaudio) pavucontrol show?
Both are emptied. What’s wrong?
Title: Re: Music files muted in VLC
Post by: hd_scania on 12 March 2019, 23:51:53
Yeah alsamixer could be another bet...
If you can look at this picture
(https://my.mixtape.moe/oxcsag.png)
The 00 in green box just above Master 41 means that it is not muted, mm is silence. :D You can change it by pressing m button and choose each ones with -> <- keys. I am pretty sure you know this already hahah. Sorry i am being silly at the moment.
I don’t see this but nothing in my AlsaMixer, does this imply why my laptop has been muted? ::)
Title: Re: Music files muted in VLC
Post by: nous on 12 March 2019, 23:54:25
When in alsamixer, press F6 and select HDA intel.
Title: Re: Music files muted in VLC
Post by: hd_scania on 13 March 2019, 04:04:26
When in alsamixer, press F6 and select HDA intel.
Empty window somewhy, before 2017 the card was never encountered like this
Title: Re: Music files muted in VLC
Post by: fungalnet on 13 March 2019, 16:53:24
Empty window somewhy, before 2017 the card was never encountered like this

Run alsamixer from terminal, it is part of the alsa-utils package.
Title: Re: Music files muted in VLC
Post by: hd_scania on 17 March 2019, 13:38:50
Still shown to me empty somewhy, my sound cards has been down for about 2 years. :(
Title: Re: Music files muted in VLC
Post by: physkets on 17 March 2019, 15:46:14
When you press F6, is there no other option?

Also, what does pressing 'Enter' or the Up arrow key do, when S/PDIF is selected?
Title: Re: Music files muted in VLC
Post by: hd_scania on 18 March 2019, 00:24:34
When you press F6, is there no other option?
Also, what does pressing 'Enter' or the Up arrow key do, when S/PDIF is selected?
Both do nothing for me as shown in the below screenshots.
Title: Re: Music files muted in VLC
Post by: physkets on 18 March 2019, 14:52:44
So does sound not work for you only on Artix, or on every distro you've tried? Does it work, if you use, say an Ubuntu live boot?
Title: Re: Music files muted in VLC
Post by: nous on 18 March 2019, 17:56:02
Said his soundcard has been dead for 2 years.
Title: Re: Music files muted in VLC
Post by: physkets on 19 March 2019, 07:28:34
If it doesn't work in other distros also, then it is clearly a hardware/driver issue.
Title: Re: Music files muted in VLC
Post by: hd_scania on 19 March 2019, 13:29:57
Code: [Select]
[hd_scania@hd-scania ~]$ locate /usr/lib/modules|grep -e 5.0.2|grep -e intel|grep -e pci|grep -ie sound -ie snd -ie hda -ie music
/usr/lib/modules/5.0.2-artix1-1-ARTIX/kernel/sound/pci/snd-intel8x0.ko.xz
/usr/lib/modules/5.0.2-artix1-1-ARTIX/kernel/sound/pci/snd-intel8x0m.ko.xz
/usr/lib/modules/5.0.2-artix1-1-ARTIX/kernel/sound/pci/hda/snd-hda-intel.ko.xz
/usr/lib/modules/5.0.2-artix1-1-ARTIX/kernel/sound/soc/intel/atom/sst/snd-intel-sst-pci.ko.xz
[hd_scania@hd-scania ~]$
If it doesn't work in other distros also, then it is clearly a hardware/driver issue.
I looked at the drivers but seems doesn’t have driver issues, so should be hardware issue mostly. What hardware issues can cause somewhat peripherals to be out of fuctions even with the right drivers?
Title: Re: Music files muted in VLC
Post by: hd_scania on 19 March 2019, 13:32:38
So does sound not work for you only on Artix, or on every distro you've tried? Does it work, if you use, say an Ubuntu live boot?
No live sessions can boot up this card, on the all local distro even within the right drivers this card still doesn’t function properly like the above stated drivers that are ok.
Title: Re: Music files muted in VLC
Post by: physkets on 21 March 2019, 19:07:03
By "hardware issue", I just meant that it either needs to be replaced, or taken to repair for inspection.
Title: Re: Music files muted in VLC
Post by: ####### on 21 March 2019, 23:48:22
Code: [Select]
# pacman -S alsa-utils alsa-utils-openrc
# rc-update add alsasound default
You need the alsa service enabled if it has not been done already. The controls and their settings are stored at shutdown by the alsa service in /var/lib/alsa/asound.state so that is not happening properly for some reason.
Some tests with the aplay and speaker-test commands might reveal something.
Title: Re: Music files muted in VLC
Post by: Everyone on 22 March 2019, 10:25:17
I think we need to confirm if the soundcard is broken or not. Have you tried not just other GNU/Linux distros but any other operating systems actually? If it doesn't work on any other mainstream system, then we can safely assume that the hardware is broken, rendering this whole thread pretty much pointless.
Title: Re: Music files muted in VLC
Post by: ####### on 22 March 2019, 14:57:19
I think we need to confirm if the soundcard is broken or not. Have you tried not just other GNU/Linux distros but any other operating systems actually? If it doesn't work on any other mainstream system, then we can safely assume that the hardware is broken, rendering this whole thread pretty much pointless.
That was kind of what I was suggesting, but hadn't found a good guide to illustrate the use of speaker-test and aplay.
But here is one:
https://www.mythtv.org/wiki/Using_ALSA's_speaker-test_utility (https://www.mythtv.org/wiki/Using_ALSA's_speaker-test_utility)
It doesn't rely on any desktop sound working. It's also possible to pass options to the audio driver and I read you can get the situation where there are no controls in alsamixer but the hardware is working.
Another suggestion is to get an old outdated iso from when the card did work. Go back to software that you know should work, if the card has become faulty it won't work now.
Title: Re: Music files muted in VLC
Post by: hd_scania on 27 March 2019, 03:00:41
Code: [Select]
[hd_scania@hd-scania ~]$ sudo pacman -Su --noconfirm --force --needed alsa-utils alsa-utils-openrc && sudo rc-update add alsasound default
warning: option --force is deprecated; use --overwrite instead                                                                                                                                                                                                                                                                                 
error: could not register 'galaxy-gremlins' database (database already registered)                                                                                                                                                                                                                                                             
warning: alsa-utils-1.1.8-1 is up to date -- skipping                                                                                                                                                                                                                                                                                          
warning: alsa-utils-openrc-20180221-1 is up to date -- skipping                                                                                                                                                                                                                                                                                
:: Starting full system upgrade...                                                                                                                                                                                                                                                                                                             
warning: x264: local (2:155.r0a84d986-2.1) is newer than extra (2:155.r0a84d986-2)                                                                                                                                                                                                                                                             
 there is nothing to do                                                                                                                                                                                                                                                                                                                        
 * service alsasound added to runlevel default
[hd_scania@hd-scania ~]$ sudo openrc                                                                                                                                                                                                                                                                                                           
 * Restoring Mixer Levels ...
 * No mixer config in /var/lib/alsa/asound.state, you have to unmute your card!                                                                                                                                                                                                                                                           [ ok ]
[hd_scania@hd-scania ~]$ sudo mkdir -pv /var/lib/alsa && sudo touch  /var/lib/alsa/asound.state && sudo openrc
[hd_scania@hd-scania ~]$
Quote from: msg=7164 date=1553208502
Code: [Select]
# pacman -S alsa-utils alsa-utils-openrc
# rc-update add alsasound default
You need the alsa service enabled if it has not been done already. The controls and their settings are stored at shutdown by the alsa service in /var/lib/alsa/asound.state so that is not happening properly for some reason.
Some tests with the aplay and speaker-test commands might reveal something.
Totally not hard-bricked, as told to us above ‘‘you’ve to unmute your card!’’, then should mostly be just software-sided issue, so has this already ‘‘unmuted’’ the card?
Title: Re: Music files muted in VLC
Post by: hd_scania on 27 March 2019, 05:21:55
Code: [Select]
[hd_scania@hd-scania ~]$ sudo speaker-test

speaker-test 1.1.8
                                                                                                                                                                                                                                                                                                                                               
Playback device is default                                                                                                                                                                                                                                                                                                                     
Stream parameters are 48000Hz, S16_LE, 1 channels                                                                                                                                                                                                                                                                                              
Using 16 octaves of pink noise                                                                                                                                                                                                                                                                                                                 
ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave                                                                                                                                                                                                                                                                              
Playback open error: -2,No such file or directory                                                                                                                                                                                                                                                                                              
[hd_scania@hd-scania ~]$ cd /usr/share/alsa && sudo aplay -L                                                                                                                                                                                                                                                                                   
null                                                                                                                                                                                                                                                                                                                                           
    Discard all samples (playback) or generate zero samples (capture)                                                                                                                                                                                                                                                                          
hdmi:CARD=PCH,DEV=0                                                                                                                                                                                                                                                                                                                            
    HDA Intel PCH, HDMI 0                                                                                                                                                                                                                                                                                                                      
    HDMI Audio Output                                                                                                                                                                                                                                                                                                                          
[hd_scania@hd-scania alsa]$ sudo speaker-test -Dplug:spdif                                                                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                                                                                               
speaker-test 1.1.8                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                               
Playback device is plug:spdif                                                                                                                                                                                                                                                                                                                  
Stream parameters are 48000Hz, S16_LE, 1 channels                                                                                                                                                                                                                                                                                              
Using 16 octaves of pink noise                                                                                                                                                                                                                                                                                                                 
Playback open error: -2,No such file or directory                                                                                                                                                                                                                                                                                              
[hd_scania@hd-scania alsa]$
That was kind of what I was suggesting, but hadn't found a good guide to illustrate the use of speaker-test and aplay.
But here is one:
https://www.mythtv.org/wiki/Using_ALSA's_speaker-test_utility (https://www.mythtv.org/wiki/Using_ALSA's_speaker-test_utility)
It doesn't rely on any desktop sound working. It's also possible to pass options to the audio driver and I read you can get the situation where there are no controls in alsamixer but the hardware is working.
Another suggestion is to get an old outdated iso from when the card did work. Go back to software that you know should work, if the card has become faulty it won't work now.
Title: Re: Music files muted in VLC
Post by: hd_scania on 27 March 2019, 05:28:16
I think we need to confirm if the soundcard is broken or not. Have you tried not just other GNU/Linux distros but any other operating systems actually? If it doesn't work on any other mainstream system, then we can safely assume that the hardware is broken, rendering this whole thread pretty much pointless.
For surely the card is not broken, but somewhy always muted on any distro.
Title: Re: Music files muted in VLC
Post by: physkets on 06 April 2019, 10:45:05
How do you know that card is not broken?
Title: Re: Music files muted in VLC
Post by: hd_scania on 02 July 2019, 05:18:46
How do you know that card is not broken?
When i've backed up the all data and systems to create an empty GPT, the first thing done is to install GhostBSD first, before all Linux distro, and GhostBSD has hence revived my audio card. Totally hard drive issue. :)