Installing QtVCP

More
4 years 6 months ago #241266 by rodw
Replied by rodw on topic Installing QtVCP
I guess I should clarify. I only ever use Bullseye, Bookworm or unstable because of the mess Buster and Mint got into 12 months ago with Python versions. Some of that may have been resolved in Buster but i'm not going back. And because I've been experimenting with Linuxcnc in the Debian repos.  Now that Linuxcnc is in bookworm, that will be my go to  from here on.

What I started off with in this thread  was an experiment to see if I could install Bookworm from the debian repos on a pi 4B then install the debian linuxcnc packages. I had installed Bullseye once before on the pi. It did not work (it was unstable) and I reverted to the rasberrian. I've now learnt how to install the Bullseye preempt_rt patch on the pi (from a repo on git) so  the next test is to go back to debian bookworm and then see if I can apply the same method to its preempt_rt image.

But I guess I really need to know is will qtvcp (and qtplasmac) run on a 64 bit pi? Earlier Phil said no because of QT issues.
If not, is there a way forward?

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

More
4 years 6 months ago - 4 years 6 months ago #241347 by cakeslob
Replied by cakeslob on topic Installing QtVCP
Ok, Ill be giving bullseye a shot after I free up some SD cards, but its safe to assume that this issue was not fixed with new bullseye (I dont know if thats how computer things work or not)

Im not too good with computers and Im not trying to ruffle feathers, but im pretty sure the openGLES limitation is only when using hardware accelerated graphics. When you turn on software graphics, you get openGL3.x support, but still doesnt work.
(edit) I also think it works on non debian distros. I recall scotta had it working using archlinux

will qtvcp run on 64bit pi?
right now it runs everything but the graphics preview and qt vismach, at least it should

way forward?
I dont know, Im not too good with computers. Something so we dont all have to compile it from source. I dont know what a .dep actually is, but is it that?

I have 2 solid leads, but I keep fucking up the compile, and it take a long time, and I think something with the linuxcnc optimized kernel/image settings is interfering with make -j4 and not maxing out the processor. docker is very over my head.


github.com/LinuxCNC/linuxcnc/issues/1220#issuecomment-918174206
forums.raspberrypi.com/viewtopic.php?f=3...1&p=1856336#p1847780
Last edit: 4 years 6 months ago by cakeslob.

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

More
4 years 6 months ago - 4 years 6 months ago #241348 by rodw
Replied by rodw on topic Installing QtVCP

Ok, Ill be giving bullseye a shot after I free up some SD cards, but its safe to assume that this issue was not fixed with new bullseye (I dont know if thats how computer things work or not)
 
Try the Debian Bookworm ISO from the Daily auto build here
raspi.debian.net/daily-images/
This does not give you a graphical environment.

I am slowly having another go at it. Currently trying to install the PREEMPT_RT. I left it go and went to work.

Here are my steps so far:
Code:
Login using the root account (which does not have a password yet). Type: root and hit enter Add a password to the root user account. Type: passwd and allocate a password you will never forget! Add a new user and allocate a password. I used pi: adduser pi Add your user to the sudo group. Type: usermod -aG sudo pi Type the following lines: apt update apt upgrade Type: apt-install linux-image-rt-arm64 linux-headers-rt-arm64 Reboot to boot into the PREEMPT_RT kernel log in with root and the password you set. Type: nano /boot/firmware/cmdline.txt and add this line: processor.max_cstate=1 isolcpus=2,3 save Install a graphical environment by typing tasksel Select a desktop environment. I selected xfce Tab to select ok, press enter and continue. Select a keyboard when prompted and continue. Don’t panic if the screen display appears corrupt, just wait until completed. Install linuxcnc. Type: apt install linuxcnc-uspace linuxcnc-uspace-dev Type startx to start the graphical environment Reboot into the graphical environment and log in with the username and password you created(I used pi)

Note this time I am using Synaptic to install the kernel and headers in step 6 to make sure we get the right ones
Last edit: 4 years 6 months ago by rodw.

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

More
4 years 5 months ago #244218 by ajsinfotech
Replied by ajsinfotech on topic Installing QtVCP
Hi phillc54,

Thanks for getting involved!

Sorry but, I don't think it is an OpenGL issue. The failed plugin message clearly states "wrong cpu architecture", so it seems the module libpyqt5_py2.so was compiled in another platform (maybe x86) but not armhf nor aarch64 that RPix use.

So, does anyone know where I can find the source of the libpyqt5_py2.so module to try and compile it on the RPi platform?

Many thanks!

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

More
4 years 5 months ago #244221 by elovalvo
Replied by elovalvo on topic Installing QtVCP
There is no need to recompile the library.

Look this link:
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=40#243304

and, eventually, also this

forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=50#243432
The following user(s) said Thank You: rodw

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

More
4 years 5 months ago #244242 by ajsinfotech
Replied by ajsinfotech on topic Installing QtVCP
Many thanks elovalvo!

I'll give it a try.

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

Moderators: cmorley
Time to create page: 0.493 seconds
Powered by Kunena Forum