realtek alc888 no sound

I’m not good at English. I have clevo x7200 laptop with opensuse 42.3 I tried pavucontrol but no sound. Please help

/usr/sbin/hwinfo --sound
27: PCI 1b.0: 0403 Audio device
[Created at pci.378]
Unique ID: u1Nb.GzGrC0gynH6
SysFS ID: /devices/pci0000:00/0000:00:1b.0
SysFS BusID: 0000:00:1b.0
Hardware Class: sound
Model: “Intel 82801JI (ICH10 Family) HD Audio Controller”
Vendor: pci 0x8086 “Intel Corporation”
Device: pci 0x3a3e “82801JI (ICH10 Family) HD Audio Controller”
SubVendor: pci 0x1558 “CLEVO/KAPOK Computer”
SubDevice: pci 0x7200
Driver: “snd_hda_intel”
Driver Modules: “snd_hda_intel”
Memory Range: 0xb7cfc000-0xb7cfffff (rw,non-prefetchable)
IRQ: 53 (3606 events)
Module Alias: “pci:v00008086d00003A3Esv00001558sd00007200bc04sc03i00”
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: “modprobe snd_hda_intel”
Config Status: cfg=yes, avail=yes, need=no, active=unknown

45: PCI 300.1: 0403 Audio device
[Created at pci.378]
Unique ID: kEn8.kVRHWialKe4
Parent ID: 3hqH.hBAkNO+fDXA
SysFS ID: /devices/pci0000:00/0000:00:03.0/0000:03:00.1
SysFS BusID: 0000:03:00.1
Hardware Class: sound
Model: “nVidia GF100 High Definition Audio Controller”
Vendor: pci 0x10de “nVidia Corporation”
Device: pci 0x0be5 “GF100 High Definition Audio Controller”
SubVendor: pci 0x10de “nVidia Corporation”
SubDevice: pci 0x075f
Revision: 0xa1
Driver: “snd_hda_intel”
Driver Modules: “snd_hda_intel”
Memory Range: 0xbbdfc000-0xbbdfffff (rw,non-prefetchable)
IRQ: 51 (807 events)
Module Alias: “pci:v000010DEd00000BE5sv000010DEsd0000075Fbc04sc03i00”
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: “modprobe snd_hda_intel”
Config Status: cfg=yes, avail=yes, need=no, active=unknown
Attached to: #10 (PCI bridge)

47: PCI 400.1: 0403 Audio device
[Created at pci.378]
Unique ID: P5_H.kVRHWialKe4
Parent ID: M71A.lrxjIgTUK3C
SysFS ID: /devices/pci0000:00/0000:00:07.0/0000:04:00.1
SysFS BusID: 0000:04:00.1
Hardware Class: sound
Model: “nVidia GF100 High Definition Audio Controller”
Vendor: pci 0x10de “nVidia Corporation”
Device: pci 0x0be5 “GF100 High Definition Audio Controller”
SubVendor: pci 0x10de “nVidia Corporation”
SubDevice: pci 0x075f
Revision: 0xa1
Driver: “snd_hda_intel”
Driver Modules: “snd_hda_intel”
Memory Range: 0xbf4fc000-0xbf4fffff (rw,non-prefetchable)
IRQ: 52 (804 events)
Module Alias: “pci:v000010DEd00000BE5sv000010DEsd0000075Fbc04sc03i00”
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: “modprobe snd_hda_intel”
Config Status: cfg=yes, avail=yes, need=no, active=unknown
Attached to: #11 (PCI bridge)

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC888 Analog [ALC888 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia_1 [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia_1 [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia_1 [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia_1 [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

cat /etc/modprobe.d/50-sound.conf

options snd slots=snd-hda-intel,snd-hda-intel,snd-hda-intel

u1Nb.GzGrC0gynH6:82801JI (ICH10 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

kEn8.kVRHWialKe4:GF100 High Definition Audio Controller

alias snd-card-1 snd-hda-intel

P5_H.kVRHWialKe4:GF100 High Definition Audio Controller

alias snd-card-2 snd-hda-intel

Welcome to openSUSE Forums. Your output shows that you have three sound card devices present (all using the snd-hda-intel driver). There are ways to set the device order explicitly. It’s likely that all is needed is to set the appropriate device and sink for output. Are you wanting sound to come via an HDMI display device, analog speakers, or…?

Here’s a link to the openSUSE audio troubleshooting guide
https://en.opensuse.org/SDB:Audio_troubleshooting#First_method_to_run_script

Run this diagnostic script (part of alsa)

/usr/sbin/alsa-info.sh

It will upload the output to an online server, and you can report back with the link that it generates so that we can reivew further.

Sorry I dont know

/usr/sbin/alsa-info.sh

https://drive.google.com/file/d/0B7_UeOTRE5v_cFpRQkVDVUYyLWc/view

Please upload the output to https://paste.opensuse.org/ and post link here.
I don’t want to have to download a file.

https://paste.opensuse.org/71397674

Please answer this question…

Where do you want the sound output to go?

Show us the output from this command…

pactl list sinks

Speaker no sound

pactl list sinks
Sink #14
    State: SUSPENDED
    Name: alsa_output.pci-0000_00_1b.0.analog-stereo
    Description: Built-in Audio Analog Stereo
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 48000Hz
    Channel Map: front-left,front-right
    Owner Module: 8
    Mute: no
    Volume: front-left: 63555 /  97% / -0.80 dB,   front-right: 63555 /  97% / -0.80 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
    Latency: 0 usec, configured 0 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC888 Analog"
        alsa.id = "ALC888 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "0"
        alsa.card_name = "HDA Intel"
        alsa.long_card_name = "HDA Intel at 0xb7cfc000 irq 53"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:00:1b.0"
        sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
        device.bus = "pci"
        device.vendor.id = "8086"
        device.vendor.name = "Intel Corporation"
        device.product.id = "3a3e"
        device.product.name = "82801JI (ICH10 Family) HD Audio Controller"
        device.form_factor = "internal"
        device.string = "front:0"
        device.buffering.buffer_size = "352800"
        device.buffering.fragment_size = "176400"
        device.access_mode = "mmap+timer"
        device.profile.name = "analog-stereo"
        device.profile.description = "Analog Stereo"
        device.description = "Built-in Audio Analog Stereo"
        alsa.mixer_name = "Realtek ALC888"
        alsa.components = "HDA:10ec0888,15587200,00100202"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Ports:
        analog-output-lineout: Line Out (priority: 9900, not available)
        analog-output-speaker: Speakers (priority: 10000)
    Active Port: analog-output-speaker
    Formats:
        pcm

Try this…

speaker-test -Dplug:front -c2 -l5 -twav

Can you hear any sound?

try

speaker-test -Dplug:front -c2 -l5 -twav

but I dont hear any sound

Ok. Let’s check default sink…

pactl info
Server String: unix:/run/user/1000/pulse/native
Library Protocol Version: 31
Server Protocol Version: 31
Is Local: yes
Client Index: 31
Tile Size: 65472
User Name: Sager-User
Host Name: linux-gvwd
Server Name: pulseaudio
Server Version: 9.0-rebootstrapped
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.iec958-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 41f6:b594


teamviewer id 138 784 418 pass 8957

I think this is the problem…(wrong default sink)…

Default Sink: alsa_output.pci-0000_00_1b.0.iec958-stereo

Set the default sink to the desired sink (output)…

pacmd set-default-sink "alsa_output.pci-0000_00_1b.0.analog-stereo

then check

pactl info|grep Default

and run the speaker test again

speaker-test -Dplug:front -c2 -l5 -twav

Block your ears! :slight_smile:

I’m try

pacmd set-default-sink "alsa_output.pci-0000_00_1b.0.analog-stereo

root

XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
No PulseAudio daemon running, or not running as session daemon.

user

Sink alsa_output.pci-0000_00_1b.0.analog-stereo does not exist.

how to fix ?

Ok, try this instead…

pacmd set-default-sink 14
  • Based on the output you supplied previously.
pacmd set-default-sink  14

root

XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but  by uid 1000! (This could e g happen if you try to connect to a non-root  PulseAudio as a root user, over the native protocol. Don't do that.)
No PulseAudio daemon running, or not running as session daemon.

user

Sink 14 does not exist.

Always run these as user. Not sure why it doesn’t exist though…‘pactl list sinks’ listed it as ‘Sink #14’.

Run again…

pactl list short sinks

You should also be able to set this via ‘pavucontrol’ > Configuration tab (set the desired profile).

speaker still does not sound

Confirm that the default sink is now correct.

Sager-User@linux-gvwd:~> pacmd set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
Sager-User@linux-gvwd:~> pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 31
Server Protocol Version: 31
Is Local: yes
Client Index: 6
Tile Size: 65472
User Name: Sager-User
Host Name: linux-gvwd
Server Name: pulseaudio
Server Version: 9.0-rebootstrapped
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 5187:07cb
Sager-User@linux-gvwd:~> pactl info|grep Default
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Sager-User@linux-gvwd:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.1.4

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 262144
Period size range from 32 to 131072
Using max buffer size 262144
Periods = 4
was set period_size = 65536
was set buffer_size = 262144
 0 - Front Left
 1 - Front Right
Time per period = 5.466782
 0 - Front Left
 1 - Front Right
Time per period = 5.466070
 0 - Front Left
 1 - Front Right
Time per period = 5.466064
 0 - Front Left
 1 - Front Right
Time per period = 5.466063
 0 - Front Left
 1 - Front Right
Time per period = 5.466130