Ik heb de laatste tijd zo'n slechte performance in opengl-applicaties onder archlinux/x.org... ik gebruik geen dingen als xcompmgr, ik denk dat het sinds een update is van een nvidia driver is ofzo... glxgears heeft een FPS van 275 !!! en glquake? haha... 0.25 fps ofzo. Ik weet wel dat hij de nvidia driver gebruikt... ik heb overigens wel twee screens in mijn xorg.conf, omdat ik soms meerdere grafische sessies tegelijk wil houden op mijn computer. Zou dat de boel vertragen (ook als er maar een sessie actief is) ?
Nee dat volgens mij niet, ik heb ook 2 screens en heb een FPS van 2082.000Verwijderd schreef op woensdag 02 maart 2005 @ 11:20:
ik heb overigens wel twee screens in mijn xorg.conf, omdat ik soms meerdere grafische sessies tegelijk wil houden op mijn computer. Zou dat de boel vertragen (ook als er maar een sessie actief is) ?
(Duron800mhz Gforce4 Ti 4200 @ x.org ubuntu)
[ Voor 6% gewijzigd door razor-x op 02-03-2005 11:30 ]
Waarschijnlijk gebruikt X de softwarematige OpenGL lib in plaats van die van NVidia. Aangezien ik nu niet thuis ben kan ik even niet opzoeken hoe je dat verandert, maar ik denk dat je het in die richting moet zoeken.
Probeer voor de grap eens op google in te tikken 'nvidia linux opengl slow', als daar geen tips te vinden zijn dan weet ik het ook niet meer
Probeer voor de grap eens op google in te tikken 'nvidia linux opengl slow', als daar geen tips te vinden zijn dan weet ik het ook niet meer
[ Voor 26% gewijzigd door Wilke op 02-03-2005 11:50 ]
Als je opengl update hebt zou het draaien van onderstaande
Dat doet niet meer dan de juiste gl libs linken
code:
1
| opengl-update nvidia |
Dat doet niet meer dan de juiste gl libs linken
"For my friends, anything; for my enemies, the law."
Check eens met 'glxinfo' of je wel hardwareversnelling hebt, zo niet check je Xorg.0.log waarom niet. Misschien ben je vergeten de nvidia opengl libs te installeren, maar daar valt zo weinig definitiefs over te zeggen.
Everyone complains of his memory, no one of his judgement.
Dit staat o.a. in mijn glxinfo-output
----------------------------------------------------------------------------------------------------------------
direct rendering: No
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
----------------------------------------------------------------------------------------------------------------
Er staat idd iets van indirect rendering.. zal wel softwarematig zijn dan.
En dit staat in mijn Xorg.0.log:
(II) LoadModule: "GLXCore"
(WW) Warning, couldn't open module GLXCore
(II) UnloadModule: "GLXCore"
(EE) Failed to load module "GLXCore" (module does not exist, 0)
en ik denk dat dat het is. Ik snap alleen niet of het nu een kernel-module is of een ander iets wat met X.org te maken heeft... iig is het niet iets wat ik als package kan installeren of zo. Ik zou trouwens ook niet weten met wat voor verandering (kernel upgrade of x.org upgrade) het gebeurde... zovaak gebruik ik glx dingen nu ook weer niet.
----------------------------------------------------------------------------------------------------------------
direct rendering: No
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
----------------------------------------------------------------------------------------------------------------
Er staat idd iets van indirect rendering.. zal wel softwarematig zijn dan.
En dit staat in mijn Xorg.0.log:
(II) LoadModule: "GLXCore"
(WW) Warning, couldn't open module GLXCore
(II) UnloadModule: "GLXCore"
(EE) Failed to load module "GLXCore" (module does not exist, 0)
en ik denk dat dat het is. Ik snap alleen niet of het nu een kernel-module is of een ander iets wat met X.org te maken heeft... iig is het niet iets wat ik als package kan installeren of zo. Ik zou trouwens ook niet weten met wat voor verandering (kernel upgrade of x.org upgrade) het gebeurde... zovaak gebruik ik glx dingen nu ook weer niet.
boven dat stukje uit het xorg log stond trouwens nog dit:
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
Zorg dat je de kernel module geladen hebt (kun je zien met lsmod) en kijk even of dri en glx tussen de modules staan in je xorg.conf.
En als de kernel module geladen is en glx en dri in je xorg.conf staan zou "opengl-update nvidia" de boel weer recht moeten zetten.
En als de kernel module geladen is en glx en dri in je xorg.conf staan zou "opengl-update nvidia" de boel weer recht moeten zetten.
lsmod zegt dat de kernel module 'nvidia' geladen is.
dri heb ik uitstaan op aanraden van de nvidia-driver, glx aan. altijd al gehad ook.
opengl-update kent hij niet en is ook niet als package te downloaden... is dat iets nieuws ofzo ? dan zal ik dat eens proberen.
dri heb ik uitstaan op aanraden van de nvidia-driver, glx aan. altijd al gehad ook.
opengl-update kent hij niet en is ook niet als package te downloaden... is dat iets nieuws ofzo ? dan zal ik dat eens proberen.
Heeft archlinux geen pakketje opengl-update oid?
Maare... voor opengl acceleratie heb je volgens mij toch echt dri nodig (of haal ik hier nu dingen door elkaar?).
Maare... voor opengl acceleratie heb je volgens mij toch echt dri nodig (of haal ik hier nu dingen door elkaar?).
pacman -S nvidia regelt alles voor de nvidia drivers. opengl-update hoef je dan niet te draaien. Let er wel op dat je dit moet draaien als X NIET gestart is 
De dri module in je xorg.conf moet je uitschakelen, dit wordt door de nvidia drivers geregeld
De dri module in je xorg.conf moet je uitschakelen, dit wordt door de nvidia drivers geregeld
"I had a problem, I solved it with regular expressions. Now I have two problems". That's shows a lack of appreciation for regular expressions: "I know have _star_ problems" --Kevlin Henney
Hm gek. ik heb idd een keer geupdate in x, pacman -S nog maar een keer gedraaid met x uit, maar nu geeft glxgears aan:
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
mijn xf86config:
--------------------------------------------------------------------------------------------------------------------------------
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
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/TTF/"
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/"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "GLCore"
Load "extmod"
Load "vbe"
SubSection "extmod"
# Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
EndSection
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "AutoRepeat" "25 50"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LG"
HorizSync 30-96
VertRefresh 50-160
Option "dpms"
# ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
EndSection
Section "Device"
Identifier "NV AGP"
VendorName "NVidia
Driver "nvidia"
Option "RenderAccel" "true"
Option "backingstore" "true"
Option "AGPFastWrite" "true"
Screen 0
EndSection
Section "Device"
Identifier "stdsvga"
VendorName "svga"
Driver "svga"
Screen 1
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
# **********************************************************************
# Screen sections.
# **********************************************************************
Section "Screen"
Identifier "Screen NVidia"
Device "NV AGP"
Monitor "LG"
# Option "no accel"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen svga"
Device "stdsvga"
Monitor "LG"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
Screen "Screen NVidia"
Screen "Screen svga"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
--------------------------------------------------------------------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.
mijn xf86config:
--------------------------------------------------------------------------------------------------------------------------------
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
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/TTF/"
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/"
EndSection
Section "Module"
Load "dbe"
Load "glx"
Load "GLCore"
Load "extmod"
Load "vbe"
SubSection "extmod"
# Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
EndSection
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "AutoRepeat" "25 50"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LG"
HorizSync 30-96
VertRefresh 50-160
Option "dpms"
# ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
EndSection
Section "Device"
Identifier "NV AGP"
VendorName "NVidia
Driver "nvidia"
Option "RenderAccel" "true"
Option "backingstore" "true"
Option "AGPFastWrite" "true"
Screen 0
EndSection
Section "Device"
Identifier "stdsvga"
VendorName "svga"
Driver "svga"
Screen 1
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
# **********************************************************************
# Screen sections.
# **********************************************************************
Section "Screen"
Identifier "Screen NVidia"
Device "NV AGP"
Monitor "LG"
# Option "no accel"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen svga"
Device "stdsvga"
Monitor "LG"
DefaultColorDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
Screen "Screen NVidia"
Screen "Screen svga"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
--------------------------------------------------------------------------------------------------------------------------------
Hmvaag. Bij het uitzetten van de composite extension heb ik weer Opengl... en draait glxgears weer met 4000fps.
Met xorg is het zo dat de nvidia drivers glx support standaard uitschakelen als composite aan staat, dit kun je met een nvidia optie weer aanzetten:
code:
1
| Option "AllowGLXWithComposite" "true" |
"For my friends, anything; for my enemies, the law."
Hmm... ik heb sinds het updaten naar de nieuwste versie (ik gebruik de drivers die je kan dlen van nvidia zelf). Ook ong 275 fps in glxgears, en ook Failed to load GLX in xorg.0.log... Fedora Core 3 hier. Alleen staat bij mij composite niet eens aan 
Glxinfo zegt:
Nu weer mooi 3500 fps in glxgears
Glxinfo zegt:
EDIT: heb net nóg nieuwere drivers geinstalleerd (wist niet dat er al wéér nieuwe uit waren), en tevens "rpm -e --nodeps xorg-x11-Mesa-libGL" gedaan. Dit moet volgens de installatieinstructies elke keer gedaan worden als xorg geupdate wordt, en ik meen me teherinneren dat dat niet zo lang geleden gebeurd isname of display: :0.0
display: :0 screen: 0
direct rendering: No
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_OML_swap_method, GLX_SGI_make_current_read,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, 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_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
Nu weer mooi 3500 fps in glxgears
[ Voor 93% gewijzigd door 84n44n op 03-04-2005 21:30 ]
Pagina: 1