The case for Debian Bookworm and the 6.1 kernel (including installation notes)

More
3 years 7 months ago #267195 by rodw

hey Rodw why do you only recommend XFCE? I ask because I like using Mate and was curious if their was
some issue I should be aware of.
Xfce is what the official Linuxcnc ISO uses. It is based on Xorg Xwindows.
A lot of GUIs etc (like probe-basic ) assume XFCE. The New Probe-Basic installation does not install the required desktop shortcuts if installed on Gnome.
The default Gnome Debian default are based on Wayland unless the Xorg version is selected on the logon screen.
Linuxcnc has had a lot of issues with Wayland as until recently it would not open GUIs including Axis. Some workarounds are now included in the recent Bookworm debs.
.
So all in all its easier to just stick to XFCE, If mate is an Xorg gui (which I think it is), you are probably OK.
Try installing both Mate and XFCE and then you can select the environment to use on the logon screen. It should remember your choice...



 
The following user(s) said Thank You: my1987toyota

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

More
3 years 7 months ago #267275 by song_gy
Code:
Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7 Machine configuration directory is '/home/song/dev/probe_basic/configs/probe_basic_lathe' Machine configuration file is 'probe_basic_lathe.ini' INIFILE=/home/song/dev/probe_basic/configs/probe_basic_lathe/probe_basic_lathe.ini VERSION=1.1 PARAMETER_FILE=sim-lathe.var TPMOD= HOMEMOD= TASK=milltask HALUI=halui DISPLAY=probe_basic_lathe COORDINATES=X Z KINEMATICS=trivkins coordinates=xz Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Found file(REL): ./hallib/core_sim_2.hal Found file(REL): ./hallib/simulated_home_xz.hal Found file(REL): ./hallib/simulated_lathe.hal Starting TASK program: milltask Starting DISPLAY program: probe_basic_lathe Shutting down and cleaning up LinuxCNC... task: 83 cycles, min=0.000014, max=0.023906, avg=0.009772, 0 latency excursions (> 10x expected cycle time of 0.010000s) Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime Unexpected realtime delay on task 0 with period 100000 This Message will only display once per session. Run the Latency Test and resolve before continuing. Traceback (most recent call last):   File "/home/song/dev/venv/bin/probe_basic_lathe", line 8, in <module>     sys.exit(main())              ^^^^^^   File "/home/song/dev/probe_basic/src/probe_basic_lathe/__init__.py", line 19, in main     qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)   File "/home/song/dev/qtpyvcp/qtpyvcp/__init__.py", line 26, in run_vcp     run(*args, **kwargs)   File "/home/song/dev/qtpyvcp/qtpyvcp/app/__init__.py", line 97, in run     apply_opts(opts)   File "/home/song/dev/qtpyvcp/qtpyvcp/utilities/opt_parser.py", line 202, in apply_opts     from qtpyvcp.utilities import logger   File "/home/song/dev/qtpyvcp/qtpyvcp/utilities/logger.py", line 27, in <module>     from qtpyvcp.lib.logger import TTYHandler   File "/home/song/dev/qtpyvcp/qtpyvcp/lib/logger.py", line 2, in <module>     import serial ModuleNotFoundError: No module named 'serial' 1485 1529 Stopping realtime threads Unloading hal components Note: Using POSIX realtime

Hello Rodw
I don't know what I did wrong with that step.
It shows above error when I start Probe Basic Lathe/Mill.
Can you help me see where is the problem?
Thank you so much!

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

More
3 years 7 months ago - 3 years 7 months ago #267276 by rodw
Please ask for help in the qtpyvcp section. This appears to be the error.  I don't think its part of qtpyvcp
ModuleNotFoundError: No module named 'serial'
Last edit: 3 years 7 months ago by rodw.

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

More
3 years 5 months ago #270514 by JPL

...You to can enjoy this level of performance by following these installation steps I have put together.
docs.google.com/document/d/1jeV_4VKzVmOI...diY/edit?usp=sharing

 
Ohh! I see that your document is growing!  Last time I've checked there was about 25 points, now over 60. Hummm, I'm very tempted to try this given the results you had. Are you still as enthusiast by this release as you where before ? Also, did you find any major issues since then? 

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

More
3 years 5 months ago #270519 by JPL
...And why isn't this a sticky?
image missing /media/kunena/emoticons/wink.png

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

More
3 years 5 months ago #270521 by rodw
My build notes have been gorwing with feedback from a few brave souls. :)
I've tried to ensure any ambiguity is removed
But the core instructions are still only 19 points

Currently (since 1 May 2023), we link to my second build of the 6.3 kernel following a so called final kernel release
All feedback is that its amazing, particularly if a realtek NIC is involved that is covered with the R8168-dkms driver.eg:
265% improvement of latency
400% improvement of network latency.

These results are not just me, others have experienced the same improvement
The kernel folder also includes the instructions to roll your own
 

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

Time to create page: 0.394 seconds
Powered by Kunena Forum