Bug 92199 - eglCreateWindowSurface ERROR
Summary: eglCreateWindowSurface ERROR
Status: RESOLVED DUPLICATE of bug 92198
Alias: None
Product: epoxy
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact: Dave Airlie
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-30 16:07 UTC by liutao
Modified: 2016-10-18 15:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test case (3.65 KB, text/plain)
2015-09-30 16:10 UTC, liutao
Details
X11 log (29.55 KB, text/plain)
2015-09-30 16:11 UTC, liutao
Details
lspci -v (5.48 KB, text/plain)
2015-09-30 16:14 UTC, liutao
Details
directfb configure file (45 bytes, text/plain)
2015-09-30 16:17 UTC, liutao
Details

Description liutao 2015-09-30 16:07:53 UTC
I want create a egl surface by using a directfb surface, like attachment test.c on ubuntu14.04.3 for amd_64.
But I got this:"libEGL warning: failed to create a pipe screen for i965".
From the x11 log(Xorg.0.log), I found this:
 (==) intel(0): DPMS enabled
[     6.106] (II) intel(0): [DRI2] Setup complete
[     6.106] (II) intel(0): [DRI2]   DRI driver: i965
[     6.106] (II) intel(0): [DRI2]   VDPAU driver: i965
[     6.106] (II) intel(0): direct rendering: DRI2 Enabled
[     6.106] (==) intel(0): hotplug detection: "enabled"

but my Integrated Graphics use driver i915(see attachment lspci-v.txt), so I think my DRI2 should use diver i915 instead of i965. Am I right?

After that I compile mesa-10.6.4 use:
/configure --prefix=/usr --enable-debug --enable-gles1 --enable-gles2 --enable-opengl --with-dri-drivers=i915 --with-egl-platforms=drm --disable-dri3
make && make install

but it doesn't work. Anyone can figure me out?
Comment 1 liutao 2015-09-30 16:10:07 UTC
Created attachment 118544 [details]
test case
Comment 2 liutao 2015-09-30 16:11:01 UTC
Created attachment 118545 [details]
X11 log
Comment 3 liutao 2015-09-30 16:14:53 UTC
Created attachment 118546 [details]
lspci -v
Comment 4 liutao 2015-09-30 16:17:29 UTC
Created attachment 118547 [details]
directfb configure file
Comment 5 Adam Jackson 2016-10-18 15:24:24 UTC

*** This bug has been marked as a duplicate of bug 92198 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.