<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLK] launching glbenchmark pruduces Error: XOpenDisplay() failed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101282#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - [GLK] launching glbenchmark pruduces Error: XOpenDisplay() failed"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101282">bug 101282</a>
from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
<pre>-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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>