I have a laptop Xiaomi Notebook Pro with Linux Mint R.19.1 installed. From the last 5 months I have been using Linux Mint as my only OS and from the beginning the laptop is suffering no audio sessions (from the booting) like the 25% times. When I start the computer and there is not the beginning chimes then the laptop will have no audio whatever I do, so I shutdown and start again and the most of the times I get the audio back.
I have reinstall Linux Mint from scrach several times (from R 19 to R 19.1) but always with the same issue. Firstly I thought the problem was with the TLP battery app, but after reinstalling without that program the issues go on.
I have installed Pulseaudio but when I have the issue I have the same options selected than when I have not. Same with alsamixer, during the issue the pipes are filled like showing there is audio, but is not.
Here is the information of my system:
Code: Select all
inxi -Fxz
System: Host: laptop Kernel: 4.15.0-46-generic x86_64 bits: 64 compiler: gcc v: 7.3.0 Desktop: Cinnamon 4.0.9
Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic
Machine: Type: Laptop System: Timi product: TM1701 v: N/A serial: <filter>
Mobo: Timi model: TM1701 v: MP serial: <filter> UEFI: INSYDE v: XMAKB5R0P0603 date: 02/02/2018
Battery: ID-1: BAT0 charge: 56.9 Wh condition: 59.9/60.0 Wh (100%) model: SUNWODA R15B01W status: Unknown
CPU: Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31872
Speed: 2100 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 2100 2: 2100 3: 2100 4: 2100 5: 2100 6: 2100 7: 2100
8: 2100
Graphics: Device-1: Intel UHD Graphics 620 vendor: Xiaomi driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX150] vendor: Xiaomi Mi Notebook Pro driver: N/A bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.5 Mesa 18.2.2 direct render: Yes
Audio: Device-1: Intel Sunrise Point-LP HD Audio vendor: Xiaomi driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k4.15.0-46-generic
Network: Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: 3000 bus ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Drives: Local Storage: total: 1.14 TiB used: 541.61 GiB (46.3%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HAHQ-00000 size: 238.47 GiB
ID-2: /dev/nvme1n1 model: NE-256 size: 238.47 GiB
ID-3: /dev/sda type: USB vendor: Seagate model: Expansion size: 931.51 GiB
Partition: ID-1: / size: 233.24 GiB used: 125.45 GiB (53.8%) fs: ext4 dev: /dev/nvme0n1p2
Sensors: System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 240 Uptime: 34m Memory: 15.55 GiB used: 2.78 GiB (17.9%) Init: systemd runlevel: 5 Compilers: gcc: 7.3.0
Shell: bash v: 4.4.19 inxi: 3.0.27
Code: Select all
pstree
systemd─┬─ModemManager───2*[{ModemManager}]
├─NetworkManager───2*[{NetworkManager}]
├─accounts-daemon───2*[{accounts-daemon}]
├─acpid
├─agetty
├─atd
├─avahi-daemon───avahi-daemon
├─bluetoothd
├─colord───2*[{colord}]
├─cron
├─csd-printer───2*[{csd-printer}]
├─cups-browsed───2*[{cups-browsed}]
├─cupsd
├─dbus-daemon
├─gnome-keyring-d───3*[{gnome-keyring-d}]
├─irqbalance───{irqbalance}
├─2*[kerneloops]
├─lightdm─┬─Xorg───3*[{Xorg}]
│ ├─lightdm─┬─cinnamon-sessio─┬─blueberry-obex-───3*[{blueberry-obex-}]
│ │ │ ├─blueberry-tray───sh───python2─┬─python2───rfkill
│ │ │ │ └─4*[{python2}]
│ │ │ ├─cinnamon-killer───3*[{cinnamon-killer}]
│ │ │ ├─cinnamon-launch───cinnamon─┬─lollypop───8*[{lollypop}]
│ │ │ │ └─16*[{cinnamon}]
│ │ │ ├─cinnamon-screen───3*[{cinnamon-screen}]
│ │ │ ├─csd-a11y-keyboa───3*[{csd-a11y-keyboa}]
│ │ │ ├─csd-a11y-settin───3*[{csd-a11y-settin}]
│ │ │ ├─csd-automount───3*[{csd-automount}]
│ │ │ ├─csd-background───3*[{csd-background}]
│ │ │ ├─csd-clipboard───2*[{csd-clipboard}]
│ │ │ ├─csd-color───3*[{csd-color}]
│ │ │ ├─csd-cursor───2*[{csd-cursor}]
│ │ │ ├─csd-housekeepin───3*[{csd-housekeepin}]
│ │ │ ├─csd-keyboard───3*[{csd-keyboard}]
│ │ │ ├─csd-media-keys───3*[{csd-media-keys}]
│ │ │ ├─csd-mouse───3*[{csd-mouse}]
│ │ │ ├─csd-orientation───3*[{csd-orientation}]
│ │ │ ├─csd-power───3*[{csd-power}]
│ │ │ ├─csd-print-notif───2*[{csd-print-notif}]
│ │ │ ├─csd-screensaver───2*[{csd-screensaver}]
│ │ │ ├─csd-sound───4*[{csd-sound}]
│ │ │ ├─csd-xrandr───3*[{csd-xrandr}]
│ │ │ ├─csd-xsettings───3*[{csd-xsettings}]
│ │ │ ├─nemo-desktop───3*[{nemo-desktop}]
│ │ │ ├─nm-applet───3*[{nm-applet}]
│ │ │ ├─polkit-gnome-au───2*[{polkit-gnome-au}]
│ │ │ ├─ssh-agent
│ │ │ └─4*[{cinnamon-sessio}]
│ │ └─2*[{lightdm}]
│ └─2*[{lightdm}]
├─lvmetad
├─mintUpdate───4*[{mintUpdate}]
├─networkd-dispat───{networkd-dispat}
├─polkitd───2*[{polkitd}]
├─pulseaudio───2*[{pulseaudio}]
├─rsyslogd───3*[{rsyslogd}]
├─rtkit-daemon───2*[{rtkit-daemon}]
├─systemd─┬─(sd-pam)
│ ├─at-spi-bus-laun─┬─dbus-daemon
│ │ └─3*[{at-spi-bus-laun}]
│ ├─at-spi2-registr───2*[{at-spi2-registr}]
│ ├─dbus-daemon
│ ├─dconf-service───2*[{dconf-service}]
│ ├─gnome-terminal-─┬─bash─┬─pstree
│ │ │ └─2*[systemctl───pager]
│ │ └─3*[{gnome-terminal-}]
│ ├─goa-daemon─┬─sh───pxgsettings───3*[{pxgsettings}]
│ │ └─3*[{goa-daemon}]
│ ├─goa-identity-se───3*[{goa-identity-se}]
│ ├─gvfs-afc-volume───3*[{gvfs-afc-volume}]
│ ├─gvfs-goa-volume───2*[{gvfs-goa-volume}]
│ ├─gvfs-gphoto2-vo───2*[{gvfs-gphoto2-vo}]
│ ├─gvfs-mtp-volume───2*[{gvfs-mtp-volume}]
│ ├─gvfs-udisks2-vo───2*[{gvfs-udisks2-vo}]
│ ├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}]
│ │ └─2*[{gvfsd}]
│ ├─gvfsd-fuse───5*[{gvfsd-fuse}]
│ ├─gvfsd-metadata───2*[{gvfsd-metadata}]
│ └─obexd
├─systemd-journal
├─systemd-logind
├─systemd-resolve
├─systemd-timesyn───{systemd-timesyn}
├─systemd-udevd
├─teamviewerd───18*[{teamviewerd}]
├─thermald───{thermald}
├─udisksd───4*[{udisksd}]
├─upowerd───2*[{upowerd}]
└─wpa_supplicant
Code: Select all
pacmd list-sinks
1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 39328 / 60% / -13,31 dB, front-right: 39328 / 60% / -13,31 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Estéreo
used by: 0
linked by: 1
configured latency: 0,00 ms; range is 0,50 .. 371,52 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC298 Analog"
alsa.id = "ALC298 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xb4320000 irq 147"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9d71"
device.product.name = "Sunrise Point-LP HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "65536"
device.buffering.fragment_size = "32768"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Estéreo analógico"
device.description = "Audio Interno Estéreo analógico"
alsa.mixer_name = "Realtek ALC298"
alsa.components = "HDA:10ec0298,1d721701,00100103 HDA:8086280b,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Altavoces (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Auriculares analógicos (priority 9000, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
Code: Select all
aplay -l
**** Lista de PLAYBACK dispositivos hardware ****
tarjeta 0: PCH [HDA Intel PCH], dispositivo 0: ALC298 Analog [ALC298 Analog]
Subdispositivos: 0/1
Subdispositivo #0: subdevice #0
tarjeta 0: PCH [HDA Intel PCH], dispositivo 3: HDMI 0 [HDMI 0]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
tarjeta 0: PCH [HDA Intel PCH], dispositivo 7: HDMI 1 [HDMI 1]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
tarjeta 0: PCH [HDA Intel PCH], dispositivo 8: HDMI 2 [HDMI 2]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
tarjeta 0: PCH [HDA Intel PCH], dispositivo 9: HDMI 3 [HDMI 3]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
tarjeta 0: PCH [HDA Intel PCH], dispositivo 10: HDMI 4 [HDMI 4]
Subdispositivos: 1/1
Subdispositivo #0: subdevice #0
Code: Select all
pulseaudio --start
N: [pulseaudio] main.c: Servidor configurado por usuario en {82929df7ee394b73b81252fe3b4e5020}unix:/run/user/1000/pulse/native, que parece ser local. Probando más a fondo.
Code: Select all
pulseaudio --dump-conf
### Leyendo desde el archivo de confioguración: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-11.1/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target =
log-level = notice
resample-method = auto
avoid-resampling = yes
enable-remixing = yes
remixing-use-all-sink-channels = yes
enable-lfe-remixing = no
lfe-crossover-freq = 0
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 4
default-fragment-size-msec = 25
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 200000
laptop@laptop:~$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
laptop@laptop:~$ pulseaudio --version
pulseaudio 11.1
Code: Select all
sudo alsa reload
Unloading ALSA sound driver modules: snd-hda-codec-hdmi snd-soc-skl snd-soc-skl-ipc snd-hda-ext-core snd-soc-sst-dsp snd-hda-codec-realtek snd-soc-sst-ipc snd-soc-acpi snd-hda-codec-generic snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-hda-codec-hdmi snd-soc-skl snd-soc-skl-ipc snd-hda-ext-core snd-soc-sst-dsp snd-hda-codec-realtek snd-soc-sst-ipc snd-soc-acpi snd-hda-codec-generic snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-seq-midi snd-seq-midi-event snd-rawmidi snd-seq snd-seq-device snd-timer.
laptop@laptop:~$ alsa-info
ALSA-Info v 0.4.64
Code: Select all
sudo alsa force-unload
Unloading ALSA sound driver modules: snd-seq-midi snd-seq-midi-event snd-seq snd-rawmidi snd-seq-device snd-soc-skl snd-soc-skl-ipc snd-hda-ext-core snd-soc-sst-dsp snd-soc-sst-ipc snd-soc-acpi snd-soc-core snd-compress snd-pcm-dmaengine snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
laptop@laptop:~$ sudo alsa force-reload
Unloading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer (failed: modules still loaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer).
Loading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec-generic snd-hda-intel snd-hda-codec snd-hda-core snd-hwdep snd-pcm snd-timer.
laptop@laptop:~$ sudo alsa suspend
laptop@laptop:~$ sudo alsa resume
Code: Select all
laptop@laptop:~$ pulseaudio --high-priority
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
laptop@laptop:~$ pulseaudio --disable-shm
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: Ha fallado pa_pid_file_create().
laptop@laptop:~$ service pulseaudio status
Unit pulseaudio.service could not be found.
Code: Select all
laptop@laptop:/etc$ service --status-all
[ + ] acpid
[ - ] alsa-utils
[ - ] anacron
[ + ] apparmor
[ + ] apport
[ + ] atd
[ + ] avahi-daemon
[ + ] bluetooth
[ - ] console-setup.sh
[ + ] cron
[ - ] cryptdisks
[ - ] cryptdisks-early
[ + ] cups
[ + ] cups-browsed
[ + ] dbus
[ - ] dns-clean
[ + ] grub-common
[ + ] hddtemp
[ - ] hwclock.sh
[ + ] irqbalance
[ + ] kerneloops
[ - ] keyboard-setup.sh
[ + ] kmod
[ + ] lightdm
[ + ] lm-sensors
[ - ] lvm2
[ + ] lvm2-lvmetad
[ + ] lvm2-lvmpolld
[ - ] mintsystem
[ + ] network-manager
[ + ] networking
[ + ] openvpn
[ - ] plymouth
[ - ] plymouth-log
[ - ] pppd-dns
[ + ] preload
[ + ] procps
[ - ] rsync
[ + ] rsyslog
[ - ] saned
[ + ] speech-dispatcher
[ + ] sysfsutils
[ + ] udev
[ + ] ufw
[ - ] uuidd
[ - ] veracrypt
[ - ] vsftpd
[ - ] x11-common
Code: Select all
laptop@laptop:/etc/init$ ps -ef | grep pulse
laptop 5754 30079 0 11:25 pts/0 00:00:00 grep --color=auto pulse
laptop 31397 1 1 11:07 ? 00:00:13 /usr/bin/pulseaudio --start --log-target=syslog
I will appreciate if someone can give me a clue of what's is going on.
Many thanks