Bug 65576 - [NV11] no EGL with nouveau_vieux_dri - no DRI_IMAGE
Summary: [NV11] no EGL with nouveau_vieux_dri - no DRI_IMAGE
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 16:56 UTC by Chris Paulson-Ellis
Modified: 2019-09-18 20:38 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Chris Paulson-Ellis 2013-06-09 16:56:05 UTC
If I try and run any EGL program using the egl_dri2 driver, I get errors about EGL_IMAGE. eg:

$ EGL_LOG_LEVEL=debug src/egl/opengl/eglinfo 
libEGL debug: Native platform type: x11 (build-time configuration)
libEGL debug: EGL search path is /usr/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: DRI2: dlopen(/usr/lib/dri/nouveau_vieux_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 3
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 3
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL fatal: DRI2: did not find extension DRI_IMAGE version 1

I'm running latest git kernel, drm, mesa, xf86-video-nouveau & mesa/demos. Everything else from Fedora 18. My card is an NV11 [GeForce2 Go].

Desktop GL works at least a little (glxgears works). I do have problems with slow rendering in some programs with the nouveau X driver which don't occur with the modesetting X driver (eg: rectangle selection animation in GIMP causes a big slow down), but the desktop is basically functional.

Ultimately, I'm trying to get wayland/weston working on my ancient hardware to see if it's a feasible proposition. Functioning EGL is the current hurdle.

Chris.
Comment 1 Emil Velikov 2013-06-09 17:44:40 UTC
Hi Chris

The first advice in general would be to try the latest kernel/mesa from git, although in your case that would be useless

Surprisingly enough I was just checking over nouveau_vieux and how much effort it would be to bring it up-to speed with the dri/core changes introduced by Intel, don't get too excited though

With that said afaik no one is working on nouveau_vieux overall so it may be faster to give it a stab yourself. The intel driver may be a good start/reference point

Cheers
Emil
Comment 2 Ilia Mirkin 2014-02-13 05:45:32 UTC
What happens if you drop

    &driImageDriverExtension.base,

into the nouveau_driver_extensions array? (right before the DRI2 extensions)
Comment 3 Ilia Mirkin 2014-02-13 05:53:36 UTC
Er nm. The nouveau_screen_extensions also need to have it, and I don't think there's a generic implementation...
Comment 4 GitLab Migration User 2019-09-18 20:38:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1054.


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.