From: "Michel Dänzer" <michdaen@iiic.ethz.ch>
To: "Timothy A. Seufert" <tas@mindspring.com>
Cc: Gareth Hughes <gareth@valinux.com>, linuxppc-dev@lists.linuxppc.org
Subject: Re: r128 DRI driver now fully functional on PPC
Date: Mon, 26 Feb 2001 10:39:57 +0100 [thread overview]
Message-ID: <3A9A246D.72D1B5BE@iiic.ethz.ch> (raw)
In-Reply-To: v04220800b6be6735bfd4@[165.247.215.42]
"Timothy A. Seufert" wrote:
>
> At 9:02 PM +1100 2/23/01, Gareth Hughes wrote:
>
> >Run with LIBGL_DEBUG=1 and see what it says.
>
> This revealed what was happening.
>
> I set the project root to /usr/Xgart to avoid having to overwrite my
> existing X11 installation. libGL was trying to load r128_dri.so, but
> it was looking under /usr/X11R6/lib/modules/dri, which doesn't even
> exist.
Strange, it should look in <ProjectRoot>/lib/modules/dri/ . Seems it didn't
pick up the right libGL.
> Since then, I've been trying a number of things, with partial success:
>
> 1. Tried to replace /usr/X11R6/lib in /etc/ld.so.conf with
> /usr/Xgart/lib. Result: X server won't start because the DRI tree
> isn't building most of the various X shared libraries like Xmu, ICE,
> etc.
>
> 2. Tried to work around #1 by leaving both /usr/Xgart/lib and
> /usr/X11R6/lib in ld.so.conf (Xgart first so it gets priority).
>
> Result: 3D acceleration works! However, there are a couple major
> problems. First, window titles aren't drawn (the borders are, but
> the title text is not), and second, upon running a GL program (I've
> been using gears and gloss from Mesa 3.3), I lose keyboard and mouse
> input. Sometimes the mouse cursor is still visible, but clicks do
> nothing. Even pressing caps lock doesn't toggle the capslock light.
> I have to telnet into the machine and kill the GL program to get
> control back.
What's your hardware? Jack Howarth used to have similar problems with the old
driver, but AFAIR it was because he tried to build things with the Red Hat
following the Red Hat procedure.
> 3. As an alternate to #2, I went back to just /usr/X11R6/lib in
> ld.so.conf, and added symlinks under /usr/X11R6/lib to the missing GL
> and DRI libs in the Xgart tree. I got the window titles back this
> way (must be a busted non-3D library somewhere in the DRI tree
> causing that), but the input device problems persist.
>
> 4. Tried to do the right thing by figuring out how to build the
> missing libraries in the DRI tree. The source code for all the
> relevant libs seems to be there, but I can't decipher the X11 build
> system enough to figure out exactly why they aren't being built.
>
> I think it's the "#define BuildServersOnly YES" line in host.def, but
> commenting it out breaks the build because the DRI tree is not a full
> XFree86 source tree.
>
> I'm guessing that this is really the way to go. Does anybody know of
> a way to force building more of the libraries without actually
> building everything? Or do I need to download the remaining chunks
> of the Xfree86 source tree and do a full build of everything?
I wouldn't waste too much time to figure that out (if it works at all) because
this will eventually be in the standard XFree86. For now, I use a symlink for
r128_dri.so and set LD_LIBRARY_PATH.
--
Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer
CS student, Free Software enthusiast \ XFree86 and DRI project member
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-02-26 9:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-30 8:08 r128 DRI driver now fully functional on PPC Gareth Hughes
2001-01-31 11:49 ` Benjamin Herrenschmidt
2001-01-31 14:54 ` [linux-fbdev] " Andreas Hundt
2001-01-31 18:32 ` Michel Dänzer
2001-01-31 18:43 ` Geert Uytterhoeven
2001-01-31 18:53 ` Michel Dänzer
2001-01-31 19:14 ` Andreas Hundt
2001-01-31 16:49 ` Kostas Gewrgiou
2001-01-31 18:26 ` Michel Dänzer
2001-02-23 7:07 ` Timothy A. Seufert
2001-02-23 10:02 ` Gareth Hughes
2001-02-25 8:32 ` Timothy A. Seufert
2001-02-26 9:39 ` Michel Dänzer [this message]
2001-02-26 10:06 ` Gareth Hughes
2001-02-26 10:21 ` Michel Dänzer
2001-02-26 10:28 ` Gareth Hughes
2001-02-27 10:03 ` Timothy A. Seufert
2001-02-27 11:39 ` Gareth Hughes
2001-02-27 21:43 ` Michel Dänzer
2001-02-23 12:19 ` Michel Dänzer
2001-02-23 12:23 ` Gareth Hughes
2001-02-23 12:33 ` Michel Dänzer
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=3A9A246D.72D1B5BE@iiic.ethz.ch \
--to=michdaen@iiic.ethz.ch \
--cc=gareth@valinux.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=tas@mindspring.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).