And setting the environment variable, as discussed in this thread, doesn't help?
[Solved]Black screen by starting first document
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [Solved]Black screen by starting first document
Yes of course, I set it on both PCs local and remote with no effect. My solution for now is to run Freecad locally on remote PC first and then it works via RDP correctly.
-
- Posts: 1
- Joined: Sun Nov 03, 2019 7:48 am
Re: [Solved]Black screen by starting first document
This has not been solved..So do I need to change the graphics card or not? or can I download 0.17 which stopped my mouse working when I downloaded a macro. It seems to me I need to be an expert in computers and not just trying to become an expert in Freecad..So come on what do I need to do? May be start a new thread..
Re: [Solved]Black screen by starting first document
If the mentioned environment variable doesn't help, and based on the info you provided, the answer is yes.
- Build-0-Matic
- Posts: 54
- Joined: Fri Dec 20, 2019 9:31 pm
Re: [Solved]Black screen by starting first document
Hi!
I know this is an old tread but I was running into the same problem today (it's the first time I install FreeCAD) and I found a solution.
The problem is not with FreeCAD, or QT or Python, it's with the Windows 10 fall update.
How do I know? Well this week I also installed CURA and Meshmixer which both failed on startup.
After searching long and hard, I discovered that the problem also affects various games. The issue is with the opengl32.dll file which seems to contain a bug. So after searching long and hard, I discovered that somebody compiled a version of Mesa3D for the Windows x86 and x64 platforms. Mesa3D is a software renderer for OpenGL. The compiled file takes the form of an opengl32.dll file that you insert in the same folder as the problematic executable. On startup, the exec chooses to use the file that's in the same folder, thus patching the problem.
The issue seems to be mainly with embedded graphics accelerators.
For FreeCAD, just copy the modified opengl32.dll into the Program Files\FreeCAD 0.18\bin folder.
Here is the link to the DLL file.
https://fdossena.com/?p=mesa/index.frag
The file is compiled by Federico Dossena and not me.
I know this is an old tread but I was running into the same problem today (it's the first time I install FreeCAD) and I found a solution.
The problem is not with FreeCAD, or QT or Python, it's with the Windows 10 fall update.
How do I know? Well this week I also installed CURA and Meshmixer which both failed on startup.
After searching long and hard, I discovered that the problem also affects various games. The issue is with the opengl32.dll file which seems to contain a bug. So after searching long and hard, I discovered that somebody compiled a version of Mesa3D for the Windows x86 and x64 platforms. Mesa3D is a software renderer for OpenGL. The compiled file takes the form of an opengl32.dll file that you insert in the same folder as the problematic executable. On startup, the exec chooses to use the file that's in the same folder, thus patching the problem.
The issue seems to be mainly with embedded graphics accelerators.
For FreeCAD, just copy the modified opengl32.dll into the Program Files\FreeCAD 0.18\bin folder.
Here is the link to the DLL file.
https://fdossena.com/?p=mesa/index.frag
The file is compiled by Federico Dossena and not me.
- ebrahim raeyat
- Posts: 619
- Joined: Sun Sep 09, 2018 7:00 pm
- Location: Iran
- Contact:
Re: [Solved]Black screen by starting first document
thank you so much @Build-0-Matic. it works for me on virtual machine with window 10, in all versions 0.18 and 0.19
Re: [Solved]Black screen by starting first document
Thanks for this solution. Excellent that it works for Qt5 as well! I added it to the Known OS specific issues.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- Build-0-Matic
- Posts: 54
- Joined: Fri Dec 20, 2019 9:31 pm
Re: [Solved]Black screen by starting first document
Glad to help
Re: [Solved]Black screen by starting first document
Thank you very much. Finally I could run Freecad on my pc with intergrated video card.
I found there is an opengl32sw. dll file under the bin folder. I serched the net and think it is from qt project. But the name is a bit weird. So I trid to rename it to normal opengl32. dll, and Freedcad starts and works.
I think, when compile Freecad for window, the linked dll is opengl32. dll. As why its name changed to sw, maybe if it is there, you will use software rendering, no matter if you have hardware 3d accerating power.
So, only when you encounter this can't start problem, which probally means your video card doesn't has hardware 3d acceration, try to remove sw in the filename to use software rendering.
Re: Black screen by starting first document
Thank you!
This has fixed the windows crash on my older PC that has been occurring for a while now. I had tried the environmental variable fix mentioned here,
, but that only worked for a short while during daily build progressions.
This new renaming of the openglsw.dll file has worked for me also! JSYK, I still have the environmental variable set. I may remove that and report back with the effect after its deletion, while maintaining the opengl library rename here.
A happier FC user now!
Russell
,chrisb wrote:@Chrisb
Can either of you, or another moderator, add this solution, or a link hereto, to the "Known issues page for Windows users"?kunda1 wrote:@Kunda1
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19127 (Git)
Build type: Release
Branch: master
Hash: ec18f070d13b195d946c3d955d8c21b2e60550e2
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)