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] GPU is not being used in FreeCAD weekly conda Windows releases. #9642

Closed
2 tasks done
ftdt10 opened this issue May 23, 2023 · 6 comments
Closed
2 tasks done

Comments

@ftdt10
Copy link

ftdt10 commented May 23, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.21 (Development)

Full version info

[code]
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.0.33263 (Git)
Build type: Release
Branch: master
Hash: 864f99bf984c237ef38d9451fd6f3a5ec34e6eb4
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Assembly3 0.12.0
  * Curves 0.6.9
  * kicadStepUpMod 10.19.1
[/code]

Subproject(s) affected?

None

Problem description

FreeCAD weekly builds conda Windows version doesn't use GPU in Windows.
In Task Manager, I confirmed that GPU is not being used, only the CPU is being used.
So, FPS is very slow in FreeCAD weekly release. For reference, it's normal on Ubuntu.

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@yorikvanhavre
Copy link
Member

Is there something we can do about it? Isn't that an issue with either your GPU driver or the way your desktop is configured?

@ftdt10
Copy link
Author

ftdt10 commented May 23, 2023

GPU is being used normally in the following realthunder release.
FreeCAD-asm3-Daily-Win-Conda-Py3.10-20230131-x86_64.7z
FreeCAD-asm3-Daily-Win64-LibPack-Py3.8-20230131.7z

In FreeCAD-0.21.0dev-32552-Installer.exe, GPU is being used, but it's not fully used.

@ftdt10
Copy link
Author

ftdt10 commented May 23, 2023

I renamed bin/opengl32sw.dll to bin/opengl32.dll due to black screen problem.
https://forum.freecad.org/viewtopic.php?t=36087&start=40
But, I got to know that opengl32sw.dll is for software rendering. So, GPU is not being used.

If I didn't rename it, the error message with black screen is below.
err msg

@ftdt10
Copy link
Author

ftdt10 commented May 23, 2023

The black screen problem happens with old HD5500 iGPU.
I hope it works for the iGPU also.

@adrianinsaval
Copy link
Member

Then not using the GPU is expected, I will close this issue since the black screen problem is something separate so it should go to it's own issue (although I don't think there's anything we can do about it since it's a driver problem)

@adrianinsaval
Copy link
Member

existing issue about the error message:
#9698

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

3 participants