Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No sound -- Need your help. [Solved] Hardware failure.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Sat Dec 02, 2017 10:46 am    Post subject: No sound -- Need your help. [Solved] Hardware failure. Reply with quote

I've done all I can think of.

I'm not using the NVIDIA card for audio but the onboard Intel chip.

Code:
lspci -vv | grep -i audio
00:1b.0 Audio device: Intel Corporation C600/X79 series chipset High Definition Audio Controller (rev 06)
03:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)


Code:
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 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 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



I get this error every time I use an audio program, aplay, mpg123 as root even though my (onboard) card is there:

Code:
xcb_connection_has_error() returned true



I tried googling this error and I'm not getting anywhere.

Pros I need yer help please!


Last edited by Physhi on Fri Dec 22, 2017 1:23 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Sat Dec 02, 2017 1:35 pm    Post subject: Reply with quote

Physhi,

Code:
00:1b.0 Audio device: Intel Corporation C600/X79 series chipset High Definition Audio Controller (rev 06)
03:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)

Your defaurt sound card is the Intel one. That helps.

Code:
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
says that you have the ALC892 codec.
I think that needs CODEC_REALTEK support in the kernel.

What do you have in /dev/snd/

What does amixer -c0 show?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Sat Dec 02, 2017 2:04 pm    Post subject: Reply with quote

Thanks for the response Neddy

Just checked .config -- This is already in my kernel
Code:
CONFIG_SND_HDA_CODEC_REALTEK=y



Code:
ls /dev/snd/*
/dev/snd/controlC0  /dev/snd/controlC2  /dev/snd/hwC1D0    /dev/snd/pcmC0D0p  /dev/snd/pcmC0D2c  /dev/snd/pcmC1D7p  /dev/snd/pcmC1D9p  /dev/snd/seq
/dev/snd/controlC1  /dev/snd/hwC0D2     /dev/snd/pcmC0D0c  /dev/snd/pcmC0D1p  /dev/snd/pcmC1D3p  /dev/snd/pcmC1D8p  /dev/snd/pcmC2D0c  /dev/snd/timer

/dev/snd/by-id:
usb-BLUE_MICROPHONES_Blue_Snowball-00

/dev/snd/by-path:
pci-0000:00:1a.0-usb-0:1.4:1.0  pci-0000:00:1b.0  pci-0000:03:00.1


And

Code:
amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 0 [0%] [-64.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [off]
  Front Right: Playback 0 [0%] [-64.00dB] [off]
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 - 64
  Mono:
  Front Left: Playback 23 [36%] [-41.00dB] [on]
  Front Right: Playback 23 [36%] [-41.00dB] [on]
Simple mixer control 'Front Mic',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 'Front Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 2 [67%] [20.00dB]
  Front Right: 2 [67%] [20.00dB]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 23 [36%] [-41.00dB] [off]
  Front Right: Playback 23 [36%] [-41.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 23 [36%] [-41.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 23 [36%] [-41.00dB] [off]
Simple mixer control 'Side',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [off]
  Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [off]
  Front Right: Playback 31 [100%] [12.00dB] [off]
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 '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 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 46 [100%] [30.00dB] [on]
  Front Right: Capture 46 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 120 [100%] [30.00dB]
  Front Right: Capture 120 [100%] [30.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Line'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear 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]
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Sat Dec 02, 2017 2:28 pm    Post subject: Reply with quote

Physhi,

That looks good.
Code:
aplay  somefile.wav
should play somefile.wav.
Is your normal user in the audio group?
Code:
$ groups
tty wheel uucp audio cdrom video games kvm cdrw usb users vboxusers scanner wireshark plugdev roy

Needs to include audio. If not, add yourself, log out and log in again.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Sat Dec 02, 2017 3:23 pm    Post subject: Reply with quote

aplay
Code:
xcb_connection_has_error() returned true
xcb_connection_has_error() returned true
Playing WAVE 'four.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo


me groups
Code:
groups
wheel cron audio cdrom video games usb users portage
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54243
Location: 56N 3W

PostPosted: Sat Dec 02, 2017 4:12 pm    Post subject: Reply with quote

Physhi,

Please post the output of
Code:
emerge --info

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Sat Dec 02, 2017 4:17 pm    Post subject: Reply with quote

Have fun trying to to sift through all this stuff. :?

Code:
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.23-r4, 4.0.5-gentoo-SunDowner x86_64)
=================================================================
System uname: Linux-4.0.5-gentoo-SunDowner-x86_64-Intel-R-_Core-TM-_i7-4930K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16326780 total,  11141288 free
KiB Swap:   31457276 total,  31457276 free
Timestamp of repository gentoo: Sat, 18 Nov 2017 10:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.23.2::gentoo, 2.28-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow X a52 aac aalib acl acpi activities aes alsa amd64 aperfmperf apic arat arch_perfmon ass async automount avx berkdb bl bluray branding bts bzip2 cairo ccache cdda cdparanoia cdr cjk cleartype clflush cli cmov color-console constant_tsc corefonts cpudetection cracklib crypt cups cx16 cx8 cxx dbus dca de declarative dot dri ds_cpl dtes64 dtherm dts dvd dvdr eagerfpu emboss encode epb ept erms est exif f16c fam firefox flac flexpriority fontforge fortran fpu fsgsbase fxsr gdbm gif glamor gnutls gpm gtk gtk3 hddtemp ht iconv icu ida imlib ipv6 jadetex jpeg jpeg2k kde kipi kwallet lahf_lm lame lcms ldap libass libnotify libwww lm mad mca mce mmx mng modules monitor mp3 mp4 mpeg msr mtrr multilib ncurses nls nonstop_tsc nopl nptl nx ogg opengl openmp pae pam pango pat pbe pcid pclmulqdq pcre pdcm pdf pdpe1gb pebs perl pge phonon plasma pln png pni policykit popcnt ppds pse pse36 pts pulseaudio python qml qt3support qt4 qt5 rar rdrand rdtscp readline rep_good rsync script sdl seccomp semantic-desktop sep session smep socks5 spell sql sqlite ss sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg syscall systemd tcpd threads tiff tm tm2 tpr_shadow truetype tsc tsc_deadline_timer type1 udisks unicode unrar usb vim vim-syntax vme vmx vnmi vorbis vpid wayland webkit widgets win32codecs wma wxwidgets x264 x2apic xattr xcb xcomposite xine xinerama xml xsave xsaveopt xscreensaver xtopology xtpr xv xvid xvzid zip zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21635

PostPosted: Sat Dec 02, 2017 5:21 pm    Post subject: Reply with quote

This may not be relevant to your immediate problem (or it might be the solution), but I want to point out that your kernel is both very old and not even the last of its now long unsupported line. v4.0.5 was released Jun 2015. If your hardware is not substantially older than that, it's possible that a kernel upgrade is required to obtain full support for your devices. Your current kernel might have relevant audio-related bugs that are already fixed upstream (but I know of no specific bugs to back up this speculation). Even if a kernel upgrade is not relevant to your current problem, it's still a good idea on principle.
Back to top
View user's profile Send private message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Sat Dec 02, 2017 5:28 pm    Post subject: Reply with quote

Hu wrote:
This may not be relevant to your immediate problem (or it might be the solution), but I want to point out that your kernel is both very old and not even the last of its now long unsupported line. v4.0.5 was released Jun 2015. If your hardware is not substantially older than that, it's possible that a kernel upgrade is required to obtain full support for your devices. Your current kernel might have relevant audio-related bugs that are already fixed upstream (but I know of no specific bugs to back up this speculation). Even if a kernel upgrade is not relevant to your current problem, it's still a good idea on principle.


It was working even before I started to merge new packages. Working on the 30th and the 1st without me doing anything in portage and the same kernel -- it just broke somehow.

Though you have a point... Go the long route and grab a new kernel. You're someone with XP and I'm a regular jacko. I should try your advice.

I've been two days without sound and it's getting to me. :evil:
Back to top
View user's profile Send private message
Physhi
n00b
n00b


Joined: 06 Aug 2006
Posts: 27
Location: TX

PostPosted: Fri Dec 22, 2017 1:22 am    Post subject: Reply with quote

I tried to use the onboard soundchip on a Windows livedisc. Did not work. Nvidia HDMI sound works. It's my hardware that is at fault.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum