Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: eee + glx
On 9/1/08, matthew sporleder <msporleder%gmail.com@localhost> wrote:
> On 9/1/08, matthew sporleder <msporleder%gmail.com@localhost> wrote:
> > On 8/29/08, Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
> > > 2008/8/29 Tobias Nygren <tnn%netbsd.org@localhost>:
> > >
> > > > On Thu, 28 Aug 2008 22:09:30 -0400
> > > > "matthew sporleder" <msporleder%gmail.com@localhost> wrote:
> > > >
> > > >> I'm running my eee on -current/GENERIC+i915 driver and was wondering
> > > >> where I can get the glx module for xorg, as I want to run compiz.
> > > >>
> > > >> I installed glx-utils, and various opengl pkgs from pkgsrc, so I'm
> > > >> wondering where glx comes from.
> > > >>
> > > >> Any hints?
> > > >
> > > > wip/modular-xorg-server, built with "dri" option.
> > >
> > >
> > > and:
> > >
> > > modload drm
> > > modload i915drm
> > >
> >
> >
> > I'm pretty sure I have these in my kernel (I added all the drm stuff)
> > and I have dmesg entries about i915drm0 and [drm].
> >
> > Anyway, glxinfo looks good, glxgears works great, but compiz still
> > gives me weird errors. This might be better on pkg-* now that netbsd
> > seems okay, but I get:
> > GLX_EXT_texture_from_pixmap is missing, which has a lot of traction on
> > google, and turning off direct rendering with an option seems to help,
> > but then I just get another message. :)
> >
> > I know some people have had this working, so I'm wondering what I'm
> missing.
>
>
> With a little help from jared mcneill and the compiz-fusion wiki about
> running on intel cards I got this to work. I get some fuzz on the
> windows sometimes but it's funny to see the eee doing all the weird
> compiz stuff.
>
After a few requests I thought I would share some more exact steps to
how I got dri/drm + compiz working on the eee.
I'm running GENERIC with the ath patches.
First I had to add the i915drm* at vga? option to my kernel, this gave
me the drm supported I needed for DRI. (actually, I put them all in
there)
To /etc/mk.conf I added:
X11_TYPE=modular
PKG_OPTIONS.modular-xorg-server+=dri
I modified the Makefile of xf86-video-intel to use ".include
"../../wip/modular-xorg-server/buildlink3.mk" instead of ".include
"../../x11/modular-xorg-server/buildlink3.mk"
I built wip/modular-xorg-server
xf86-input-keyboard needs the same trick
xf86-input-mouse also needs it
(I also built the rest of modular-xorg-[apps, fonts]) and glx-utils)
I ended up with all the various Mesa, glut, and opengl packages which
may or may not have come through dependencies. :) glxgears runs in
the 550+ FPS range.
After xorg is installed I did an X -configure which generated a pretty
good xorg.conf.new, which I moved into /etc/X11.
This gave me the "Module" glx, dbe, GLcore, dri, and a few others
The Driver "intel" under "Device"
I'm using a Depth 24 under Section "Screen"
And I added the following to the bottom of the file:
Section "ServerFlags"
Option "AIGLX" "true"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
For starting compiz I had to do the following:
LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace
--indirect-rendering --sm-disable ccp &
(from here:
http://wiki.compiz-fusion.org/Troubleshooting#head-34da8e7859b4abcb93439264e6e117fc70580482
)
Good luck,
Matt
Home |
Main Index |
Thread Index |
Old Index