Public bug reported:

Release: Ubuntu 16.04.3 LTS
Package version: 384.90-0ubuntu0.16.04.2

In the latest driver 384.90-0ubuntu0.16.04.2, EGL initialisation is now
broken and the GL context returned is inconsistent leading to crashes. I
have prepared a minimised testcase that showcases the problem with the
latest driver. I have also made sure it works fine with both previous
versions 384.90-0ubuntu0.16.04.1 and 384.81-0ubuntu1 in a clean install.

Here's the code:
https://gist.github.com/funchal/bff0a8d6dae5b3ace1a88c392416b5bc

It can be compiled using "gcc main.c -lGL -lEGL". The crash is:

egl 1.4
a.out: main.c:59: main: Assertion `renderer' failed.
Aborted (core dumped)

This is caused by NULL return from glGetString for GL renderer. Note
this isn't the only way to cause a crash, for example attempting to use
the GL context in other ways will also crash, but this shows the
regression in a minimal testcase.

Previous drivers successfully complete the testcase with return code 0.

I have tested this on both a desktop machine with a GTX 1080, and a
display-less server with a Tesla K80, with a fresh Ubuntu install.

** Affects: nvidia-graphics-drivers-384 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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-384/+bug/1731968/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to