Re: nvidia_drv.o and XF864.0.2

2001-04-21 Thread Rick Macdonald
On Thu, 19 Apr 2001, Anthony Lau wrote:

 At 8:22 AM -0300 4/19/2001, Mario Olimpio de Menezes wrote:
 have you compiled the drivers you got through APT? when you do
 # apt-get install nvidia-kernel-src nvidia-glx-src
 
 I didn't do that, but XFree seemed to have found a Nvidia GLX module 
 and driver module. Just maybe not the right ones.
 
 it'll only download the drivers and put them in proper location to be
 recompiled with your kernel source.
 
 so, once you have the packages installed, you should do:
 
 # cd /usr/sr/$KERNEL_SOURCE
 # make-kpkg modules_image
 # cd ..
 # dpkg -i nvidia-kernel-`uname -r`_0.9.769-1_i386.deb

I previously installed a bunch of GL packages (mesag-dev mesag-widgets-dev
mesag3 mesag3-widgets) and then installed the stuff from nvidia's website
to replace the glx libs, all before I knew these deb packages existed.

So I installed nvidia-glx and nvidia-kernel and ran the build scripts, but
then to install them I had to remove a bunch of the other mesag3 packages
(and even some x packages).

The result is that I have these nvidia libs but no GL header files to
compile with. The mesag-dev packages (gl.h etc) seem to conflict with the
nvidia-glx.

What have I missed?

...RickM...



Re: nvidia_drv.o and XF864.0.2

2001-04-21 Thread Anthony Lau

At 12:31 AM -0600 4/21/2001, Rick Macdonald wrote:

I previously installed a bunch of GL packages (mesag-dev mesag-widgets-dev
mesag3 mesag3-widgets) and then installed the stuff from nvidia's website
to replace the glx libs, all before I knew these deb packages existed.

So I installed nvidia-glx and nvidia-kernel and ran the build scripts, but
then to install them I had to remove a bunch of the other mesag3 packages
(and even some x packages).

The result is that I have these nvidia libs but no GL header files to
compile with. The mesag-dev packages (gl.h etc) seem to conflict with the
nvidia-glx.

What have I missed?


Have you tried apt-get remove both the mesa libs and the nvidia drivers, then
apt-get install the xlib version of the mesa libs (forgot the name, 
xlibmesa?)

and the nvidia drivers?

I believe I use the Xlib versions of the mesa libs.



---
Anthony Lau



Re: nvidia_drv.o and XF864.0.2

2001-04-21 Thread Rick Macdonald
On Sat, 21 Apr 2001, Anthony Lau wrote:

 At 12:31 AM -0600 4/21/2001, Rick Macdonald wrote:
 I previously installed a bunch of GL packages (mesag-dev mesag-widgets-dev
 mesag3 mesag3-widgets) and then installed the stuff from nvidia's website
 to replace the glx libs, all before I knew these deb packages existed.
 
 So I installed nvidia-glx and nvidia-kernel and ran the build scripts, but
 then to install them I had to remove a bunch of the other mesag3 packages
 (and even some x packages).
 
 The result is that I have these nvidia libs but no GL header files to
 compile with. The mesag-dev packages (gl.h etc) seem to conflict with the
 nvidia-glx.
 
 What have I missed?
 
 Have you tried apt-get remove both the mesa libs and the nvidia drivers, 
 then
 apt-get install the xlib version of the mesa libs (forgot the name, 
 xlibmesa?)
 and the nvidia drivers?

Yes, that's what I did.

 I believe I use the Xlib versions of the mesa libs.

xlibmesa-dev!

OK, got it fixed. I was sufferring fom a mixture of sid and woody packages
clashing. Some version of these libs conflicted with xbase-clients, but I
went to sid and installed xlibmesa3, xlibmesa-dev (the missing header
files) and xbase-clients and now I'm ok.

Thanks!

...RickM...



Re: nvidia_drv.o and XF864.0.2

2001-04-20 Thread Ilya Martynov

AL (II) NVIDIA(0): Applying EDID constraints on remaining valid modes.
AL (EE) NVIDIA(0): No modes remaining for head 0
AL Symbol XAARotateMonoPattern from module
AL /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
AL Symbol XAAPatternROP from module
AL /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
AL Symbol XAACopyROP from module
AL /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
AL Symbol XAAFillSolidRects from module
AL /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
AL Symbol fbPictureInit from module
AL /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!

AL Hey! I just noticed that EDID killed all the modes. I placed an

AL Option IgnoreEDID true

AL And whammo!  X starts ups! I guess those Symbol errors were just red
AL herrings.

I also seen some 'Symbol errors' with other drivers (not Nvidia) while
X server was working. It is seems that it does not fatal error.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)|
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)  |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



nvidia_drv.o and XF864.0.2

2001-04-19 Thread Anthony Lau
Hi,

I've been playing with Linux for a few months (Suse) and just started playing with Debian. I have installed a custom 2.4.3 kernel with a custom Debian install based on testing/unstable. Being adventurous I only installed the base system, then upgraded and installed specific packages through APT.

The problem is that I am trying to run X with the Nvidia drivers. I've got XF86 v4 running fine with Xfree86 framebuffer driver. However switching over to the nvidia driver, I get an error. Unresolved symbols: XAARotateMonoPattern, XAARotateMonoPattern, XAARotateMonoPattern, XAARotateMonoPattern and fbPictureInit. 

I used APT to get and install the nvidia-kernel-src and nvidia-glx-src. Below is the 
/var/log/XFree86.0.log

I'm not sure why it lists my kernel as 2.2.18, though.

My first thought is that I didn't install all the XFree packages, but fbdev works.

Thanks,

Anthony

===


XFree86 Version 4.0.2 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 18 December 2000
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.18 i686 [ELF] 
Module Loader present
(==) Log file: /var/log/XFree86.0.log, Time: Thu Apr 19 00:47:43 2001
(==) Using config file: /etc/X11/XF86Config
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (??) unknown.
(WW) No Layout section.  Using the first Screen section.
(**) |-->Screen NV LCD (0)
(**) |   |-->Monitor DigitalLCD
(**) |   |-->Device NVIDIA GeForce2 Ultra
(==) |-->Input Device Implicit Core Pointer
(==) |-->Input Device Implicit Core Keyboard
(**) Option Protocol Standard
(**) Option AutoRepeat 500 30
(**) Option XkbKeymap xfree86(us)
(**) XKB: keymap: xfree86(us) (overrides other XKB settings)
(**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/:unscaled,/usr/X11R6/lib/X11/fonts/cyrillic/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/cyrillic/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(++) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.3
XFree86 XInput driver : 0.1
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=The XFree86 Project
compiled for 4.0.2, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: pcidata
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor=The XFree86 Project
compiled for 4.0.2, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.3
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,0305 card 147b,a401 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,8305 card , rev 00 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1106,0686 card 1106, rev 22 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 1106,0571 card , rev 10 class 01,01,8a hdr 00
(II) PCI: 00:07:2: chip 1106,3038 card 0925,1234 rev 10 class 0c,03,00 hdr 00
(II) PCI: 00:07:3: chip 1106,3038 card 0925,1234 rev 10 class 0c,03,00 hdr 00
(II) PCI: 00:07:4: chip 1106,3057 card , rev 30 class 06,00,00 hdr 00
(II) PCI: 00:0b:0: chip 1073,0010 card 1073,0010 rev 02 class 04,01,00 hdr 00
(II) PCI: 00:0d:0: chip 100b,0020 card 1385,f311 rev 00 class 02,00,00 hdr 00
(II) PCI: 00:13:0: chip 1103,0004 card 1103,0001 rev 03 class 01,80,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0152 card 107d,2845 rev a4 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: scanpci
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor=The XFree86 Project
compiled for 4.0.2, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: scanpci
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) Host-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 0 I/O range:
[0] -1	0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1	0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1	0x - 0x (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), 

Re: nvidia_drv.o and XF864.0.2

2001-04-19 Thread Mario Olimpio de Menezes
On Thu, 19 Apr 2001, Anthony Lau wrote:


 The problem is that I am trying to run X with the Nvidia drivers.
 I've got XF86 v4 running fine with Xfree86 framebuffer driver.
 However switching over to the nvidia driver, I get an error.
 Unresolved symbols: XAARotateMonoPattern, XAARotateMonoPattern,
 XAARotateMonoPattern, XAARotateMonoPattern and fbPictureInit.

[...]

 I'm not sure why it lists my kernel as 2.2.18, though.


have you compiled the drivers you got through APT? when you do
# apt-get install nvidia-kernel-src nvidia-glx-src

it'll only download the drivers and put them in proper location to be
recompiled with your kernel source.

so, once you have the packages installed, you should do:

# cd /usr/sr/$KERNEL_SOURCE
# make-kpkg modules_image
# cd ..
# dpkg -i nvidia-kernel-`uname -r`_0.9.769-1_i386.deb

for more details, see:
/usr/share/doc/nvidia-kernel-src/README.Debian

for nvidia-glx, see
/usr/share/doc/nvidia-glx-src/README.Debian

as the build procedure is slightly different


[]s,
Mario O.de MenezesMany are the plans in a man's heart, but
IPEN-CNEN/SP is the Lord's purpose that prevails
http://curiango.ipen.br/~mario Prov. 19.21



Re: nvidia_drv.o and XF864.0.2

2001-04-19 Thread Anthony Lau
At 8:22 AM -0300 4/19/2001, Mario Olimpio de Menezes wrote:
have you compiled the drivers you got through APT? when you do
# apt-get install nvidia-kernel-src nvidia-glx-src

I didn't do that, but XFree seemed to have found a Nvidia GLX module and driver module. Just maybe not the right ones.

it'll only download the drivers and put them in proper location to be
recompiled with your kernel source.

so, once you have the packages installed, you should do:

# cd /usr/sr/$KERNEL_SOURCE
# make-kpkg modules_image
# cd ..
# dpkg -i nvidia-kernel-`uname -r`_0.9.769-1_i386.deb

Okay, I did this and got the same results. Everything is loaded up, but still get nvidia_drv.o unrecognized symbols.

(II) NVIDIA(0): Applying EDID constraints on remaining valid modes.
(EE) NVIDIA(0): No modes remaining for head 0
Symbol XAARotateMonoPattern from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol XAAPatternROP from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol XAACopyROP from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol XAAFillSolidRects from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!
Symbol fbPictureInit from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is unresolved!

Hey! I just noticed that EDID killed all the modes. I placed an

Option  IgnoreEDID true

And whammo!  X starts ups! I guess those Symbol errors were just red herrings.

for more details, see:
/usr/share/doc/nvidia-kernel-src/README.Debian

for nvidia-glx, see
/usr/share/doc/nvidia-glx-src/README.Debian

as the build procedure is slightly different

D'OH!! I only checked the readmes in the nvidia*src directories.

Mario O.de MenezesMany are the plans in a man's heart, but


Thanks for your help!

TuxRacer is a blast...just gotta get sound to work now.
---
Anthony Lau