From: Peter Clifton <pcjc2@cam.ac.uk>
To: sedat.dilek@gmail.com
Cc: mesa-dev@lists.freedesktop.org,
DRI <dri-devel@lists.freedesktop.org>,
wayland-devel@lists.freedesktop.org
Subject: Re: Wayland with radeon-KMS pageflipping
Date: Sun, 31 Oct 2010 14:42:02 +0000 [thread overview]
Message-ID: <1288536122.4683.9.camel@pcjc2lap> (raw)
In-Reply-To: <AANLkTi=28w4EgOz6pVRRDtrkCpTtVgoS+amuL8cVHVQm@mail.gmail.com>
On Sun, 2010-10-31 at 15:32 +0100, Sedat Dilek wrote:
> On Sun, Oct 31, 2010 at 3:21 PM, Peter Clifton <pcjc2@cam.ac.uk> wrote:
> > On Sun, 2010-10-31 at 10:36 +0100, Sedat Dilek wrote:
> >> I made a 2nd wayland build:
> >>
> >
> > In my case, it was because mesa was compiled without --disable-gallium
> >
> > That was REQUIRED for me to get it working.. just deleting the gallium
> > EGL modules to leave the DRI2 ones was not enough. (There might have
> > been GLES drives which picked up gallium of course, as I didn't delete
> > anything there).
> >
> >
>
> Which gfxcard is that?
It was intel. Hmm.. you?
> [1] says for Intel gfxcards:
>
> "If you're using an intel chipset, it's best to also pass
> --disable-gallium to ./configure, since otherwise libEGL will try to
> load the gallium sw rasterizer before loading the Intel DRI driver."
>
> What does this mean in general? Do NOT build and use swrast?
All I read was not to use Gallium, as there is a _specific_ DRI2 EGL
driver which Wayland wants to use. IE.. any Gallium is bad. I might be
wrong though.
> That's my current autogen line for mesa:
>
> $ grep -A5 "git log" mesa.log
> + git log --pretty=short -1
> commit 52ef148923ef53dfd2192273bcdac39f233da869
> Author: Chia-I Wu <olv@lunarg.com>
>
> targets/egl: Fix a warning with --disable-opengl build.
> + ./autogen.sh --prefix=/opt/wayland --with-driver=dri
> --with-dri-driverdir=/opt/wayland/lib/dri
> --with-dri-drivers=r200,r300,swrast --enable-gallium-radeon
> --enable-gallium-swrast --with-state-trackers=dri,glx,egl --enable-egl
> --enable-gles2
I've passed --disable-gallium, and scribbed all the other gallium
related stuff. I'm not sure how this sits if you want / need to build a
gallium driver for your graphics card though..
Perhaps build the EGL drivers separately with --disable-gallium? That
said, I've no idea if that has any chance of working.
This was my configure line for building mesa:
(from config.log, so probably missing some "" qouting around args).
./configure --disable-gallium --disable-glu --disable-glut --disable-glw
--with-driver=dri --with-dri-drivers=i965
--with-dri-driverdir=/usr/local/lib/dri --with-egl-displays=x11 drm
--enable-glx-tls --enable-gles-overlay --enable-gles1 --enable-gles2
--enable-driglx-direct
You might want to try adding -with-egl-displays="x11 drm" to get rid of
the gallium bit
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
prev parent reply other threads:[~2010-10-31 14:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-30 14:34 Wayland with radeon-KMS pageflipping Sedat Dilek
2010-10-30 15:08 ` Sedat Dilek
2010-10-31 9:36 ` Sedat Dilek
2010-10-31 9:47 ` Sedat Dilek
2010-10-31 14:21 ` Peter Clifton
2010-10-31 14:32 ` [Mesa-dev] " Sedat Dilek
2010-10-31 14:42 ` Peter Clifton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1288536122.4683.9.camel@pcjc2lap \
--to=pcjc2@cam.ac.uk \
--cc=dri-devel@lists.freedesktop.org \
--cc=mesa-dev@lists.freedesktop.org \
--cc=sedat.dilek@gmail.com \
--cc=wayland-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.