[0.19R24415] graphical glitches

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
vinibali
Posts: 4
Joined: Sat Mar 05, 2022 5:52 pm

[0.19R24415] graphical glitches

Post by vinibali »

Hello there!

I've been having problems for a year with FreeCAD. It has graphical glitches even in the menu toolbar.
AFAIR in a previous version for around a year, I could get rid of this with disabling the HW acceleration for drawing.
Like: LIBGL_DRI3_DISABLE=true LIBGL_ALWAYS_SOFTWARE=1 freecad
I combined all the switches at the X.org device parameters for my Radeon without any success.
I have an older notebook which is able to use any of AMDGPU and Radeon drivers, but that was not the root cause either.
I'm using the latest package from the Arch Linux community repo.
The official appimage is working out of box without using any env variables.

Arch package version: 0.19.4-1
FreeCAD libs: 0.19R24415
Képernyőkép_2022-03-05_18-51-18.png
Képernyőkép_2022-03-05_18-51-18.png (216.19 KiB) Viewed 1506 times
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: [0.19R24415] graphical glitches

Post by TheMarkster »

Post your full version information as explained here:

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264

It might be useful for someone who knows more of the issue to know the library versions in use, such as Qt and COIN.
vinibali
Posts: 4
Joined: Sat Mar 05, 2022 5:52 pm

Re: [0.19R24415] graphical glitches

Post by vinibali »

That page was broken too, I had to blindly click on the button :)

Code: Select all

OS: Arch Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24415 (Git)
Build type: Release
Branch: makepkg
Hash: 476ecf091941bead59b14e44afa6064d5a66afa3
Python version: 3.10.2
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: Hungarian/Hungary (hu_HU)
TheMarkster
Veteran
Posts: 5505
Joined: Thu Apr 05, 2018 1:53 am

Re: [0.19R24415] graphical glitches

Post by TheMarkster »

There are known to be some issues with python 3.10, but I don't know if this is related or not.
vinibali
Posts: 4
Joined: Sat Mar 05, 2022 5:52 pm

Re: [0.19R24415] graphical glitches

Post by vinibali »

same here, but I don't really sure if Python can cause such graphical errors.
I would say thats rather a problem with the graphical interface.
I even tried to roll back to a previous Python version, but the latest build is depends on Python 3.10

Code: Select all

freecad: error while loading shared libraries: libpython3.10.so.1.0: cannot open shared object file: No such file or directory
tchiwam
Posts: 1
Joined: Thu Apr 07, 2022 12:10 am

Re: [0.19R24415] graphical glitches

Post by tchiwam »

Hello, I wanted to say that I have the same issue here. I am currently recompiling the dependencies and try to find the culprit.
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: [0.19R24415] graphical glitches

Post by adrianinsaval »

this might be a dpi issue, can you check what dpi you have configured?
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: [0.19R24415] graphical glitches

Post by onekk »

Probably is caused by the mesa package.

I have Arch Linux, and and old i3 2120 computer, and I have to stay with "mesa 21.3.7-2" as "mesa 22" was causing glitches and problems.

As mesa is "OpenGl" implementation, probably AppImage is using some different settings, from other flavours of installation.

Someone has suggested to wait for 22.1.something (that is already out) or use an alternative "mesa build" that will use old graphics driver, but until now "forcing the use of the old 21.3.7 mesa version" I have had no problem with ArtixLinux (That is an Arch Linux derivative).

Your mileage may vary as glitches could be caused in many "layers" of the "graphics stack", probably some other infos about your graphics hardware will be useful, as it may be a know problems and maybe some simple "settings change" will be fixing things.

Hope it helps.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
freedman
Veteran
Posts: 3436
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: [0.19R24415] graphical glitches

Post by freedman »

I remember weird graphic issues with Anti-Aliasing settings that were too low, I set them to new values and then restarted, that fixed the problem.
vinibali
Posts: 4
Joined: Sat Mar 05, 2022 5:52 pm

Re: [0.19R24415] graphical glitches

Post by vinibali »

adrianinsaval wrote: Tue Jun 14, 2022 2:07 pm this might be a dpi issue, can you check what dpi you have configured?
thanks, that's it!
I was using custom DPI settings at 90.
without that it's working like a charm.
Post Reply