我尝试了所有其他“声音不起作用”的帖子,但数不清。
清除/重新安装alsa并脉冲,重新启动,将用户添加到音频组,alsa配置文件中的各种行(例如“ options snd-hda-intel model =“),然后尝试使用其他选项,例如通用,自动,基本,默认等。使用或不重新启动,pulseaudio -k && sudo alsa强制重新加载几次。
硬件:16gb ram,核心I7-4790,带有板载声音和图形的Intel Haswell主板多媒体:音频适配器:HDA-Intel-HDA Intel HDMI OS:安装了ubuntu-desktop的Ubuntu服务器14.04。
GUI声音设置仅列出虚拟声卡
alsamixer -c 0
│ Card: HDA Intel HDMI F1: Help │
│ Chip: Intel Haswell HDMI F2: System information │
│ View: F3:[Playback] F4: Capture F5: All F6: Select sound card │
│ Item: S/PDIF │
│ ┌──┐ │
│ │OO│ │
│ └──┘ │
│ < S/PDIF > │
播放-l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
Aplay -L
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, HDMI 0
HDMI Audio Output
dmix:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct sample snooping device
hw:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
HDA Intel HDMI, HDMI 0
Hardware device with all software conversions
猫/ proc /声音/卡片
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7d14000 irq 46
cat / proc / asound / devices 1::音序器2:[0- 3]:数字音频播放3:[0- 0]:硬件相关4:[0]:控件33::计时器
mplayer -ao alsa:device = hdmi /usr/share/sounds/ubuntu/stereo/system-ready.ogg
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /usr/share/sounds/ubuntu/stereo/system-ready.ogg.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
Load subtitles in /usr/share/sounds/ubuntu/stereo/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.35.0 (external)
AUDIO: 44100 Hz, 1 ch, floatle, 80.0 kbit/5.67% (ratio: 10000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '1'
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4248:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4727:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM hdmi
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa:device=hdmi'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
Exiting... (End of file)
mplayer -ao alsa:设备=硬件= 0.3 /usr/share/sounds/ubuntu/stereo/system-ready.ogg
MPlayer 1.1-4.8 (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /usr/share/sounds/ubuntu/stereo/system-ready.ogg.
libavformat version 54.20.4 (external)
Mismatching header version 54.20.3
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
Load subtitles in /usr/share/sounds/ubuntu/stereo/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 54.35.0 (external)
AUDIO: 44100 Hz, 1 ch, floatle, 80.0 kbit/5.67% (ratio: 10000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
[AO_ALSA] Format floatle is not supported by hardware, trying default.
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.4 (00.4) of 0.8 (00.7) 0.1%
Exiting... (End of file)
谢谢您的时间和帮助:)
更新:我现在添加了Creative Soundblaster play 2 USB声卡,并从BIOS禁用了板载。在我的Ubuntu桌面上,它可以立即运行,因此硬件可以正常工作。在服务器上,它什么也没做。声音设置(脉冲)中仍然只有虚拟输出。
重新安装/清除/等,但无济于事。
alsamixer根本不再打开,proc / asound不存在
sudo aplay -l
aplay: device_list:268: no soundcards found...
lspci -v | grep -A7 -i "audio"
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 8534
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f7d10000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
00:14.0 USB controller: Intel Corporation Device 8cb1 (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device 8534
find /lib/modules/`uname -r` | grep snd
(nothing)
通过恢复到较旧的内核来解决.....
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句