[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-user] GeForce2 w/ XFree86 4.0.1 [ a little new ]



There are those who would have you believe that Rüdiger Kuhlmann wrote:
> 
> Hi!
> 
> >--[Andy Bastien]--<lists@yuggoth.net>
> > >--[Rüdiger Kuhlmann]
> > > I have a GeForce2 MX, but I still don't get 3D running. At first, kdm
> > > crashes unless there is also an libGL.so.1 pointing to the _old_ libGL.so.
> > You might have a conflict among your libraries somewhere.  Go through
> > all of the instructions that came with the drivers again and verify
> > that you've done everything, especially the steps that explain which
> > libraries you need to remove.  Compare dates and file sizes with the
> > drivers you compiled.
> 
> I fiddled around with it by hand after it didn't work. This way, 2D, but not
> 3D, works. If I let libGL.so.1 point to libGL.so.1.0.5.nvidia as well, kdm
> crashes on startup. Can someone check filesizes with this list?

That's interesting...can you try it with Gnome or only with a window
manager?  (I'd think twm would be the best bet to get rid of possible interactions with the
window manager.)


> --snip--
> ruediger@wh36-a402:/usr/lib> ll *GL* *glx*
> ls: *glx*: No such file or directory
> -rw-r--r--    1 root     root       519926 Nov  2 18:44 libGL.a.debian
> lrwxrwxrwx    1 root     root           21 Nov  6 19:30 libGL.so -> libGL.so.1.0.5.nvidia
> -rwxr-xr-x    2 root     root           19 Nov  2 18:44 libGL.so.1 -> libGL.so.1.2.debian
> -rwxr-xr-x    1 root     root       184112 Oct 23 22:30 libGL.so.1.0.5.nvidia
> -rwxr-xr-x    2 root     root       349804 Nov  2 18:44 libGL.so.1.2.debian
> lrwxrwxrwx    1 root     root           13 Nov  5 13:44 libGLU.so -> libGLU.so.1.3
> lrwxrwxrwx    1 root     root           13 Nov  2 08:39 libGLU.so.1 -> libGLU.so.1.3
> -rwxr-xr-x    1 root     root        78412 Oct 18 15:59 libGLU.so.1.1.030201
> -rwxr-xr-x    1 root     root       487348 Nov  2 18:44 libGLU.so.1.3
> lrwxrwxrwx    1 root     root           25 Nov  6 19:22 libGLcore.so -> libGLcore.so.1.0.5.nvidia
> lrwxrwxrwx    1 root     root           25 Nov  6 19:22 libGLcore.so.1 -> libGLcore.so.1.0.5.nvidia
> lrwxrwxrwx    1 root     root           25 Nov  6 19:22 libGLcore.so.1.0.5 -> libGLcore.so.1.0.5.nvidia
> -rwxr-xr-x    1 root     root      1499464 Oct 23 22:30 libGLcore.so.1.0.5.nvidia
> ruediger@wh36-a402:/usr/lib> cd /usr/X11R6/lib/modules/extensions/
> ruediger@wh36-a402:/usr/X11R6/lib/modules/extensions> ll *GL* *glx*
> -rw-r--r--    1 root     root      1821046 Nov  2 18:44 libGLcore.a.debian
> -rw-r--r--    1 root     root       259916 Nov  2 18:44 libglx.a.debian
> lrwxrwxrwx    1 root     root           22 Nov  6 19:32 libglx.so -> libglx.so.1.0.5.nvidia
> lrwxrwxrwx    1 root     root           22 Nov  6 19:32 libglx.so.1.0.5 -> libglx.so.1.0.5.nvidia
> -rwxr-xr-x    1 root     root       450924 Oct 23 22:32 libglx.so.1.0.5.nvidia
> ruediger@wh36-a402:/usr/X11R6/lib/modules/extensions>
> --snip--

Here's listings from my desktop machine:

elder:/usr/lib$ls -l *GL* *glx*
ls: *glx*: No such file or directory
-rw-r--r--    1 root     root      1514844 Aug  2 00:15 libGL.a
lrwxrwxrwx    1 root     root           18 Oct 29 08:56 libGLcore.so.1 -> libGLcore.so.1.0.5
-rwxr-xr-x    1 root     root      1499464 Oct 29 10:53 libGLcore.so.1.0.5
lrwxrwxrwx    1 root     root           10 Nov  5 19:13 libGL.so -> libGL.so.1
lrwxrwxrwx    1 root     root           14 Oct 29 10:56 libGL.so.1 -> libGL.so.1.0.5
-rwxr-xr-x    1 root     root       184112 Oct 29 10:53 libGL.so.1.0.5
-rw-r--r--    1 root     root        88786 Aug  2 00:15 libGLU.a
lrwxrwxrwx    1 root     root           11 Nov  5 19:13 libGLU.so -> libGLU.so.1
lrwxrwxrwx    1 root     root           20 Oct 29 00:12 libGLU.so.1 -> libGLU.so.1.1.030201
-rw-r--r--    1 root     root        78412 Aug  2 00:15 libGLU.so.1.1.030201
lrwxrwxrwx    1 root     root           10 Oct 29 00:12 libMesaGL.so.3 -> libGL.so.1
lrwxrwxrwx    1 root     root           11 Oct 29 00:12 libMesaGLU.so.3 -> libGLU.so.1

elder:/usr/X11R6/lib/modules/extensions$ls -l *GL* *glx*
-rw-r--r--    1 root     root      1821046 Nov  2 12:44 libGLcore.a
-rw-r--r--    1 root     root       259916 Nov  2 12:44 libglx.a
lrwxrwxrwx    1 root     root           15 Oct 29 10:53 libglx.so -> libglx.so.1.0.5
-rwxr-xr-x    1 root     root       450924 Oct 29 10:53 libglx.so.1.0.5


That libGL.a is from mesag-dev. I also don't have a libGLU.so.1.3.  I
have mesag-dev 3.2.1-1 and mesag3 3.2.1-1.  You don't have
mesag3-glide, do you?  When I installed qt2.2, dselect really wanted
to install the glide libraries and I had to change several of it's
default selections to prevent that.


> > > Then, when starting X, the screen is black for ~8 secs with some blue
> > > flickers, before it switches to the right display mode (you can see an "old"
> > > image there for a short time). That's strange, but doesn't really hurt.
> > That's (more or less) normal.
> 
> Well, the nv driver of X 4.0.1 may flicker, but not those 8 secs nvidia does.

Right.  From what I've seen, it always does the blue flickers on
GeForce cards, but it seems as though it's normally more like 3-4 seconds.
 
> > > But when I play anything with eg realplayer, it isn't accelerated - the CPU
> > > usage goes up endlessly, and it's still slow (I'M just playing the
> > > realplayer credit intro, so nothing too complicated).
> > You could also try some OpenGL screensavers, or go to
> 
> Hmmm. 3D doesn't work. The Morph3D (GL) one crashes, the other two don't
> show anything.

Ok, it doesn't hurt to confirm that it's broken ;-).

> 
> > I don't think you're supposed to get any warnings.  You could try
> > compiling the drivers again and posting the warnings.
> 
> --snip--
> ruediger@wh36-a402:/tmp-res/NVIDIA_kernel-0.9-5> make SYSINCLUDE=/usr/src/kernel-headers-2.2.17/include/
> rm -f nv.o os-interface.o os-registry.o Module-linux NVdriver
> cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1 -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES    -I. -I/usr/src/kernel-headers-2.2.17/include/ nv.c
> /tmp/ccw837do.s: Assembler messages:
> /tmp/ccw837do.s:9: Warning: Ignoring changed section attributes for .modinfo
> cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1 -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES    -I. -I/usr/src/kernel-headers-2.2.17/include/ os-interface.c
> cc -c -Wall -Wunknown-pragmas -Wno-multichar -O  -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_X86_=1 -Di386=1 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES    -I. -I/usr/src/kernel-headers-2.2.17/include/ os-registry.c
> /tmp/ccMZnreI.s: Assembler messages:
> /tmp/ccMZnreI.s:16: Warning: Ignoring changed section attributes for .modinfo
> ld -r -o Module-linux nv.o os-interface.o os-registry.o
> ld -r -o NVdriver Module-linux Module-nvkernel
> size NVdriver
>    text    data     bss     dec     hex filename
>  387763   26912      40  414715   653fb NVdriver
> Please run "make install" as root.
> ruediger@wh36-a402:/tmp-res/NVIDIA_kernel-0.9-5>
> --snip--

AFAIK, those warning are ok and I've gotten so accustomed to seeing
them that I don't really notice them anymore.  Have you confirmed that
the kernel module does load correctly?
 
You could try this...I don't think it will help you, but it's worth a
shot:

# your pre-existing screen section
      Section "Screen"
          ...
          # adding this option disables AGP.
          # a "1" will enable AGP (the default)
          Option "NvAgp" "0"
          ...
      EndSection


> > > > But doesn't seem to hurt anything. quake3 is really quick; looks good
> > > > so I assume 3d performance is OK.
> > > Okay, are there any .debs for Quake3, or where do I get it?
> > http://www.lokigames.com.  I'd recommend buying from a store, even if it
> > costs a few dollars more.  That way, you not only support the
> > development of games on Linux, you also help justify shelf space for
> > Linux software.
> 
> Oh oh... not particular cheap... :-/
> 

Nope, costs just as much as the Windows version.  Now I'm not
condoning piracy here, but I will note that the CD keys for the Linux
version also work on the Windows version of the game.  I don't mind
paying for a game that I play for a while since it eventually ends up
being cheaper than going to the movies, or even renting videos.



Reply to: