【萌新求教】linux没有声音咋搞??
Tofloor
poster avatar
aplough
deepin
2020-03-31 19:46
Author
本帖最后由 aplough 于 2020-3-31 15:27 编辑

我没用虚拟机,而是把linux装到了移动硬盘里
所以不是windows系统的问题
而且我用windows系统时声音正常
也就是说并不是硬件的问题
我把声音调到最大,仍然没有声音而且我插上耳机也识别不了
但是在设置里的反馈中是有声音的,声音随着音乐跳动
大佬们,萌新求救
怎么破???

pacmd list-cards
  1. 1 card(s) available.
  2.     index: 0
  3.         name:
  4.         driver:
  5.         owner module: 6
  6.         properties:
  7.                 alsa.card = "0"
  8.                 alsa.card_name = "HDA NVidia"
  9.                 alsa.long_card_name = "HDA NVidia at 0xa3080000 irq 17"
  10.                 alsa.driver_name = "snd_hda_intel"
  11.                 device.bus_path = "pci-0000:01:00.1"
  12.                 sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
  13.                 device.bus = "pci"
  14.                 device.vendor.id = "10de"
  15.                 device.vendor.name = "NVIDIA Corporation"
  16.                 device.product.id = "10fa"
  17.                 device.string = "0"
  18.                 device.description = "HDA NVidia"
  19.                 module-udev-detect.discovered = "1"
  20.                 device.icon_name = "audio-card-pci"
  21.         profiles:
  22.                 output:hdmi-stereo: Digital Stereo (HDMI) 输出 (priority 5400, available: no)
  23.                 output:hdmi-surround: Digital Surround 5.1 (HDMI) 输出 (priority 300, available: no)
  24.                 output:hdmi-surround71: Digital Surround 7.1 (HDMI) 输出 (priority 300, available: no)
  25.                 output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) 输出 (priority 5200, available: no)
  26.                 output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) 输出 (priority 100, available: no)
  27.                 output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) 输出 (priority 100, available: no)
  28.                 output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) 输出 (priority 5200, available: no)
  29.                 output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) 输出 (priority 100, available: no)
  30.                 output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) 输出 (priority 100, available: no)
  31.                 output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) 输出 (priority 5200, available: no)
  32.                 output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) 输出 (priority 100, available: no)
  33.                 output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) 输出 (priority 100, available: no)
  34.                 off: 关 (priority 0, available: unknown)
  35.         active profile:
  36.         sinks:
  37.                 alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3/#0: HDA NVidia Digital Stereo (HDMI 4)
  38.         sources:
  39.                 alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3.monitor/#0: Monitor of HDA NVidia Digital Stereo (HDMI 4)
  40.         ports:
  41.                 hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
  42.                         properties:
  43.                                 device.icon_name = "video-display"
  44.                 hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
  45.                         properties:
  46.                                 device.icon_name = "video-display"
  47.                 hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
  48.                         properties:
  49.                                 device.icon_name = "video-display"
  50.                 hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
  51.                         properties:
  52.                                 device.icon_name = "video-display"
Copy the Code

pacmd list-sinks
  1. 1 sink(s) available.
  2.   * index: 0
  3.         name:
  4.         driver:
  5.         flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
  6.         state: RUNNING
  7.         suspend cause:
  8.         priority: 9050
  9.         volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
  10.                 balance 0.00
  11.         base volume: 65536 / 100% / 0.00 dB
  12.         volume steps: 65537
  13.         muted: no
  14.         current latency: 34.01 ms
  15.         max request: 6 KiB
  16.         max rewind: 344 KiB
  17.         monitor source: 0
  18.         sample spec: s16le 2ch 44100Hz
  19.         channel map: front-left,front-right
  20.                      立体声
  21.         used by: 1
  22.         linked by: 2
  23.         configured latency: 40.00 ms; range is 0.50 .. 1999.82 ms
  24.         card: 0
  25.         module: 6
  26.         properties:
  27.                 alsa.resolution_bits = "16"
  28.                 device.api = "alsa"
  29.                 device.class = "sound"
  30.                 alsa.class = "generic"
  31.                 alsa.subclass = "generic-mix"
  32.                 alsa.name = "HDMI 3"
  33.                 alsa.id = "HDMI 3"
  34.                 alsa.subdevice = "0"
  35.                 alsa.subdevice_name = "subdevice #0"
  36.                 alsa.device = "9"
  37.                 alsa.card = "0"
  38.                 alsa.card_name = "HDA NVidia"
  39.                 alsa.long_card_name = "HDA NVidia at 0xa3080000 irq 17"
  40.                 alsa.driver_name = "snd_hda_intel"
  41.                 device.bus_path = "pci-0000:01:00.1"
  42.                 sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
  43.                 device.bus = "pci"
  44.                 device.vendor.id = "10de"
  45.                 device.vendor.name = "NVIDIA Corporation"
  46.                 device.product.id = "10fa"
  47.                 device.string = "hdmi:0,3"
  48.                 device.buffering.buffer_size = "352768"
  49.                 device.buffering.fragment_size = "176384"
  50.                 device.access_mode = "mmap+timer"
  51.                 device.profile.name = "hdmi-stereo-extra3"
  52.                 device.profile.description = "Digital Stereo (HDMI 4)"
  53.                 device.description = "HDA NVidia Digital Stereo (HDMI 4)"
  54.                 alsa.mixer_name = "Nvidia GPU 94 HDMI/DP"
  55.                 alsa.components = "HDA:10de0094,10280949,00100100"
  56.                 module-udev-detect.discovered = "1"
  57.                 device.icon_name = "audio-card-pci"
  58.         ports:
  59.                 hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
  60.                         properties:
  61.                                 device.icon_name = "video-display"
  62.         active port:
Copy the Code



Reply Favorite View the author
All Replies
avatar
jingle
deepin
2020-03-31 20:04
#1
Reply View the author
avatar
aplough
deepin
2020-03-31 20:18
#2
本帖最后由 aplough 于 2020-3-31 12:20 编辑

求大佬帮帮小弟
Reply View the author
avatar
zjr2463
deepin
2020-03-31 20:32
#3
如果不是驱动方面的问题,可以试试插拔一下耳机,我的uos就怪怪的,插着耳机关机后,拔掉在开机就没有声音,要插拔下耳机后才正常
Reply View the author
avatar
ghostry
deepin
2020-03-31 21:05
#4
输出设备没选对?
Reply View the author
avatar
readonly
deepin
2020-03-31 21:35
#5
内核版本低不兼容,手动升级Linux内核
Reply View the author
avatar
aplough
deepin
2020-03-31 22:41
#6
https://bbs.deepin.org/post/190414
如果不是驱动方面的问题,可以试试插拔一下耳机,我的uos就怪怪的,插着耳机关机后,拔掉在开机就没有声音 ...

谢谢回复,但是似乎不行。。。
Reply View the author
avatar
aplough
deepin
2020-03-31 22:43
#7
https://bbs.deepin.org/post/190414
输出设备没选对?

谢谢回复
只是那几个输出源都试了下,
然后pulseaudio里的所有设备都显示unplugged
Reply View the author
avatar
aplough
deepin
2020-03-31 22:47
#8
https://bbs.deepin.org/post/190414
内核版本低不兼容,手动升级Linux内核

谢谢,我升到5.6.0试一下
Reply View the author
avatar
aplough
deepin
2020-03-31 23:26
#9
https://bbs.deepin.org/post/190414
内核版本低不兼容,手动升级Linux内核

还是不行
Reply View the author
avatar
咿呀
deepin
2020-03-31 23:46
#10
你这个应该是安装pulseaudio的问题,可以根据这个教程设置一下
  1. https://bbs.deepin.org/post/172284
Copy the Code


Reply View the author
avatar
liubailinprivate
deepin
2020-03-31 23:51
#11
重装解决一切问题
Reply View the author
avatar
aplough
deepin
2020-04-01 05:01
#12
https://bbs.deepin.org/post/190414
重装解决一切问题

确实,重装后内核版本就低了,但是却有声音了??
那这样触摸板用不了好难受
Reply View the author
avatar
aplough
deepin
2020-04-01 19:31
#13
我自己顶一哈
Reply View the author
avatar
要讲武德
deepin
2020-04-02 00:28
#14
更新内核不行, 再跟新固件
Reply View the author
avatar
初心
deepin
2020-04-02 00:39
#15
我的也是没声音,之前有声音,现在没声音了
Reply View the author
avatar
aplough
deepin
2020-04-05 07:18
#16
https://bbs.deepin.org/post/190414
更新内核不行, 再跟新固件

大佬可以给萌新讲解一下详细过程吗
Reply View the author
avatar
要讲武德
deepin
2020-04-12 23:31
#17
https://bbs.deepin.org/post/190414
大佬可以给萌新讲解一下详细过程吗

论坛搜就有的
Reply View the author
avatar
aplough
deepin
2020-04-13 01:13
#18
????我发现,连上蓝牙耳机就有声音了???
Reply View the author
avatar
152******14
deepin
2020-04-13 06:10
#19
:~$ pacmd list-cards
2 card(s) available.
    index: 0
        name:
        driver:
        owner module: 6
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0x84000000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f9"
                device.string = "1"
                device.description = "HDA NVidia"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) 输出 (priority 5400, available: no)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) 输出 (priority 300, available: no)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) 输出 (priority 300, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) 输出 (priority 5200, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) 输出 (priority 100, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) 输出 (priority 100, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) 输出 (priority 5200, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) 输出 (priority 100, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) 输出 (priority 100, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) 输出 (priority 5200, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) 输出 (priority 100, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) 输出 (priority 100, available: no)
                off: 关 (priority 0, available: unknown)
        active profile:
        sinks:
                alsa_output.pci-0000_01_00.1.hdmi-stereo/#0: HDA NVidia Digital Stereo (HDMI)
        sources:
                alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor/#0: Monitor of HDA NVidia Digital Stereo (HDMI)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name:
        driver:
        owner module: 7
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x604b200000 irq 149"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "内置音频"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: 模拟立体声 输入 (priority 60, available: unknown)
                output:analog-stereo: 模拟立体声 输出 (priority 6000, available: unknown)
                output:analog-stereo+input:analog-stereo: 模拟立体声双工 (priority 6060, available: unknown)
                output:iec958-stereo: 数字立体声(IEC958) 输出 (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-stereo: 数字立体声(IEC958) 输出 + 模拟立体声 输入 (priority 5560, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI) 输出 (priority 5400, available: unknown)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) 输出 + 模拟立体声 输入 (priority 5460, available: unknown)
                off: 关 (priority 0, available: unknown)
        active profile:
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-stereo/#1: 内置音频 模拟立体声
        sources:
                alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#1: Monitor of 内置音频 模拟立体声
                alsa_input.pci-0000_00_1f.3.analog-stereo/#2: 内置音频 模拟立体声
        ports:
                analog-input-internal-mic: 内部话筒 (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-mic: 话筒 (priority 8700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-speaker: 扬声器 (priority 10000, latency offset 70200 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: 模拟耳机 (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                iec958-stereo-output: 数字输出 (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:
                               
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "video-display"

Reply View the author
avatar
152******14
deepin
2020-04-13 06:11
#20
pacmd list-sinks
2 sink(s) available.
    index: 0
        name:
        driver:
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9050
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 0 KiB
        max rewind: 0 KiB
        monitor source: 0
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     立体声
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 371.52 ms
        card: 0
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 0"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "1"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0x84000000 irq 17"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "10f9"
                device.string = "hdmi:1"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "HDA NVidia Digital Stereo (HDMI)"
                alsa.mixer_name = "Nvidia GPU 93 HDMI/DP"
                alsa.components = "HDA:10de0093,155867d2,00100100"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
        active port:
  * index: 1
        name:
        driver:
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause:
        priority: 9959
        volume: front-left: 10092 /  15% / -48.75 dB,   front-right: 10092 /  15% / -48.75 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 110.89 ms
        max request: 6 KiB
        max rewind: 64 KiB
        monitor source: 1
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     立体声
        used by: 1
        linked by: 1
        configured latency: 40.00 ms; range is 0.50 .. 371.52 ms
        card: 1
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Generic Analog"
                alsa.id = "Generic Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x604b200000 irq 149"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a348"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "模拟立体声"
                device.description = "内置音频 模拟立体声"
                alsa.mixer_name = "Realtek Generic"
                alsa.components = "HDA:10ec1220,155867d1,00100003 HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: 扬声器 (priority 10000, latency offset 70200 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: 模拟耳机 (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port:
Reply View the author