Mesa hm2/hm2_7i96s.0: error finishing read

More
22 Oct 2022 16:27 #254767 by arvidb
I also tried linux-image-5.2.0-1-rt-amd64 and get the spikes there too.

Please Log in or Create an account to join the conversation.

More
22 Oct 2022 20:56 #254800 by arvidb
I built my own "linux-image-5.0.21-rt16" and here I don't get the latency spikes. (The larger spike in the image was from dragging the browser window around; it still wasn't enough to trigger any latency errors from linuxcnc.)


I guess next step is to try a 5.2 kernel built on the same config. But not today! *snooze*
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 13:18 #254907 by arvidb
An interesting result here comparing Debian's linux-image-5.2.0-1-rt-amd64 and my home-built linux-image-5.2.21-rt15:

Debian linux-image-5.2.0-1-rt-amd64:


DIY linux-image-5.2.21-rt15:


So the issue might have something to do with Debian's patches or the kernel config rather than the kernel version.
Attachments:
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 18:36 #254938 by PCW
All my tests have been with home built images, and I have never seen the really bad latency
issues on these kernels (regardless or version) that the debian kernels show.

I do find the 4.19 kernel in general is much better latency wise than later kernels,
and may be needed on some host hardware.

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 19:07 #254944 by arvidb
That should explain the difference between your 8300 and bensttech's then?

What sources do you use for your home built images? I'm using the kernel stable repo (and apply the PREEMPT_RT patches according to the instructions ).

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 19:25 - 24 Oct 2022 19:31 #254945 by PCW
Yes, I just use the kernel.org sources and RT patches and build with a script like:

mkdir rtlinux
cd rtlinux
wget www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.145.tar.xz
wget www.kernel.org/pub/linux/kernel/projects...10.145-rt74.patch.gz
tar -xpf linux-5.10.145.tar.xz
gunzip patch-5.10.145-rt74.patch.gz
cp patch-5.10.145-rt74.patch linux-5.10.145
cd linux-5.10.145
cat patch-5.10.145-rt74.patch | patch -p1
make xconfig
make -j4
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install

Usually the only thing I change (if needed) in xconfig is the preemption mode.
 
Last edit: 24 Oct 2022 19:31 by PCW.
The following user(s) said Thank You: JT

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 19:55 #254950 by scotth
I get this error with the patch.

Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.199.223, 2604:1380:45d1:ec00::1
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.199.223|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-10-24 14:50:06 ERROR 404: Not Found.

Please Log in or Create an account to join the conversation.

More
24 Oct 2022 20:08 #254954 by tommylight
In Xconfig search and choose "fully preemptibe".
I think that was it, been a long time.
The following user(s) said Thank You: rodw, JT

Please Log in or Create an account to join the conversation.

More
25 Oct 2022 08:47 #255004 by rodw

Yes, I just use the kernel.org sources and RT patches and build with a script like:

mkdir rtlinux
cd rtlinux
wget www.kernel.org/pub/linux/kernel/v5.x/linux-5.10.145.tar.xz
wget www.kernel.org/pub/linux/kernel/projects...10.145-rt74.patch.gz
tar -xpf linux-5.10.145.tar.xz
gunzip patch-5.10.145-rt74.patch.gz
cp patch-5.10.145-rt74.patch linux-5.10.145
cd linux-5.10.145
cat patch-5.10.145-rt74.patch | patch -p1
make xconfig
make -j4
sudo make INSTALL_MOD_STRIP=1 modules_install
sudo make install

Usually the only thing I change (if needed) in xconfig is the preemption mode.

 

Peter, so this looks like the Bullseye kernel. Is that what you settled on?
Why not Bookworm?

Please Log in or Create an account to join the conversation.

More
25 Oct 2022 13:44 - 25 Oct 2022 13:44 #255031 by PCW
That's just an example

(though I'm no sure why I should care about which kernel debian uses)

I have been testing on Mint 20.2, mostly on an Elite G1, using kernel versions
from 4.19 through 6.0
Last edit: 25 Oct 2022 13:44 by PCW.
The following user(s) said Thank You: rodw, JT

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.157 seconds
Powered by Kunena Forum