Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-18-07, 03:18 PM   #1
shepner
Registered User
 
Join Date: Apr 2007
Posts: 6
Default OpenGL problem 9746 driver

In trying to troubleshoot performance problems with a game I eventually came to the conclusion that it seems to be an openGL related problem and then found that glxgears was only getting about .49 FPS. This is a freshly installed system so this hasnt worked before. The hardware was working fine under windows until I reinstalled with FreeBSD. I used the current ports distribution to install everything. Does anyone have any ideas on what might be going on and how to fix it?

Here is the info for this computer:
-----------------------------------------------------------------------------
AMD Athalon64 3800+
nVidia GeForce 7800 GTX
FreeBSD 6.2 Stable, GENERIC kernel
-----------------------------------------------------------------------------
/var/db/pkg (shortened list):
compat5x-i386-5.4.0.8_7
kdebase-3.5.6_1
linux_base-fc-4_9
nvidia-driver-1.0.9746
nvidia-settings-1.0_10
nvidia-xconfig-1.0_1
xorg-clients-6.9.0_3
xorg-fonts-encodings-6.9.0_1
xorg-fonts-miscbitmaps-6.9.0_1
xorg-fonts-truetype-6.9.0
xorg-libraries-6.9.0_1
xorg-server-6.9.0_6
-----------------------------------------------------------------------------
%glxgears
7 frames in 12.0 seconds = 0.583 FPS
6 frames in 12.1 seconds = 0.497 FPS
6 frames in 12.1 seconds = 0.498 FPS
6 frames in 12.1 seconds = 0.497 FPS
6 frames in 12.1 seconds = 0.498 FPS
6 frames in 12.1 seconds = 0.498 FPS
^C
-----------------------------------------------------------------------------
%cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "extmod"
# Load "dri"
Load "glx"
Load "dbe"
Load "record"
Load "xtrap"
Load "vnc"
Load "type1"
Load "freetype"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 360 270 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 85.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
Identifier "Card0"
# Driver "nv"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 7800 GTX"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Option "PasswordFile" "/home/shepner/.vnc/passwd"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
-----------------------------------------------------------------------------
%glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
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,
GLX_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float
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_EXT_framebuffer_sRGB
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_EXT_texture_from_pixmap, GLX_ARB_multisample, GLX_NV_float_buffer,
GLX_ARB_fbconfig_float, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7800 GTX/PCI/SSE2/3DNOW!
OpenGL version string: 2.1.0 NVIDIA 97.46
OpenGL extensions:
GL_ARB_color_buffer_float, GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_fragment_shader, GL_ARB_half_float_pixel, GL_ARB_imaging,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shader_objects, GL_ARB_shading_language_100,
GL_ARB_texture_border_clamp, 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_float,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_transpose_matrix,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float,
GL_ATI_texture_mirror_once, GL_S3_s3tc, GL_EXT_texture_env_add,
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
GL_EXT_framebuffer_object, GL_EXT_gpu_program_parameters,
GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
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_shadow_funcs,
GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D,
GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map,
GL_EXT_texture_edge_clamp, 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_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_sRGB, GL_EXT_timer_query,
GL_EXT_vertex_array, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence,
GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program,
GL_NV_fragment_program_option, GL_NV_fragment_program2,
GL_NV_framebuffer_multisample_coverage, GL_NV_half_float,
GL_NV_light_max_exponent, GL_NV_multisample_filter_hint,
GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_pixel_data_range,
GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_register_combiners,
GL_NV_register_combiners2, GL_NV_texgen_reflection,
GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4,
GL_NV_texture_expand_normal, GL_NV_texture_rectangle,
GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3,
GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_NV_vertex_program2,
GL_NV_vertex_program2_option, GL_NV_vertex_program3,
GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum
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 4 24 8 16 16 16 16 0 0 None
[SNNIP]
0x140 32 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
-----------------------------------------------------------------------------
%more /boot/loader.conf
nvidia_load="YES"
linux_load="YES"
linprocfs_load="YES"
sound_load="YES"
snd_emu10k1_load="YES"
-----------------------------------------------------------------------------
"/etc/rc.conf" (shortened):
linux_enable="YES"
-----------------------------------------------------------------------------
%which glxgears
/usr/X11R6/bin/glxgears
%ldd /usr/X11R6/bin/glxgears
/usr/X11R6/bin/glxgears:
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x28082000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x28121000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28129000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28136000)
libm.so.4 => /lib/libm.so.4 (0x281f7000)
libpthread.so.2 => /lib/libpthread.so.2 (0x2820d000)
libc.so.6 => /lib/libc.so.6 (0x28232000)
libGLcore.so.1 => /usr/X11R6/lib/libGLcore.so.1 (0x28319000)
libnvidia-tls.so.1 => /usr/X11R6/lib/libnvidia-tls.so.1 (0x28c3c000)
libm.so.3 => /usr/local/lib/compat/libm.so.3 (0x28c3e000)
-----------------------------------------------------------------------------


Any help is appreciated!
stephen
shepner is offline   Reply With Quote
Old 04-18-07, 03:28 PM   #2
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: OpenGL problem 9746 driver

Try commenting out the line in your xorg.conf file that loads the vnc module (and then restarting X, of course).

Adam
adamk75 is offline   Reply With Quote
Old 04-18-07, 06:55 PM   #3
shepner
Registered User
 
Join Date: Apr 2007
Posts: 6
Default Re: OpenGL problem 9746 driver

I just tried it and no luck. If anything it just got (slightly) worse:

%glxgears
7 frames in 12.3 seconds = 0.571 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.0 seconds = 0.498 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.3 seconds = 0.488 FPS
6 frames in 12.3 seconds = 0.488 FPS

any other ideas??
stephen
shepner is offline   Reply With Quote
Old 04-18-07, 07:10 PM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: OpenGL problem 9746 driver

Is this a regression (i.e. did older drivers work OK)?
zander is offline   Reply With Quote
Old 04-18-07, 07:20 PM   #5
shepner
Registered User
 
Join Date: Apr 2007
Posts: 6
Default Re: OpenGL problem 9746 driver

These are the only drivers Ive used sofar. Should I try one of the earlier ones? I also noticed that there is a newer version (9755) on the web site

stephen
shepner is offline   Reply With Quote
Old 04-18-07, 07:25 PM   #6
frase
Registered User
 
Join Date: Apr 2007
Posts: 15
Default Re: OpenGL problem 9746 driver

The problem is related to the composite extension. See this thread for more info:

http://www.nvnews.net/vbulletin/showthread.php?t=81863

t
frase is offline   Reply With Quote
Old 04-18-07, 07:32 PM   #7
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: OpenGL problem 9746 driver

That's odd. Someone in that thread asked if anyone had gotten GLX + Composite to work together properly with 9746. I have, both with 9746 and 9755. I've experienced no problems with glx and composite enabled at the same time on two different FreeBSD systems running Xorg 7.2

Adam
adamk75 is offline   Reply With Quote
Old 04-18-07, 07:52 PM   #8
shepner
Registered User
 
Join Date: Apr 2007
Posts: 6
Default Re: OpenGL problem 9746 driver

well, that made a big difference for glxgears:

%glxgears
83217 frames in 5.0 seconds = 16643.297 FPS
83322 frames in 5.0 seconds = 16664.150 FPS
83333 frames in 5.0 seconds = 16666.509 FPS
82792 frames in 5.0 seconds = 16558.271 FPS
83313 frames in 5.0 seconds = 16662.527 FPS

Are those numbers about what I should expect to see?

The game (http://www.wurmonline.com/client/wurmclient.jnlp) is definitely faster now and I can run it more at the default settings with only a little bit of jerkiness. still not as good as under Windows but definitely playable now. IM guessing the rest of my performance problems are now probably in other areas (java)

thanks!!
stephen
shepner is offline   Reply With Quote

Old 04-18-07, 11:08 PM   #9
shepner
Registered User
 
Join Date: Apr 2007
Posts: 6
Default Re: OpenGL problem 9746 driver

Quote:
Originally Posted by adamk75
I've experienced no problems with glx and composite enabled at the same time on two different FreeBSD systems running Xorg 7.2
Perhaps they fixed that problem in the more recent versions of Xorg? Im running 6.9 here

stephen
shepner is offline   Reply With Quote
Old 04-19-07, 06:00 AM   #10
frase
Registered User
 
Join Date: Apr 2007
Posts: 15
Default Re: OpenGL problem 9746 driver

Quote:
Originally Posted by shepner
well, that made a big difference for glxgears:

%glxgears
83217 frames in 5.0 seconds = 16643.297 FPS
83322 frames in 5.0 seconds = 16664.150 FPS
83333 frames in 5.0 seconds = 16666.509 FPS
82792 frames in 5.0 seconds = 16558.271 FPS
83313 frames in 5.0 seconds = 16662.527 FPS

Are those numbers about what I should expect to see?
Seems reasonable to me... I get over 8000 fps on my system. When Composite is disabled that is...

t
frase is offline   Reply With Quote
Old 04-19-07, 06:04 AM   #11
frase
Registered User
 
Join Date: Apr 2007
Posts: 15
Default Re: OpenGL problem 9746 driver

Quote:
Originally Posted by shepner
Perhaps they fixed that problem in the more recent versions of Xorg? Im running 6.9 here

stephen
nah, I'm running 7.2 but have that problem.

Quote:
Originally Posted by adamk75
I've experienced no problems with glx and composite enabled at the same time on two different FreeBSD systems running Xorg 7.2

Adam
would you be so kind to post your xorg.conf? maybe also your kernel config? and are you using nVidia or FreeBSD AGP?

t
frase is offline   Reply With Quote
Old 04-19-07, 07:20 AM   #12
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: OpenGL problem 9746 driver

I'm using a GENERIC kernel, and here's my xorg.conf file:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Oct 16 22:13:07 PDT 2006

Section "ServerLayout"
Identifier "Layout[all]"
Screen "Screen0" 0 0
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "Mouse[1]" "CorePointer"
Option "Clone" "off"
Option "Xinerama" "off"
EndSection

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/decoratives"
FontPath "/usr/X11R6/lib/X11/fontsetype"
FontPath "/usr/X11R6/lib/X11/fontse1/gsfonts"
FontPath "/usr/X11R6/lib/X11/fontsetype/openoffice"
FontPath "/usr/X11R6/lib/X11/fontsetype/ttf-bitstream-vera"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "glx"
Load "type1"
Load "extmod"
Load "dbe"
Load "freetype"
Load "v4l"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "pc104"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "7"
Option "Device" "/dev/sysmouse"
Option "Name" "Belkin USB-PS2 Adapter"
Option "Protocol" "sysmouse"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "VIEWSONIC"
ModelName "PF790"
UseModes "Modes[0]"
DisplaySize 305 230
Option "CalcAlgorithm" "XServerPool"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7900"
Option "AddARGBGLXVisuals" "true"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024,NULL; 1152x864,1152x864, 1152x864,NULL; 1024x768,1024x768; 1024x768,NULL; 800x600,800x600; 800x600,NULL; 640x480,640x4
80; 640x480,NULL"
Option "SecondMonitorHorizSync" "30-85"
Option "SecondMonitorVertRefresh" "48-120"
Option "TwinViewOrientation" "RightOf"
Option "AddARGBGLXVisuals" "True"
Option "TwinView" "1"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "True"
EndSection
adamk75 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-16-12 07:35 AM
NVIDIA R302.80 Beta Driver for Windows 8, New OpenGL Extensions News Archived News Items 0 06-15-12 10:30 AM
Graphics driver installation problem (your comments will be highly appreciated) apuurboo NVIDIA GeForce 400/500 Series 0 06-13-12 07:58 AM
openGL driver considered to be cheat by VALVE birkoff NVIDIA Linux 3 08-08-02 07:52 AM
Problem with Ethernet (nvnet) driver for RH 7.3 bernz NVIDIA Linux 4 08-05-02 10:18 AM

All times are GMT -5. The time now is 02:34 AM.


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