realtek alc888 no sound

Ok, that now looks as expected. We might need to wait for a sound guru to assist further.

Just to check the levels and nothing important muted etc…

amixer -c0
Sager-User@linux-gvwd:~> amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Speaker CLFE',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'Speaker Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Speaker Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [0.00dB] [on]
  Front Right: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 31 [100%] [0.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] -34.50dB] [on]
  Front Right: Playback 0 [0%] -34.50dB] [on]
Simple mixer control 'Line Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] -34.50dB] [on]
  Front Right: Playback 0 [0%] -34.50dB] [on]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] -34.50dB] [on]
  Front Right: Playback 0 [0%] -34.50dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 16 [52%] [7.50dB] [on]
  Front Right: Capture 16 [52%] [7.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '2ch'
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'


I did note that ‘Auto-Mute’ is enabled…

Simple mixer control 'Auto-Mute Mode',0
   Capabilities: enum
   Items: 'Disabled' 'Enabled'
   Item0: 'Enabled'

I’m not sure if it will make a difference, but you might try disabling that…

https://superuser.com/questions/431079/how-to-disable-auto-mute-mode

As already noted on this thread, you have 3 sound devices. My understanding is the ALC888 is device hw:0,0, ie sound card-0 (as I assume you are trying use the analogue audio output and NOT the digital audio output of your PC). Please advise if I have that wrong:


APLAY
 
**** List of PLAYBACK Hardware Devices ****
**card 0:** Intel [HDA Intel], **device 0**: ALC888 Analog [ALC888 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1

Nominally sound is routed by default to sound card-0 … and to hw:0,0 in your case.

So it IS surprising that sound is not nominally working and this is a puzzle.

I note the “pacmd” recommendation, and I note when you attempt to get such there is the error "(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.)".

That suggests user root should not try to connect to a non-root user’s pulse audio when it is running ? I don’t know enough about ‘pacmd’ use to comment further. Possibly a reboot was required after the edit ? or maybe that edit was inappropriate ? I simply do not know about ‘pacmd’.

Instead of using speaker-test, can you do a test with ‘aplay’ and in that force the sound to a specific device ? ie to hw:0,0


aplay -D hw:0,0 -vv /usr/share/sounds/alsa/test.wav

Also, there is the possibility that pulse audio is not cooperating wrt the sound being sent to the speakers. So for tranhoangviet911, on the assumption that pulse audio may be the problem, could you try using ‘pasuspender’ for the test sound (ie bypass pulse) so to see if this problem is at the alsa level or at the pulse audio level:


pasuspender -- aplay -D hw:0,0 -vv /usr/share/sounds/alsa/test.wav

note the specific syntax above wrt location of spaces and two adjacent ‘dashes’.

Please post here any errors from the above two.

If neither of the above give sound, and if the correct device is hw:0,0,then this suggests to me the problem is at alsa level. Possibly a bad install of the kernel (which includes the alsa sound driver) or some other problem. Hopefully one or both of those two commands will give sound.

i’m try but speaker no sound

Note those commands needed to be run in an xterm/konsole. I asked you to post any error messages that you may have obtained when running those commands. Did you get any ?

Further, give those commands a try also with root permissions in an xterm/konsole.

If you try that and it fails, then try forcing a re-install of your current kernel. The purpose there is to remove the possibility of a bad kernel install. Reboot after the kernel re-install before testing.

If after trying in a konsole/xterm with both regular user and with root permissions, and if a kernel forced re-install, together with trying again as a regular user and with root permission fails, then you are in bug reporting territory IMHO.
.