LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-29-2009, 02:27 PM   #1
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Rep: Reputation: 17
nVidia TNT2 Driver Error


Hi all, trying to get 3d support on this old box with a TNT2 video card:
lspci:

01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 11)

I downloaded the appropriate drivers from www.nvidia.com, and then ran their installer binary.

Then I edited the xorg.conf to change "nv" > "nvidia".

Everything seems find but "startx" produces:
Code:
dlopen: /usr/lib/xorg/modules/drivers//nvidia_drv.so: undefined symbol: AllocateScreenPrivateIndex
(EE) Failed to load /usr/lib/xorg/modules/drivers//nvidia_drv.so
(EE) Failed to load module "nvidia" (loader failed, 7)
(EE) No drivers available.
I've attached the full xorg log, and the log the nvidia installer produced.

Thanks!
Attached Files
File Type: txt nvidia-installer.log.txt (40.2 KB, 12 views)
File Type: txt xorg.log.full.txt (5.3 KB, 9 views)

Last edited by mkoco; 11-29-2009 at 02:29 PM.
 
Old 11-29-2009, 02:31 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What version of the driver are you trying to install ? Also, after installing, did you restart the system ?
 
Old 11-29-2009, 02:41 PM   #3
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
The installer filename is - NVIDIA-Linux-x86-71.86.11-pkg1.run

so it looks like 71.86.11 ?. I did not restart, did "modprobe nvidia" though. Will restart now, see if it helps.
 
Old 11-29-2009, 03:03 PM   #4
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
Rebooted machine-- same error.

edit: From what I gather from my reading (http://ubuntuforums.org/showthread.p...61#post8389461) this current xserver is not comptabile with the legacy drivers: 71.86.11.

Oh well..
What would it take to downgrade my xserver? I've never attempted something like that, anyone give a little push in the right direction?

Or any experiencing using "nouveau" drivers with Slackware?

Last edited by mkoco; 11-29-2009 at 03:23 PM.
 
Old 11-29-2009, 03:31 PM   #5
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
AFAIK those cards are not supported anymore, the drivers don't work with the recent kernels (one gets the error you posted). On my old comupter my Pardus 2009 system uses the Nouveau driver for TNT2 and it seemed to work OK. I didn't test the 3D support thoroughly, but at least glxgears was working.
 
Old 11-29-2009, 03:54 PM   #6
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
Thanks Ilgar. I'm trying to compile the nouveau drivers from source, but I'm in way over my head.

Any chance you can help out a little? I've downloaded this package here: http://people.freedesktop.org/~pq/nouveau-drm/

I run make but I'm getting some strange compiler errors.. I probably don't have right dependencies.

This file is included:
Code:
The dependencies for drm.ko, ttm.ko and nouveau.ko can be checked from the
file drivers/gpu/drm/Kconfig. All "depends" and "select" features must be
enabled. If you make e.g. nouveau.ko built-in, all the dependencies must
be built-in, too.

Here is a list of the usual options you might be missing:

DRM depends on
	I2C
	I2C_ALGOBIT

NOUVEAU depends on
	FB
	FRAMEBUFFER_CONSOLE
	BACKLIGHT_LCD_SUPPORT
	BACKLIGHT_CLASS_DEVICE
	FB_CFB_FILLRECT
	FB_CFB_COPYAREA
	FB_CFB_IMAGEBLIT

For Nouveau, the last three may be a problem, since there is no menuconfig
entry to enable them. You can get them by enabling another driver, that
depends on (selects) them, e.g. CONFIG_FB_SAVAGE. It is recommended to
build FB and FRAMEBUFFER_CONSOLE into the kernel if you plan on using KMS.
But I'm not sure what that is. Are those items in CAPS kernel options which must be enabled to compile?

EDIT: Ok, well I think all those kernel options are enabled by looking at the /boot/config file.

But the compiler error still persists..

Last edited by mkoco; 11-29-2009 at 04:24 PM.
 
Old 11-30-2009, 03:09 AM   #7
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Since you haven't posted the errors I can't tell what the problem is. But it's very much likely to be kernel version incompatibility. Did you follow the guide here? You can try upgrading to a recent kernel or grabbing a Nouveau package with an older date.
 
Old 11-30-2009, 08:03 AM   #8
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
Noveau now requires KMS, so you'll have to recompile your kernel.
 
Old 11-30-2009, 09:56 AM   #9
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
Hey folks..
Precisely, compiling a new kernel.

KMS you say, thought I had enable that in the menuconfig.

But I tried compiling and got the following errors:

Code:
  CC [M]  drivers/gpu/drm/i915/i915_suspend.o
  CC [M]  drivers/gpu/drm/i915/i915_gem.o
  CC [M]  drivers/gpu/drm/i915/i915_gem_debug.o
  CC [M]  drivers/gpu/drm/i915/i915_gem_tiling.o
drivers/gpu/drm/i915/i915_gem_tiling.c: In function 'intel_alloc_mchbar_resource':
drivers/gpu/drm/i915/i915_gem_tiling.c:111: error: implicit declaration of function 'pnp_range_reserved'
make[4]: *** [drivers/gpu/drm/i915/i915_gem_tiling.o] Error 1
make[3]: *** [drivers/gpu/drm/i915] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I'll bang around and see if I can find KMS in menuconfig...

My problem with the guide here is down at this portion:

Quote:
If you want KMS support and a fancy framebuffer console, enable

Device drivers -> Graphics support ->
Support for framebuffer devices (CONFIG_FB)
Console display driver support ->
Framebuffer Console support (CONFIG_FRAMEBUFFER_CONSOLE)
In my menuconfig I have no "Console display driver support ->" under "Support for framebugger devices", which is where KMS support is apparently enabled.

Could be the problem? Am I missing some drivers/modules from my kernel source? I made the suggested edits to my kernel source using the "nouveau/linux 2.6/" tree, so that should be fine.

Last edited by mkoco; 11-30-2009 at 10:07 AM.
 
Old 11-30-2009, 11:59 AM   #10
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Which kernel are you trying to compile? In 2.6.31.5 the help for CONFIG_FRAMEBUFFER_CONSOLE says

Code:
Depends on: HAS_IOMEM && VT && FB
Selected by: DRM_RADEON && HAS_IOMEM && DRM && PCI && !EMBEDDED || DRM_I915 && <choice> && AGP_INTEL && !EMBEDDED
So if you enable DRM_I915 it should be there.
 
Old 11-30-2009, 12:33 PM   #11
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
No, that's not the problem after all.

Code:
 Symbol: FRAMEBUFFER_CONSOLE [=y]
 ...
  Selected by: DRM_KMS_HELPER && HAS_IOMEM && DRM && !EMBEDDED || DRM_NOUVEAU && HAS_IOMEM && DRM && !EMBEDDED
And yet the compiler errors persist. Maybe the nouveau tree is just unstable right now..


Btw I'm compiling 2.6.29.6-smp. Maybe I'll try a more recent kernel?

Last edited by mkoco; 11-30-2009 at 12:36 PM.
 
Old 11-30-2009, 12:55 PM   #12
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
I'd strongly suggest a recent one. Even if you manage to compile it with 2.6.29, DRM was just introduced back then. The current kernel code should be more stable.
 
1 members found this post helpful.
Old 11-30-2009, 03:44 PM   #13
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by enkoan View Post
Rebooted machine-- same error.

edit: From what I gather from my reading (snip) this current xserver is not comptabile with the legacy drivers: 71.86.11.

Oh well..
What would it take to downgrade my xserver? I've never attempted something like that, anyone give a little push in the right direction?

Or any experiencing using "nouveau" drivers with Slackware?
As far as I know, downgrading is not recommended/supported and the driver is no longer supported with the newer xorg. It can be done however, but no telling how long such a setup will work before something breaks.

HTH
 
Old 11-30-2009, 03:46 PM   #14
aocab
Member
 
Registered: Nov 2009
Location: Heart of Texas
Distribution: Slackware-current
Posts: 138

Rep: Reputation: 30
Quote:
Originally Posted by aocab View Post
It can be done however,...
see post (6 and 10):
http://forums.scotsnewsletter.com/in...ded&pid=272388

screenshot:
http://forums.scotsnewsletter.com/in...dpost&p=279209

HTH
 
Old 12-02-2009, 02:07 AM   #15
mkoco
Member
 
Registered: Feb 2008
Location: US, New Jersey
Distribution: Slackware
Posts: 88

Original Poster
Rep: Reputation: 17
Nouvou

Well, finally compiled a working kernel (2.6.31.6) with support from nouveau tree. Edited Xorg to "nouveau" instead of "nv", and ran startx.

Code:
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/local" does not exist.
	Entry deleted from font path.
(WW) The directory "/usr/share/fonts/CID" does not exist.
	Entry deleted from font path.
(**) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic,
	built-ins
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x1de0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0028:1092:5a02 rev 17, Mem @ 0xf5000000/16777216, 0xfc000000/33554432
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.3, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.6.3, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.6.3, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.3, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
	compiled for 4.0.2, module version = 1.0.0
	Module class: XFree86 Server Extension
	ABI class: XFree86 Server Extension, version 0.1
(II) NVIDIA GLX Module  71.86.11  Thu Jun 25 18:39:46 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "nouveau"
(WW) Warning, couldn't open module nouveau
(II) UnloadModule: "nouveau"
(EE) Failed to load module "nouveau" (module does not exist, 0)
(EE) No drivers available.
Hm, nouveau does not exist.

And yet, lsmod:
Code:
Module                  Size  Used by
nouveau               559008  1 
ttm                    32900  1 nouveau
drm_kms_helper         22180  1 nouveau
parport_pc             22276  0 
intel_agp              23724  1 
3c59x                  32988  0 
parport                28200  1 parport_pc
drm                   133580  3 nouveau,ttm,drm_kms_helper
i2c_algo_bit            4672  1 nouveau
ide_cd_mod             24124  0 
agpgart                26564  3 ttm,intel_agp,drm
stumped for now, any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to install nvidia driver for Riva TNT2 TSloth MEPIS 1 03-16-2008 07:05 AM
Nvidia Riva TNT2 Model 64 driver siva886 Linux - Software 4 06-18-2007 07:08 PM
Exist a NVIDIA RIVA TNT2 Model 64 driver for SuSE 10.1??? julian.osorio Linux - Hardware 1 11-23-2006 12:21 AM
TNT2 nvidia driver problems Samoth Linux - Hardware 22 12-12-2005 07:12 AM
Need Vesa Driver for NVidia Riva TNT2 ZeroX22 Linux - Hardware 0 03-13-2004 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration