-
Notifications
You must be signed in to change notification settings - Fork 179
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
Black screen in 3D view (Ubuntu 18.04.1 LTS) #142
Comments
Hi, could you please paste the content of the log.txt file ? |
@kmkolasinski I Sure, I edited original issue. |
I'm really sorry, but this is a common problem when one is using Mesa Drivers. You can try to install different drivers or maybe you can try older versions of AB. |
@kmkolasinski I'm Sudomancer shortly. What exacly is Mesa Driver ? I guess I really don't need it if it causing troubles. |
Ok, so this is basically a multi platform substitute for real graphics drivers :) People with NVIDIA graphics card have their own drivers which usually work fine with AB. Regarding the Intel graphics cards (your case), there are no dedicated drivers like for NVIDIA and Mesa is suppose to work for you. However, in practice it just sometimes fails. I have no idea why and I cannot even reproduce this error on my computers. |
I could be wrong, but I think the problem is that the program requests an OpenGL compatibility profile, not a core profile. See https://www.khronos.org/opengl/wiki/OpenGL_Context for details. Mesa does not support compatibility contexts on Intel, and only supports compatibility contexts on AMD cards in the git version (https://www.phoronix.com/scan.php?page=news_item&px=Mesa-18.2-Lands-44-Compat). I recommend using a Core profile if at all possible. P.S. Mesa's drivers are usually quite good actually ;) |
@qwertychouskie So you're saying it is @kmkolasinski's mistake ? I'm developer myself, I know how single line can screw up whole program. I was reading linked wiki and it looks like using core profile is very good idea. Just change few lines and release it as hotfix. |
Not really, setting Core profile in my case leads to the same problem as for @garrom.
@garrom you could add the following line:
And we could compare the settings between our systems. @qwertychouskie check the long comment. |
Yep, basically changing to CoreProfile screw up the program, since some of the function which I use probably are now not supported. I don't know how much of efforts it would require to make it work :/ |
Ok, so I have managed to obtain some positive results with core profile. As I wrote after forcing Core profile in the main.cpp file, I ended up with similar errors as @garrom. This gave me the motivations, that maybe if I will solve those problems, it will automatically help you and other people with similar issue. Please check the branch: It would be nice if you could try to build the code from that branch on your system and check whether your problem has been solved or not. |
@ppiecuch could you try this branch on your system ? I wonder if switching to Core profile will make AB working on osx. |
Hi - I have already prepared core-profile related changes on my branch (it works with few glitches) but I switched to QtOpenGL objects (frame buffers, vao, vbo). I will check your branch too. Pawel |
Thanks a bunch! |
Hi, sorry or late response. Could you please provide me your logs? |
@kmkolasinski having the same issue here.
|
For what it's worth, switching to the core profile branch ( |
Sorry for late reply and thanks for feedback. Yes, there is a branch with changes which suppose to make core profile working, however I didn't merge it yet to Release branch. I was not sure if this will really solve the problem. If I will get few more confirmations that this branch is really working on different machines/systems I will merge these changes to main branch and prepare binary packages. |
I don't have time to compile currently but if you make a Ubuntu 19.04-compatible binary with this branch I can test on my Intel HD 4000-based system. |
I work on 18.04, but they should be compatible. I will try to do it this weekend. |
Thanks! :) |
Hi, please check this release binary: https://github.com/kmkolasinski/AwesomeBump/releases/tag/Linuxv5.1 Does it work for you ? |
@kmkolasinski It works, thanks! A bit slow though. |
Hmm, that's surprising, maybe we loaded some large texture ? |
On ubuntu 18.04 I see only black screen in both views (see image). I tryed both standart one and GL330 versions, happening on both. I'm using XFCE. My graphics card is integrated Intel broadwell U as part of mother board of Lenovo B50-80 Laptop
Log.txt (it is long as hell so I'm uploading whole .txt file):
log.txt
The text was updated successfully, but these errors were encountered: