System freeze - realtime kernel

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

System freeze - realtime kernel

Postby lilith » Tue May 29, 2018 8:41 pm

I have Debian Stretch installed recently + the KX repos. In addition I also installed a realtime kernel via synaptic (Linux fox 4.9.0-6-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux)

It happend to me already twice that my complete system is freezing. Now I was playing with Ardour and tried to get the Multisampler Plugin (LSP) running with multi outs.... I was playing in the pin connection window. Mouse is moving but I can't open/close programs. I also can't open a terminal. I can restart the PC with REISUB. I don't know if it's due to Ardour or if there is any other problem.

Can it be a problem with the realtime kernel? Can I just deinstall the RT kernel and will Debian automatically use the old one?
I just have realized that I didn't install the kernel header files, are these important?

I checked the xorg log files, but as there is no time stamp in it I can hardly figure out if there is a problem.

If anyone has an idea what else I can check ... :?

Is anyone running the standard Linux fox 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux kernel, intead if the RT kernel?
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
sysrqer
Established Member
Posts: 1782
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: System freeze - realtime kernel

Postby sysrqer » Tue May 29, 2018 9:21 pm

What graphics card do you have?

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Tue May 29, 2018 9:31 pm

It's a simple online chip: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

With KXStudio 14.04 I never had any freeze.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Tue May 29, 2018 9:32 pm

lilith wrote:It's a simple online chip: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

With KXStudio 14.04 I never had any freeze.

Now: Debian + XFCE Dektop.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
sysrqer
Established Member
Posts: 1782
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: System freeze - realtime kernel

Postby sysrqer » Tue May 29, 2018 9:54 pm

I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages

Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Tue May 29, 2018 10:01 pm

sysrqer wrote:I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages

Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.


Ok, I have the standard Debian kernel booted now which also gives me less (=none) xruns. I will use this for the next weeks and see if the I get again problems. Thanks!

Do I need a lowtancykernel? I get 10.7 latency @ 512 samples, with the standard kernel without xruns... should be ok,right?
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
sysrqer
Established Member
Posts: 1782
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: System freeze - realtime kernel

Postby sysrqer » Tue May 29, 2018 10:41 pm

Low latency is probably better but use what works.

User avatar
khz
Established Member
Posts: 1054
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: System freeze - realtime kernel

Postby khz » Wed May 30, 2018 6:36 am

You are using the onboard graphics card of your I7
and you installed the firmware-linux-nonfree and the microcode?

As far as I know, you have followed my tips (see signature).
If there are any errors, please give me feedback so I can change it. Thank you.
FZ - Does humor belongs in Music?
GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
    I don't care about the freedom of speech because I have nothing to say.

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Wed May 30, 2018 8:18 pm

khz wrote:You are using the onboard graphics card of your I7
and you installed the firmware-linux-nonfree and the microcode?

As far as I know, you have followed my tips (see signature).
If there are any errors, please give me feedback so I can change it. Thank you.


Yup, I have both packages installed, because you said I have to :mrgreen: .
Btw: I checked my RAM today -> no errors found.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

ubuntuuser
Established Member
Posts: 223
Joined: Mon Jan 02, 2017 9:46 am

Re: System freeze - realtime kernel

Postby ubuntuuser » Thu May 31, 2018 4:17 am

Maybe wifi freezes, some rt kernels might cause wifi freezes with some wifi hardware/drivers.

I've had to disable wifi for one rt kernel I'm using and after that it's ok.

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Sun Feb 24, 2019 12:21 am

I'm using the RT kernel (4.9.0-8-rt-amd64) meanwhile again and I see often such messages in the journal:

Code: Select all

NOHZ: local_softirq_pending 80


Same happened with the previous RT kernel. Usually they make no problems and I read somewhere they are considered to be uncritical.
This evening again the system frozed. Ctrl+Alt+F1 was not possbile, but Alt+Print+REISUB.

In the journal I only see:

Code: Select all

Feb 23 22:17:01 fox CRON[6613]: pam_unix(cron:session): session closed for user root
Feb 23 22:39:03 fox smartd[495]: Device: /dev/sdb [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 71 to 70
Feb 23 22:47:05 fox kernel: [drm:intel_pipe_update_end [i915]] *ERROR* Atomic update failure on pipe A (start=570242 end=570243) time 2125 us, min 1073, max 1079, scanline start 1059, end 1059
Feb 23 22:52:28 fox kernel: Carla-Plugin[6811]: segfault at 7fff00000012 ip 00007f9607995e04 sp 00007fff12244c80 error 6 in libcarla_utils.so[7f960798b000+33000]
Feb 23 22:57:10 fox dbus-daemon[1178]: Activating service name='org.freedesktop.thumbnails.Thumbnailer1'
Feb 23 22:57:10 fox dbus-daemon[1178]: Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
Feb 23 22:59:47 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 22:59:47 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:08 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:16 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:16 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:19 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:44 fox kernel: sysrq: SysRq : Keyboard mode set to system default
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: NOHZ: local_softirq_pending 80
Feb 23 23:00:45 fox kernel: sysrq: SysRq : This sysrq operation is disabled.
Feb 23 23:00:46 fox kernel: sysrq: SysRq : This sysrq operation is disabled.
Feb 23 23:00:47 fox kernel: sysrq: SysRq : Emergency Sync
Feb 23 23:00:47 fox kernel: Emergency Sync complete


The system froze at ~ 22:58. Maybe the NOHZ: local_softirq_pending 80 has something to do with it? Anybody else stumbled upon it?
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Mon Mar 04, 2019 3:09 pm

sysrqer wrote:I just ask because it is very similar to an issue you can run in to using nouveau driver in conjunction with realtime operations - https://wiki.archlinux.org/index.php/no ... r_messages

Sounds like it could be a kernel problem though, boot in the low latency or regular version of the kernel, or any other version and see if you have the same problem. Kernel issues are pretty easy fix, there are many you try. Go back to basics and work your way up.


I found that some freezes are due to using the XFCE compositing feature. I disabled it now and installed compton, which looks much better. Freezes happen also much more often when I'm using the RT - Kernel. I also saw now that I have xserver-xorg-video-nouveau installed in synaptic which confuses me as I have a simple intel online graphic chip. Maybe it's just pre-installed and not in use.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
sysrqer
Established Member
Posts: 1782
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: System freeze - realtime kernel

Postby sysrqer » Mon Mar 04, 2019 3:51 pm

Yeah I think it can be installed but not used. Might want to check what is actually being used though.

User avatar
lilith
Established Member
Posts: 921
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: System freeze - realtime kernel

Postby lilith » Mon Mar 04, 2019 3:56 pm

sysrqer wrote:Yeah I think it can be installed but not used. Might want to check what is actually being used though.


Seems to be the i915 driver:

Code: Select all

  *-display                 
       description: VGA compatible controller
       product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:32 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff


If the problems persist I try installing the mesa package and the latest kernel from the Debian Backports.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 1 guest