Wayland with a intel 865 card
Daniel
danlist at terra.es
Mon Feb 7 16:21:30 PST 2011
El dj 03 de 02 de 2011 a les 11:11 -0500, en/na Darxus at chaosreigns.com
va escriure:
> On 02/03, Daniel wrote:
> > Is it at all possible to run Wayland using an Intel 82865G integrated
> > card?
>
> My guess is "No."
>
> Without X, the only video cards that work with Wayland are Intel i915
> (2004) and newer.
That's the driver that supports the card (i915). Anyway, isn't the
software rasterizer and option?
> The main question will be if you can get DRI2 working. And I still don't
> understand why sometimes the Xorg logs say DRI2 is working while Wayland
> says it isn't.
Exactly what I see here. X.Org says DRI2 is supported, but Waylad
refuses to start.
$ grep -i dri2 /var/log/Xorg.0.log
[ 26.641] (II) LoadModule: "dri2"
[ 26.641] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 26.641] (II) Module dri2: vendor="X.Org Foundation"
[ 26.641] (II) Loading extension DRI2
[ 26.966] (II) intel(0): [DRI2] Setup complete
[ 26.966] (II) intel(0): [DRI2] DRI driver: i915
[ 27.028] (II) intel(0): direct rendering: DRI2 Enabled
[ 27.058] (II) GLX: Initialized DRI2 GL provider for screen 0
This is what compositor says on startup:
libEGL debug: EGL search path is /home/daniel/install/lib/egl
libEGL debug: added /home/daniel/install/lib/egl/egl_gallium.so to
module array
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: dlopen(/home/daniel/install/lib/egl/egl_gallium.so)
libEGL info: use DRM for display 0x5
libEGL debug: searching for pipe module i915
libEGL debug: failed to create DRM screen
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in
eglInitialize(no usable display)
libEGL debug: pci id for 5: 8086:2572, driver i915
libEGL debug: DRI2: dlopen(/home/daniel/install/lib/dri/i915_dri.so)
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 2
libGL: Can't open configuration file /etc/drirc: No such file or
directory.
libGL: Can't open configuration file /home/daniel/.drirc: No such file
or directory.
libEGL debug: DRI2: found extension `DRI_ReadDrawable'
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 3
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 1
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: the best driver is DRI2
failed to create context
libEGL info: use DRM for display 0x6
libEGL debug: failed to create DRM screen
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in
eglInitialize(no usable display)
libEGL debug: pci id for 6: 8086:2572, driver i915
libEGL debug: DRI2: dlopen(/home/daniel/install/lib/dri/i915_dri.so)
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 2
Mesa warning: drm_i915_getparam: -13
libEGL warning: DRI2: failed to create dri screen
libEGL info: use DRM for display 0x6
libEGL debug: failed to create DRM screen
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in
eglInitialize(no usable display)
libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in
eglInitialize
failed to initialize display
failed to initialize egl
failed to create compositor
I can see something similar when I try to run the modetest sample from
DRM. It loads the i915 driver correctly, but fails because it doesn't
have permission, even when running as root.
Any ideas?
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list