我在全新安装 12.04 时遇到了声音问题。我刚刚安装了一块新显卡,因此我决定从头开始安装 12.04。之前,计算机运行的是 11.04,我重用了旧的 /home 分区。在 11.04 中没有出现任何问题。
我有一张 Audigy 2 卡,它也可以通过 alsa 很好地反映出来:
xerxes@xerxes:/proc/asound$ cat cards
0 [Audigy2 ]: Audigy2 - SB Audigy 2 Platinum [SB0240P]
SB Audigy 2 Platinum [SB0240P] (rev.4, serial:0x10021102) at 0xec00, irq 16
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xfe89c000 irq 45
但是,我没有声音。如果我点击顶部栏中的声音图标,则会打开一个空菜单,如下图所示:
当我尝试进入声音设置(通过系统设置 -> 声音)时,系统设置窗口崩溃。当我尝试在 VLC Player 中进入音频设置(通过工具 -> 首选项 -> 音频)时,VLC Player 崩溃。当我尝试在 Rhythmbox 中播放音乐时,它会崩溃。我无法打开 pavucontrol。Alsamixer 在终端中运行良好并显示 Audigy 卡。
aplay -l
不输出任何内容,但sudo aplay -l
输出:
xerxes@xerxes:/proc/asound$ aplay -l
Home directory /home/xerxes not ours.
**** List of PLAYBACK Hardware Devices ****
card 0: Audigy2 [SB Audigy 2 Platinum [SB0240P]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: Audigy2 [SB Audigy 2 Platinum [SB0240P]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Audigy2 [SB Audigy 2 Platinum [SB0240P]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audigy2 [SB Audigy 2 Platinum [SB0240P]], device 4: p16v [p16v]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
任何想法都非常感谢:-)
答案1
如果你使用 sudo 看到你的声卡:
sudo aplay -l
然后尝试
chmod -R a+rwX /dev/snd
另外,检查你的主目录中是否存在上次安装的旧垃圾点文件,例如“pulseaudio”
--利奥
答案2
您的 ISO 可能不正常。我建议您再次下载以确保无误。然后从“新”ISO 制作 DOK 或安装光盘。
进入“LiveCD”/“尝试不安装Ubuntu”再检查一下。
告诉我们进展如何(:
答案3
我最终通过升级我的 ALSA 驱动程序解决了该问题,如下所述:https://wiki.ubuntu.com/Audio/UpgradingAlsa更具体地说,这里:https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS