qtdragon crash during 3d viewer translation (QTvcp ERROR! Message # 1)

More
10 Nov 2025 04:25 #338133 by EDesro
Hi, 

I'm a new user of LinuxCNC, and want to try the qtdragon interface.
I made a recent LinuxCNC installation using the downloadable image.

The problem is that the interface crash when I try to translate the 3d viewer.
In addition :
  • Only the qtdragon and qtdragon_hd seems to have the problem, all the other interfaces I tried (provided with linuxcnc) are working normally.
  • Only the translation (left mouse + drag) crash. Sometime immediately, sometime after 1-2 move.
  • Zoom and rotation works normally.
ThanksTraceback (most recent call last):File "/usr/lib/python3/dist-packages/qt5_graphics.py", line 1057, in mouseMoveEventself.translateOrRotate(event.pos().x(), event.pos().y())File "/usr/lib/python3/dist-packages/glnav.py", line 374, in translateOrRotateself.translate(x, y)File "/usr/lib/python3/dist-packages/glnav.py", line 319, in translatewin = gluProject( obj_c[0], obj_c[1], obj_c[2])^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/OpenGL/latebind.py", line 63, in __call__return self.wrapperFunction( self.baseFunction, *args, **named )^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/OpenGL/GLU/projection.py", line 34, in gluProjectraise ValueError( """Projection failed!""" )ValueError: Projection failed!

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

More
10 Nov 2025 22:03 #338163 by langdons
Use AXIS at first; there's a reason it's the default.

It is easy for inexperienced users.

What version are you using?

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

More
10 Nov 2025 22:09 #338165 by langdons
Perhaps you have an OpenGL issue of some sort.

Does glxgears work (well)?

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

More
10 Nov 2025 23:51 #338171 by EDesro
Coming from Mach3, QtDragon felt more natural.

After, if it is not working... I might have to try another one.

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

More
10 Nov 2025 23:55 #338172 by EDesro
glxgears works perfectly. That was part of the validation I made for the latency.
The following user(s) said Thank You: langdons

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

More
11 Nov 2025 02:02 #338173 by EDesro
Tonight I asked chatGPT (not my first reflex).

It proposed to try running "LIBGL_ALWAYS_SOFTWARE=1 linuxcnc" to disable the GPU rendering (use software rendering) from what I understand.

And you know what... it worked!

To make the change permanent, I added "export LIBGL_ALWAYS_SOFTWARE=1" to the usr/bin/linuxcnc

Unless somebody has an idea of the real root cause. Now it is working. Probably not exploiting my GPU, but don't seems to cause problem.

Thanks!
The following user(s) said Thank You: tommylight

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

More
11 Nov 2025 02:54 #338174 by cmorley

Use AXIS at first; there's a reason it's the default.

It is easy for inexperienced users.

What version are you using?
 

Please quit giving this advice.
If there are bugs in other screens we want to know so we can fix them.
The following user(s) said Thank You: unknown

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

More
11 Nov 2025 02:55 #338175 by cmorley
I am glad you got this working.
What version of linuxcnc are you using?
I feel we had this or a similar problem a while back.

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

More
11 Nov 2025 03:10 #338176 by EDesro
I tried it like 2 weeks ago for the first time, it was on 2.9.6
I upgraded to 2.9.7 this week.
Both version had the same problem.

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

More
11 Nov 2025 14:35 - 11 Nov 2025 14:39 #338189 by langdons
Software rendering should not be a long-term solution.

Please post output of glxgears -info.

I love those good ol' X apps like glxgears; they are simple, yet suprisingly powerful.


Could you test on 2.9.4 or something by chance?

Perhaps this is a new regression; GPUs, especially NVIDIA, are often unsupported by newer versions of GNU/Linux (and FreeBSD too).
Last edit: 11 Nov 2025 14:39 by langdons. Reason: Added GPU support issues statement.

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

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