eglGetDisplay(EGL_DEFAULT_DISPLAY) returns EGL_NO_DISPLAY
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Confirmed
|
High
|
Unassigned | ||
nvidia-graphics-drivers-367 (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
nvidia-graphics-drivers-375 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
I am using EGL to obtain offscreen rendering contexts, but upgrading this package today broke my application. I have written a small test case, that I expect to print "PASS":
```
#include <EGL/egl.h>
#include <iostream>
int main(int argc, char **argv) {
EGLDisplay eglDpy = eglGetDisplay(
std::cout << ((eglDpy == EGL_NO_DISPLAY) ? "FAIL" : "PASS") << std::endl;
}
```
Build with e.g. `g++ egl_test.cpp -lEGL`. Using nvidia-375 (375.39-
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nvidia-375 375.39-
ProcVersionSign
Uname: Linux 4.4.0-67-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: MATE
Date: Tue Mar 21 12:41:31 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-10-11 (160 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: nvidia-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in nvidia-graphics-drivers-375 (Ubuntu): | |
importance: | Undecided → High |
Changed in nvidia-graphics-drivers-367 (Ubuntu): | |
importance: | Undecided → High |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: trusty yakkety |
tags: | removed: trusty yakkety |
Status changed to 'Confirmed' because the bug affects multiple users.