View previous topic :: View next topic |
Author |
Message |
ryu n00b

Joined: 15 Apr 2003 Posts: 33
|
Posted: Fri Apr 25, 2003 11:04 am Post subject: nvidia enabled already? |
|
|
Hi all.. I know I am being quite silly or panaroid towards myself to ask about this.
I have followed the instructions given in the nvidia guide on gentoo website. And, my computer detected the nvidia all right. But, I am still not convinced whether is my graphics card in full usage supporting 3dimensional stuffs like that. How do I know if it is more than a normal graphics card? Below are some parts of my XF86 logs.
**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NvAGP" "2"
(**) NVIDIA(0): Use of AGPGART requested
(--) NVIDIA(0): Linear framebuffer at 0xE8000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce4 MX 440
(--) NVIDIA(0): VideoRAM: 65536 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0, TV-0
(--) NVIDIA(0): Detected TV Encoder: NVIDIA
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0): using first display
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 350 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 350 MHz
But, later part it goes :
(WW) NVIDIA(0): Failed to verify AGP usage
(II) NVIDIA(0): Setting mode "800x600/72Hz"
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
I mean i am using NVAGPGART, so is it ok if nvidia failed to verify AGP usage?  _________________ Life's happiness is in your hands |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri Apr 25, 2003 11:07 am Post subject: |
|
|
Moved from Installing Gentoo.
BTW. with 'glxinfo' you should be able to check if direct rendering is used. If it is not, post the XF86Config too and specify what kernel, nvidia-kernel and nvidia-glx you are using. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
ryu n00b

Joined: 15 Apr 2003 Posts: 33
|
Posted: Fri Apr 25, 2003 11:40 am Post subject: |
|
|
I am using i686 Intel(R) Pentium(R) 4 CPU 1.80GHz GenuineIntel GNU/Linux Gentoo Kernel 2.4.20. Nvidia GEFORCE4 MX440-SE card. Using these packages.
* media-video/nvidia-glx
Latest version available: 1.0.4349
Latest version installed: 1.0.4349
Size of downloaded files: 4,097 kB
Homepage: http://www.nvidia.com/
Description: XFree86 GLX libraries for the NVIDIA's X driver
* media-video/nvidia-kernel
Latest version available: 1.0.4349-r2
Latest version installed: 1.0.4349-r2
Size of downloaded files: 648 kB
Homepage: http://www.nvidia.com/
Description: Linux kernel module for the NVIDIA's X driver
After I issue the command `glxinfo` it returns the following:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: unable to open display (null)
Related Parts of my XF86Config :
Section "Module"
Load "glx"
Load "bitmap"
Load "freetype"
Load "extmod"
Load "type1"
Load "dbe"
EndSection
Section "Device"
Identifier "Nvidia GEFORCE4 MX440-SE"
Driver "nvidia"
VideoRam 64
BusID "PCI:1:0:0"
vendorname ""
boardname ""
EndSection
Section "Screen"
# The Identifier, Device and Monitor lines must be present
Identifier "Screen 1"
Device "Nvidia GEFORCE4 MX440-SE"
Monitor "SyncMaster 151s"
Option "NvAgp" "2"
# The favoured Depth and/or Bpp may be specified here
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "800x600/72Hz" "640x480"
ViewPort 0 0
Virtual 800 600
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600/72Hz" "640x480"
Virtual 800 600
EndSubsection
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
RgbPath "/usr/X11R6/lib/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection _________________ Life's happiness is in your hands |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri Apr 25, 2003 11:46 am Post subject: |
|
|
ryu wrote: | After I issue the command `glxinfo` it returns the following:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Error: unable to open display (null) |
You should run 'glxinfo' as the user who started Xfree. _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
ryu n00b

Joined: 15 Apr 2003 Posts: 33
|
Posted: Fri Apr 25, 2003 12:01 pm Post subject: |
|
|
Thanks for your fast reply! I am also wondering how come i dont see anything nv modules inside my menuconfig.
oh ok! Here's the result of 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/PCI/SSE2
OpenGL version string: 1.4.0 NVIDIA 43.49
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_buffer_object,
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 _________________ Life's happiness is in your hands |
|
Back to top |
|
 |
bsolar Bodhisattva


Joined: 12 Jan 2003 Posts: 2764
|
Posted: Fri Apr 25, 2003 12:23 pm Post subject: |
|
|
ryu wrote: | Thanks for your fast reply! I am also wondering how come i dont see anything nv modules inside my menuconfig. |
Because nvidia provides his own modules.
Code: | name of display: :0.0
display: :0 screen: 0
direct rendering: Yes |
It seems that 3D acceleration is working, you might try glxgears to double-check that. If you get reasonable framerates, it works.
Probably, from what I readed in your Xfree log, AGP is not enabled because of some error. You might check that AGPGART is enabled in your kernel as module (and that the support for your chipset is enabled, you can check your AGP chipset with 'lspci').
Then add in your card section in XF86Config this option:
'#' might be:
0 : disable agp
1 : use NVIDIA's internal AGP support, if possible
2 : use AGPGART, if possible
3 : use any agp support (try AGPGART, then NVIDIA's AGP) _________________ I may not agree with what you say, but I'll defend to the death your right to say it. |
|
Back to top |
|
 |
ryu n00b

Joined: 15 Apr 2003 Posts: 33
|
Posted: Fri Apr 25, 2003 12:33 pm Post subject: |
|
|
Ok I did have agpgart enabled in my kernel config . I guess the agp is not verified because one can only choose between using nvagp OR agpgart. Thats why its saying in the logs that its not verified? I did see a really cool 3-D graphics yeah.. but are these values reasonable?
6070 frames in 5.0 seconds = 1214.000 FPS
7404 frames in 5.0 seconds = 1480.800 FPS
7422 frames in 5.0 seconds = 1484.400 FPS
 _________________ Life's happiness is in your hands |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|