[Mesa-dev] [Bug 75286] make error with Gallium i915/DRM configuration

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 20 16:52:12 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75286

--- Comment #6 from Christian Prochaska <christian.prochaska at genode-labs.com> ---
(In reply to comment #4)
> (In reply to comment #2)
> > I wonder if we should just remove the i915 sw winsys... I certainly don't
> > use/test it and it's confusing (like in this case where people thing they're
> > still getting acceleration).
> 
> While going through glx_mesa_query_renderer I asked myself - how much i915
> is used/tested nowadays ?

As for my use case, I'm currently planning to upgrade our Mesa 7.8 port for the
Genode OS Framework to Mesa 10. Back then, we had a spare IBM T60 notebook, so
the i915 driver was the one which got ported (including the kernel part of the
driver, since it is a non-Unix OS). I was not involved in the porting work
then, so this topic is quite new to me and I'd like to stick with the i915 for
now to limit the initial porting work to the Mesa part. The long-term goal is
to support more recent hardware, though, so the i915 support is rather a
temporary need.

> 
> (In reply to comment #3)
> > So, which configuration would be the one to use for accelerated rendering on
> > i915 without X11?
> 
> dri does not imply X11 in this case. You should be able to run i915/drm on a
> X-less system.

The latest configuration I tried was this one:

./configure --enable-gles2 --disable-glx --with-dri-drivers=
--enable-gallium-egl --with-egl-platforms=drm --with-gallium-drivers=i915

but it depends on X11 headers:

----------
Making all in pipe-loader
make[3]: Entering directory
`/home/christian/projects/mesa/mesa/src/gallium/auxiliary/pipe-loader'
  CC       libpipe_loader_la-pipe_loader.lo
  CC       libpipe_loader_la-pipe_loader_sw.lo
In file included from pipe_loader_sw.c:34:0:
../../../../src/gallium/include/state_tracker/xlib_sw_winsys.h:5:22: fatal
error: X11/Xlib.h: No such file or directory
----------

Since I'm planning to derive the source files needed for the port from the make
output, ideally there shouldn't appear any files which depend on anything
X11-related. But in case there is no configuration which matches this
constraint, I could also try to filter these files out later or try add such a
configuration if this could be useful for others, too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140221/a6351176/attachment.html>


More information about the mesa-dev mailing list