Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upglx::MakeCurrent failed #6042
glx::MakeCurrent failed #6042
Comments
|
This just happened to me too, on Ubuntu Gnome 14.04, using NVIDIA 331.113 |
|
Same issue for me on Fedora 21 + Gnome Shell 3.14 + NVIDIA 346.59. |
|
I bisected this, and it's down to this merge commit in glutin. Still unclear if it's an nvidia driver issue or a glutin issue. commit b28f35aa5b06e7d34ada307a5a1b1e9b9de697a1
|
|
I managed to fix it, thanks to the info ColdPie1 provided. That commit removes the code in Not sure if this is the optimal solution (I assume there was some reason for removing the color map stuff), but now we know where the problem is, at least. |
|
cc @zmike for feedback |
|
I can also confirm that this solves the issue. |
|
Should be resolved with my recent glutinup PR to servo. |
|
Fixed by #6120 |
|
I'm still getting the same error msg and crash even after this patch went in. Seems to be from the same version of glutin mentioned earlier (b28f35aa5b). I'm on debian jessie, nvidia quadro k1000 card, 349.16 drivers. Checking out a servo that depends on a version of glutin older than the aforementioned hash seems to work. cc @zmike |
|
Yes, the problem still persists. Before #6120, this snippet fixed fixed the problem: ...but on current master I get the error even after applying that. |
|
Same here, restoring the color map no longer works for me either. |
|
@mukilan just hit this too. https://pastebin.mozilla.org/8835237 cc @tomaka |
|
Actually I don't exactly know what are ColorMaps and how they work. Glutin's code on X11 is mostly copy-pasted from examples found around the web. No-one reported this issue with upstream glutin, so it's probably related to the changes in servo/glutin. |
|
Adding the colormap related code fixes the issue (for me at least). @mmatyas you forgot to set the CWColorMap flag in window_attributes. Here is the working fix: https://gist.github.com/mukilan/6fe5445f69faa0a88bf7#file-gistfile1-diff-L29 |
|
Interestingly @zmike specifically removed all traces of colormap stuff recently. |
|
Ah, this is indeed my fault. I forgot that glutin is creating the GLX window, in which you do actually need a writeable (created) colormap. |
|
@zmike, servo/glutin#29 fixed the problem for me, thanks! |
|
It works for me too, thanks! |
When I try to run servo (./mach run tests/html/about-mozilla.html), it crashes immediately, giving the following output:
System info: openSUSE 13.2, GNOME Shell 3.14.2, NVIDIA proprietary drivers version 340.76