You are not logged in.

#1 2020-05-19 04:48:17

Only1KW
Member
Registered: 2015-12-14
Posts: 14

Alsa errors

I've been using Qemu for awhile now with no issues.  However, recently, when I start it up, I hit a bunch of errors similar to the following:

ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'defaults.pcm.dmix.channels'
ALSA lib conf.c:4693:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5170:(snd_config_expand) Args evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM dmix:PCH

and when I try to use audio in my guest machine, I get no audio.

From my searches, I think I hit https://bugs.archlinux.org/task/65440 at one point but never noticed it till now.  My current version of alsa-plugins is 1.2.2-2, so I should have the fix, but for some reason I can't recover.  My searches also lead me to believe there's something wrong with a global Alsa/PulseAudio config file somewhere as a result of the bad alsa-plugins upgrade, but I can't find a straight answer as to how to rebuild these config files from scratch.  Anyone have any idea how I can recover from this?

Offline

#2 2020-05-19 06:33:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,082

Re: Alsa errors

What output do you get for

pacman -Qkk alsa-lib alsa-plugins
cat /proc/asound/cards
cat ~/.asoundrc ~/asound.conf /etc/asound.conf
strace aplay -l #Needs strace

Offline

#3 2020-05-19 13:27:12

Only1KW
Member
Registered: 2015-12-14
Posts: 14

Re: Alsa errors

[username@host ~]$ pacman -Qkk alsa-lib alsa-plugins
alsa-lib: 155 total files, 0 altered files
alsa-plugins: 68 total files, 0 altered files
[username@host ~]$ cat /proc/asound/cards 
 0 [HDMI           ]: HDA-Intel - HDA Intel HDMI
                      HDA Intel HDMI at 0xf3934000 irq 36
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf3930000 irq 34
[username@host ~]$ cat ~/.asoundrc ~/asound.conf /etc/asound.conf
# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/username/.asoundrc.asoundconf>

cat: /home/username/asound.conf: No such file or directory
cat: /etc/asound.conf: No such file or directory
[username@host ~]$ strace aplay -l
execve("/usr/bin/aplay", ["aplay", "-l"], 0x7fff52923518 /* 19 vars */) = 0
brk(NULL)                               = 0x555b84cca000
arch_prctl(0x3001 /* ARCH_??? */, 0x7fffd4d8cc00) = -1 EINVAL (Invalid argument)
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
fstat(3, {st_mode=S_IFREG|0644, st_size=253574, ...}) = 0
mmap(NULL, 253574, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4326f8d000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/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 \320\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=890960, ...}) = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4326f8b000
mmap(NULL, 893744, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326eb0000
mprotect(0x7f4326edd000, 675840, PROT_NONE) = 0
mmap(0x7f4326edd000, 495616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2d000) = 0x7f4326edd000
mmap(0x7f4326f56000, 176128, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa6000) = 0x7f4326f56000
mmap(0x7f4326f82000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd1000) = 0x7f4326f82000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libpthread.so.0", 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\220\201\0\0\0\0\0\0"..., 832) = 832
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0:(A\261\254\325W\2768O\340i9\4#\234"..., 68, 824) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=161024, ...}) = 0
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0:(A\261\254\325W\2768O\340i9\4#\234"..., 68, 824) = 68
mmap(NULL, 135600, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326e8e000
mmap(0x7f4326e95000, 65536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f4326e95000
mmap(0x7f4326ea5000, 20480, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4326ea5000
mmap(0x7f4326eaa000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f4326eaa000
mmap(0x7f4326eac000, 12720, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4326eac000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/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\0@q\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
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\r\0332\21slL\245(\243.\240\325e\324\32"..., 68, 880) = 68
fstat(3, {st_mode=S_IFREG|0755, st_size=2146832, ...}) = 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
pread64(3, "\4\0\0\0\20\0\0\0\5\0\0\0GNU\0\2\0\0\300\4\0\0\0\3\0\0\0\0\0\0\0", 32, 848) = 32
pread64(3, "\4\0\0\0\24\0\0\0\3\0\0\0GNU\0\r\0332\21slL\245(\243.\240\325e\324\32"..., 68, 880) = 68
mmap(NULL, 1860456, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326cc7000
mprotect(0x7f4326cec000, 1671168, PROT_NONE) = 0
mmap(0x7f4326cec000, 1363968, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x25000) = 0x7f4326cec000
mmap(0x7f4326e39000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f4326e39000
mmap(0x7f4326e84000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bc000) = 0x7f4326e84000
mmap(0x7f4326e8a000, 13160, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4326e8a000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/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\260\363\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1328000, ...}) = 0
mmap(NULL, 1327128, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326b82000
mmap(0x7f4326b91000, 634880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7f4326b91000
mmap(0x7f4326c2c000, 626688, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xaa000) = 0x7f4326c2c000
mmap(0x7f4326cc5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142000) = 0x7f4326cc5000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/libdl.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\20\22\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=18608, ...}) = 0
mmap(NULL, 20624, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326b7c000
mmap(0x7f4326b7d000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f4326b7d000
mmap(0x7f4326b7f000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f4326b7f000
mmap(0x7f4326b80000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f4326b80000
close(3)                                = 0
openat(AT_FDCWD, "/usr/lib/librt.so.1", 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\3606\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=39408, ...}) = 0
mmap(NULL, 43520, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4326b71000
mprotect(0x7f4326b74000, 24576, PROT_NONE) = 0
mmap(0x7f4326b74000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f4326b74000
mmap(0x7f4326b78000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x7f4326b78000
mmap(0x7f4326b7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f4326b7a000
close(3)                                = 0
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4326b6f000
mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4326b6c000
arch_prctl(ARCH_SET_FS, 0x7f4326b6c740) = 0
mprotect(0x7f4326e84000, 12288, PROT_READ) = 0
mprotect(0x7f4326eaa000, 4096, PROT_READ) = 0
mprotect(0x7f4326b7a000, 4096, PROT_READ) = 0
mprotect(0x7f4326b80000, 4096, PROT_READ) = 0
mprotect(0x7f4326cc5000, 4096, PROT_READ) = 0
mprotect(0x7f4326f82000, 32768, PROT_READ) = 0
mprotect(0x555b849f5000, 4096, PROT_READ) = 0
mprotect(0x7f4326ff6000, 4096, PROT_READ) = 0
munmap(0x7f4326f8d000, 253574)          = 0
set_tid_address(0x7f4326b6ca10)         = 7696
set_robust_list(0x7f4326b6ca20, 24)     = 0
rt_sigaction(SIGRTMIN, {sa_handler=0x7f4326e95bf0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f4326ea2960}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {sa_handler=0x7f4326e95c90, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4326ea2960}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(NULL)                               = 0x555b84cca000
brk(0x555b84ceb000)                     = 0x555b84ceb000
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=3035952, ...}) = 0
mmap(NULL, 3035952, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4326886000
close(3)                                = 0
ioctl(0, TCGETS, {B9600 opost isig icanon echo ...}) = 0
openat(AT_FDCWD, "/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7fffd4d8c490) = 0
close(3)                                = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2998, ...}) = 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.UTF-8/LC_MESSAGES/alsa-utils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
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.UTF-8/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)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x2), ...}) = 0
write(1, "**** List of PLAYBACK Hardware D"..., 44**** List of PLAYBACK Hardware Devices ****
) = 44
futex(0x7f4326f8a138, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9625, ...}) = 0
openat(AT_FDCWD, "/usr/share/alsa/alsa.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=9625, ...}) = 0
read(3, "#\n#  ALSA library configuration "..., 4096) = 4096
read(3, "tended\n\t\t}\n\t\tdescription \"Direct"..., 4096) = 4096
read(3, "\t\t@func refer\n\t\t\t\tname defaults."..., 4096) = 1433
read(3, "", 4096)                       = 0
close(3)                                = 0
futex(0x7f4326b81048, FUTEX_WAKE_PRIVATE, 2147483647) = 0
access("/etc/alsa/conf.d", R_OK)        = 0
stat("/etc/alsa/conf.d", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/etc/alsa/conf.d", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3
fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getdents64(3, /* 13 entries */, 32768)  = 480
getdents64(3, /* 0 entries */, 32768)   = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/10-samplerate.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=429, ...}) = 0
read(3, "pcm.samplerate {\n\t@args [ SLAVE "..., 4096) = 429
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/10-speexrate.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=424, ...}) = 0
read(3, "pcm.speexrate {\n\t@args [ SLAVE R"..., 4096) = 424
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/50-arcam-av-ctl.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=222, ...}) = 0
read(3, "ctl.arcam_av {\n\t@args [ PORT ]\n\t"..., 4096) = 222
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/50-jack.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=264, ...}) = 0
read(3, "pcm.jack {\n\ttype jack\n\tplayback_"..., 4096) = 264
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/50-oss.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=326, ...}) = 0
read(3, "pcm.oss {\n\t@args [ DEVICE ]\n\t@ar"..., 4096) = 326
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/50-pulseaudio.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=402, ...}) = 0
read(3, "# Add a specific named PulseAudi"..., 4096) = 402
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/60-speex.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1030, ...}) = 0
read(3, "pcm.speex {\n\t@args [ SLAVE AGC A"..., 4096) = 1030
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/60-upmix.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=389, ...}) = 0
read(3, "pcm.upmix {\n\t@args [ SLAVE CHANN"..., 4096) = 389
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/60-vdownmix.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=393, ...}) = 0
read(3, "pcm.vdownmix {\n\t@args [ SLAVE CH"..., 4096) = 393
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/98-usb-stream.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=395, ...}) = 0
read(3, "pcm.usbstream {\n\t@args [ CARD RA"..., 4096) = 395
read(3, "", 4096)                       = 0
close(3)                                = 0
openat(AT_FDCWD, "/etc/alsa/conf.d/99-pulseaudio-default.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=253, ...}) = 0
read(3, "# Default to PulseAudio\n\npcm.!de"..., 4096) = 253
read(3, "", 4096)                       = 0
close(3)                                = 0
access("/etc/asound.conf", R_OK)        = -1 ENOENT (No such file or directory)
access("/home/username/.asoundrc", R_OK) = 0
stat("/home/username/.asoundrc", {st_mode=S_IFREG|0644, st_size=192, ...}) = 0
openat(AT_FDCWD, "/home/username/.asoundrc", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=192, ...}) = 0
read(3, "# ALSA library configuration fil"..., 4096) = 192
openat(AT_FDCWD, "/home/username/.asoundrc.asoundconf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=2298, ...}) = 0
read(4, "# ALSA library configuration fil"..., 4096) = 2298
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, 0x7fffd4d8c1b0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7fffd4d8c4f4) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7fffd4d8c800) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 0: HDMI [HDA Intel HDMI], d"..., 57card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
) = 57
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 0: HDMI [HDA Intel HDMI], d"..., 57card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
) = 57
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 0: HDMI [HDA Intel HDMI], d"..., 57card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
) = 57
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 0: HDMI [HDA Intel HDMI], d"..., 57card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
) = 57
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 0: HDMI [HDA Intel HDMI], d"..., 58card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
) = 58
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7fffd4d8c490) = 0
close(3)                                = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9625, ...}) = 0
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDONLY|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7fffd4d8c1b0) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC1", O_RDWR|O_CLOEXEC) = 3
ioctl(3, SNDRV_CTL_IOCTL_PVERSION, 0x7fffd4d8c4f4) = 0
ioctl(3, SNDRV_CTL_IOCTL_CARD_INFO, 0x7fffd4d8c800) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 1: PCH [HDA Intel PCH], dev"..., 71card 1: PCH [HDA Intel PCH], device 0: ALC1150 Analog [ALC1150 Analog]
) = 71
write(1, "  Subdevices: 0/1\n", 18  Subdevices: 0/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "card 1: PCH [HDA Intel PCH], dev"..., 73card 1: PCH [HDA Intel PCH], device 1: ALC1150 Digital [ALC1150 Digital]
) = 73
write(1, "  Subdevices: 1/1\n", 18  Subdevices: 1/1
)     = 18
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = 0
write(1, "  Subdevice #0: subdevice #0\n", 29  Subdevice #0: subdevice #0
) = 29
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
ioctl(3, SNDRV_CTL_IOCTL_PCM_INFO, 0x7fffd4d8c6d0) = -1 ENOENT (No such file or directory)
ioctl(3, SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE, 0x7fffd4d8c9c4) = 0
close(3)                                = 0
openat(AT_FDCWD, "/dev/snd/controlC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/dev/aloadC2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
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)
exit_group(0)                           = ?
+++ exited with 0 +++

Offline

#4 2020-05-19 13:35:01

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,082

Re: Alsa errors

What are the contents of /home/username/.asoundrc.asoundconf ? Probably some unrelated autogenerated directives that don't work, remove the .asoundrc and that file are likely usable fixes.

Offline

#5 2020-05-19 14:47:48

Only1KW
Member
Registered: 2015-12-14
Posts: 14

Re: Alsa errors

[username@host ~]$ ls -al | grep sound
-rw-r--r--  1 username username     192 Apr 23  2016 .asoundrc
-rw-r--r--  1 username username    2298 Dec 15  2018 .asoundrc.asoundconf
[username@host ~]$ cat .asoundrc.asoundconf 
# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
!defaults.pcm.card PCH
defaults.ctl.card PCH
defaults.pcm.device 0
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.compat 0
defaults.pcm.minperiodtime 5000
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround21.card defaults.pcm.card
defaults.pcm.surround21.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0
defaults.namehint.showall off
defaults.namehint.basic on
defaults.namehint.extended off

To try and fix, I added a ".orig" extension to both .asoundrc and .asoundrc.asoundconf and run Qemu again.  That didn't change anything.  I then tried rebooting and ran Qemu again.  I continue to see the same behavior.

Offline

Board footer

Powered by FluxBB