You are not logged in.

#1 2014-09-17 16:09:17

vvz
Member
Registered: 2014-09-17
Posts: 6

[SOLVED] player stops playing

Hello!

I've installed Arch first time and everything looks good.

One problem -  I start playing mp3 file in vlc  and if skype makes any sound (somebody logon or logoff, or I make any sound test in skype),  vlc stops playing (pauses).

Does anybody know what the problem is?

Thank you.

Last edited by vvz (2014-09-17 17:54:29)

Offline

#2 2014-09-17 16:17:52

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] player stops playing

 So you probably run pulseaudio to run skype. Maybe vlc is grabbing hardware.

aplay -lL; lspci -vvnn | grep -A1 '040[1-3]'; cat /proc/asound/modules; amixer -c 0;
lsusb #if there is a usb sound card;
# or use the alsa-info script
# run fuser when vlc plays
fuser -v /dev/snd/*
# run it when skyp plays test sounds
# and if you can when both try to use audio

Offline

#3 2014-09-17 16:43:46

vvz
Member
Registered: 2014-09-17
Posts: 6

Re: [SOLVED] player stops playing

Looks like you are right, I'm using pulseaudio for skype.
Next:
aplay -lL - command not found
lspci output  - 00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio
                      Controller [8086:0c0c] (rev 06)    Subsystem: Lenovo Device [17aa:5028]
cat /proc/asound/modules - 0 snd_hda_intel
                                             1 snd_hda_intel
                                             29 thinkpad_acpi
amixer -c 0 - command not found
lsusb - Bus 001 Device 005: ID 0bda:5719 Realtek Semiconductor Corp
fuser -v /dev/snd/*  -      USER        PID ACCESS COMMAND
/dev/snd/controlC0:  vassiliy    586 F.... pulseaudio
/dev/snd/controlC1:  vassiliy    586 F.... pulseaudio
/dev/snd/pcmC1D0p:   vassiliy    586 F...m pulseaudio

sorry, I'm not good with audio system at all, what do you mean "try  to use audio"?
any link to read ?
thank you

Offline

#4 2014-09-17 16:49:44

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] player stops playing

 Please use [⁣code][⁣/code] tags for output of commands or scripts. Correct your post.
 You need alsa-utils package to run aplay and amixer. Edit your post and paste the correct results.

Edit: Clarification.

Last edited by emeres (2014-09-17 16:51:28)

Offline

#5 2014-09-17 17:07:19

vvz
Member
Registered: 2014-09-17
Posts: 6

Re: [SOLVED] player stops playing

aplay -lL -
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
sysdefault:CARD=PCH
    HDA Intel PCH, CX20751/2 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CX20751/2 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lspci output  - 00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio
                      Controller [8086:0c0c] (rev 06)    Subsystem: Lenovo Device [17aa:5028]
cat /proc/asound/modules - 0 snd_hda_intel 
                                             1 snd_hda_intel
                                             29 thinkpad_acpi
lsusb - Bus 001 Device 005: ID 0bda:5719 Realtek Semiconductor Corp
fuser -v /dev/snd/*  -      USER        PID ACCESS COMMAND
/dev/snd/controlC0:  vassiliy    586 F.... pulseaudio
/dev/snd/controlC1:  vassiliy    586 F.... pulseaudio
/dev/snd/pcmC1D0p:   vassiliy    586 F...m pulseaudio
amixer -c 0  -----
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

thank you

Offline

#6 2014-09-17 17:10:31

vvz
Member
Registered: 2014-09-17
Posts: 6

Re: [SOLVED] player stops playing

After installation alsa-utils   everything  works, thank you
Could you give me any link to read about audio system?
Thank you for your help

Offline

#7 2014-09-17 17:29:54

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] player stops playing

 Arch Linux wiki would be a good start. You probably want to set PCH as default, but that may occur later on. Your hdmi is set as default sound card now, but pulseaudio takes care of that. If it works, you can leave it at that. Should something come up, set PCH as default using modprobe options:

options snd-hda-intel index=1,0

 Could it be that you cut of the output of lspci? Only one sound card is showing, try:

lspci -vvnn | grep -A1 -i audio

 Should that be the case, please edit your previous post and add the information. You are welcome.

Offline

#8 2014-09-17 17:39:48

vvz
Member
Registered: 2014-09-17
Posts: 6

Re: [SOLVED] player stops playing

lspci -vvnn | grep -A1 -i audio  complete output

00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
	Subsystem: Lenovo Device [17aa:5028]
--
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
	Subsystem: Lenovo Device [17aa:5028]

thank you, I need to read a lot before I come with some more questions

Offline

#9 2014-09-17 17:40:26

vvz
Member
Registered: 2014-09-17
Posts: 6

Re: [SOLVED] player stops playing

I believe we can close this thread

Offline

#10 2014-09-17 17:49:46

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [SOLVED] player stops playing

Offline

Board footer

Powered by FluxBB