[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 100% cpu usage instead of using hardware acceleration
- From: "Leo Gürtler" <leo dot c dot g at web dot de>
- Date: Sun, 06 Mar 2005 11:11:32 +0100
Hi...
Let's see... glxgears is a fairly simple application, so we should be
able to determine this rather easily... ldd /usr/X11R6/bin/glxgears will
give you all the libraries linked in, and dpkg -S on the libraries
should give you the debian packages they come from...
knuta:~$ ldd /usr/X11R6/bin/glxgears|awk '{print $3}'|xargs dpkg -S
xlibmesa-gl: /usr/X11R6/lib/libGL.so.1
libxext6: /usr/X11R6/lib/libXext.so.6
libx11-6: /usr/X11R6/lib/libX11.so.6
libc6: /lib/libpthread.so.0
libc6: /lib/libm.so.6
[...]
mudita:~# ldd /usr/X11R6/bin/glxgears |awk '{print $3}'|xargs dpkg -S
xlibmesa-gl: /usr/X11R6/lib/libGL.so.1
libxext6: /usr/X11R6/lib/libXext.so.6
libx11-6: /usr/X11R6/lib/libX11.so.6
libc6: /lib/tls/libpthread.so.0
libc6: /lib/tls/libm.so.6
libc6: /lib/tls/libc.so.6
libc6: /lib/tls/libdl.so.2
libc6: /lib/ld-linux.so.2
mudita:~#
mudita:~# ldd /usr/X11R6/bin/glxinfo |awk '{print $3}'|xargs dpkg -S
xlibmesa-glu: /usr/X11R6/lib/libGLU.so.1
xlibmesa-gl: /usr/X11R6/lib/libGL.so.1
libxext6: /usr/X11R6/lib/libXext.so.6
libx11-6: /usr/X11R6/lib/libX11.so.6
libc6: /lib/tls/libpthread.so.0
libstdc++5: /usr/lib/libstdc++.so.5
libc6: /lib/tls/libm.so.6
libgcc1: /lib/libgcc_s.so.1
libc6: /lib/tls/libc.so.6
libc6: /lib/tls/libdl.so.2
libc6: /lib/ld-linux.so.2
mudita:~#
so, nothing new for fgl_glxgears etc.
I checked for MESA:
mudita:~# locate libGL
/usr/lib/libGL.a
/usr/lib/libGL.so
/usr/lib/libGLU.a
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3
/usr/src/ati_self/fglrx-installer-8.10.19/debian/fglrx-driver/usr/X11R6/lib/libG
L.so.1.2
/usr/src/ati_self/fglrx-installer-8.10.19/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libGL.a
/usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGL.so.1
/usr/X11R6/lib/libGL.so.1.2
/usr/X11R6/lib/libGLU.a
/usr/X11R6/lib/libGLU.so
/usr/X11R6/lib/libGLU.so.1
/usr/X11R6/lib/libGLU.so.1.3
/usr/X11R6/lib/libGLw.a
/usr/X11R6/lib/modules/extensions/libGLcore.a
mudita:~# dpkg -S /usr/X11R6/lib/modules/extensions/libGLcore.a
xserver-xfree86: /usr/X11R6/lib/modules/extensions/libGLcore.a
mudita:~# dpkg -S /usr/X11R6/lib/libGL.a
xlibmesa-gl-dev: /usr/X11R6/lib/libGL.a
mudita:~# dpkg -S /usr/X11R6/lib/libGLU.a
xlibmesa-glu-dev: /usr/X11R6/lib/libGLU.a
mudita:~# dpkg -S /usr/X11R6/lib/libGLw.a
xlibmesa-gl-dev: /usr/X11R6/lib/libGLw.a
mudita:~#
and for fglrx
mudita:~# dpkg -S /usr/X11R6/lib/libGL.so.1.2
Umleitung durch fglrx-driver von: /usr/X11R6/lib/libGL.so.1.2
Umleitung durch fglrx-driver zu: /usr/share/fglrx/diversions/libGL.so.1.2
fglrx-driver: /usr/X11R6/lib/libGL.so.1.2
mudita:~# dpkg -S /usr/X11R6/lib/libGLU.so.1.3
xlibmesa-glu: /usr/X11R6/lib/libGLU.so.1.3
-> I do not know, but this seems fine, right?
i.e. fglrx_ only_ affects libGL.so* ?
Here, on my amd64 system, we see it using xlibmesa-gl, libxext6,
libx11-6, libc6 and some more libc6 I didn't bother including. Does it
output something more suspicious om your system? It's my best shot at
the moment.
You could also try doing it on glxinfo to check for inconsistencies. Is
fgl_glxgears also slow?
yes, the same problem with fgl_glxgears, i.e. for every program I found
which uses opengl, it does not work
Are you using a stock debian kernel, or something you compiled yourself?
If the latter is the case, could you try apt-getting a debian kernel and
see if it helps?
I use a plain kernel 2.6.10 without any patches, compiled it by myself
with a .config from the net for the thinkpad 42 - but I adopted the
config according to the instructions for the ati issue. I can try a
debian kernel and see if it helps. Using a kernel from kernel.org was
easier as the standard debian kernel did not work well with the thinkpad.
Changing the AGP solution is also worth a shot. If you are using the one
from Ati, try the one from the kernel, and vice versa.
I tried both, i.e. as agp is just compiled as a module and not directly
into the kernel,
- ati agp support via the Option in XF86Config-4 (as stated on the
website) -> I moved the agp modules form the kernel so that they cannot
be used, because they are not there anyway then.
and
- kernel agp, together with intel_agp as this seems appropriate for the
t42 notebook
I don't actually understand it either, but I hope my wild guessing helps
out somehow ;-)
I will try the debian kernel and see if it works. I am a little bit
confused because there aren't any errors.
just a question: I remember from nvidia cards that they move the
libGLcore* and libGLU*, thus MESA is moved and replaced by the nvidia
stuff. How is it for ATI ? Is it just a kernel module and the rest goes
out-of-the-box from XFree ?
thanks a lot
leo