[Acceptable workaround] No sound. No device in sound settings and Pavucontrol not starting.

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

I assume sudo fuser -v /dev/snd/* still returns nothing?

Also, paste back what you got from pulseaudio -vvv please.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

I haven't used this in a while, but maybe the Alsa-info script might help. See instructions here: https://wiki.ubuntu.com/Audio/AlsaInfo

I have to head to work, but I'll check back when I get home.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

Yes sudo fuser -v /dev/snd/* returns nothing.

I can't paste all of the output it's too long but this is the first part.

Code: Select all

~$ pulseaudio -vvv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 11.1
D: [pulseaudio] main.c: Compilation host: x86_64-pc-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/pulseaudio-EOwPuF/pulseaudio-11.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018
D: [pulseaudio] main.c: Found 4 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is ef635a010d284bc38d762d2b9f0e65ac.
I: [pulseaudio] main.c: Session ID is c2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/dirk/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-11.1/modules.
I: [pulseaudio] main.c: Running in system mode: no
W: [pulseaudio] pid.c: Stale PID file, overwriting.
I: [pulseaudio] main.c: System supports high resolution timers
D: [pulseaudio] memblock.c: Using shared memfd memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65472
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-device-volumes.tdb'
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-stream-volumes.tdb'
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-stream-volumes'.
D: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Ext.StreamRestore1 added for object /org/pulseaudio/stream_restore1
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: [pulseaudio] database-tdb.c: Opened TDB database '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-card-database.tdb'
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/dirk/.config/pulse/ef635a010d284bc38d762d2b9f0e65ac-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-11.1/modules/module-switch-on-connect.so': success
I: [pulseaudio] module.c: Loaded "module-switch-on-connect" (index: #5; argument: "").
D: [pulseaudio] module.c: Checking for existence of '/usr/lib/pulse-11.1/modules/module-udev-detect.so': success
D: [pulseaudio] module-udev-detect.c: /dev/snd/controlC1 is accessible: yes
D: [pulseaudio] module-udev-detect.c: /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1 is busy: no
D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 'device_id="1" name="pci-0000_00_02.0-platform-hdmi-lpe-audio" card_name="alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"'
D: [pulseaudio] dbus-util.c: Successfully connected to D-Bus session bus 95c356c3ed5a36677094d5135ba38d3a as :1.82
D: [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock on device 'Audio1'
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/Intel HDMI/DP LPE Audio/Intel HDMI/DP LPE Audio.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card Intel HDMI/DP LPE Audio
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/Intel HDMI/DP LPE Audio/Intel HDMI/DP LPE Audio.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card Intel HDMI/DP LPE Audio
I: [pulseaudio] (alsa-lib)main.c: error: failed to import Intel HDMI/DP LPE Audio use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card Intel HDMI/DP LPE Audio
D: [pulseaudio] conf-parser.c: Parsing configuration file '/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf'
D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-mono
D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Mono (analog-mono)
D: [pulseaudio] alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC1D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:1: No such file or directory
D: [pulseaudio] alsa-mixer.c: Caching failure to open input:analog-mono
D: [pulseaudio] alsa-mixer.c: Looking at profile input:analog-stereo
D: [pulseaudio] alsa-mixer.c: Checking for recording on Analog Stereo (analog-stereo)
D: [pulseaudio] alsa-util.c: Trying front:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:1
I: [pulseaudio] alsa-util.c: Error opening PCM device front:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open input:analog-stereo
D: [pulseaudio] alsa-mixer.c: Looking at profile input:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Checking for recording on Digital Stereo (IEC958) (iec958-stereo)
D: [pulseaudio] alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM iec958:1
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open input:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-mono
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Mono (analog-mono)
D: [pulseaudio] alsa-util.c: Trying hw:1 with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open hw:1
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid argument
D: [pulseaudio] alsa-util.c: Trying hw:1 without SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open hw:1
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid argument
D: [pulseaudio] alsa-util.c: Trying plug:hw:1 with SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open plug:hw:1
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid argument
D: [pulseaudio] alsa-util.c: Trying plug:hw:1 without SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open plug:hw:1
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(1) failed: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-mono
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-mono+input:analog-mono - will not be able to open output:analog-mono
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-mono+input:analog-stereo - will not be able to open output:analog-mono
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-mono+input:iec958-stereo - will not be able to open output:analog-mono
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-stereo
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Stereo (analog-stereo)
D: [pulseaudio] alsa-util.c: Trying front:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:1
I: [pulseaudio] alsa-util.c: Error opening PCM device front:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-stereo+input:analog-mono - will not be able to open output:analog-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-stereo+input:analog-stereo - will not be able to open output:analog-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-stereo+input:iec958-stereo - will not be able to open output:analog-stereo
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-21
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 2.1 (analog-surround-21)
D: [pulseaudio] alsa-util.c: Trying surround21:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround21:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround21:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-21
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-21+input:analog-mono - will not be able to open output:analog-surround-21
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-21+input:analog-stereo - will not be able to open output:analog-surround-21
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-21+input:iec958-stereo - will not be able to open output:analog-surround-21
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-40
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 4.0 (analog-surround-40)
D: [pulseaudio] alsa-util.c: Trying surround40:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround40:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround40:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-40+input:analog-mono - will not be able to open output:analog-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-40+input:analog-stereo - will not be able to open output:analog-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-40+input:iec958-stereo - will not be able to open output:analog-surround-40
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-41
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 4.1 (analog-surround-41)
D: [pulseaudio] alsa-util.c: Trying surround41:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround41:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround41:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-41
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-41+input:analog-mono - will not be able to open output:analog-surround-41
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-41+input:analog-stereo - will not be able to open output:analog-surround-41
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-41+input:iec958-stereo - will not be able to open output:analog-surround-41
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-50
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 5.0 (analog-surround-50)
D: [pulseaudio] alsa-util.c: Trying surround50:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround50:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround50:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-50
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-50+input:analog-mono - will not be able to open output:analog-surround-50
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-50+input:analog-stereo - will not be able to open output:analog-surround-50
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-50+input:iec958-stereo - will not be able to open output:analog-surround-50
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-51
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 5.1 (analog-surround-51)
D: [pulseaudio] alsa-util.c: Trying surround51:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround51:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround51:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-51+input:analog-mono - will not be able to open output:analog-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-51+input:analog-stereo - will not be able to open output:analog-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-51+input:iec958-stereo - will not be able to open output:analog-surround-51
D: [pulseaudio] alsa-mixer.c: Looking at profile output:analog-surround-71
D: [pulseaudio] alsa-mixer.c: Checking for playback on Analog Surround 7.1 (analog-surround-71)
D: [pulseaudio] alsa-util.c: Trying surround71:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround71:1
I: [pulseaudio] alsa-util.c: Error opening PCM device surround71:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:analog-surround-71
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-71+input:analog-mono - will not be able to open output:analog-surround-71
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-71+input:analog-stereo - will not be able to open output:analog-surround-71
D: [pulseaudio] alsa-mixer.c: Skipping profile output:analog-surround-71+input:iec958-stereo - will not be able to open output:analog-surround-71
D: [pulseaudio] alsa-mixer.c: Looking at profile output:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Stereo (IEC958) (iec958-stereo)
D: [pulseaudio] alsa-util.c: Trying iec958:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM iec958:1
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-stereo+input:analog-mono - will not be able to open output:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-stereo+input:analog-stereo - will not be able to open output:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-stereo+input:iec958-stereo - will not be able to open output:iec958-stereo
D: [pulseaudio] alsa-mixer.c: Looking at profile output:iec958-ac3-surround-40
D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Surround 4.0 (IEC958/AC3) (iec958-ac3-surround-40)
D: [pulseaudio] alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:1
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:iec958-ac3-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-40+input:analog-mono - will not be able to open output:iec958-ac3-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-40+input:analog-stereo - will not be able to open output:iec958-ac3-surround-40
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-40+input:iec958-stereo - will not be able to open output:iec958-ac3-surround-40
D: [pulseaudio] alsa-mixer.c: Looking at profile output:iec958-ac3-surround-51
D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/AC3) (iec958-ac3-surround-51)
D: [pulseaudio] alsa-util.c: Trying a52:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:1
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:1: No such file or directory
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:iec958-ac3-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-51+input:analog-mono - will not be able to open output:iec958-ac3-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-51+input:analog-stereo - will not be able to open output:iec958-ac3-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-ac3-surround-51+input:iec958-stereo - will not be able to open output:iec958-ac3-surround-51
D: [pulseaudio] alsa-mixer.c: Looking at profile output:iec958-dts-surround-51
D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Surround 5.1 (IEC958/DTS) (iec958-dts-surround-51)
D: [pulseaudio] alsa-util.c: Trying dca:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:1
I: [pulseaudio] alsa-util.c: Error opening PCM device dca:1: No such file or directory
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:iec958-dts-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-dts-surround-51+input:analog-mono - will not be able to open output:iec958-dts-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-dts-surround-51+input:analog-stereo - will not be able to open output:iec958-dts-surround-51
D: [pulseaudio] alsa-mixer.c: Skipping profile output:iec958-dts-surround-51+input:iec958-stereo - will not be able to open output:iec958-dts-surround-51
D: [pulseaudio] alsa-mixer.c: Looking at profile output:hdmi-stereo
D: [pulseaudio] alsa-mixer.c: Checking for playback on Digital Stereo (HDMI) (hdmi-stereo)
D: [pulseaudio] alsa-util.c: Trying hdmi:1 with SND_PCM_NO_AUTO_FORMAT ...
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 1
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM hdmi:1
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:1: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:hdmi-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:hdmi-stereo+input:analog-mono - will not be able to open output:hdmi-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:hdmi-stereo+input:analog-stereo - will not be able to open output:hdmi-stereo
D: [pulseaudio] alsa-mixer.c: Skipping profile output:hdmi-stereo+input:iec958-stereo - will not be able to open output:hdmi-stereo


killed

Thanks I will follow that link.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

Hi MrEen

Here is the full output of pulseaudio -vvv http://dpaste.com/0KMR99V
also my alsa info can be downloaded here: https://expirebox.com/download/0f684dbd ... 0b1d7.html
These links will only be available for about two days.
Thanks :)
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Okay. Read through all the logs and I'm pretty sure I've discovered the problem, but I have no idea what the cause is. The issue, I'm pretty sure, is this part near the top of the alsa-info.sh output:

Code: Select all

!!Loaded ALSA modules
!!-------------------
I'm not 100% certain, but snd_hda_intel should be there in most cases (I don't think your bytcr changes this) so let's try this and see if it works:

1. sudo modprobe snd_hda_intel

2. sudo alsa force-reload

3. pulseaudio --start

If this gets your sound going, I suspect it's not going to survive a reboot as it stands, but we can work on that once we know.

I hope this gets us closer still!
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

I followed your instructions:

Code: Select all

dirk@Dirk-T:~$ sudo modprobe snd_hda_intel
[sudo] password for dirk: 
dirk@Dirk-T:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-soc-sst-bytcr-rt5640 snd-soc-rt5670 snd-soc-rt5645 snd-intel-sst-acpi snd-intel-sst-core snd-seq-midi snd-soc-rt5640 snd-seq-midi-event snd-soc-sst-atom-hifi2-platform snd-soc-rl6231 snd-soc-acpi snd-soc-acpi-intel-match snd-soc-core snd-compress snd-rawmidi snd-pcm-dmaengine snd-hdmi-lpe-audio snd-pcm snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi snd-soc-acpi-intel-match snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-soc-sst-bytcr-rt5640 snd-soc-rt5670 snd-soc-rt5645 snd-intel-sst-acpi snd-intel-sst-core snd-seq-midi snd-soc-rt5640 snd-seq-midi-event snd-soc-sst-atom-hifi2-platform snd-soc-rl6231 snd-soc-acpi snd-soc-acpi-intel-match snd-soc-core snd-compress snd-rawmidi snd-pcm-dmaengine snd-hdmi-lpe-audio snd-pcm snd-seq snd-seq-device snd-timer.
dirk@Dirk-T:~$ pulseaudio --start
E: [pulseaudio] main.c: Daemon startup failed.
Seems like PulseAudio doesn't like me too much. :?
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Try running the alsa-info.sh script again now that snd-hda-intel is loaded. If you didn't delete the script just alsa-info.sh in the terminal will run it.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

I followed again the instruction on the Ubuntu wiki to get the latest alsa info, and it can be downloaded here: https://expirebox.com/download/ca8686d3 ... 9998c.html
but I think this is the part you are interested in:

Code: Select all

!!ALSA Version
!!------------

Driver version:     k4.15.0-20-generic
Library version:    
Utilities version:  1.1.3


!!Loaded ALSA modules
!!-------------------

snd_soc_sst_bytcr_rt5640
snd_hdmi_lpe_audio


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [bytcrrt5640    ]: bytcr-rt5640 - bytcr-rt5640
                      LENOVO-80NR-MIIX300_10IBY-Madrid
 1 [Audio          ]: HdmiLpeAudio - Intel HDMI/DP LPE Audio
                      Intel HDMI/DP LPE Audio


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_usb_audio: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2
snd_usb_audio: index=-2
snd_usb_caiaq: index=-2
snd_usb_ua101: index=-2
snd_usb_us122l: index=-2
snd_usb_usx2y: index=-2
snd_cmipci: mpu_port=0x330 fm_port=0x388
snd_pcsp: index=-2
snd_usb_audio: index=-2


!!Loaded sound module options
!!---------------------------

!!Module: snd_soc_sst_bytcr_rt5640
	quirk : 0

!!Module: snd_hdmi_lpe_audio
	id : (null)
	index : -1

Thanks
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

This is just crazy! I am really sorry you're having all this trouble getting sound to work!

I need to ask a few questions before making any suggestions just to make sure I am understanding everything correctly.

1. After you did sudo modprobe snd_hda_intel and before the last run of alsa-info.sh did you reboot?

2. Is Windows gone from this computer?

3. Does this problem also occur when running the live version?

4. Have you ever checked if there's a BIOS update for your computer? I just checked and noticed that device came with Windows 10 (32-bit) according to this page with a BIOS update dated about the same time as your inxi output showed. I know the Intel Atom Z3735F is 64-bit, so I'm wondering why a 32-bit OS was preinstalled. I rather doubt this could possibly have any effect on your issue.

5. I know the kernel hasn't been updated since your last reinstall, but were all the other updates applied?

I'm sure I'll think of more, but we'll leave it at that for now.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

Yes its crazy I agree

1. No I did not reboot, as you said the modprobe will only last for that session.

2. Yes I installed multiple times with the option to remove everything. There is no option in boot menu to boot windows anymore and I can't see any traces of windows. I am very sure windows is gone.

3.Yes in the live version PulseAudio Volume Control also does not start up and no sound.

4.Yes I also checked and I have the latest version of bios. Everyone online trying to installing Linux on this 2in1 model or similar also has that question why 32bit windows preinstalled? All my search results turned out people with similar systems all suggested installing 64 bit linux. I was wondering if this might be part of the problem and thought to at least test the 32 bit linux on usb, So first thing tomorrow will be to test 32bit linux mint usb.

5. Yes, update manager says:Your system is up to date.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Let's wait and see what happens when you run the 32-bit live version before making anymore guesses as to what's wrong.

I found a post online saying this but have no idea as to its accuracy:
First of all be warned the EFI BIOS is only 32 bit compatible despite the CPU is capable of 64 bit instructons.
However, here is a page where someone got 64-bit Ubuntu installed and mostly working, including sound.

I am finding a lot of issues online with this series and Linux unfortunately. Looks like there's going to be tradeoffs no matter what you do, i.e., sound not working vs camera and wifi not working vs power management issues, etc.

Anyway, I'll wait to see how the 32-bit attempt goes, and wish you the best of luck!
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

Yes I tried the 32bit Linux mint from two different sources and also the Xfce 32bit and the sound is not working. It is the same problem.
After I create the bootable USB I have to add this bootia32 file in order for the boot menu to pick it up and to be able to boot from the USB. See this post: https://askubuntu.com/questions/775498/ ... -tablet-pc I was surprised that I also had to do this even for the 32bit Linux mint, I expected the 32bit to to already contain this bootia32 file and that I can just create the USB with rufus and boot without changing or adding anything to the USB.

The WiFi and power management works out of the box, I don't need bluetooth or the camera but I need sound.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Hi DirkCYF.

I am at the point of grasping at straws now. EDIT: Jump to last suggestion first.

Paste back the URL that pacmd list-modules | nc termbin.com 9999 spits out.

Try again sudo modprobe snd_hda_intel then run alsa-info.sh and look to see if snd_hda_intel shows up under !!Loaded ALSA modules and if it does, then try pulseaudio --start

Does apt policy libasound2 show an installed version?

Also, something I should have asked a long time ago, you did disable Secure Boot in the BIOS, correct? If not, maybe you should reinstall after disabling it.

You could try upgrading to a newer build of Alsa by following the instructions on this page. When it sends you to get a deb file, choose the one for Bionic.

The only other thing I can think of is to try a few other distros and see if any of them can produce sound. I'd start with something from Ubuntu in the 18.04 LTS series. I doubt this will work until it's installed and doing that git stuff with UCM that we did earlier.

Last resort, get one of those little USB sound pluggy things like this: https://www.amazon.com/Sabrent-External ... 49F313TS1V
That should bypass your funky sound codec. The downside is it uses a USB port and I think you have only one.

Oh, another possible option. Install and run SMPlayer (apt install smplayer) and go to Options > Preferences > Audio tab and change Output driver from pulse to alsa, then play something with sound on your computer such as /usr/share/sounds/alsa/Front_Center.wav Did that produce sound? If so, you can use SMPlayer to play everything local, and use Flemur's advice on using Firefox without pulseaudio here: viewtopic.php?f=48&t=257818&hilit=pulse ... x#p1391401 for playing stuff on the web.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

This turns out to be quite the challenge.
I followed the steps:

Code: Select all

dirk@Dirk-T:~$ pacmd list-modules | nc termbin.com 9999
No PulseAudio daemon running, or not running as session daemon.
dirk@Dirk-T:~$ sudo modprobe snd_hda_intel
dirk@Dirk-T:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-soc-sst-bytcr-rt5640 snd-soc-rt5670 snd-intel-sst-acpi snd-soc-rt5645 snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-rt5640 snd-soc-acpi snd-soc-acpi-intel-match snd-soc-rl6231 snd-soc-core snd-compress snd-pcm-dmaengine snd-seq-midi snd-hdmi-lpe-audio snd-seq-midi-event snd-rawmidi snd-pcm snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-intel-sst-acpi snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-acpi snd-soc-acpi-intel-match snd-soc-core snd-compress snd-pcm-dmaengine snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-soc-sst-bytcr-rt5640 snd-soc-rt5670 snd-intel-sst-acpi snd-soc-rt5645 snd-intel-sst-core snd-soc-sst-atom-hifi2-platform snd-soc-rt5640 snd-soc-acpi snd-soc-acpi-intel-match snd-soc-rl6231 snd-soc-core snd-compress snd-pcm-dmaengine snd-seq-midi snd-hdmi-lpe-audio snd-seq-midi-event snd-rawmidi snd-pcm snd-seq snd-seq-device snd-timer.
dirk@Dirk-T:~$ wget http://www.alsa-project.org/alsa-info.sh -O alsa-info.sh && bash alsa-info.sh
--2018-09-22 21:35:39--  http://www.alsa-project.org/alsa-info.sh
Resolving www.alsa-project.org (www.alsa-project.org)... 77.48.224.243
Connecting to www.alsa-project.org (www.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsa-info/alsa-info.sh [following]
--2018-09-22 21:35:39--  http://git.alsa-project.org/?p=alsa-utils.git;a=blob_plain;f=alsa-info/alsa-info.sh
Resolving git.alsa-project.org (git.alsa-project.org)... 77.48.224.243
Connecting to git.alsa-project.org (git.alsa-project.org)|77.48.224.243|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-sh]
Saving to: ‘alsa-info.sh’

alsa-info.sh            [ <=>                ]  28.03K  --.-KB/s    in 0.09s   

2018-09-22 21:35:40 (304 KB/s) - ‘alsa-info.sh’ saved [28707]


 ALSA-Info v 0.4.64
┌────────────────────────ALSA-Info script v 0.4.64───────────────────────────┐─
│                                                                            │
│ This script visits the following commands/files to collect diagnostic      │
│ information about your ALSA installation and sound related hardware.       │
│                                                                            │
│   dmesg                                                                    │
│   lspci                                                                    │
│   lsmod                                                                    │
│   aplay                                                                    │
│   amixer                                                                   │
│   alsactl                                                                  │
│   /proc/asound/                                                            │
│   /sys/class/sound/                                                        │
│   ~/.asoundrc (etc.)                                                       │
│                                                                            │
│ See 'alsa-info.sh --help' for command line options.                        │
│                                                                            │
│                                                                            │
├────────────────────────────────────────────────────────────────────────────┤
│                                 <  OK  >                                   │
└────────────────────────────────────────────────────────────────────────────┘
  

 ALSA-Info v 0.4.64
 ──────────────────────────────────────────────────────────────────────────────




┌──────────────────────────Information collected─────────────────────────────┐
│                                                                            │
│                                                                            │
│ Automatically upload ALSA information to www.alsa-project.org?             │
│                                                                            │
│                                                                            │
│                                                                            │
│                                                                            │
├────────────────────────────────────────────────────────────────────────────┤
│               < UPLOAD / SHARE >        <  SAVE LOCALLY  >                 │
└────────────────────────────────────────────────────────────────────────────┘
  






 ALSA-Info v 0.4.64
 ──────────────────────────────────────────────────────────────────────────────




         ┌─────────────────Information collected────────────────────┐
         │                                                          │  
         │                                                          │  
         │ Your ALSA information is in                              │  
         │ /tmp/alsa-info.txt.6HlsH3R7x0                            │  
         │                                                          │  
         │                                                          │  
         ├──────────────────────────────────────────────────────────┤  
         │                         <  OK  >                         │  
         └──────────────────────────────────────────────────────────┘  
           






dirk@Dirk-T:~$ 
The Loaded Alsa modules from alsa-info.txt.6HlsH3R7x0 :

Code: Select all

!!Loaded ALSA modules
!!-------------------

snd_soc_sst_bytcr_rt5640
snd_hdmi_lpe_audio


!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [bytcrrt5640    ]: bytcr-rt5640 - bytcr-rt5640
                      LENOVO-80NR-MIIX300_10IBY-Madrid
 1 [Audio          ]: HdmiLpeAudio - Intel HDMI/DP LPE Audio
                      Intel HDMI/DP LPE Audio

Code: Select all

dirk@Dirk-T:~$ apt policy libasound2
libasound2:
  Installed: 1.1.3-5ubuntu0.1
  Candidate: 1.1.3-5ubuntu0.1
  Version table:
 *** 1.1.3-5ubuntu0.1 500
        500 http://mirror.isoc.org.il/pub/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1.3-5 500
        500 http://mirror.isoc.org.il/pub/ubuntu bionic/main amd64 Packages
dirk@Dirk-T:~$ 
Yes secure boot is disabled.

Thank you, I am going to try the rest of your suggestions tomorrow and will report back soon.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Yeah, pulseaudio just refuses to run. Jump to my SMPlayer idea. I doesn't require pulseaudio so we can see if alsa is ok by itself.
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

yeeeahhhhhhhhhhhhhhhhhhhhhhhhhhhh! soundddd is working on SMPlayer!!! :D :D
There is this woman saying "front center". :lol:

The strange thing is if I set the output back to pulse in SMPlayer the sound is still working also if the output is set to default.
But when I reboot the sound stops working until after I run:

Code: Select all

sudo alsa force-reload
then it works again.
So it seems like alsa is working.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by MrEen »

Well, we're finally getting somewhere.

I'm afraid this solution is probably the best we are going to be able to get with your hardware at this time. In the future, it is possible a kernel upgrade will include support for your audio codec, that may fix whatever issue pulseaudio is having with your system. When you upgrade the kernel in the future, try to remember to attempt pulseaudio --start afterwards to see if it starts working. It may even say Daemon already running.

I just looked and VLC can also be changed to alsa for audio output in Tools > Preferences > Audio > Output module, so at least you have some choices for multimedia players.

Flemur's Firefox fix I linked to above should get your sound working in that browser. I have no idea if other browsers can be used without pulseaudio. I imagine most can, but I don't know how to alter them myself as I don't use them. If you wanted to, you could start a new thread for whatever browser you wanted to get working with a topic such as "Chrome without pulseaudio possible?"

Important: Most likely, whenever something plays sound on your system, it will now "own" the sound system. This means when SMPlayer has been used, Firefox won't output sound until SMPlayer has been closed. It was pulseaudio's job to handle streams from multiple sources. The only workaround I'm aware of is to use JACK. JACK can be rather tricky to set up and I've been frustrated by it to the point of temporarily giving up on using it. Some applications will not support it as well (I've read Steam and Skype as well as Firefox.) If/when you want to give it a try there are many tutorials and such on using JACK, and here's one that that will even try to work around the non jackified situation: https://alsa.opensrc.org/Jack_and_Loopb ... ack_bridge

I am sorry we couldn't get a better fix for your situation, and like I mentioned earlier, it is possible a different distro might work out of the box. Ubuntu Studio might be a good candidate if you were planning on creating/editing sounds/videos.

Whatever you decide to do, I wish you the best of luck!
DirkCYF

Re: No sound. No device in sound settings and Pavucontrol not starting.

Post by DirkCYF »

Hi MrEen

Thank you so much for your support. I learned a lot.
I will keep that in mind (pulseaudio --start).

I really only use this machine for Youtube and use Chromium browser normally, but if I can't get chromium to work without PulseAudio then I will switch over to Firefox.
For now, I will stay with mint there is just something I like about it that other distros don't have.
I think I will manage with this workaround.
Thank you again for all your effort and time I really appreciate it much. This is what makes me prefer Linux over windows. :)

Have a great week.
Locked

Return to “Hardware Support”