PDA

View Full Version : need a help ! RH 8.0 kernel 2.4.18-19.8.0 G


vvnnyc
01-14-03, 06:14 PM
Hi,
My Kernel is 2.4.18-19.8.0. I am beginer in Linux. After I executed nv _check.sh.txt I got this :
Welcome to the NVidia Driver Installation Checker.
This shell script is meant to help you debug your installation
of the beta NVidia Linux drivers. It is not 100% foolproof.
In particular, you will definitely want to make sure you have
the correct options in your XF86Config to make X work properly.
This script cannot debug your X setup. That being said, it
should prove useful if are having problems with the drivers and
want to check the validity of your driver install.

At no time will this script EVER make changes to your system.
It is simply a diagnostic tool - fixes of any kind will have to
come from you.

Press enter to continue...

OK, the first thing we need to do is make sure your XF86Config file
is set up correctly. In order to do this, I'm first going to try
and find where this file might be...
checking /usr/X11R6/lib/X11/XF86Config...
found
checking /usr/X11R6/etc/X11/XF86Config...
not found
checking /etc/XF86Config...
not found
checking /etc/X11/XF86Config...
found
checking /etc/X11/XF86Config-4...
not found
I'm going to be doing my checking using /etc/X11/XF86Config. If this is not
actually your X config, then quit this script with Ctrl-C, remove
or rename the file, then run this script again.
Press enter to continue

I'm going to check your XF86Config file for the following things:
1) Loading the GLcore and glx modules
2) Specifying the nvidia driver instead of nv

Checking for the Load glx statement...
Load "glx"
It seems to be intact. Now lets see if you're loading the correct
video driver...
Driver "nvidia"
Everything seems fine in your X config file. This is not 100%
guaranteed to be accurate, but lets continue anyway (press enter)...

The next step involves making sure you have the proper files in
the right places, and that the kernel module loaded correctly.
Press enter to begin the test.

First lets make sure you don't have the old modules still present
by mistake...
Checking /usr/X11R6/lib/modules/extensions/libglx.a...
Checking /usr/X11R6/lib/modules/extensions/libGLcore.a...
You don't appear to have any conflicting older drivers. Now lets check
if the new driver files are in place...
Checking /usr/X11R6/lib/modules/drivers/nvidia_drv.o...
Checking /usr/X11R6/lib/modules/extensions/libglx.so...
Checking /usr/lib/libGL.so...
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005b000)
Checking /usr/lib/libGLcore.so.1...
All the files seem to exist. Now I'm going to see if your kernel
module is loaded correctly...
the NVdriver kernel module does not seem to be loaded. The 3D
drivers will not work without it...please compile it for your
kernel, set it up to insert the module on boot, then run
this script again.
Remember if you are having trouble compiling the module,
try adding -D_LOOSE_KERNEL_NAMES to the Makefile.

My problem is I don't know how I can compile NVdriver kernel module for my kernel and set it up to insert the module on boot.
Somebody help me,plz ! :)
I used
rpmbuild --rebuild VIDIA_kernel-1.0-4191.src.rpm
rpm -ivh usr/src/redhat/RPMS/i386/NVIDIA_kernel-1.0-4191.i386.rpm
rpm -ivh NVIDIA_GLX-1.0-4191.i386.rpm
I can see NVIDIA log screen before I log in.
Thank you so much..

bwkaz
01-14-03, 06:47 PM
If you're using driver 4191, the problem is most likely with the nv_check.sh script. It only checks for a kernel module name of "NVdriver", which was the name of the module in release 3123 and previous. nVidia decided to be fun and change the name of the module with the release of 4191 (little friendly jab at the developers there... ;)), and it's caused headaches like this ever since.

So... you're probably OK anyway, especially if you can see the nVidia logo screen. If you really want, you can open up the nv_check.sh script in a text editor, search and replace "NVdriver" to "nvidia" (without the quotes), and rerun the checker, but I'm not entirely sure that's necessary.

vvnnyc
01-14-03, 07:30 PM
Thank you,bwkaz!
I checked and replace nv_check script and got the same result . Is there a way to check did I install it correct or not? And how can I check I am able to run 3D?
Thanx a lot .

bwkaz
01-14-03, 08:25 PM
What does lsmod after you've started up X tell you? Does it list nvidia?

If so, that's all that the script is looking for at that point. If you want, I have a version that may do a little better; I'll attach it here.

vvnnyc
01-14-03, 08:26 PM
I executed this:
rpm -qa | grep kernel

and got this :
kernel-2.4.18-19.8.0
kernel-pcmcia-cs-3.1.31-9
kernel-source-2.4.18-19.8.0
NVIDIA_kernel-1.0-4191
kernel-2.4.18-14

Does that mean I installed Nvidia correct? and one more question, I can see kernel-2.4.18-14.So,do Ineed this kernel or not, if not how can remove it?
Thanx again :)
P.S it so hard to be a beginer in Linux,you know :)))

vvnnyc
01-14-03, 08:49 PM
Thanx for yor script.
after I exec it I commented Load "dri".Then run thic script again .Well, everythig looks fine.But anyway,:) how can I know I can run 3D?
Where do I need to use lsmod ?

Wolfman [TWP]
01-14-03, 08:58 PM
try running 'glxgears', that will tell you that the 3D is working, or even run TuxRacer..

vvnnyc
01-14-03, 09:37 PM
I run this 'glxgears' and it's working. So,that means I have 3D working properly?

Wolfman [TWP]
01-14-03, 10:48 PM
Yeap! If glxgears runs, then the 3D stuff is working. Run TuxRacer, as it uses 3d Accel, and if that works, then it's most definately working...

vvnnyc
01-14-03, 11:01 PM
TuxRacer: command not found
what I do wrong?

vvnnyc
01-14-03, 11:22 PM
if I installed right (i still dont know that :) ) is in Display settings an option Enable Hardware 3D Acceleration gonna be enable or not?
Who knows that?

LordMorgul
01-15-03, 04:19 AM
If, when you login, you see the Nvidia splash screen, then you are INDEED running the nvidia video driver. Whether 3d acceleration will work could be more complicated, but if the driver is running, then you are most likely ready to go. The best way to be sure is to install a game and see if you get 0.005 fps or something more reasonable :-D

Running 'glxinfo' will tell you if openGL acceleration is possible in hardware for the system as it is currently running, you should see the line:
direct rendering: Yes


If you've got the driver running, which it appears to be :-D then Hardware acceleration will be taking place, its not necessary to go click any check boxes. It is possible to adjust many things with driver options in your config file /etc/X11/XF86Config however. The nvidia FAQ has these options given for you.

Wolfman [TWP]
01-15-03, 06:39 AM
Since your running RH8.0, you should find the TuxRacer game in your extras/games menu.

Also as LordMorgul mentioned in his post. Check those and all should be ok.

bwkaz
01-15-03, 07:03 AM
Originally posted by vvnnyc
is in Display settings an option Enable Hardware 3D Acceleration gonna be enable or not? Not on RedHat. That "display settings" GUI program doesn't have a clue how the nVidia drivers work, so it won't let you enable 3D acceleration using it (it doesn't know how to do it).

However, as posted by others, if glxgears gives decent frame rates, and if tuxracer is playable at all (you may not have it installed -- if not, the packages are on the RH CDs somewhere), then you have 3D working. The glxinfo test is a good one as well.

vvnnyc
01-15-03, 04:10 PM
I've got this after I run : 'glxinfo'

name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
GLX_SGIX_swap_group, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_NV_float_buffer
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX 440/AGP/SSE
OpenGL version string: 1.4.0 NVIDIA 41.91
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
GL_S3_s3tc, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_fence, GL_NV_fog_distance, GL_NV_light_max_exponent,
GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_NV_register_combiners, GL_NV_texgen_reflection,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NVX_ycrcb, GL_SGIS_generate_mipmap,
GL_SGIS_multitexture, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r y . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x2a 24 tc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2c 24 tc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x2d 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x2f 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x31 24 dc 0 32 0 r y . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x32 24 dc 0 32 0 r y . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x33 24 dc 0 32 0 r . . 8 8 8 0 0 16 0 16 16 16 16 0 0 None
0x34 24 dc 0 32 0 r . . 8 8 8 8 0 16 0 16 16 16 16 0 0 None
0x35 24 dc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x36 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x37 24 dc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x38 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None

Also, Installed and run tuxrace game. It'
s working. Finally, I am sure I have installed vieo card properly and it works.
Just want to say THANKX A LOT to everybody who helped me !!!
I've successfully installed Oracle9i on RH 8.0 if somebody needs help ask me , I 'll tell you all I know.
Last thing,after I upgrated my kernel from 18-14 to 18-19 ,I stiil can see 18-14 when I start up. Do I need it or I can remove it? If not, how can I delete old kernel?
thank you again,guys !!!

bwkaz
01-15-03, 05:51 PM
You don't need the old kernel anymore AFAIK, but I don't know how to remove it, either, so... yeah.

*shrug*

Wolfman [TWP]
01-15-03, 08:17 PM
You don't really need to remove the old kernel. It's left there so that if the new one causes any problems, you still have the option to boot back to the old kernel. I usually leave one old kernel installed, and remove the others. (Just in case there is a problem with the new kernel)

vvnnyc
01-15-03, 09:23 PM
Thanks !

But just in case , if I'll need to remove old kernel which a way do I have to use?
Is that rigt I can't see 'nvidia' driver in 'display settings' and 'color depth' is 24 bit, not more and name of the video card is the same -'nvidia geforce 4 (generic)?- my last questions, guys :))

Wolfman [TWP]
01-15-03, 10:40 PM
To remove the old kernel do the following:-

rpm -qa kernel

This will list all the kernels which are installed.

rpm -e kernel-2.4.x-xx (Which ever the old version you want to remove)

Surprising enough, the removal also removes it from the Grub boot list (Defaulf RH8.0 boot loader)

And that's it.. :D

vvnnyc
01-15-03, 10:51 PM
thanks a lot again,Wolfman [TWP]. :))

Wolfman [TWP]
01-15-03, 10:53 PM
no probs - :)