Bug 92199

Summary: eglCreateWindowSurface ERROR
Product: epoxy Reporter: liutao <liutao586>
Component: generalAssignee: Eric Anholt <eric>
Status: RESOLVED DUPLICATE QA Contact: Dave Airlie <airlied>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case
X11 log
lspci -v
directfb configure file

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.