QTDragon on RPI Segmentation fault

More
21 Sep 2022 23:23 #252540 by kinghpole
I'm trying to get QTdragon running on my RPI4 and started by trying the get the branch persei802 put up on their GitHub running I installed the python-pyqt5 and vtk with the deb file and can import both in python but when I launch qtdragon_xyz.ini it exits with the following fault:

/usr/bin/linuxcnc: line 896:  2244 Segmentation fault      $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS

Does any know what the issue might be and how to fix it?

 
Attachments:

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

More
23 Sep 2022 01:11 #252594 by cmorley
Can you run any other Qtvcp screens?
To be clear you never see the screen appear at all?

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

More
23 Sep 2022 17:56 #252630 by kinghpole
When trying to launch qtdragon the screen does flash up for a fraction of a second before disappearing, and after trying to launch the tester screen, I get the same segmentation fault.
Attachments:

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

More
23 Sep 2022 23:44 #252641 by phillc54
This may be causing your issue:

./mpg.hal:2: Warning: File contains DOS-style line endings.
 

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

More
24 Sep 2022 01:33 #252644 by cmorley
try opening a terminal and running: qtvcp test_panel
does that work?

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

More
24 Sep 2022 01:52 #252645 by kinghpole
I don't think it has anything to do with mpg.hal because the qtdragon example doesn't have that file and has the same error as well as the demo qtaxis has the same error as well.

Running: qtvcp test_panel I still get a segmentation fault but it does now mention "AttributeError: 'VCPWindow' object has no attribute 'statusbar'"
Attachments:

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

More
24 Sep 2022 02:04 #252646 by cmorley
What version of linuxcnc are you using?
The errors you quote are not the problem, but I don't see anything that leads me to suggestions so far.

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

More
24 Sep 2022 02:09 #252647 by kinghpole
2.8.1

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

More
24 Sep 2022 11:46 - 24 Sep 2022 11:48 #252657 by phillc54
I don't think that python2 will run QtVCP screens as I think the pyqt5-opengl was compiled for ES rather than desktop.

I have succesfully run the QtVCP screens from master branch (2.9) on the 64 bit Pi image from here:
forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=130#238020

I think I also need to add this fix:
forum.linuxcnc.org/9-installing-linuxcnc...xfce?start=50#243432

You don't need vtk for the QtVCP screens.
 
Last edit: 24 Sep 2022 11:48 by phillc54.

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

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