[Bug 1731968] Re: 384.90-0ubuntu0.16.04.2 EGL crashes at startup
I've been documenting my attempt to work around this problem here: https://stackoverflow.com/questions/47415198/missing-gl-version-from- glewinit-using-egl/54668271#54668271 I discovered an nvidia blog post - https://devblogs.nvidia.com/linking- opengl-server-side-rendering/ - which says: "If you want to use EGL context management instead, link against libOpenGL.so and libEGL.so." After installing the nvidia-410 package, as reported in the original post, the EGL test program from the original post doesn't work if linking against libGL.so: $ wget https://gist.githubusercontent.com/funchal/bff0a8d6dae5b3ace1a88c392416b5bc/raw/1427821a2390a30779881ab59c55b5550a468919/main.c $ gcc main.c -lGL -lEGL $ ./a.out egl 1.5 a.out: main.c:53: main: Assertion `renderer' failed. Aborted (core dumped) However it does work if linking against libOpenGL.so: $ wget https://gist.githubusercontent.com/funchal/bff0a8d6dae5b3ace1a88c392416b5bc/raw/1427821a2390a30779881ab59c55b5550a468919/main.c $ gcc main.c -L/usr/lib/nvidia-410 -lOpenGL -lEGL $ ./a.out egl 1.5 renderer: Tesla K80/PCIe/SSE2 version: 4.6.0 NVIDIA 410.78 With installing via a runfile as mentioned by mmatl in post #8, the test program works when linking against either libGL.so or libOpenGL.so. The difference between the packaged and runfile drivers may be due to the dependencies linked into libGL.so (I included a comparison in the stackoverflow post). The final solution is therefore to link against libOpenGL.so instead of libGL.so. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1731968 Title: 384.90-0ubuntu0.16.04.2 EGL crashes at startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/1731968/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1741807] Re: NVIDIA Spectre attack fixes
Hi Leith, I've submitted the message below to NVIDIA via the feedback form at http://www.nvidia.com/object/driverqualityassurance.html Saxon Hi NVIDIA, Since 384.90-0ubuntu0.16.04.2 was released, EGL crashes on set up (eg when performing OpenGL operations like getting the OpenGL version), see here: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-384/+bug/1731968 The same problem occurs on the recent 384.111 update, released to fix Spectre. See comment #5 here: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-384/+bug/1741807 Some more details also described here: https://stackoverflow.com/questions/47415198/missing-gl-version-from- glewinit-using-egl/47527089#47527089 I have also tried the beta of 390.12 from here: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages By doing the following: sudo apt-get purge nvidia* sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt-get update sudo apt-get install nvidia-390 But this also doesn't work. Thanks, Saxon -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741807 Title: NVIDIA Spectre attack fixes To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia/+bug/1741807/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1741807] Re: NVIDIA Spectre attack fixes
Hi, EGL seems to be broken in this update - the same bug as reported here for 384.90-0ubuntu0.16.04.2: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics- drivers-384/+bug/1731968 It was possible to work around the bug in 384.90-0ubuntu0.16.04.2 by downgrading to 384.90-0ubuntu0.16.04.1, as described here: https://stackoverflow.com/questions/47415198/missing-gl-version-from- glewinit-using-egl/47527089#47527089 However with the release of this 384.111 update, 384.90 has been superseded, and so it is no longer possible to use apt to downgrade to 384.90-0ubuntu0.16.04.1 (although it can be done by manually downloading and installing the old driver). Saxon -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1741807 Title: NVIDIA Spectre attack fixes To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia/+bug/1741807/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs