-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
GLMakie doesn't build on Fedora #614
Comments
I found a workaround. See https://www.reddit.com/r/archlinux/comments/g3u729/mesa_issues/ Specifically setting I do not know if this is a GLMake bug or not, but GLMake is the only program I have had troubles with. |
Although the above was able to get GLMakie to build, I ended up getting an assertion error when actually trying to use Makie:
|
Amazing :-O You must have pretty broken drivers.... |
Thank you. The suggestion at JuliaGL/GLFW.jl#198 solved my problem. Specifically:
The This issue can be close as far as I'm concerned. Although again, Makie is the only software I have had this problem with. Thanks for the help. |
That's because of the way Julia & BinaryBuilder interact with the driver -.- So, it can only get fixed in Julia, not in Makie :( |
I get the same error after running the example code on debian testing
The suggested fix of copying libstdc++ doesn't work for me. I tried to do that, delete the entire .julia/* and reinstall everything (a bit too drastic), but it still provides the same errors |
I did a bit of debugging and found that I get |
I don't have any experience with OpenGL, but I see that I'm able to run all the examples from GLFW.jl in a fresh julia REPL. However, if I run the above Makie code first and then try to run the examples from GLFW, then no window is created... quite weird! |
So you did try the fixes from the issue? |
Yes, but none worked. I've run the tests from ModernGL and they all work.
So could this be an issue of GLMakie?
|
Bump... I have exactly the same problem: |
This proved to be a local driver issue: old laptop with Nvidia card that has no valid drivers anymore, only nouveau.. |
I also had this problem for a while but it was solved after an apt update.
I think it is not a GLMakie issue
|
Got the same with an Iris GPU on a laptop (Intel® Iris(R) Pro Graphics P5200 (HSW GT3) ) and Ubuntu after upgrade from 19.10 to 20.04. Tried renaming libstdc++, no change. It worked before. I set some additional assertions for glCheckFramebufferStatus(GL_FRAMEBUFFER) after each attach_framebuffer() and found that attaching the normal buffer was the problem for me:
commenting out just this line in glwindow.jl seems to have worked for me (for simple plots), but no idea if the normal buffer is used in GLMakie somewhere. Would it make sense to check for GPU capabilities and have some form of simple backup? Or just expect a set of minimal things to work? At least for me it would be nice to have a meaningful error message ("feature GL_XYZ not supported on GPU") |
The normal buffer is just used for SSAO. It should be fine to disable that. |
I'm 95% sure, that this should be supported on an iris GPU and only happens due to bad drivers - would need a bit more investigation, but nothing about that framebuffer looks like it could only be supported on a subset of GPUs. |
Do you still get an error if you change |
Thanks. If I can do anything to clear it up, I could try. BTW, I think I misremembered when it really happened. I now think it appeared after updating from julia 1.4.1 to 1.4.2 on Ubuntu 19.10. I then tried updating Ubuntu to 20.04 to no avail (also reinstalling julia, even 1.4.1). Was the framebuffer introduced between 1.4.1 and 1.4.2? |
The additional framebuffers came with https://github.com/JuliaPlots/GLMakie.jl/releases/tag/v0.1.5 |
Yes that worked, no error anymore. Thanks! |
That'd have been my only guess as well ;)
Not sure if I should be happy about that actually working :D But I guess it doesn't hurt that much, to make vec4 the default here... |
So I was following this issue, since I had similar problems(Ubuntu 19.04, AMD Radeon 530).
This worked! |
Yea, not really ideal. Maybe we could check if vec3 works and switch to vec4 if necessary? Or we could merge the |
That would be easy to do with JuliaPlots/GLMakie.jl#107. |
Had the same issue on a i5-5200u machine (Broadwell Gen8 graphics with fully updated Linux drivers). |
I can't get GLMakie to build on Fedora 32, even though I believe I have all the required libraries installed.
I'm going to dump a bunch of console output below, but I'll give a quick overview here first. Below you can find the output of
]build GLMakie
, the contents of/usr/lib64/dri
, and some output fromglxinfo -B
:The text was updated successfully, but these errors were encountered: