One Quick Freeze

What does it show for lspci -k for the audio only.

[rolex@rolex-pc ~]$ lspci -k 
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
        Subsystem: Dell Device 07be
        Kernel driver in use: skl_uncore
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
        Kernel driver in use: pcieport
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
        DeviceName:  Onboard IGD
        Subsystem: Dell Device 07be
        Kernel driver in use: i915
        Kernel modules: i915
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 05)
        Subsystem: Dell Device 07be
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #1 (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #2 (rev f1)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
        Kernel driver in use: pcieport
00:1d.4 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #13 (rev f1)
        Kernel driver in use: pcieport
00:1d.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #15 (rev f1)
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation HM175 Chipset LPC/eSPI Controller (rev 31)
        Subsystem: Dell Device 07be
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
        Subsystem: Dell Device 07be
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
        Subsystem: Dell Device 07be
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)
        Subsystem: Dell Device 07be
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
        Subsystem: Intel Corporation Device 0010
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
        Subsystem: Dell Device 07be
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci
04:00.0 Non-Volatile memory controller: SK hynix PC300 NVMe Solid State Drive 512GB
        Subsystem: SK hynix Device 0000
        Kernel driver in use: nvme
06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
        Kernel driver in use: pcieport
07:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
        Kernel driver in use: pcieport
07:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
        Kernel driver in use: pcieport
07:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
        Kernel driver in use: pcieport
3e:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
        Subsystem: Device 2222:1111
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

I don’t see any issue with the audio. It shows sound_hda_intel. So if everything is working should be okay. I’m pretty sure this is required for this chip. But, it also could work and be okay without it possibly. My initial thought was that it may have something to do with the freeze because it needed the firmware for the audio chip. Others have had to install it to get some parts of the audio working such as mic or other. If it’s still having the freeze then i guess it’s not what’s causing that.

Have you looked at dmesg?

Sorry that was the wrong thing. I posted earlier.

[rolex@rolex-pc ~]$ dmesg -rl warn,err,crit | curl -F 'f:1=<-' ix.io
http://ix.io/2DtG

I see errors on /devsda1?

That is just a external SSD which just takes snapshot of my current system. The errors that are popping up from it shouldn’t effect my system. The main drive would /dev/nvme0n1.

Well it could because it has to read from it and these errors could be the reason it freezes momentarily.

Edit: Could this all be related to APST and the nvme drive.

https://wiki.archlinux.org/index.php/Solid_state_drive/NVMe#Power_Saving_APST

Unfortunately the freeze does still persist even with the drive not plugged in. So I believe that isn’t the issue in this case. I didn’t experience this also when I was using Debian Sid or Manjaro Unstable. Unfornately Debian doesn’t offer all the packages I want and Manjaro’s support has been slowly regressing for some reason.

Ya i agree if it’s unplugged then you have taken that out of the picture. Myself I haven’t experienced this with any of my hardware. I am running kde plasma as well as xfce and cinnamon on the same machine. I also have EndeavourOS on 3 other machines with varying ages of hardware.

I don’t want to interfer on your discussion, but I checked your mobo then I saw that your Bios is not the Last Updated from 09 Sep 2020 Version 1.20.0 on the Dell XPS 15 9560 ?

You have:

Mobo: Dell model: 05FFDN v: A00 serial: UEFI: Dell v: 1.18.0 date: 11/17/2019

DELL told an urgent update to do !!
Maybe, begin with this, in case it resolved it.

https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=1r87h&oscode=wt64a&productcode=xps-15-9560-laptop

1 Like

The bios update seems to have shortened the freeze it lasted legit 30 secs or so. @ricklinux was probably right about the APST nvme thing. The first 4 entries that are printed from the command are suppose to be lower than 25ms. I tried checking for the parameter as mention in the arch linux wiki, but I am not finding it in the kernel files.

[rolex@rolex-pc ~]$ sudo nvme get-feature /dev/nvme0 -f 0x0c -H | curl -F 'f:1=<-' ix.io
http://ix.io/2Dub

You can try the following kernel parameter to disable

nvme_core.default_ps_max_latency_us=0

Edit: Just add it to your GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

Example:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme_core.default_ps_max_latency_us=0"

Then update grub:

sudo grub-mkconfig -o /boot/grub/grub.cfg

While that did put all entries at 0 it doesn’t seem to have fixed the freezing issue. Any other suggestion that you may have?

[rolex@rolex-pc ~]$ sudo nvme get-feature /dev/nvme0 -f 0x0c -H | curl -F 'f:1=<-' ix.io
http://ix.io/2Du6
[rolex@rolex-pc ~]$ 

Where is it freezing? After it’s already booted up and logged into the desktop?

Edit: Obviously that’s not it as i ran the command on my system and the values are way higher and i have no issues.

Yeah so when the system boots and I start opening apps in this care Brave and Lightcord the whole system seems to freeze for as long as a minute. At first I thought it might have to do with some the nvidia graphics or KDE, but it doesn’t seem that is the issue at least from what I have tested.

Do you mean opening Brave browser? What is Lightcord? (Discord)

Yes brave browser and lightcord is an alternative discord client that is easier to mod and harder to detect on discord’s side of things.

Try Firefox first. It’s obviously application related and not hardware i would say.

I would agree with you however, this issues persisted before I installed Brave and Lightcord. So I don’t think it has anything to do with applications.

Oh okay… well I’m out of ideas what to suggest taking a look at. :man_shrugging: