Black background on constraints

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!
leoheck
Veteran
Posts: 1225
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Black background on constraints

Post by leoheck »

This black background looks something wrong for me.

Is this a new feature or a bug?

Screenshot-20200601211106-732x655.png
Screenshot-20200601211106-732x655.png (21.79 KiB) Viewed 1675 times

OS: Ubuntu 20.04 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21280 (Git) AppImage
Build type: Release
Branch: master
Hash: 6f3160db3e88733536c7eaf97ad7d6ebd21baccd
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Black background on constraints

Post by vocx »

leoheck wrote: Tue Jun 02, 2020 12:16 am Is this a new feature or a bug?
It tends to appear sometimes. It disappears by itself. It seems to be a "bug" but not a serious one. Some sort of rendering artifact.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Black background on constraints

Post by chrisb »

Werner commented on this. It seems to be that some display buffers run out of memory and use some fallback solution.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Black background on constraints

Post by TheMarkster »

I haven't seen this, but I have seen on occasion all the points in a sketch turn black. Sometimes when it happens it goes away by zooming in and out.
kevin_fc
Posts: 1
Joined: Tue Aug 10, 2021 12:36 am

Re: Black background on constraints

Post by kevin_fc »

hi, i found same problem when selected render :
edit ▻preferences ▻ Display ▻ render : Anti-aliasing : Line Smooth
but selected "MSAA 2X~8X" will not happen.
you can try it.

edit: forgotten to say that test in arch linux 5.12.15, freecad 0.19 with intel uhd620

and i test again, if a saved file that it's drawing has the problem, changed anti-aliasing to other can display as normal.
if a saved file made a drawing that original display as normal, changed to 'Line Smooth' not reproduce black background problem.
User avatar
Shalmeneser
Veteran
Posts: 9558
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Black background on constraints

Post by Shalmeneser »

:arrow: It tends to appear sometimes.
:arrow: It disappears by itself.
:arrow: Sometimes when it happens it goes away by zooming in and out.
I confirm.
leoheck
Veteran
Posts: 1225
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Black background on constraints

Post by leoheck »

chrisb wrote: Tue Jun 02, 2020 10:44 pm Werner commented on this. It seems to be that some display buffers run out of memory and use some fallback solution.
Chrisb, do you know something that we can do to check this statement (where the buffers run out off memory) when I see this black-bg issue again?

I am not seeing this issue anymore.

My machine has a lot of RAM (32GB), maybe this is not the problem for me, unless the display uses a different, less available memory or maybe that time I was running to many things at the same time.
Last edited by leoheck on Mon Aug 16, 2021 2:01 am, edited 2 times in total.
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Black background on constraints

Post by chrisb »

leoheck wrote: Sun Aug 15, 2021 7:11 pm Chrisb, do you know something that we can do to check this statement when we see this black-bg issue? I am not seeing anymore anymore. My machine has a lot of RAM (32GB), maybe this is not the problem for me, unless the display uses a different, less available memory or maybe that time I was running to many things at the same time.
I don't know how to provoke the phenomenon, but I haven't seen it for quite some time. Perhaps the different library versions used have improved the situation.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
DFT
Posts: 2
Joined: Thu Sep 23, 2021 9:41 am

Re: Black background on constraints

Post by DFT »

As commented kevin_fc, this problem appears if selected "Line Smooth" anti-aliasing mode:
Edit>Preferences>Display>Rendering: Anti-aliasing=Line Smooth
After setting to another mode - problem disappears.
My system:
Linux Mint 19.1 (Mate desktop), 4.15.0-158
VGA Intel UHD 630
FreeCAD 0.19 (14555)
chrisb
Veteran
Posts: 54177
Joined: Tue Mar 17, 2015 9:14 am

Re: Black background on constraints

Post by chrisb »

DFT wrote: Thu Sep 23, 2021 10:07 am As commented kevin_fc, this problem appears if selected "Line Smooth" anti-aliasing mode:
Edit>Preferences>Display>Rendering: Anti-aliasing=Line Smooth
Can you please retry in 0.20?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply