LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Problem with 3D acceleration on NVIDIA graphic card (https://www.linuxquestions.org/questions/linux-hardware-18/problem-with-3d-acceleration-on-nvidia-graphic-card-685423/)

ac99 11-22-2008 03:34 PM

Problem with 3D acceleration on NVIDIA graphic card
 
Hi there,

I've installed Mandriva One 2009 on my computer, updated all packages and setting NVIDIA driver, but I can't see a youtube vídeo or running stellarium like in Windows, because here it's slow and with a lot of lags... even tuxracer or google earth have lags!

This computer have an old GeForce 2 MX 200, but it's the same that Windows use and there I can running everything I mentioned before perfectly.

Am I missing something? The driver isn't ok? I need some 3D accelerator here in Mandriva?

Next i'll post my glxinfo and Xorg.conf, maybe could help you to help me:

Code:

name of display: :93.0
display: :93  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig
client glx vendor string: NVIDIA Corporation
client glx version string: 1.4
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_ARB_fbconfig_float,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_SGIX_fbconfig,
    GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce2 MX/AGP/SSE/3DNOW!
OpenGL version string: 1.2 (1.5.8 NVIDIA 96.43.07)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
    GL_ARB_point_sprite, 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_vertex_program, GL_ARB_window_pos,
    GL_EXT_texture_env_add, 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_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, 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_env_dot3, GL_EXT_texture_lod, GL_EXT_texture_lod_bias,
    GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_IBM_texture_mirrored_repeat, GL_NV_blend_square,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod

  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
----------------------------------------------------------------------
0x2c 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0 993079357 1668048430 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0 859517232 1031304809 None
0x2e 32 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0 859516976 1031102766 Ncon
0x2f 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0 993013821 1986098990 Ncon

Code:

# File generated by XFdrake (rev 247269)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    #DontZap # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Disable "dri"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
EndSection

Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "pt"
    Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName " FX700"
    HorizSync 30-69
    VertRefresh 50-100
 
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"    50.00  768  832  846 1000  576  590  595  630
 
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"    63.07  768  800  960 1024  576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce 3 to GeForce 4"
    Driver "nvidia"
    Option "DPMS"
    Option "DynamicTwinView" "false"
    Option "AddARGBGLXVisuals"
    Option "IgnoreEDID" "1"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
 
    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
 
    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
 
    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
 
    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
EndSection

I've googled a lot and I can't find any solution to this...

Thanks in advance!
Regards from Portugal

Electro 11-22-2008 04:13 PM

You have to downgrade the nVidia driver or else upgrade the video card to a GeForce6 6200. Check nVidia's supported hardware list.

johnson_steve 11-22-2008 04:22 PM

You probably need the legacy driver.

Eectro: why did you say a 6200? is that the oldest card supported by the current driver or just what you have?

ac99 11-22-2008 05:28 PM

Thanks for the reply's

How can I get this legacy driver?

I've tried to install the one that is provided in NVIDIA website, but it always say "Unable to build the NVIDIA kernel module" (I do that in init 3).

I'm a newbie with Linux so I don't have compiled kernel myself, that's a fresh install of Mandriva One...

Any help is appreciated :)

johnson_steve 11-22-2008 05:35 PM

If the legacy driver isn't available from your package manager you need to use the one from the nvidia site. the reason it can't build is you don't have the kernel source package installed. you don't need to build your own kernel but the source for your kernel has to be there so the driver can be compiled against it. look in your package manager for a kernel source package for your kernel install it and try the nvidia installer again. I looked it up everything geforce4 and older needs the legacy driver everything geforce5 and newer needs the new one (as of today.)

Electro 11-22-2008 07:37 PM

For a Linux novice with an old video card, I suggest use CentOS. CentOS applies the latest patches for 2.6.x kernel with out changing the version and the programing structure of 2.6.9. In simpler terms, 2.6.26 programing and its structure is completely different compared to 2.6.9. The old nVidia drivers does not work with kernels higher than 2.6.9.

Changing the X Window Driver from nvidia to nv should give you the ability to see flash animations. 3D acceleration will be limited.

I recommend always try to find the nVidia driver in Mandriva package manager before installing it manually. nVidia complies to the POSIX rules while some Linux distributions does not. Just match the version in the package manager to the one that nVidia saids it is supported by your card.

Using the following command can give you the device ID of your card to be sure the driver version works.

/sbin/lspci -nn

or

/usr/sbin/lspci -nn

The following is a line taken from my setup using the command above and the device ID is in bold.

01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8400M GS [10de:0427] (rev a1)


Quote:

Originally Posted by johnson_steve (Post 3351247)
You probably need the legacy driver.

Eectro: why did you say a 6200? is that the oldest card supported by the current driver or just what you have?

It is better than GeForceFX at the same price and for AGP slot. A GeForce7 or a GeForce8 does not come in AGP versions, so a GeForce6 is what I suggest and it is still supported with that driver version.

johnson_steve 11-22-2008 07:53 PM

Ahh, I see. I just bought a fx5200 'cause it was the only nvidia pci card I could find with 2 vga outs and a tv-out this compliments my onboard 6150se for 3vga outs and the tv you worried me that it would need the legacy driver.

wizardhat 11-22-2008 07:54 PM

Quote:

Originally Posted by Electro (Post 3351399)
A GeForce7 or a GeForce8 does not come in AGP versions

I don't know about the 8s but the 7s certainly do.

http://img392.imageshack.us/img392/3...eengrabkm4.png

ac99 11-24-2008 02:34 PM

Thanks for the reply's,

At Mandriva Forums they suggest me to disable 3D Desktop, and in fact, now all programs and flash games are running well.

It appears that I need other graphic card. What you suggest? Don't need anything extraordinary cause I'm not a gammer or anything.


All times are GMT -5. The time now is 01:37 AM.