Bug 147009

Summary: NVIDIA driver for legacy graphics cards (version 7174) doesn't compile.
Product: [openSUSE] SUSE Linux 10.1 Reporter: Christopher Hofmann <cwh>
Component: X11 3rd PartyAssignee: Stefan Dirsch <sndirsch>
Status: VERIFIED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Normal    
Priority: P5 - None CC: aritger, azerion, vkhaitan
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Log after failing kernel module compilation.

Description Christopher Hofmann 2006-01-31 17:23:15 UTC
I have a Geforce2 gfxcard in my system, therefore I have to use the a bit outdated NVIDIA driver version 7174.

When I try to install that one on my system it fails because of compilation errors of the kernel module.

As mentioned in http://www.suse.de/~sndirsch/nvidia-installer-HOWTO.html I tried to apply some patches to the driver's sources.
Applying patches 8174-1423627 and 8174-1427453 failed. The other ones (8178-1444349, 8178-1449645 and 8174-1438624) applied successfully.

However, complilation failed again.  See attached nvidia-installer.log for details.
Comment 1 Christopher Hofmann 2006-01-31 17:24:18 UTC
Created attachment 65900 [details]
Log after failing kernel module compilation.
Comment 2 Stefan Dirsch 2006-01-31 17:29:13 UTC
Andy, just to let you know, that there are still guys, who want to use older NVIDIA cards with newer kernels (2.6.15). Any plans to update the legacy driver for this?
Comment 3 Stefan Dirsch 2006-02-13 08:23:06 UTC
*** Bug 150271 has been marked as a duplicate of this bug. ***
Comment 4 Vinay Khaitan 2006-02-13 11:32:48 UTC
I remember that there is a MACRO to newer unified drivers, which, if defined, works for legacy drivers. Anyone here know?
Comment 5 andy ritger 2006-02-14 01:09:41 UTC
We hope to release an updated legacy driver in the future, such that the legacy driver can be used with more recent kernels.  I do not have an ETA on a legacy driver update, though.

Sorry,
- Andy
Comment 6 Azerion Fagonda 2006-02-14 01:19:21 UTC
But could you please give us some more information?

1.) Why does it take so long?
2.) Wouls it be within 3 month, half a year or within a year?

Don't want to rush you, but people will have a bad suprise as soon if they find out that the driver is broken for the newest kernel that ships with openSUSE. Checkout Xgl+Compiz, that is new stuff that will be important for Linux I think. Vista candy needs DirectX 9 (=new hardware), Max OS X needs...mac, but Linux can show some candy on old cards! Well...that is what it seems to promise. But: we need to load the nvidia-module for that.

I think Linux will be the eye-candy OS for older systems with Xgl and Compiz. But we depend on YOU :-D
Comment 7 Azerion Fagonda 2006-03-24 00:17:55 UTC
Andy Ritger, any updates on this subject?
Comment 8 andy ritger 2006-03-24 02:16:40 UTC
Hi Azerion, I have not update, yet.  We still hope to provide an updated legacy driver in the near future.

Thanks.
Comment 9 Azerion Fagonda 2006-03-24 09:03:32 UTC
"We hope to release an updated legacy driver in the future"

to

"We still hope to provide an updated legacy
driver in --the near-- future."

Thats an nice update :-)

Comment 10 Azerion Fagonda 2006-04-08 11:36:08 UTC
Reading the new manual:

"Below are the legacy GPUs that are no longer supported in the unified driver. These GPUs will continue to be maintained through the special legacy NVIDIA GPU driver releases."

Is there alleready such a release or is it really near? Of none of both options?
Comment 11 andy ritger 2006-04-10 05:35:07 UTC
We hope to release an updated legacy driver in the near future.  Currently, 1.0-7174 is the most recent driver from our legacy GPU driver branch.

Thanks,
- Andy
Comment 12 Stefan Dirsch 2006-05-17 12:50:24 UTC
Christopher, Azerion, Vinay, did you already give the patch

http://www.aragog.com/~paul/homedir/NVIDIA-Linux-x86-1.0-7174-pkg0-opensuse-10.1-i386.patch

(mentioned on http://en.opensuse.org/NVIDIA#Legacy_chipset_support) a try?
Comment 13 Deni Jelicic 2006-05-24 01:45:16 UTC
I have followed the instructions and I have successfully installed the nvidia driver for a RIVA TNT2 Model 64/Model 64 Pro card. I have tried Xgl and it starts up unfortunately compiz does not work it complains with this error message 

compiz: Support for non power of two textures missing
compiz: Failed to manage screen: 0
compiz: No managable screens found on display :1

I am running the released version of OpenSuse 10.1

Thanks again for enabling the nvidia driver to work the performance is much better. Hopefully compiz will be able to run for it soon

Deni.
Comment 14 Azerion Fagonda 2006-05-24 02:36:17 UTC
Yeah I found that allready (yesterday). Xgl+Compiz is really slick (and smooth at a 733mhz PC!). Could someone rewrite the tutorial? The story is not chronologic anymore and I miss some information (editting /etc/X11/xorg.conf is nice, but Joe Avarage has no idea how he shouuld do that without X running). I don't have time for it and I am not a native or good english speaker/writer.

I have added the following:
=================================
cp NVIDIA-Linux-x86-1.0-7174-pkg0/usr/src/nv/makedevices.sh /usr/sbin
echo /usr/sbin/makedevices.sh >> /etc/rc.d/rc.local
=================================

That should fix the problem of missing devices after a restart.

Comment 15 Christopher Hofmann 2006-05-24 07:39:39 UTC
I don't have a working system ith a NV legacy card at the moment. But after Deni and Azerion are reporting this working I gues I can close this bug as FIXED.
Comment 16 David Reveman 2006-05-24 09:03:01 UTC
(In reply to comment #13)

Compiz needs support for either GL_NV_texture_rectangle or GL_ARB_texture_non_power_of_two. If your card/driver doesn't support one of those extensions it's nothing we can do, compiz will likely never work with that card. Sorry.
Comment 17 Stefan Dirsch 2006-05-24 10:09:41 UTC
Deni, check with glxinfo, which extensions are available.
Comment 18 Deni Jelicic 2006-05-25 10:41:06 UTC
Hi Stefan,

This is the output from glxinfo. Unfortunately I cannot see the two extensions that David has written. I think its time to buy a new card.   

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, GLX_SGI_video_sync, GLX_SGI_swap_control
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_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: RIVA TNT2/AGP/SSE2
OpenGL version string: 1.5.3 NVIDIA 71.74
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_texture_env_add, GL_ARB_texture_mirrored_repeat,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos,
    GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
    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_pixel_buffer_object, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fog_distance,
    GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_SGIS_multitexture,
    GL_SUN_slice_accum

   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  4 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2a 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x2b 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x2d 24 dc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2f 24 dc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x30 24 dc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
Comment 19 Stefan Dirsch 2006-05-25 13:30:15 UTC
> I think its time to buy a new card.   
Yes, at least when you're interested in using compiz/Xgl.