Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gnome says No Output and Input Devices but they are working
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
aion1223
n00b
n00b


Joined: 05 Oct 2018
Posts: 13

PostPosted: Sun Oct 27, 2024 1:13 am    Post subject: gnome says No Output and Input Devices but they are working Reply with quote

In short, I think, while I can actually play sounds with smplayer and Chrome browsers (tried Youtube), gnome settings application shows that I have neither output nor input device. I expect that there will be an icon or so, on the right top corner of the screen where some sort of control/notification icons/bars are located; where I see the power-button like icon. I can't find volume controller there, either.

Aside from the fact that I can play a video with smplayer and a Youtube video clip on my Chrome browsers, the `aplay -L` shows this:

Code:

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
pulse
    PulseAudio Sound Server
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, LG HDR 4K
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, LG HDR 4K
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output
default:CARD=Generic
    HD-Audio Generic, ALC897 Analog
    Default Audio Device
sysdefault:CARD=Generic
    HD-Audio Generic, ALC897 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    Front output / input
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Generic,DEV=0
    HD-Audio Generic, ALC897 Digital
    IEC958 (S/PDIF) Digital Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output


According to `lspci`, I have two audio devices:

Code:

$ lspci |egrep -i audio
0b:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
0d:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller


It looks like the audio devices are okay. I am not sure how I should trouble shoot for gnome settings application.

This is my emerge --info:

Code:

 $ emerge --info
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/systemd, gcc-14, glibc-2.40-r5, 6.11.5-gentoo x86_64)
=================================================================
System uname: Linux-6.11.5-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.40
KiB Mem:    65746056 total,  47778244 free
KiB Swap:   31249404 total,  31249404 free
Timestamp of repository gentoo: Fri, 25 Oct 2024 17:30:00 +0000
Head commit of repository gentoo: 93c346b716fd6ab7840ef4e3d94b12816c4c8299
sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p2) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.5.3::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo, 3.13.0-r100::gentoo
dev-lang/rust:             1.81.0::gentoo
dev-lang/rust-bin:         1.82.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          256.7::gentoo
sys-devel/binutils:        2.43-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           18.1.8::gentoo, 19.1.2::gentoo
sys-devel/gcc:             14.2.1_p20240921::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             18.1.8::gentoo
sys-devel/llvm:            18.1.8-r4::gentoo, 19.1.2::gentoo
sys-kernel/linux-headers:  6.11::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -mtune=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US ko"
MAKEOPTS="-j40"
PKGDIR="/var/cache/binpkgs"
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"
SHELL="/bin/bash"
USE="R X a52 acc accountsservice acl acpi alsa amd64 anthy apache apache2 apng apparmor avx avx2 bluetooth bluetooth-sound btpclient bzip2 c++ cairo caja cdpau cdr cet cjk clang cleartype corefonts crypt cuda cups cxx dbus detex device-mapper dhcp dirac divx dri drm dvd dvdr dvdread dvi2tty egl emacs encode epspdf extras ffmpeg flac fuse gallium gdbm gdu gif gimp gles gles1 gles2 glitz gnome gnome-keyring gnome-online-accounts gold gtk gtk3 gui hal hwaccel iconv icu imap introspection ipod iptables ipv6 irc java jingle jpeg jpeg2k lame latex libffi libtirpc libwww linguas_en linguas_ja linguas_ko linlinguas_en_US lto m17n-lib maildir mate mikmod mmx mp2 mp3 mp3g2 mp4 mp4live mpeg mplayer multilib multitarget ncurses networkmanager nls nsplugin nvenc ogg ogm opengl openmp pam pcre pdfannotextractor pluginwrapper png podcast policykit postscript ppds pstricks publishers pulseaudio python qt3 qt4 qt5 readline real samba sasl science scim sdl seccomp sftp sid snmp sound sqlite sse sse2 sse3 sse4 sse4_1 sse4_2 ssh ssl ssse3 static-libs static-pie subversion svg systemd systemtap test-rust tex4ht texi2html theora threads tiff tracker truetype type1 udev unicode usb vaapi vala vcd vdpau virgl vnc vorbis vulkan wayland win32codecs wma wmf wmp x264 x265 xa xattr xcb xetex xine xinerama xml xvid xwayland youtube zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias http2 slotmem_shm xml2enc proxy proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 multiboot" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="mouse keyboard evdev synaptics virtualbox" KERNEL="linux" L10N="ja ko en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARM Hexagon MSP430 Mips PowerPC Sparc SystemZ XCore" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="i386 x86_64 aarch64 arm" QEMU_USER_TARGETS="i386 aarch64 arm armeb x86_64" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS



While I did not understand what I was doing, I created the following two files and rebooted the system. Before that, I did not have sound:

Code:

$ cat /etc/modprobe.d/alsa.conf
options snd slots=snd-aloop,snd-hda-intel,snd-hda-intel,snd-virmidi,snd-usb-audio
options snd-hda-intel index=1,2 model=1022:1487,10de:1aeb
$ cat /etc/modules-load.d/alsa.conf
snd-aloop
snd-virmidi


Even though the sound plays, in the `dmesg` output, there are suspicious lines like these:

Code:

$ dmesg | egrep -i "(sound|audio)"
[    0.423116] Advanced Linux Sound Architecture Driver Initialized.
[    0.941693] usbcore: registered new interface driver snd-usb-audio
[    0.952520] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC897: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[    0.953004] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    0.953354] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[    0.953701] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    0.954046] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x11/0x0
[    0.954386] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    0.954728] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[    0.955088] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[    0.955773] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
[    0.956038]   No soundcards found.
[    0.963879] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.1/0000:0b:00.1/sound/card0/input2
[    0.964316] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.1/0000:0b:00.1/sound/card0/input3
[    0.964735] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.1/0000:0b:00.1/sound/card0/input4
[    0.965146] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.1/0000:0b:00.1/sound/card0/input5
[    0.973878] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input6
[    0.974291] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input7
[    0.974710] input: HD-Audio Generic Line as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input8
[    0.975133] input: HD-Audio Generic Line Out as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input9
[    0.975559] input: HD-Audio Generic Front Headphone as /devices/pci0000:00/0000:00:08.1/0000:0d:00.4/sound/card1/input10


The dmesg first said that no soundcards found, and then, a few audio-related lines followed.
Back to top
View user's profile Send private message
aion1223
n00b
n00b


Joined: 05 Oct 2018
Posts: 13

PostPosted: Sun Oct 27, 2024 5:41 pm    Post subject: Reply to my own question Reply with quote

I did Google search without knowing much. There were an Arch Linux article that seems to describe the same issue I have. In their case, `gnome` defaults `pipewire` over `pulseaudio` while the system was configured for `pulseaudio`.

I followed the Gentoo Wiki to migrate from `pulseaudio` to `pipewire`. It seems to be working now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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