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

Blank screen on Windows 7 64bits #9

Closed
abraaofilho10 opened this issue Apr 28, 2018 · 6 comments
Closed

Blank screen on Windows 7 64bits #9

abraaofilho10 opened this issue Apr 28, 2018 · 6 comments

Comments

@abraaofilho10
Copy link

Hello! I tried the unstable release version on Windows 7 64 bits and it shows a blank screen and the toolbar is black.

I'm using:
Intel Core i5 2500k
Intel HD Graphics 3000

Screenshot:
screenshot_dust3d

@huxingyi
Copy link
Owner

Hi, thanks for reporting, your driver, HD Graphics 3000 is in qt's blacklist, :-) but don't worry, that just means qt will do something special to make Qt works well with it, however, I haven't test Dust3D with the special cases, but I have tested the following software opengl workaround, and it works on my VirtualBox-windows 7.

Possible Fix

This fix is for all the windows users, that Dust3D cannot show things properly.

  1. Download this file and unzip it, get the opengl32sw.dll and put it in the same folder with dust3d.exe
    http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32.7z

  2. Set environment variable on Windows

Start Menu > Right Click My Computer > Advanced system settings > Environment Variables... > New...
Variable name: QT_OPENGL_DLL
Variable value: opengl32sw.dll

(Could you help me to test if it works please, thanks)

Background Information

Dust3D use Modern OpenGL with shader function, OpenGL 3.0 is the lowest requirement.
You can download the GLView, install it and run it, check the GL Report, see if OpenGL 3.0 is supported on your system.
However, the QT officially provide a workaround for those systems which OpenGL are not function properly. Use opengl32sw.dll is to use the software opengl implementation. And I have tested on my VirtualBox-windows 7, opengl32sw.dll works well with Dust3D at current stage no matter what the original opengl supports your system provide.

References

  1. https://github.com/qt/qtbase/blob/dev/src/plugins/platforms/windows/openglblacklists/default.json
  2. http://doc.qt.io/qt-5/windows-requirements.html
  3. https://blog.qt.io/blog/2014/11/27/qt-weekly-21-dynamic-opengl-implementation-loading-in-qt-5-4/

@abraaofilho10
Copy link
Author

abraaofilho10 commented May 2, 2018

It works!! Thanks! =)

But I found another bug. Should I open a new issue for that?

This seems to crashes only when I open it for first time (whenever it opens first time) and I try to add the first node.

huxingyi added a commit that referenced this issue May 3, 2018
@huxingyi
Copy link
Owner

huxingyi commented May 3, 2018

Thanks for verifying, I have added this issue to the docs.

Please feel free to open new issue or continue on this one.
For the crashes, do you mean first time open Dust3D since boot windows system? and it will work when you reopen Dust3D? Could you give more details on that, thanks.

@abraaofilho10
Copy link
Author

abraaofilho10 commented May 7, 2018

Yes, it happens like you said. When I click to add first node, the program crashes. When I open it again it works without problems.

@huxingyi
Copy link
Owner

huxingyi commented May 7, 2018

Hi, Abraão, thank you. Looks like something related to opengl but don't know the exact crash reason yet, I will continue to look into it.

@huxingyi
Copy link
Owner

Hi, I am closing this now for the coming 1.0 version. Please feel free to open a new issue for the latest version.

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

2 participants