Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem] Window turns complete black if using CPU rendering, works if forcing to use Nvidia GPU (Windows 10) #1054

Open
2 tasks done
jmozmoz opened this issue Dec 29, 2024 · 0 comments

Comments

@jmozmoz
Copy link

jmozmoz commented Dec 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.20 (Release)

Full version info

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 2024.1006.0.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 20241003stable)
Hash: a9810d509a6f112b5ac03d4d4831b67e6bffd5b7
Python 3.11.8, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.6, OCC 7.7.2
Locale: German/Germany (de_DE)
Installed mods: 
  * kicadStepUpMod

FreeCAD version: 20241003stable
(it works with 20241003stable!)

Windows 10 (Microsoft Windows [Version 10.0.19045.5247])
CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20 GHz (yes, it's old)
GPU: NVIDIA GeForce 940M (driver version 545.92)

Subproject(s) affected?

None

Problem description

After starting FreeCAD, the GUI seems okay. As soon as I click File->New, the whole window of FreeCAD (with the exeption of the window border and the upper title bar (Icon, "FreeCAD Link Branch", symbols on the right)) turns black.

This happens with the current version 20241003stable but not with 20241003stable and standard graphics stettings. If I use the NVIDIA system control to force using the "NVIDIA high power processor" for freecadlink.exe the GUI of FreeCAD works. Setting this explicitly to "integrated graphics" it is broken again.

Anything else?

In a script (https://github.com/jmozmoz/panel_illumination/blob/main/compute_year_values.ipynb) I control FreeCAD externally and store screenshots. This works even if the GUI is black using the integrated graphics!

Otherwise, the script shows the same behavior as the GUI: For graphics standard settings the main window is black, if I set the interpreter executable (python.exe) to explicitly use the NVIDIA GPU the main window is shown normally.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant