Does anyone know how to address the issue of no sound after sleep (suspend) mode on KaOS? If I select suspend/sleep mode or close the laptop lid and then wake the laptop opening it again, there is no audio/sound. However, the sound output shows Output Device: Speakers - Built-in-Audio. In order to have the sound back from the speakers, I need to restart/reboot the computer. So the audio works just fine after the restart, but not after sleep mode. To mention, it's interesting that after the sleep mode, the audio DOES work but only through the headphones. I used KaOS on other machines in the past but never had this problem. This is a relatively recent install on a new laptop (Xiaomi Notebook Pro i7, 10th Intel+Nvidia). Thanks for your feedback and suggestions.
No audio after suspend/sleep mode
Thanks for the reply. I'm currently running KaOS in live mode. Here's SysInfo when the audio is working fine (before suspend); I will follow up with another reply with the log after suspend mode when the sound fails. I booted into KaOS UEFI (nonfree Nvidia); the laptop is i7 with 10th gen Intel and Nvidia.
cat /etc/KaOS-release
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
inxi -Fxz
----------------------------------------------------------------------------------------------------------
System: Host: <HOSTNAME> Kernel: 5.4.7-1 x86_64 bits: 64 compiler: gcc v: 9.2.0
Desktop: KDE Plasma 5.17.4 Distro: KaOS 2020
Machine: Type: Laptop System: TIMI product: Mi Laptop Pro 15 v: N/A serial: <filter>
Mobo: TIMI model: TM1905 v: AX23XXAXE serial: <filter> UEFI: TIMI v: XMACM500P0201
date: 09/16/2019
Battery: ID-1: BAT0 charge: 59.3 Wh condition: 59.3/60.0 Wh (99%) model: SUNWODA R15B01W
status: Full
CPU: Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake
rev: C L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799
Speed: 802 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 900 2: 900 3: 901 4: 900
5: 900 6: 900 7: 900 8: 900
Graphics: Device-1: Intel vendor: Xiaomi driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX250] vendor: Xiaomi driver: nouveau v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.20.6 driver: modesetting unloaded: vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics (Comet Lake 3x8 GT2) v: 4.5 Mesa 19.2.8
direct render: Yes
Audio: Device-1: Intel vendor: Xiaomi driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.4.7-1
Network: Device-1: Intel driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3
IF-ID-1: enp0s20f0u9 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives: Local Storage: total: 968.32 GiB used: 85.9 MiB (0.0%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB
ID-2: /dev/sda type: USB vendor: Toshiba model: TransMemory size: 14.45 GiB
Partition: ID-1: / size: 11.63 GiB used: 85.9 MiB (0.7%) fs: aufs source: ERR-102
Sensors: System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 209 Uptime: 3m Memory: 15.51 GiB used: 1.50 GiB (9.6%) Init: systemd
runlevel: 5 Compilers: gcc: 9.2.0 Client: Unknown Client: octopi inxi: 3.0.37
----------------------------------------------------------------------------------------------------------
journalctl -b -p err
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /etc/pacman.conf
----------------------------------------------------------------------------------------------------------
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc pacman-helpme
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
Color
#TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Never
LocalFileSigLevel = Never
#RemoteFileSigLevel = Required
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
[core]
Include = /etc/pacman.d/mirrorlist
[main]
Include = /etc/pacman.d/mirrorlist
[apps]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
----------------------------------------------------------------------------------------------------------
pacman -Qm
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /var/log/pacman.log
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /var/log/installation.log
----------------------------------------------------------------------------------------------------------
- Edited
And here's the SysInfo log after suspend mode, that is when I'm logged back in, and when the sound fails (audio not working).
----------------------------------------------------------------------------------------------------------
cat /etc/KaOS-release
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
inxi -Fxz
----------------------------------------------------------------------------------------------------------
System: Host: <HOSTNAME> Kernel: 5.4.7-1 x86_64 bits: 64 compiler: gcc v: 9.2.0
Desktop: KDE Plasma 5.17.4 Distro: KaOS 2020
Machine: Type: Laptop System: TIMI product: Mi Laptop Pro 15 v: N/A serial: <filter>
Mobo: TIMI model: TM1905 v: AX23XXAXE serial: <filter> UEFI: TIMI v: XMACM500P0201
date: 09/16/2019
Battery: ID-1: BAT0 charge: 59.3 Wh condition: 59.3/60.0 Wh (99%) model: SUNWODA R15B01W
status: Full
CPU: Topology: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP arch: Kaby Lake
rev: C L2 cache: 8192 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 36799
Speed: 802 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 900 2: 900 3: 901 4: 900
5: 900 6: 900 7: 900 8: 900
Graphics: Device-1: Intel vendor: Xiaomi driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX250] vendor: Xiaomi driver: nouveau v: kernel
bus ID: 01:00.0
Display: x11 server: X.Org 1.20.6 driver: modesetting unloaded: vesa
resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics (Comet Lake 3x8 GT2) v: 4.5 Mesa 19.2.8
direct render: Yes
Audio: Device-1: Intel vendor: Xiaomi driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k5.4.7-1
Network: Device-1: Intel driver: iwlwifi v: kernel port: 4000 bus ID: 00:14.3
IF-ID-1: enp0s20f0u9 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives: Local Storage: total: 968.32 GiB used: 85.9 MiB (0.0%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKNW010T8 size: 953.87 GiB
ID-2: /dev/sda type: USB vendor: Toshiba model: TransMemory size: 14.45 GiB
Partition: ID-1: / size: 11.63 GiB used: 85.9 MiB (0.7%) fs: aufs source: ERR-102
Sensors: System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 209 Uptime: 3m Memory: 15.51 GiB used: 1.50 GiB (9.6%) Init: systemd
runlevel: 5 Compilers: gcc: 9.2.0 Client: Unknown Client: octopi inxi: 3.0.37
----------------------------------------------------------------------------------------------------------
journalctl -b -p err
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /etc/pacman.conf
----------------------------------------------------------------------------------------------------------
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc pacman-helpme
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
Color
#TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Never
LocalFileSigLevel = Never
#RemoteFileSigLevel = Required
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
[core]
Include = /etc/pacman.d/mirrorlist
[main]
Include = /etc/pacman.d/mirrorlist
[apps]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
----------------------------------------------------------------------------------------------------------
pacman -Qm
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /var/log/pacman.log
----------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------
cat /var/log/installation.log
----------------------------------------------------------------------------------------------------------
I hope this provides more information. Let me know if I should post the journalctl
log as well.
I installed KaOS (with non-free Nvidia) along Windows 10 using the automated install process. The KaOS booting/login process is very slow; when I pass the plasma screen and I'm greeted with the Welcome page, the system freezes.
I have a feeling that I'm facing similar installation issues as I did two years ago (see my earlier posts), namely related to hybrid graphics. I attempted to login by appending the kernel line at boot to show_status=3 blacklist=nouveau
but it didn't help: this time I wasn't even able to pass the login screen. I understand that the current KaOS includes support for hybrid graphics. Does this mean that the installer sorts things out automatically, or the user still needs to set things up manually? Is it possible to select Intel as the primary driver, and select Nvidia as the secondary one, used by the system if more resources are needed? Any suggestions on how to go around this, before we tackle the audio issue? I'm sorry about all this trouble - the info about my system should be retrieved above, in case it helps.
P.S. If it's not too much trouble, could you allow me to edit my previous posts? I'd like to post the logs vis pastee.ee.
A quick update: the boot/login process was faster after I added `nouveau.modeset=0'at the end of the boot kernel line. This modification to boot parameters enabled me to perform system upgrades.
I rebooted the system after the updates (without modifying the kernel at boot). I was able to log in, although the wireless card is not detected (I’m able to connect to the internet using phone USB tethering).
Any suggestions on that front?
I was able to test the audio before suspend, and it worked. Once I logged back in, the sound failed.
I will follow up with system info and error logs shortly.
- Edited
Logs after suspend (audio not working; wifi not recognized):
Disk Layout Description: https://paste.ee/p/h0dmG
System Info: https://paste.ee/p/b6nMh
Sysinfo: https://paste.ee/p/duEwF
inxi -N: Intel Wireless-AC 9462 driver: iwlwifi
- Edited
nagymusic I installed KaOS (with non-free Nvidia)
Your logs show otherwise, you really selected non-free? Then please start the Live session again, make sure to select the second option (non-free) in the bootloader, no changes to kernel line needed (nouveau will be blacklisted when you select non-free). If you truly did select non-free before then it will be needed what the contents of (should be available) /tmp/nvidia
, /var/log/nvidia-prime
and /var/log/used_gfx
are.
The support for hybrid system changes are for non-free, all is set to automate Live mode & installed system to use intel as default when selecting non-free (through the use of the prime package).
Wireless issue shows in the journal:
Feb 05 10:44:54 <HOSTNAME> kernel: iwlwifi 0000:00:14.3: SecBoot CPU1 Status: 0x5c28, CPU2 Status: 0x3
Feb 05 10:44:54 <HOSTNAME> kernel: iwlwifi 0000:00:14.3: Failed to start RT ucode: -110
Feb 05 10:44:54 <HOSTNAME> kernel: iwlwifi 0000:00:14.3: Firmware not running - cannot dump error
Feb 05 10:44:54 <HOSTNAME> kernel: iwlwifi 0000:00:14.3: Failed to run INIT ucode: -110
AFAIK, kernel bug, might be fixed in linux-next (5.5 series), see this patch.
https://kaosx.us/docs/kernels/
- Edited
Thanks, damm. I really appreciate your time and help with this. I reinstalled KaOS alongside Windows, selecting the non-free option. I upgraded and rebooted the system. However, there's still no audio after suspend and wifi is not detected. I understand that there's nothing I may do at this point, given the hardware of my system. I also tried several other distros. All of them detected the wifi, but the sound failed after suspend.
- Edited
nagymusic selecting the non-free option
So you say the logs are wrong? The logs show there is no Nvidia driver ever installed.
nagymusic tried several other distros
You did see what I posted for that? Did those distros use the kernel 5.4 (up to 5.4.12)? The fix is in linux-next.....
And for the original post, still not a single log for the no sound after suspend (can only get logs with installed system).