Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install, can't get audio working at all
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Sun Nov 05, 2023 10:05 am    Post subject: New install, can't get audio working at all Reply with quote

Thank you in advance for your help and the time you took to read my post.

I am a Gentoo newbie. I have been at this problem for long enough that ive forgotten when I started. I'm trying to get alsa to function, with the eventual goal of being able to use both my bluetooth headset and a pair of headphones which plug into the audio jack. I'm honestly on the edge of giving up on the whole operating system, something as stupid and simple as sound shouldnt have me tied to my computer for hours and hours.

General information:
I installed the general kernel, version is 6.1.57-gentoo-x86_64. Bash 5.1.16. AMD Ryzen 9 3950x, 64GiB RAM, 2 AMD ATI Radeon RX 5500 graphics cards, and an x570 Phantom Gaming 4 motherboard. The install is on an nvme drive, using uefi, and I didnt make a swap partition nor do I have a swap file. the 2 graphics cards are not actually the same card, despite how they appear. they are slightly different, and have a different number of ports. at present, only one is plugged into a single monitor via an hdmi connection. there are 7 ports between the two cards, 1 hdmi on each, and 3 displayport on one with only 2 on the other (physically smaller) card. All hardware components have been comfirmed to work flawlessly in other systems, except the motherboard, which I bought brand new through amazon to replace a malfunctioning one that I got second hand.

Specific problem:

Sound does not function at all on my system, and I cannot get it to function no matter how hard I try. speaker-test fails. vlc produces errors. no audio from any source can be heard through the headphones, which have been confirmed to work on another machine. bluetooth has no yet been attempted.

Output:

speaker-test
Code:

speaker-test 1.2.9

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.9/work/alsa-lib-1.2.9/src/pcm/pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slace
Playback open error: -2,No such file or directory


strace speaker-test
Code:

execve("/usr/bin/speaker-test", ["speaker-test"], 0x7ffeeba55b80 /* 46 vars */) = 0
brk(NULL)                               = 0x561d96f33000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=35123, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 35123, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fac67e33000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib64/libasound.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=979352, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fac67e31000
mmap(NULL, 978160, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fac67d42000
mmap(0x7fac67d70000, 565248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e000) = 0x7fac67d70000
mmap(0x7fac67dfa000, 192512, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb8000) = 0x7fac67dfa000
mmap(0x7fac67e29000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe7000) = 0x7fac67e29000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=911600, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 913656, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fac67c62000
mmap(0x7fac67c70000, 483328, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe000) = 0x7fac67c70000
mmap(0x7fac67ce6000, 368640, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x84000) = 0x7fac67ce6000
mmap(0x7fac67d40000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xdd000) = 0x7fac67d40000
close(3)                                = 0
openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P9\2\0\0\0\0\0"..., 832) = 832
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
newfstatat(3, "", {st_mode=S_IFREG|0755, st_size=1880920, ...}, AT_EMPTY_PATH) = 0
pread64(3, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784
mmap(NULL, 1912112, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fac67a8f000
mmap(0x7fac67ab1000, 1372160, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x22000) = 0x7fac67ab1000
mmap(0x7fac67c00000, 344064, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x171000) = 0x7fac67c00000
mmap(0x7fac67c54000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c4000) = 0x7fac67c54000
mmap(0x7fac67c5a000, 32048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fac67c5a000
close(3)                                = 0
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fac67a8c000
arch_prctl(ARCH_SET_FS, 0x7fac67a8c740) = 0
set_tid_address(0x7fac67a8ca10)         = 3566
set_robust_list(0x7fac67a8ca20, 24)     = 0
rseq(0x7fac67a8d060, 0x20, 0, 0x53053053) = 0
mprotect(0x7fac67c54000, 16384, PROT_READ) = 0
mprotect(0x7fac67d40000, 4096, PROT_READ) = 0
mprotect(0x7fac67e29000, 24576, PROT_READ) = 0
mprotect(0x561d9563b000, 4096, PROT_READ) = 0
mprotect(0x7fac67e6c000, 8192, PROT_READ) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
munmap(0x7fac67e33000, 35123)           = 0
getrandom("\xc6\x0e\x89\x60\xa6\x05\x31\x7a", 8, GRND_NONBLOCK) = 8
brk(NULL)                               = 0x561d96f33000
brk(0x561d96f54000)                     = 0x561d96f54000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=3388912, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 3388912, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fac67600000
close(3)                                = 0
newfstatat(1, "", {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}, AT_EMPTY_PATH) = 0
write(1, "\n", 1)                       = 1
write(1, "speaker-test 1.2.9\n", 19)    = 19
write(1, "\n", 1)                       = 1
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2998, ...}, AT_EMPTY_PATH) = 0
read(3, "# Locale name alias data base.\n#"..., 4096) = 2998
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "Playback device is default\n", 27) = 27
write(1, "Stream parameters are 48000Hz, S"..., 50) = 50
write(1, "Using 16 octaves of pink noise\n", 31) = 31
rt_sigaction(SIGINT, {sa_handler=0x561d956387c0, sa_mask=[INT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fac67ac7930}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0x561d956387c0, sa_mask=[TERM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fac67ac7930}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGABRT, {sa_handler=0x561d956387c0, sa_mask=[ABRT], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7fac67ac7930}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
futex(0x7fac67e309e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/usr/share/alsa/alsa.conf", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=10119, ...}, AT_EMPTY_PATH) = 0
read(3, "#\n#  ALSA library configuration "..., 4096) = 4096
read(3, "mehint.extended\n\t\t}\n\t\tdescriptio"..., 4096) = 4096
read(3, "ace\n#\n\nhwdep.default {\n\ttype hw\n"..., 4096) = 1927
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/var/lib/alsa/conf.d", R_OK)    = -1 ENOENT (No such file or directory)
access("/usr/etc/alsa/conf.d", R_OK)    = -1 ENOENT (No such file or directory)
access("/etc/alsa/conf.d", R_OK)        = -1 ENOENT (No such file or directory)
access("/etc/asound.conf", R_OK)        = 0
newfstatat(AT_FDCWD, "/etc/asound.conf", {st_mode=S_IFREG|0644, st_size=40, ...}, 0) = 0
openat(AT_FDCWD, "/etc/asound.conf", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=40, ...}, AT_EMPTY_PATH) = 0
read(3, "defaults.pcm.card 2\ndefaults.ctl"..., 4096) = 40
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/home/danbo/.asoundrc", R_OK)   = -1 ENOENT (No such file or directory)
access("/home/danbo/.config/alsa/asoundrc", R_OK) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/share/alsa/cards/aliases.conf", {st_mode=S_IFREG|0644, st_size=1487, ...}, 0) = 0
openat(AT_FDCWD, "/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=1487, ...}, AT_EMPTY_PATH) = 0
read(3, "#\n#  Define aliases for various "..., 4096) = 1487
openat(AT_FDCWD, "/usr/share/alsa/ctl/default.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=539, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n# Default control device\n#\n\nct"..., 4096) = 539
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=760, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n# Default output\n#\n\npcm.!defau"..., 4096) = 760
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1708, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n# dmix output\n#\n\npcm.!dmix {\n\t"..., 4096) = 1708
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1590, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n# dsnoop\n#\n\npcm.!dsnoop {\n\t@ar"..., 4096) = 1590
read(4, "", 4096)                       = 0
close(4)                                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089f70) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089a40) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc72089e14) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089fe0) = 0
close(3)                                = 0
access("/usr/share/alsa/cards/HDA-Intel.conf", R_OK) = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/cards/HDA-Intel.conf", {st_mode=S_IFREG|0644, st_size=8074, ...}, 0) = 0
openat(AT_FDCWD, "/usr/share/alsa/cards/HDA-Intel.conf", O_RDONLY) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=8074, ...}, AT_EMPTY_PATH) = 0
read(3, "#\n# Configuration for the Intel "..., 4096) = 4096
openat(AT_FDCWD, "/usr/share/alsa/pcm/front.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=802, ...}, AT_EMPTY_PATH) = 0
brk(0x561d96f75000)                     = 0x561d96f75000
read(4, "#\n# Hardware output from front s"..., 4096) = 802
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround21.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=923, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 2.1 sp"..., 4096) = 923
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=901, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 4.0 sp"..., 4096) = 901
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround41.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1004, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 4.1 sp"..., 4096) = 1004
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround50.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1003, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 5.0 sp"..., 4096) = 1003
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=954, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 5.1 sp"..., 4096) = 954
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/surround71.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1002, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from 7.1 sp"..., 4096) = 1002
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1218, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from iec958"..., 4096) = 1218
read(4, "", 4096)                       = 0
close(4)                                = 0
openat(AT_FDCWD, "/usr/share/alsa/pcm/hdmi.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1186, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n#  Hardware output from HDMI\n#"..., 4096) = 1186
read(4, "", 4096)                       = 0
close(4)                                = 0
read(3, "s.CARD { type string }\n\t@args.AE"..., 4096) = 3978
brk(0x561d96f96000)                     = 0x561d96f96000
openat(AT_FDCWD, "/usr/share/alsa/pcm/modem.conf", O_RDONLY) = 4
newfstatat(4, "", {st_mode=S_IFREG|0644, st_size=1312, ...}, AT_EMPTY_PATH) = 0
read(4, "#\n# \"raw\" modem - phoneline\n#\n\np"..., 4096) = 1312
read(4, "", 4096)                       = 0
close(4)                                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/var/lib/alsa/card0.conf.d", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089f70) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089a40) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc72089e14) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089fe0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089f70) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089a40) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc72089e14) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089fe0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC3", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC4", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC5", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC7", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC8", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC9", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC10", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC11", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC13", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC14", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC15", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC16", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC17", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC18", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC19", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC20", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC21", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC22", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC23", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC24", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC25", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC26", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC27", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC28", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC29", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC30", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC31", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089850) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088e80) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088cf0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc720890c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089290) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088e80) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088cf0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc720890c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089290) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088e80) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=10119, ...}, 0) = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72088cf0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc720890c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089290) = 0
close(3)                                = 0
newfstatat(AT_FDCWD, "/etc/nsswitch.conf", {st_mode=S_IFREG|0644, st_size=2091, ...}, 0) = 0
newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0755, st_size=224, ...}, 0) = 0
openat(AT_FDCWD, "/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2091, ...}, AT_EMPTY_PATH) = 0
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 2091
read(3, "", 4096)                       = 0
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=2091, ...}, AT_EMPTY_PATH) = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/group", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=632, ...}, AT_EMPTY_PATH) = 0
lseek(3, 0, SEEK_SET)                   = 0
read(3, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 632
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089630) = 0
close(3)                                = 0
semget(0x56c4d5, 1, IPC_CREAT|0660)     = 4
semctl(4, 0, IPC_STAT, {sem_perm={uid=1000, gid=1000, mode=0660, key=5686485, cuid=1000, cgid=1000}, sem_otime=0, sem_ctime=1699177059, sem_nsems=1}) = 0
semctl(4, 0, IPC_SET, {sem_perm={uid=1000, gid=18, mode=0660}}) = 0
semtimedop(4, [{sem_num=0, sem_op=0, sem_flg=0}, {sem_num=0, sem_op=1, sem_flg=SEM_UNDO}], 2, NULL) = 0
shmget(0x56c4d5, 488, 0660)             = -1 ENOENT (No such file or directory)
shmget(0x56c4d5, 488, IPC_CREAT|IPC_EXCL|0660) = 10
shmat(10, NULL, 0)                      = 0x7fac67e3b000
mlock(0x7fac67e3b000, 488)              = 0
shmctl(10, IPC_STAT, {shm_perm={uid=1000, gid=1000, mode=0660, key=5686485, cuid=1000, cgid=1000}, shm_segsz=488, shm_cpid=3566, shm_lpid=3566, shm_nattch=1, shm_atime=1699177059, shm_dtime=0, shm_ctime=1699177059}) = 0
shmctl(10, IPC_SET, {shm_perm={uid=1000, gid=18, mode=0660}}) = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7ffc72089570) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7ffc72089714) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7ffc7208977c) = 0
openat(AT_FDCWD, "/dev/snd/pcmC2D0p", O_RDWR|O_NONBLOCK|O_CLOEXEC) = -1 ENOENT (No such file or directory)
close(3)                                = 0
write(2, "ALSA lib /var/tmp/portage/media-"..., 115) = 115
write(2, "unable to open slave", 20)    = 20
write(2, "\n", 1)                       = 1
shmdt(NULL)                             = -1 EINVAL (Invalid argument)
shmdt(0x7fac67e3b000)                   = 0
shmctl(10, IPC_STAT, {shm_perm={uid=1000, gid=18, mode=0660, key=5686485, cuid=1000, cgid=1000}, shm_segsz=488, shm_cpid=3566, shm_lpid=3566, shm_nattch=0, shm_atime=1699177059, shm_dtime=1699177059, shm_ctime=1699177059}) = 0
shmctl(10, IPC_RMID, NULL)              = 0
semctl(4, 0, IPC_RMID, NULL)            = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "Playback open error: -2,No such "..., 50) = 50
exit_group(1)                           = ?
+++ exited with 1 +++


aplay -l
Code:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI_1 [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI_1 [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


aplay -L
Code:

null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=HDMI_1,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI_1,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI_1,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI_1,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI_1,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
front:CARD=Generic
    Front output / input
surround21:CARD=Generic
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers


ls /proc/asound/
Code:

card0
card1
card2
cards
devices
Generic
HDMI
HDMI_1
hwdep
modules
oss
pcm
seq
timers
version


cat /proc/asound/cards
Code:

 0 [HDMI_1         ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfc5a0000 irq 83
 1 [HDMI           ]: HDA-Intel - HDA ATI HDMI
                      HDA ATI HDMI at 0xfcda0000 irq 85
 2 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xfcc00000 irq 87


lspci
Code:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:05.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B]
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
02:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
02:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c7)
04:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c7)
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
06:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
08:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
09:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
0a:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) (rev 01)
0b:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c5)
0c:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
0d:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5)
0d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function
0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
0f:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
0f:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
0f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller


make.conf copy
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -march=znver2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j32"
ACCEPT_LICENSE="*"
USE="-gnome -kde -systemd alsa dbus elogind X"
INPUT_DEVICES="libinput synaptics"
VIDEO_CARDS="amdgpu radeon radeonsi"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="https://mirror.clarkson.edu/gentoo/ \
    http://mirror.clarkson.edu/gentoo/ \
    rsync://mirror.clarkson.edu/gentoo/ \
    http://www.gtlib.gatech.edu/pub/gentoo \
    rsync://rsync.gtlib.gatech.edu/gentoo \
    https://mirrors.mit.edu/gentoo-distfiles/ \
    http://mirrors.mit.edu/gentoo-distfiles/ \
    rsync://mirrors.mit.edu/gentoo-distfiles/ \
    https://gentoo.osuosl.org/ \
    http://gentoo.osuosl.org/ \
    https://mirrors.rit.edu/gentoo/ \
    http://mirrors.rit.edu/gentoo/ \
    ftp://mirrors.rit.edu/gentoo/ \
    rsync://mirrors.rit.edu/gentoo/ \
    https://mirror.servaxnet.com/gentoo/ \
    http://mirror.servaxnet.com/gentoo/ \
    http://gentoo-mirror.flux.utah.edu/"
GRUB_PLATFORMS="efi-64"


when changing audio devices in vlc, the output for all aside from the hdmi ones results in a stream of no such file or directory errors in a popup. all the options outputted by aplay -L are options in vlc. in any case, I'm sure I missed a few commands that might be useful. please tell me what information is missing if its needed, and how to get it (it would be fair to assume I dont know).
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Sun Nov 05, 2023 3:45 pm    Post subject: Reply with quote

Welcome to Gentoo.

ALSA is difficult with some setups (frustration here is normal).

Your analog audio device is not showing up in: aplay -l (which is odd)
Could you please share the output of:
Code:
lspci -nnk
Back to top
View user's profile Send private message
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Sun Nov 05, 2023 4:30 pm    Post subject: Reply with quote

shadowless wrote:
Welcome to Gentoo.

ALSA is difficult with some setups (frustration here is normal).

Your analog audio device is not showing up in: aplay -l (which is odd)
Could you please share the output of:
Code:
lspci -nnk


I'm certainly frustrated, this isn't where I thought I'd be getting stuck! Here is what you needed:

lspci -nnk
Code:

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Root Complex [1022:1480]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1453]
   Kernel driver in use: pcieport
00:01.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1453]
   Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:03.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1483]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge [1022:1453]
   Kernel driver in use: pcieport
00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:05.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:07.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
   Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Host Bridge [1022:1482]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Internal PCIe GPP Bridge 0 to bus[E:B] [1022:1484]
   Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 61)
   Subsystem: ASRock Incorporation FCH SMBus Controller [1849:ffff]
   Kernel driver in use: piix4_smbus
   Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
   Subsystem: ASRock Incorporation FCH LPC Bridge [1849:ffff]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 0 [1022:1440]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 1 [1022:1441]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 2 [1022:1442]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 3 [1022:1443]
   Kernel driver in use: k10temp
   Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 4 [1022:1444]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 5 [1022:1445]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 6 [1022:1446]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Matisse/Vermeer Data Fabric: Device 18h; Function 7 [1022:1447]
01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream [1022:57ad]
   Kernel driver in use: pcieport
02:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1453]
   Kernel driver in use: pcieport
02:06.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a3]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1453]
   Kernel driver in use: pcieport
02:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1484]
   Kernel driver in use: pcieport
02:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1484]
   Kernel driver in use: pcieport
02:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:57a4]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge [1022:1484]
   Kernel driver in use: pcieport
03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c7)
   Kernel driver in use: pcieport
04:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
   Kernel driver in use: pcieport
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev c7)
   Subsystem: Hewlett-Packard Company Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [103c:86de]
   Kernel driver in use: amdgpu
   Kernel modules: amdgpu
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
06:00.0 Ethernet controller [0200]: Intel Corporation I211 Gigabit Network Connection [8086:1539] (rev 03)
   Subsystem: ASRock Incorporation I211 Gigabit Network Connection [1849:1539]
   Kernel driver in use: igb
   Kernel modules: igb
07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
07:00.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:1486]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
07:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:148c]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
08:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
   Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
   Kernel driver in use: ahci
   Kernel modules: ahci
09:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 51)
   Subsystem: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901]
   Kernel driver in use: ahci
   Kernel modules: ahci
0a:00.0 Non-Volatile memory controller [0108]: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) [10ec:5765] (rev 01)
   Subsystem: Realtek Semiconductor Co., Ltd. RTS5765DL NVMe SSD Controller (DRAM-less) [10ec:5765]
   Kernel driver in use: nvme
   Kernel modules: nvme
0b:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c5)
   Kernel driver in use: pcieport
0c:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
   Kernel driver in use: pcieport
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev c5)
   Subsystem: ASRock Incorporation Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1849:5116]
   Kernel driver in use: amdgpu
   Kernel modules: amdgpu
0d:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
   Subsystem: ASRock Incorporation Navi 10 HDMI Audio [1849:5116]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel
0e:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse PCIe Dummy Function [1022:148a]
0f:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP [1022:1485]
0f:00.1 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
   Subsystem: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP [1022:1486]
   Kernel driver in use: ccp
   Kernel modules: ccp
0f:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller [1022:149c]
   Subsystem: ASRock Incorporation Matisse USB 3.0 Host Controller [1849:ffff]
   Kernel driver in use: xhci_hcd
   Kernel modules: xhci_pci
0f:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487]
   Subsystem: ASRock Incorporation Starship/Matisse HD Audio Controller [1849:1202]
   Kernel driver in use: snd_hda_intel
   Kernel modules: snd_hda_intel

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 05, 2023 6:43 pm    Post subject: Reply with quote

newfriend4949,

Welcome to Gentoo. With multiple sound cards ALSA can be tricky and you have
/proc/asound/:
card0
card1
card2
that's three.

ALSA will use card 0 device 0 by default.
Code:
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0d:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
0f:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
and they will be enumerated in device discovery order.
That's the PCIe device order normally. In your case, its the first output on the first video card, which is rarely useful.

Which sound card do you want to use and which output?
Wild guess ... for your analogue sound card make a file /etc/asound.conf containing
Code:
defaults.pcm.card 2    # Analogue
defaults.pcm.device 0  # Default Device


Its read every time Alsa starts.

I share your frustration with Alsa. I once spent several weeks with my webcam as the default sound card.
It had a Mic but no speakers. :)
_________________
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
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1902

PostPosted: Sun Nov 05, 2023 6:49 pm    Post subject: Reply with quote

Since the dedicated HD Audio device is detected as Generic codec, this smells like a missing codec in the kernel config.

Many AMD chipsets need the REALTEK HDA codec.
Back to top
View user's profile Send private message
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Sun Nov 05, 2023 7:29 pm    Post subject: Reply with quote

NeddySeagoon wrote:

Which sound card do you want to use and which output?
Wild guess ... for your analogue sound card make a file /etc/asound.conf containing
Code:
defaults.pcm.card 2    # Analogue
defaults.pcm.device 0  # Default Device



The monitors to which the hdmi, or any other video output cables, connect do not have built in speakers and so can't really be used as an effective output. I intend to use the sound card on the motherboard, even after I get bluetooth working (my plan is pipewire). The given config did not work (its owned by root, if that matters), and doesnt seem to have changed what the default is. Checking in alsamixer, my default is still one of the hdmis. Using f6 to switch to the HD-Audio Generic (card 2) reads "This sound device does not have any controls" and leaves the Chip and Item fields in the top left blank.

grknight wrote:

Since the dedicated HD Audio device is detected as Generic codec, this smells like a missing codec in the kernel config.

Many AMD chipsets need the REALTEK HDA codec.

Without making any changes (I expect that the kernel is the very same general kernel I went with at install, since I have not touched it nor did I configure it when I first set things up), I'm looking through the kernel configuration with cd /usr/src/linux and make menuconfig. I exit out by hitting exit and not saving any changes (in case I hit something by mistake).

Device Drivers --->
Sound Card Support --->
Advanced Linux Sound Architecture --->
HD-Audio --->
<M> HD Audio PCI
<*> Build hwdep interface for HD-audio driver
-*- Allow dynamic codec reconfiguration
[*] Support digital beep via input layer
(0) Digital beep registration mode (0=off, 1=on)
[*] Support initialization
< > Build CS35L41 HD-Audio side codec for support for I2C bus
< > Build CS35L41 HD-audio codec support
<M> Build Realtek HD-audio codec support
<M> Build Analog Devices HD-audio codec support
<M> Build IDT/Sigmatel HD-audio codec support
<M> Build VIA HD-audio codec support
<M> Build HDMI/Displayport HD-audio codec support
<M> Build Cirrus Logic codec support
< > Build Cirrus Logic HDA bridge support
<M> Build Conexant HD-Audio codec support
<M> Build Creative CA0110-IBG codec support
<M> Build Creative CA0132 codec support
[*] Support new DSP code for CA0132
<M> Build C-Media HD-audio codec parser
-M- Enable generic HD-audio codec parser
(1) Default time-out for HD-audio power-save mode
[ ] Enable Silent Stream always for HDMI
[ ] Use the device identifier field for controls

This is what I'm looking at. I do intend to come at the kernel and configure it to my goals for the system, once everything is in a place where I dont feel the need to install anything further. After Ive done a fair bit of research on it and prepared thoroughly. Despite my immense frustration with alsa, I do enjoy tinkering. I just like it better when it goes well, lol!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Nov 05, 2023 8:41 pm    Post subject: Reply with quote

newfriend4949,

Your kernel looks OK. Lets stop guessing.

/etc/asound.conf should be
Code:
$ ls -l /etc/asound.conf
-rw-r--r-- 1 root root 1850 Jul 29 19:50 /etc/asound.conf
All users need to be able to read it

What do you have in
Code:
/proc/asound/devices


What does
Code:
grep -i codec: -R /proc/asound
return?
_________________
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Sun Nov 05, 2023 9:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:
newfriend4949,

Your kernel looks OK. Lets stop guessing.

/etc/asound.conf should be
Code:
$ ls -l /etc/asound.conf
-rw-r--r-- 1 root root 1850 Jul 29 19:50 /etc/asound.conf
All users need to be able to read it

What do you have in
Code:
/proc/asound/devices


What does
Code:
grep -i codec: -R /proc/asound
return?


Here are those outputs, the configuration file looks good to me but I dont understand the output of the other two at all

ls -l /etc/asound.conf
Code:

-rw-r--r-- 1 root root 42 Nov    5 14:06 /et/asound.conf


cat /proc/asound/devices
Code:

 2: [ 2]    : control
 3: [ 0- 3]: digital audio playback
 4: [ 0- 7]: digital audio playback
 5: [ 1- 3]: digital audio playback
 6: [ 1- 7]: digital audio playback
 7: [ 0- 8]: digital audio playback
 8: [ 0- 9]: digital audio playback
 9: [ 1- 8]: digital audio playback
10: [ 1- 9]: digital audio playback
11: [ 0-10]: digital audio playback
12: [ 0- 0]: hardware dependent
13: [ 1-10]: digital audio playback
14: [ 1- 0]: hardware dependent
15: [ 0]    : control
16: [ 1]    : control
33:          : timer


grep -i codec: -R /proc/asound
Code:

/proc/asound/HDMI/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: ATI R6xx HDMI
/proc/asound/HDMI_1/codec#0:Codec: ATI R6xx HDMI
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Mon Nov 06, 2023 12:00 am    Post subject: Reply with quote

newfriend4949 wrote:
ls -l /etc/asound.conf
Code:
-rw-r--r-- 1 root root 42 Nov    5 14:06 /et/asound.conf


Looks like you forgot a 'c' in '/etc' there
Back to top
View user's profile Send private message
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Mon Nov 06, 2023 12:13 am    Post subject: Reply with quote

shadowless wrote:
newfriend4949 wrote:
ls -l /etc/asound.conf
Code:
-rw-r--r-- 1 root root 42 Nov    5 14:06 /et/asound.conf


Looks like you forgot a 'c' in '/etc' there


That would be because I made the dumb decision to simply type the output I saw in this case, and made a silly typo
Back to top
View user's profile Send private message
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Mon Nov 06, 2023 3:38 am    Post subject: Reply with quote

A quick update, I have not succeeded in getting audio to play at all. I have since attempted:

https://wiki.gentoo.org/wiki/ALSA#HDMI.2FSPDIF_5.1_and_7.1_speaker_testing
the result being that I can play a file without error with mplayer but it fails to produce any sound and using anything other than hdmi produces large amounts of errors in vlc using the same file
https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output
the order did not change as expected and the output of other commands seems to remain the same
https://wiki.gentoo.org/wiki/ALSA#Headphones_jack_not_working
no discernable change whatsoever

I have also emerged several times over, repeatedly rebooted, and been through more forum posts like the following:
https://bbs.archlinux.org/viewtopic.php?id=202649
than I can even count. Ive lost track of a few even
https://bbs.archlinux.org/viewtopic.php?id=280204 the solutions ehre didnt work however this is the result of dmesg |grep -iE 'snd|sof'
Code:

[    0.000000] software IO TLB: area num 32.
[    0.313422] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.330979] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.330981] software IO TLB: mapped [mem 0x00000000a2ded000-0x00000000a6ded000] (64MB)
[    3.314065] snd_hda_intel 0000:05:00.1: Force to non-snoop mode
[    3.314378] snd_hda_intel 0000:0d:00.1: enabling device (0000 -> 0002)
[    3.314439] snd_hda_intel 0000:0d:00.1: Force to non-snoop mode
[    3.314555] snd_hda_intel 0000:0f:00.4: enabling device (0000 -> 0002)
[    3.331640] snd_hda_intel 0000:0f:00.4: no codecs found!
[    4.806076] snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    5.357004] snd_hda_intel 0000:0d:00.1: bound 0000:0d:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

it seems like its not finding a codec? this is probably related to the issue
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Nov 06, 2023 9:10 am    Post subject: Reply with quote

newfriend4949,


/proc/asound/devices:
 2: [ 2]    : control

Is the only entry for card 2.
The card number is the first number in square brackets.

Its [<card>- Device]

The codec for card 2 is not listed in grep -i codec: -R /proc/asound either.

Make friends with wgetpaste and pastebin your entire dmesg output and entire kernel .config file.
Things that are missing but should be there are as important as the lines that are there.
When the files are filtered, the first set of clues is lost.

-- edit --
dmesg:
[    3.331640] snd_hda_intel 0000:0f:00.4: no codecs found!

That's be the codecs for your analogue sound card.

That's what we have to track down and fix.
_________________
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Mon Nov 06, 2023 12:27 pm    Post subject: Reply with quote

NeddySeagoon wrote:

pastebin your entire dmesg output and entire kernel .config file


dmesg
https://pastebin.com/ssERVH8f

and cat /usr/src/linux-6.1.57-gentoo/.config (the kernel config file)
https://pastebin.com/XPjKJhPZ

we at least know the specific thing that needs to be fixed now
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Nov 06, 2023 2:52 pm    Post subject: Reply with quote

newfriend4949,

It all looks OK, almost

Code:

[    4.145214] snd_hda_intel 0000:0f:00.4: enabling device (0000 -> 0002)
[    4.149287] snd_hda_intel 0000:0f:00.4: no codecs found!

That first line is correct.

The second line should not be there and it should continue with something like
Code:
[   14.911787] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC1220: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
[   14.911791] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   14.911793] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   14.911795] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   14.911796] snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
[   14.911797] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   14.911798] snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
[   14.911800] snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
[   14.911801] snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a

You will have hdaudioC2D0: and it may not be snd_hda_codec_realtek but you have all the codecs except a couple of obscure ones I've never seen in years.

What does
Code:
lsmod
show?

What is the make and model of your motherboard, so we can compare it to others on the web.
Audio codecs are not a constant.
_________________
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
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5069
Location: Bavaria

PostPosted: Mon Nov 06, 2023 3:23 pm    Post subject: Reply with quote

newfriend4949,

you have said you have not changed anything in your kernel configuration, but you are missing something important:
Code:
# CONFIG_PINCTRL_AMD is not set

That is strange to me.

Have you booted your Gentoo system from NVMe or from LiveCD ? ->
Quote:
[ 0.000000] Linux version 6.1.57-gentoo-x86_64 (root@livecd) ...


BTW:
Please try to configure this static <*>
Code:
CONFIG_AMD_IOMMU_V2=m

and this can be disabled:
Code:
CONFIG_PINCTRL_INTEL=m
CONFIG_INTEL_IOMMU=y

(of course you could disable more than this, there is a lot of unnecessary modules; but its normal for a generic kernel configuration)

What I do when having a problem with hardware:
1. Boot with GentooLiveCD and check if sound works (If not, I try UbuntuLiveCD)
2. Check (and notice) all loaded modules with "lsmod" and "lspci -k"
3. Save the system log with "dmesg -t" (-t makes it without timestamp at the beginning, so I can easiely make a diff with my current system log - also build/saved with "dmesg -t")
4. Identify missing kernel modules ... BUT ... there are some modules you have to know because you dont see it in "lsmod" (because they are configured static into the kernel; like e.g. LPSS or PINCTRL)

P.S.: AFAIK your onboard sound needs only "snd_hda_codec_realtek" ... for me it looks like that your card was not approachable by snd_hda_intel (which should be the correct module) ... maybe due to the missing pinctrl.
Back to top
View user's profile Send private message
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Mon Nov 06, 2023 9:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:

What does
Code:
lsmod
show?

What is the make and model of your motherboard, so we can compare it to others on the web.
Audio codecs are not a constant.


I bought an "ASRock X570 PHANTOM GAMING 4 AM4 AMD X570 SATA 6Gb/s ATX AMD Motherboard" from newegg new to replace an x570 of a different kind I got second hand, which was no good (serves me right, cheaping out on the motherboard!) Here is the exact item: https://www.newegg.com/asrock-x570-phantom-gaming-4/p/N82E16813157884?Item=N82E16813157884

and lsmod output
Code:

Module                  Size  Used by
cfg80211             1130496  0
rfkill                 36864  1 cfg80211
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
vfat                   24576  1
amdgpu               9662464  5
fat                    86016  1 vfat
intel_rapl_msr         20480  0
intel_rapl_common      32768  1 intel_rapl_msr
mfd_core               20480  1 amdgpu
iommu_v2               24576  1 amdgpu
edac_mce_amd           40960  0
gpu_sched              53248  1 amdgpu
drm_buddy              20480  1 amdgpu
video                  65536  1 amdgpu
drm_ttm_helper         16384  1 amdgpu
ttm                    94208  2 amdgpu,drm_ttm_helper
snd_hda_codec_hdmi     81920  2
drm_display_helper    180224  1 amdgpu
kvm_amd               155648  0
cec                    61440  1 drm_display_helper
snd_hda_intel          57344  0
rc_core                69632  1 cec
kvm                  1126400  1 kvm_amd
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
drm_kms_helper        204800  5 drm_display_helper,amdgpu
snd_hda_codec         184320  2 snd_hda_codec_hdmi,snd_hda_intel
irqbypass              16384  1 kvm
wmi_bmof               16384  0
snd_hda_core          122880  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
crct10dif_pclmul       16384  1
snd_hwdep              16384  1 snd_hda_codec
drm                   610304  11 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
snd_pcm               151552  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ghash_clmulni_intel    16384  0
joydev                 28672  0
sha512_ssse3           53248  0
snd_timer              49152  1 snd_pcm
snd                   126976  6 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
sp5100_tco             20480  0
rapl                   20480  0
backlight              24576  4 video,drm_display_helper,amdgpu,drm
soundcore              16384  1 snd
ccp                   118784  1 kvm_amd
k10temp                16384  0
pcspkr                 16384  0
i2c_piix4              28672  0
efi_pstore             16384  0
wmi                    36864  2 video,wmi_bmof
mac_hid                16384  0
acpi_cpufreq           32768  0
efivarfs               24576  1
xfs                  2289664  1
libcrc32c              16384  1 xfs
crc32_pclmul           16384  0
crc32c_intel           24576  1
nvme                   57344  2
igb                   270336  0
aesni_intel           393216  0
nvme_core             159744  3 nvme
xhci_pci               24576  0
crypto_simd            16384  1 aesni_intel
i2c_algo_bit           16384  2 igb,amdgpu
xhci_pci_renesas       20480  1 xhci_pci
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel
t10_pi                 20480  1 nvme_core
xhci_hcd              331776  1 xhci_pci
ahci                   49152  0
i2c_core              118784  7 drm_kms_helper,i2c_algo_bit,igb,drm_display_helper,amdgpu,i2c_piix4,drm
crc64_rocksoft         20480  1 t10_pi
libahci                49152  1 ahci
crc64                  20480  1 crc64_rocksoft
dca                    16384  1 igb


pietinger wrote:

Have you booted your Gentoo system from NVMe or from LiveCD ?

I installed using a USB live image, and the only disk on my system is an nvme drive in an m2 slot. Im not sure why it would say root@livecd there though, I have a user set up and that is not what I named my machine, nor what is displayed in my console or through my terminal emulator.

EDIT: PS, apologies for the late reply, I started my first day at a new job today, so I couldnt reply until I had gotten home
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Nov 07, 2023 3:01 pm    Post subject: Reply with quote

newfriend4949,

Heres every line in your lsmod that mentions codec
Code:
snd_hda_codec_hdmi     81920  2
drm_display_helper    180224  1 amdgpu
kvm_amd               155648  0
cec                    61440  1 drm_display_helper
snd_hda_intel          57344  0
rc_core                69632  1 cec
kvm                  1126400  1 kvm_amd
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
drm_kms_helper        204800  5 drm_display_helper,amdgpu
snd_hda_codec         184320  2 snd_hda_codec_hdmi,snd_hda_intel
irqbypass              16384  1 kvm
wmi_bmof               16384  0
snd_hda_core          122880  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
crct10dif_pclmul       16384  1
snd_hwdep              16384  1 snd_hda_codec
drm                   610304  11 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
snd_pcm               151552  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
ghash_clmulni_intel    16384  0
joydev                 28672  0
sha512_ssse3           53248  0
snd_timer              49152  1 snd_pcm
snd                   126976  6 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm


All the analogue codecs are missing from the left column.

Run
Code:
ls -R /lib/modules/`uname -r` | grep snd-hda
to discover all the kernel modules with snd-hda in their names.
We know that snd-hda-codec-hdmi.ko is there as its already loaded.
Others corresponding to hardware codecs should be there too, like snd-hda-codec-realtek.ko
Notice the realtek.

What happens if you
Code:
modprobe snd-hda-codec-realtek

What is at the end of dmesg now?

Your motherboard manual on page 4 says ACL1200 Audio Codec. That's Realtek.

Report any errors.
_________________
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Tue Nov 07, 2023 7:04 pm    Post subject: Reply with quote

NeddySeagoon wrote:

...
Report any errors.


ls -R /lib/modules/`uname -r` | grep snd-hda
Code:

snd-hda-core.ko
snd-hda-ext-core.ko
snd-hda-codec-analog.ko
snd-hda-codec-ca0110.ko
snd-hda-codec-ca0132.ko
snd-hda-codec-cirrus.ko
snd-hda-codec-cmedia.ko
snd-hda-codec-conexant.ko
snd-hda-codec-generic.ko
snd-hda-codec-hdmi.ko
snd-hda-codec-idt.ko
snd-hda-codec.ko
snd-hda-codec-realtek.ko
snd-hda-codec-si3054.ko
snd-hda-codec-via.ko
snd-hda-intel.ko


and
Code:
modprobe snd-hda-codec-realtek

produces no output on the command line

running dmesg directly after:
https://pastebin.com/59cKgnrA
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Nov 07, 2023 7:16 pm    Post subject: Reply with quote

newfriend4949,

No output on the command line in a good sign. That means that the module loaded without error.
I was hoping that there would be an error in dmseg or your analogue sound card would appear.

If snd-hda-codec-realtek stayed loaded, it would be at the top of lsmod.
Modules are listed in load order, oldest at the bottom.

Many modules unload themselves if they find nothing to do.
That could indicate that the wrong codec has been bound ... but the error is no coders found.

Last cross check. Has anything extra appeared in /proc/asound/devices ?
_________________
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Tue Nov 07, 2023 7:43 pm    Post subject: Reply with quote

NeddySeagoon wrote:

Last cross check. Has anything extra appeared in /proc/asound/devices ?

for the sake of completeness I ran all the commands again, there seems to be some difference between running the commands after a reboot and running the commands right after modprobe. specifically, the output of lsmod seems to change, but some others seem to have remained the same in output. running
Code:

speaker-test

both after the reboot and after modprobe failed in the same way it has previously
Code:

speaker-test 1.2.9

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.9/work/alsa-lib/src/pcm/pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or direcotry


I rebooted the machine and then ran:

cat /proc/asound/devices
Code:

  2: [ 2]   : control
  3: [ 1- 3]: digital audio playback
  4: [ 1- 7]: digital audio playback
  5: [ 0- 3]: digital audio playback
  6: [ 0- 7]: digital audio playback
  7: [ 1- 8]: digital audio playback
  8: [ 1- 9]: digital audio playback
  9: [ 0- 8]: digital audio playback
 10: [ 0- 9]: digital audio playback
 11: [ 1-10]: digital audio playback
 12: [ 1- 0]: hardware dependent
 13: [ 0-10]: digital audio playback
 14: [ 0- 0]: hardware dependent
 15: [ 1]   : control
 16: [ 0]   : control
 33:        : timer


lsmod
Code:

Module                  Size  Used by
cfg80211             1130496  0
rfkill                 36864  1 cfg80211
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
amdgpu               9662464  5
mfd_core               20480  1 amdgpu
vfat                   24576  1
intel_rapl_msr         20480  0
iommu_v2               24576  1 amdgpu
intel_rapl_common      32768  1 intel_rapl_msr
gpu_sched              53248  1 amdgpu
fat                    86016  1 vfat
drm_buddy              20480  1 amdgpu
edac_mce_amd           40960  0
video                  65536  1 amdgpu
drm_ttm_helper         16384  1 amdgpu
snd_hda_codec_hdmi     81920  2
ttm                    94208  2 amdgpu,drm_ttm_helper
kvm_amd               155648  0
drm_display_helper    180224  1 amdgpu
snd_hda_intel          57344  0
cec                    61440  1 drm_display_helper
snd_intel_dspcfg       36864  1 snd_hda_intel
rc_core                69632  1 cec
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
kvm                  1126400  1 kvm_amd
snd_hda_codec         184320  2 snd_hda_codec_hdmi,snd_hda_intel
drm_kms_helper        204800  5 drm_display_helper,amdgpu
snd_hda_core          122880  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
wmi_bmof               16384  0
irqbypass              16384  1 kvm
snd_hwdep              16384  1 snd_hda_codec
crct10dif_pclmul       16384  1
snd_pcm               151552  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
drm                   610304  11 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
ghash_clmulni_intel    16384  0
snd_timer              49152  1 snd_pcm
sha512_ssse3           53248  0
snd                   126976  6 snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
joydev                 28672  0
sp5100_tco             20480  0
backlight              24576  4 video,drm_display_helper,amdgpu,drm
rapl                   20480  0
ccp                   118784  1 kvm_amd
soundcore              16384  1 snd
i2c_piix4              28672  0
k10temp                16384  0
pcspkr                 16384  0
efi_pstore             16384  0
wmi                    36864  2 video,wmi_bmof
mac_hid                16384  0
acpi_cpufreq           32768  0
efivarfs               24576  1
xfs                  2289664  1
libcrc32c              16384  1 xfs
crc32_pclmul           16384  0
crc32c_intel           24576  1
nvme                   57344  2
aesni_intel           393216  0
igb                   270336  0
xhci_pci               24576  0
xhci_pci_renesas       20480  1 xhci_pci
crypto_simd            16384  1 aesni_intel
nvme_core             159744  3 nvme
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel
i2c_algo_bit           16384  2 igb,amdgpu
xhci_hcd              331776  1 xhci_pci
t10_pi                 20480  1 nvme_core
ahci                   49152  0
i2c_core              118784  7 drm_kms_helper,i2c_algo_bit,igb,drm_display_helper,amdgpu,i2c_piix4,drm
crc64_rocksoft         20480  1 t10_pi
crc64                  20480  1 crc64_rocksoft
libahci                49152  1 ahci
dca                    16384  1 igb


grep -i codec: -R /proc/asound
Code:

/proc/asound/HDMI/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: ATI R6xx HDMI
/proc/asound/HDMI_1/codec#0:Codec: ATI R6xx HDMI


ls -l /etc/asound.conf
Code:

-rw-r--r-- 1 root root 140 Nov  5 22:06 /etc/asound.conf


and dmesg
https://pastebin.com/J9B0cYqS

I then ran modprobe snd-hda-codec-realtek again, there was no ouput on the command line again. Then I ran:
cat /proc/asound/devices
Code:

  2: [ 2]   : control
  3: [ 1- 3]: digital audio playback
  4: [ 1- 7]: digital audio playback
  5: [ 0- 3]: digital audio playback
  6: [ 0- 7]: digital audio playback
  7: [ 1- 8]: digital audio playback
  8: [ 1- 9]: digital audio playback
  9: [ 0- 8]: digital audio playback
 10: [ 0- 9]: digital audio playback
 11: [ 1-10]: digital audio playback
 12: [ 1- 0]: hardware dependent
 13: [ 0-10]: digital audio playback
 14: [ 0- 0]: hardware dependent
 15: [ 1]   : control
 16: [ 0]   : control
 33:        : timer


lsmod
Code:

Module                  Size  Used by
snd_hda_codec_realtek   172032  0
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
exfat                  90112  0
sd_mod                 65536  0
uas                    32768  0
usb_storage            81920  1 uas
cfg80211             1130496  0
rfkill                 36864  1 cfg80211
8021q                  40960  0
garp                   16384  1 8021q
mrp                    20480  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
amdgpu               9662464  5
mfd_core               20480  1 amdgpu
vfat                   24576  1
intel_rapl_msr         20480  0
iommu_v2               24576  1 amdgpu
intel_rapl_common      32768  1 intel_rapl_msr
gpu_sched              53248  1 amdgpu
fat                    86016  1 vfat
drm_buddy              20480  1 amdgpu
edac_mce_amd           40960  0
video                  65536  1 amdgpu
drm_ttm_helper         16384  1 amdgpu
snd_hda_codec_hdmi     81920  2
ttm                    94208  2 amdgpu,drm_ttm_helper
kvm_amd               155648  0
drm_display_helper    180224  1 amdgpu
snd_hda_intel          57344  0
cec                    61440  1 drm_display_helper
snd_intel_dspcfg       36864  1 snd_hda_intel
rc_core                69632  1 cec
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
kvm                  1126400  1 kvm_amd
snd_hda_codec         184320  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
drm_kms_helper        204800  5 drm_display_helper,amdgpu
snd_hda_core          122880  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
wmi_bmof               16384  0
irqbypass              16384  1 kvm
snd_hwdep              16384  1 snd_hda_codec
crct10dif_pclmul       16384  1
snd_pcm               151552  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
drm                   610304  11 gpu_sched,drm_kms_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
ghash_clmulni_intel    16384  0
snd_timer              49152  1 snd_pcm
sha512_ssse3           53248  0
snd                   126976  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
joydev                 28672  0
sp5100_tco             20480  0
backlight              24576  4 video,drm_display_helper,amdgpu,drm
rapl                   20480  0
ccp                   118784  1 kvm_amd
soundcore              16384  1 snd
i2c_piix4              28672  0
k10temp                16384  0
pcspkr                 16384  0
efi_pstore             16384  0
wmi                    36864  2 video,wmi_bmof
mac_hid                16384  0
acpi_cpufreq           32768  0
efivarfs               24576  1
xfs                  2289664  1
libcrc32c              16384  1 xfs
crc32_pclmul           16384  0
crc32c_intel           24576  1
nvme                   57344  2
aesni_intel           393216  0
igb                   270336  0
xhci_pci               24576  0
xhci_pci_renesas       20480  1 xhci_pci
crypto_simd            16384  1 aesni_intel
nvme_core             159744  3 nvme
cryptd                 28672  2 crypto_simd,ghash_clmulni_intel
i2c_algo_bit           16384  2 igb,amdgpu
xhci_hcd              331776  1 xhci_pci
t10_pi                 20480  2 sd_mod,nvme_core
ahci                   49152  0
i2c_core              118784  7 drm_kms_helper,i2c_algo_bit,igb,drm_display_helper,amdgpu,i2c_piix4,drm
crc64_rocksoft         20480  1 t10_pi
crc64                  20480  1 crc64_rocksoft
libahci                49152  1 ahci
dca                    16384  1 igb


grep -i codec: -R /proc/asound
Code:

/proc/asound/HDMI/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card0/codec#0:Codec: ATI R6xx HDMI
/proc/asound/card1/codec#0:Codec: ATI R6xx HDMI
/proc/asound/HDMI_1/codec#0:Codec: ATI R6xx HDMI


ls -l /etc/asound.conf
Code:

-rw-r--r-- 1 root root 140 Nov  5 22:06 /etc/asound.conf


and dmesg:
https://pastebin.com/Cxa8cijQ
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Nov 07, 2023 8:20 pm    Post subject: Reply with quote

newfriend4949.

Everything looks OK but its not working.

At this stage I would want to try a new kernel.
[ 0.000000] Linux version 6.1.57-gentoo-x86_64 (root@livecd)

There are other binary kernels. 6.1.57 is latest Gentoo stable. Going back to 5.15.135 may give you video card problems. amdgpu was under heavy development then.

The gentoo testing kernel is worth trying. It can be installed beside the kernel you already have, so you choose the kernel to use from the grub boot menu.
That makes it easy to recover if the new kernel is worse. It happens.

In this context, testing means not long term support by kernel.org.
Gentoo only does stabilisation testing on LTS kernels.
_________________
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
newfriend4949
n00b
n00b


Joined: 05 Nov 2023
Posts: 11

PostPosted: Tue Nov 07, 2023 8:41 pm    Post subject: Reply with quote

NeddySeagoon wrote:
newfriend4949.

Everything looks OK but its not working.

At this stage I would want to try a new kernel.
[ 0.000000] Linux version 6.1.57-gentoo-x86_64 (root@livecd)

There are other binary kernels. 6.1.57 is latest Gentoo stable. Going back to 5.15.135 may give you video card problems. amdgpu was under heavy development then.

The gentoo testing kernel is worth trying. It can be installed beside the kernel you already have, so you choose the kernel to use from the grub boot menu.
That makes it easy to recover if the new kernel is worse. It happens.

In this context, testing means not long term support by kernel.org.
Gentoo only does stabilisation testing on LTS kernels.


Installing a whole new kernel seems extreme as a solution but it seems like there is no other choice in this case. Is there any indication of why this problem is so persistent here? Should I report something? I feel extremely unlucky!

In any case, emerge -S gentoo-sources reveals
sys-kernel/gentoo-sources, the lastest one being the one I have
sys-kernel/git-sources, the latest version of which is 6.6_rc7 (will I get stability issues with something that recent?)
sys-kernel/zen-sources, the latest version of which is 6.5.5

where can I find the testing kernel you mentioned, and would follwing this article: https://wiki.gentoo.org/wiki/Kernel/Upgrade allow me to install a new kernel and leave the previous one in place in case I need to recover? also, I wonder if simply getting a sound card which will function and installing it in my available pcie_2 slot would work as an alternative solution. I don't think I understand the full picture of potential drawbacks to installing a new kernel, or departing from the LTS and Gentoo stabilization tested kernels.
Back to top
View user's profile Send private message
shadowless
Tux's lil' helper
Tux's lil' helper


Joined: 27 Nov 2022
Posts: 101

PostPosted: Thu Nov 09, 2023 5:32 am    Post subject: Reply with quote

Take a look the package page for gentoo-sources here: https://packages.gentoo.org/packages/sys-kernel/gentoo-sources

These are all of the kernel versions available in Gentoo's repo for the gentoo-sources package. The ones in green are marked stable by Gentoo developers (for this kernel package, it tends to follow whichever is marked LTS upstream by the kernel devs, as NeddySeagoon said). All of the rest are testing.

Sometimes newer hardware needs a newer kernel because a patch to add support for such hardware hasn't made it into a LTS kernel yet.

See here for installing a testing version: https://wiki.gentoo.org/wiki/ACCEPT_KEYWORDS

If you try it out and it doesn't help, you can just remove it and update your grub config: https://wiki.gentoo.org/wiki/Kernel/Removal/en
Installing a new kernel doesn't remove the previous one. You can go back to it easy.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Nov 09, 2023 8:09 pm    Post subject: Reply with quote

newfriend4949,

The ::gentoo repo contains.packages of three levels of maturity

live denoted by version numbers of all 999.... These are not keyworded at all. Live because they pull from upstream, commit by commit as it happens.
You can install these but it requires some action on your part. They will not be installed by accident.

Then there is testing. They are keyworded ~<arch> or ~amd64 for most users.
You can have these if you tell portage that's what you want. Either globally or on a per package basis. e.g. the testing kernel.

Least risk is stable, keyworded <arch> or amd64. That's the default for every Gentoo install until you change it.

See Gentoo Handbook for the detail.

You are using a liveCD kernel at the moment. That's a binary kernel.
The gentoo-sources you mentioned is just that, sources. It requires to be configured, compiled, installed and maybe a matching initrd produced too.

My copy of the repo
Code:
 timestamp: 2023-11-09 19:40:18 UTC
contains lots of kernels.
Code:

* sys-kernel/gentoo-kernel-bin
     Available versions: 
     (5.10.198) 5.10.198^tu
     (5.10.199) (~)5.10.199^tu
     (5.10.200) (~)5.10.200^tu
     (5.15.135) 5.15.135^tu
     (5.15.136) (~)5.15.136^tu
     (5.15.137) (~)5.15.137^tu
     (5.15.138) (~)5.15.138^tu
     (6.1.57) 6.1.57^tu
     (6.1.58) (~)6.1.58^tu
     (6.1.59) (~)6.1.59^tu
     (6.1.60) (~)6.1.60^tu
     (6.1.61) (~)6.1.61^tu
     (6.1.62) (~)6.1.62^tu
     (6.5.7) (~)6.5.7^tu
     (6.5.8) (~)6.5.8^tu
     (6.5.9) (~)6.5.9^tu
     (6.5.10) (~)6.5.10^tu
     (6.5.11) (~)6.5.11^tu
       {+initramfs secureboot test}
     Homepage:            https://www.kernel.org/
     Description:         Pre-built Linux kernel with Gentoo patches


Try sys-kernel/gentoo-kernel-bin-6.5.11 its pre built. Ummask it, per the wiki page and install it beside your stable kernel.

That output is from a tool called eix.
Code:
emerge eix
to play with it.
Hmm. something is braken here. kernel 6.6.1 is out as I have it on another system. My rsync mirror may be out of date.
The idea and method are sound. You may get a newer kernel than 6.5.11.
_________________
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
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