GCodeGraphics corrupts display sometimes

More
1 year 8 months ago #322282 by TangentAudio
I've been working on my customized QtVcp GUI and I've been having issues with the preview causing display corruption.  It doesn't always happen, nor have I found a consistent way to make it happen.  Usually it's fine until I load a file for preview, and then go to the tab in my GUI which has the GCodeGraphics widget in it.  Then it draws these huge black triangles over the top of the entire GUI.  Minimizing/maximizing doesn't help, nor does moving around the view inside the widget.

I am doing my development inside of a VirtualBox virtual machine using the standard LinuxCNC Bookworm ISO image.  It could very well be an artifact of the virtual graphics driver, but I have tried a number of different settings and made sure my guest tools are up-to-date with no change.  I haven't yet tested this GUI on my real hardware yet.  I've never seen stock Axis do this from years of past testing.

 

Attachment not found


 

Please Log in to join the conversation.

More
1 year 8 months ago #322395 by cmorley
I have never used Virtualbox with qtvcp so have no experience.
I have not seen that specific problem on any of my systems either.
I would try a native system any see the difference.
Sorry i can't help further.

Please Log in to join the conversation.

More
1 year 8 months ago #322483 by TangentAudio
No worries, I figured I'd ask in case it was something someone else has seen. I was doing some integration testing on the physical machine yesterday and it was behaving fine, so maybe it is just a Virtualbox problem.

Please Log in to join the conversation.

More
1 year 8 months ago #322828 by TangentAudio
Unfortunately today I saw the exact same display corruption on my real hardware.  No virtual machine to blame. Whatever is happening, it's definitely part of the QtVcp screen.  If you pop up a dialog for example, it will tint the black parts of the triangles.

Now to figure out a path to debugging this...

Please Log in to join the conversation.

More
1 year 8 months ago #322834 by snowgoer540
FWIW, I do all of my development work (mainly QtPlasmaC) in VirtualBox, running MX Linux 23, which is derived from Debian Bookworm, and I've never seen these graphical anomalies. Same with the BM hardware at the plasma table.

Generally speaking, when these sort of things come up, it's almost always driver related.

I don't run the stock ISO of, in favor of MX Linux as I find it 10x easier to use. It might be worth making a MX Linux 23 VirtualBox and see if you can get it to show up there?

Please Log in to join the conversation.

Time to create page: 0.096 seconds
Powered by Kunena Forum