LinuxCNC on Linux Mint 19.2
19 Sep 2019 07:54 #145562
by Elco
LinuxCNC on Linux Mint 19.2 was created by Elco
As a Linux beginner, I gained some experience with my Linux Mint 19.2 laptop and desktop. Hence I would like to build LinuxCNC on Linux Mint as well, following the detailed description in the 'Building LinuxCNC Uspace' document. I looked for the 19.2 versions of the rt components listed. Unfortunately I cannot find a 4.19.2 version of:
mirrors.edge.kernel.org/pub/linux/kernel...-4.19.1-rt3.patch.gz
Can I use this patch, is there one in another directory, or is for 19.2 no patch required? I could of course go back to 19.1 as initial installation, but would a subsequent upgrade to 19.2 still work?
Thanks, Elco.
mirrors.edge.kernel.org/pub/linux/kernel...-4.19.1-rt3.patch.gz
Can I use this patch, is there one in another directory, or is for 19.2 no patch required? I could of course go back to 19.1 as initial installation, but would a subsequent upgrade to 19.2 still work?
Thanks, Elco.
Please Log in or Create an account to join the conversation.
19 Sep 2019 09:31 #145570
by rodw
Replied by rodw on topic LinuxCNC on Linux Mint 19.2
It was my understanding you needed to select a version with a compatible PREMPT_RT patch
This might help for 19.1 gnipsel.com/linuxcnc/uspace/linuxmint19-rt.html
This might help for 19.1 gnipsel.com/linuxcnc/uspace/linuxmint19-rt.html
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
21 Sep 2019 18:50 #145776
by tommylight
Replied by tommylight on topic LinuxCNC on Linux Mint 19.2
forum.linuxcnc.org/9-installing-linuxcnc...nd-easy-installation
This also works with 19.2
Tested it last night.
This also works with 19.2
Tested it last night.
The following user(s) said Thank You: Elco
Please Log in or Create an account to join the conversation.
21 Sep 2019 19:33 #145781
by Elco
Replied by Elco on topic LinuxCNC on Linux Mint 19.2
Thanks for the update. In the mean time, I wiped LM 19.2 and installed 19.1
I followed again the instructions in the document 'Linux Mint 19.1 RT kernel'
and managed this time to download the necessary files. After that I ran into the following problems:
The listed command 'tar -xpf linux-4.19.1.tar.xz' is incorrect. After some googling it fixed it by deleting the first - sign.
Building the kernel I got the following error messages:
"cannot use config-stack-validation=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
and 30 - 40 times:
"the frame size of <some_larger.number> is larger than 1024 bytes"
in lines starting with 'arch' or 'kernel'.
After which I gave up.
I'll install LM19.2 again and try this solution.
Thanks, Elco.
I followed again the instructions in the document 'Linux Mint 19.1 RT kernel'
and managed this time to download the necessary files. After that I ran into the following problems:
The listed command 'tar -xpf linux-4.19.1.tar.xz' is incorrect. After some googling it fixed it by deleting the first - sign.
Building the kernel I got the following error messages:
"cannot use config-stack-validation=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
and 30 - 40 times:
"the frame size of <some_larger.number> is larger than 1024 bytes"
in lines starting with 'arch' or 'kernel'.
After which I gave up.
I'll install LM19.2 again and try this solution.
Thanks, Elco.
Please Log in or Create an account to join the conversation.
23 Sep 2019 12:22 #145951
by Elco
Replied by Elco on topic LinuxCNC on Linux Mint 19.2
Well, I installed 19.2 again, and followed the 'easy installation' guidelines:
Downloaded linux-headers-4.16.12-rt5-kona-rt_amd64.deb and the same linux-image version.
Used grub2 to chose above kernel, booted successfully:
robert@lab-CNC:~$ uname -a
Linux lab-CNC 4.16.12-rt5-kona-rt #1 SMP PREEMPT RT Fri Jun 8 10:39:47 JST 2018 x86_64 x86_64 x86_64 GNU/Linux
Installed with gdebi linuxcnc-uspace 2.8.0 ~pre 1.5212.g and the matching linux-doc-en.
Ran the latency test, for the base thread around 54000 (vs 40000 with 2.7.14 on the same hardware). So far so good.
Then I discovered that several of the LinuxCNC submenus (e.g Getting stated guide) did not open, but started gimp (??). The link and document location looked correct through. Running in the command window, this is the result:
robert@lab-CNC:~$ /usr/bin/see /usr/share/doc/linuxcnc/LinuxCNC_Getting_Started.pdf
(gimp-2.8:2627): GLib-GObject-WARNING **: 14:17:58.658: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
Any idea what is happening here?
Thanks, Elco
Downloaded linux-headers-4.16.12-rt5-kona-rt_amd64.deb and the same linux-image version.
Used grub2 to chose above kernel, booted successfully:
robert@lab-CNC:~$ uname -a
Linux lab-CNC 4.16.12-rt5-kona-rt #1 SMP PREEMPT RT Fri Jun 8 10:39:47 JST 2018 x86_64 x86_64 x86_64 GNU/Linux
Installed with gdebi linuxcnc-uspace 2.8.0 ~pre 1.5212.g and the matching linux-doc-en.
Ran the latency test, for the base thread around 54000 (vs 40000 with 2.7.14 on the same hardware). So far so good.
Then I discovered that several of the LinuxCNC submenus (e.g Getting stated guide) did not open, but started gimp (??). The link and document location looked correct through. Running in the command window, this is the result:
robert@lab-CNC:~$ /usr/bin/see /usr/share/doc/linuxcnc/LinuxCNC_Getting_Started.pdf
(gimp-2.8:2627): GLib-GObject-WARNING **: 14:17:58.658: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
Any idea what is happening here?
Thanks, Elco
Please Log in or Create an account to join the conversation.
- pmconsulting
- Offline
- Senior Member
Less
More
- Posts: 71
- Thank you received: 4
18 Oct 2019 16:35 #148208
by pmconsulting
Replied by pmconsulting on topic LinuxCNC on Linux Mint 19.2
Elco, I am not a Linux Mint expert, but that looks like an error message coming from an application called 'gimp'. Gimp is the Photoshop of Unix. It's actually the original, open-source version on which Photoshop depends.
I don't think it's a serious issue. You might be able to fix it by uninstalling and reinstalling gimp.
In order to be able to read PDF documents, you need some sort of PDF viewer. Most browsers can open and view PDF documents. In this case, you could navigate to the file that the LinucCNC Getting Started Guide point to - /usr/bin/see /usr/share/doc/linuxcnc/LinuxCNC_Getting_Started.pdf - and then right-click on that document and select Open with Firefox (or whatever web browser you have installed).
Firefox might not be able to open it, depending on how you have it configured. If that happens, you can always open up Software Manager and search for "PDF". There should be a PDF viewer you can install. Once installed, right-click on that same document and select "open with..." When the dialog for choosing what app to use appears, select the PDF viewer app you just installed and then look for a checkbox telling Linux to open all documents of this type in this same way. Once you check that box, the menu link should work correctly.
I don't think it's a serious issue. You might be able to fix it by uninstalling and reinstalling gimp.
In order to be able to read PDF documents, you need some sort of PDF viewer. Most browsers can open and view PDF documents. In this case, you could navigate to the file that the LinucCNC Getting Started Guide point to - /usr/bin/see /usr/share/doc/linuxcnc/LinuxCNC_Getting_Started.pdf - and then right-click on that document and select Open with Firefox (or whatever web browser you have installed).
Firefox might not be able to open it, depending on how you have it configured. If that happens, you can always open up Software Manager and search for "PDF". There should be a PDF viewer you can install. Once installed, right-click on that same document and select "open with..." When the dialog for choosing what app to use appears, select the PDF viewer app you just installed and then look for a checkbox telling Linux to open all documents of this type in this same way. Once you check that box, the menu link should work correctly.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
18 Oct 2019 17:00 #148209
by tommylight
Replied by tommylight on topic LinuxCNC on Linux Mint 19.2
Xreader comes installed with Linux Mint, so do not install anything.
Follow PMConsulting's guide to open pdf files with xreader.
Follow PMConsulting's guide to open pdf files with xreader.
The following user(s) said Thank You: Elco
Please Log in or Create an account to join the conversation.
19 Oct 2019 14:45 #148329
by Clive S
Replied by Clive S on topic LinuxCNC on Linux Mint 19.2
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
19 Oct 2019 16:16 #148339
by tommylight
Replied by tommylight on topic LinuxCNC on Linux Mint 19.2
forum.linuxcnc.org/9-installing-linuxcnc...nd-easy-installation
Buildbot=precompiled ready for normal installation.
Buildbot=precompiled ready for normal installation.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
19 Oct 2019 16:57 - 19 Oct 2019 17:04 #148346
by Clive S
Replied by Clive S on topic LinuxCNC on Linux Mint 19.2
I get an error please see the screen shot below
what is the command from a terminal to install it
what is the command from a terminal to install it
Last edit: 19 Oct 2019 17:04 by Clive S.
Please Log in or Create an account to join the conversation.
Time to create page: 0.247 seconds