[Bug 101282] [GLK] launching glbenchmark pruduces Error: XOpenDisplay() failed
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Jun 15 17:51:05 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=101282
--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
-intel should work.
diff --git a/hw/xfree86/dri2/dri2.c b/hw/xfree86/dri2/dri2.c
index f9f9859e1..e3fd7f11a 100644
--- a/hw/xfree86/dri2/dri2.c
+++ b/hw/xfree86/dri2/dri2.c
@@ -1656,6 +1656,9 @@ DRI2CloseScreen(ScreenPtr pScreen)
{
DRI2ScreenPtr ds = DRI2GetScreen(pScreen);
+ if (!ds)
+ return;
+
pScreen->ConfigNotify = ds->ConfigNotify;
pScreen->SetWindowPixmap = ds->SetWindowPixmap;
will prevent the crash, as would fixing -modesetting not to invoke
DRI2CloseScreen if it DRI2OpenScreen didn't succeed which is how it is normally
handled.
To fix DRI2OpenScreen, you need to add the pci-ids to
hw/xfree86/dri2/pci_ids/pci_id_driver_map.h for -modesetting support.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170615/4bd9caf3/attachment.html>
More information about the intel-gfx-bugs
mailing list