nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   NVIDIA GEFORCE4 TI 4200 -> linux (http://www.nvnews.net/vbulletin/showthread.php?t=5442)

SPQR 12-21-02 11:30 AM

NVIDIA GEFORCE4 TI 4200 -> linux
I have recently downloaded the 2 files
(NVIDIA_kernel-1.0-4180.tar.gz and
NVIDIA_GLX-1.0-4180.tar.gz )
for NVIDIA GEFORCE4 TI 4200 because the card istn't supported in my distribution (Mandrake 8.2: kernel 4.2.18mdk).
I installed NVIDIA_GLX with "make install" without any problems, but as I wanted to install the kernel-file, I received the following message:

# make install
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -mcmodel=kernel -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4180 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNV_64_BITS -DNVCPU_X86_64 -I. -I/lib/modules/2.4.18-6mdk/build/include -Wno-cast-qual nv.c
cc1: Invalid option `cmodel=kernel'
nv.c: In function `nv_agp_translate_address':
nv.c:2756: warning: cast from pointer to integer of different size
make: *** [nv.o] error 1

I have followed all the instructions which are suggested in the README-file, checked also out whether the XFree-version is appropriate(XFree86-4.2.0-10mdk)
thx for your endavours

rnf 12-21-02 01:53 PM

You might need to download version 4191, it doesn't include this offending option (-mcmodel) and installs like a charm.

Andy Mecham 12-21-02 06:59 PM

1.0-4180 is the AMD64 (Hammer) driver, and not appropriate for an Athlon machine. If you have an Athlon, you need to download and use the IA32 driver (1.0-4191).


SPQR 12-22-02 02:33 AM

Ok I have installed version 4191... for NVIDIA geforce4
But how can I check whether linux has recognized the card i.e. whther the card is used in linux ?
Do I have to change the configuration for "X" in the MandrakeControl center? How?


rnf 12-22-02 06:23 AM


But how can I check whether linux has recognized the card i.e. whther the card is used in linux ?
Enter the command "glxinfo" in a shell console and look for this line:
direct rendering: Yes
If you get a " No" there then it's not working correctly.

Do I have to change the configuration for "X" in the MandrakeControl center?
Yes, probably. I don't know how you do this from the Mandrake CC but the xserver configuration file (/etc/X11/XF86Config-4) needs some specific settings for the xserver to use your OpenGL hardware accelerator. I'm sure this forum already contains instructions for Mandrake users somewhere.

SPQR 12-22-02 09:21 AM

I have read some entries but this didn't help me... (I have also read the instructions...)
XFree86.9.log says that my XFreeConfig-file is:
Excerpt from the File:

(==) Log file: "/var/log/XFree86.9.log", Time: Sun Dec 22 09:20:43 2002
(++) Using config file: "/etc/X11/XF86Config.test-4"
(==) ServerLayout "layout1"
(**) |-->Screen "screen1" (0)
(**) | |-->Monitor "Generic|Hochfrequenz SVGA, 1024768 bei 70 Hz"
(**) | |-->Device "STB nvidia 128"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "250 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "de(nodeadkeys)"
(**) XKB: layout: "de(nodeadkeys)"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:-1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(--) using VT number 8

I also write down the device setion,etc. from
/etc/X11/XF86Config.test-4, perhaps it helps:

Section "Module"
Load "glx"
# This loads the DBE extension module.
Load "dbe"

# This loads the Video for Linux module.
Load "v4l"

# This loads the miscellaneous extensions module, and disables

# initialisation of the XFree86-DGA extension within that module.

SubSection "extmod"
#Option "omit xfree86-dga"

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

Section "Monitor"
Identifier "Generic|Hochfrequenz SVGA, 1024768 bei 70 Hz"
VendorName "Unknown"
ModelName "Unknown"

Section "Device"
Identifier "NVIDIA GEFORCE4"
Driver "nvidia"

Section "Device"
Identifier "NVIDIA GEFORCE4"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
VideoRam 32768
# Clock lines

# Uncomment following option if you see a big white block
# instead of the cursor!
# Option "sw_cursor"

Option "DPMS" "on"

(hint: I have changed some entries to nvidia; as described in the README-file; but without success)

I have downloaded the following 2 files from nvidia.com:


What have I made wrong:

rnf 12-22-02 10:01 AM

From your XFree86.9.log:

(**) | |-->Device "STB nvidia 128"
This doesn't match any entry of your XF86Config.test-4 which, BTW, seems totally bogus. No "EndSection" for the Monitor section, two Device sections with the same Identifier, no Screen section, ... Did you post it without any editing?
Also, why is your xserver log file named XFree86.9.log? Is this the only file named XFree86.* in /var/log and does its modification time match the time at which you started the xserver?

Andy Mecham 12-22-02 06:39 PM

Cards based on the Riva 128 chip (like the STB 128 series) are not supported by the accelerated NVIDIA driver. Only TNT and newer cards are supported.


All times are GMT -5. The time now is 09:30 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.