Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-04 Thread Dale
Dale wrote:

 Notice anything there?

 Dale
 :-)  :-)
 

OK, something that got re-emerged seems to have fixed it.  Emerge -ev
world is not finished but OpenGL is now working.  I would have to assume
since no one else had this issue that it was something I did or
misconfigured somewhere.  I'm just glad to have my fireworks show back.

Thanks for all the help.  Now I can go on my honeymoon and know my rig
is running fine.  :-)

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Richard Fish wrote:

 Did you try eselect opengl nvidia?

 -Richard

Regretfully, yes.  Still no go.  I even made sure it was actually using
it too.  I selected a NON-OpenGL screen saver and now the CPU doesn't go
nuts.

Now I have to get the power saver options sorted out with this new xorg
mess.  Yup, it's turning into a mess.  I'm doing a emerge -e world as we
speak.  Maybe that will fix something.  I think something is missing
that revdep-rebuild doesn't find.  Just wish I knew what it is.

Thanks

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Donnie Berkholz
Dale wrote:
 Richard Fish wrote:
 Did you try eselect opengl nvidia?

 -Richard
 
 Regretfully, yes.  Still no go.  I even made sure it was actually using
 it too.  I selected a NON-OpenGL screen saver and now the CPU doesn't go
 nuts.

Do you have direct rendering working? `glxinfo | grep direct` will tell you.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Donnie Berkholz
Dale wrote:
 [EMAIL PROTECTED] / # glxinfo | grep direct
 direct rendering: No
 [EMAIL PROTECTED] / #

 Any ideas?  Thanks for the help.

Try this:
LIBGL_DEBUG=verbose glxinfo

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Donnie Berkholz wrote:
 Dale wrote:
   
 [EMAIL PROTECTED] / # glxinfo | grep direct
 direct rendering: No
 [EMAIL PROTECTED] / #
   

   
 Any ideas?  Thanks for the help.
 

 Try this:
 LIBGL_DEBUG=verbose glxinfo

 Thanks,
 Donnie

   
OK, this is what I got:

 [EMAIL PROTECTED] / # LIBGL_DEBUG=verbose glxinfo
 name of display: :0.0
 display: :0  screen: 0
 direct rendering: No
 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_ARB_multisample, GLX_NV_float_buffer
 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 version: 1.4
 GLX extensions:
 GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
 GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGI_make_current_read,
 GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
 GLX_SGIX_pbuffer
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce FX 5200/AGP/SSE/3DNOW!
 OpenGL version string: 1.4 (2.0.2 NVIDIA 87.62)
 OpenGL extensions:
 GL_ARB_depth_texture, GL_ARB_fragment_program,
 GL_ARB_fragment_program_shadow, GL_ARB_imaging, GL_ARB_multitexture,
 GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
 GL_ARB_shadow, 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_mirrored_repeat, GL_ARB_texture_rectangle,
 GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
 GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
 GL_EXT_blend_func_separate,
 GL_EXT_blend_minmax, GL_EXT_blend_subtract,
 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_shadow_funcs, GL_EXT_shared_texture_palette,
 GL_EXT_stencil_wrap,
 GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
 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_texture_rectangle,
 GL_EXT_vertex_array, GL_HP_occlusion_test, GL_IBM_rasterpos_clip,
 GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
 GL_NV_blend_square, GL_NV_copy_depth_to_color, GL_NV_depth_clamp,
 GL_NV_fog_distance, GL_NV_fragment_program_option,
 GL_NV_light_max_exponent, GL_NV_multisample_filter_hint,
 GL_NV_texgen_reflection, GL_NV_texture_compression_vtc,
 GL_NV_texture_env_combine4, GL_NV_texture_rectangle,
 GL_NV_vertex_program2_option, 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_SUN_multi_draw_arrays, 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
 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 24  0 16 16 16 16  0 0 None
 0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
 0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  0 16 16 16 16  0 0 None
 0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  0 16 16 16 16  0 0 None
 0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
 0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
 0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
 0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
 0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
 0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
 0x30 24 tc  0 32  0 

Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Richard Fish

On 7/3/06, Dale [EMAIL PROTECTED] wrote:


Any ideas?  Thanks for the help.


Do you have a dri section in xorg.conf?  Something like:

Section dri
   Group graphics
   Mode 0660
EndSection

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Richard Fish wrote:

 Do you have a dri section in xorg.conf?  Something like:

 Section dri
Group graphics
Mode 0660
 EndSection

 -Richard
Added that and now I get a error in my screen saver thingy.  It goes
something like this:

 The specified library screensaver could not be found.

 The diagnostics is:
 libGLcore.so.1:  cannot open shared object file: No such file or directory

 Possible reasons:
 An error occured during your last KDE upgrade leaving an orphaned
 control module.
 You have old third party modules lying around.

 Check these points carefully and try to remove the module mentioned in
 the error message.  If this fails, consider contacting your
 distributor or packager.

Doing a emerge -Pp world does not list anything KDE that I can see.  I'm
pretty sure that I got all the 3.4.* stuff out a while back.

Now doing this:

 [EMAIL PROTECTED] / # equery belongs libGLcore.so.1
 [ Searching for file(s) libGLcore.so.1 in *... ]
 media-video/nvidia-glx-1.0.8762
 (/usr/lib/opengl/nvidia/lib/libGLcore.so.1 - libGLcore.so.1.0.8762)
 [EMAIL PROTECTED] / #
I reemerged the nvidia-glx package again.  I logged out of KDE and went
into a console.  I then rmmoded nvidia and did a modules-update and
reloaded nvidia.  After that I restarted the GUI and logged in.  Now I
am back where I was.  I do NOT get the error when I try to change the
screen saver but the OpenGL stuff still does not work.  I have noticed
that the screen is slower now too.  Glxgears is bad as well.

I did another glxinfo though:

 [EMAIL PROTECTED] / # 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_ARB_multisample, GLX_NV_float_buffer
 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 version: 1.3
 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_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce FX 5200/AGP/SSE/3DNOW!
 OpenGL version string: 2.0.2 NVIDIA 87.62
 OpenGL extensions:
 GL_ARB_depth_texture, 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_mirrored_repeat, 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_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
 GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
 GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
 GL_EXT_draw_range_elements, GL_EXT_fog_coord,
 GL_EXT_framebuffer_object,
 GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
 GL_EXT_packed_pixels, GL_EXT_paletted_texture,
 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_shared_texture_palette, 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_object, GL_EXT_texture_sRGB,
 GL_EXT_timer_query, GL_EXT_vertex_array, GL_HP_occlusion_test,
 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_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, 

Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Donnie Berkholz
Dale wrote:
 Richard Fish wrote:
 Do you have a dri section in xorg.conf?  Something like:

 Section dri
Group graphics
Mode 0660
 EndSection

 -Richard
 Added that and now I get a error in my screen saver thingy.  It goes
 something like this:
 
 The specified library screensaver could not be found.

 The diagnostics is:
 libGLcore.so.1:  cannot open shared object file: No such file or directory

Try eselect set opengl nvidia

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Donnie Berkholz wrote:
 Dale wrote:
   
 Richard Fish wrote:
 
 Do you have a dri section in xorg.conf?  Something like:

 Section dri
Group graphics
Mode 0660
 EndSection

 -Richard
   
 Added that and now I get a error in my screen saver thingy.  It goes
 something like this:

 
 The specified library screensaver could not be found.

 The diagnostics is:
 libGLcore.so.1:  cannot open shared object file: No such file or directory
   

 Try eselect set opengl nvidia

 Thanks,
 Donnie

   
Now what:

 [EMAIL PROTECTED] / # eselect set opengl nvidia
 !!! Error: Can't load module set
 exiting.
 [EMAIL PROTECTED] / #

I assume this ain't good right.  O_O  OK, I logged out, stopped the GUI,
rmmoded nvidia and reemerged all the nvidia stuff.  Reloaded nvidia and
ran the command.  Now this is what I get:

 [EMAIL PROTECTED] / # eselect opengl show
 nvidia
 [EMAIL PROTECTED] / #  
So that works and then I get this:

 [EMAIL PROTECTED] / # 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_ARB_multisample, GLX_NV_float_buffer
 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 version: 1.3
 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_multisample, GLX_NV_float_buffer, GLX_ARB_get_proc_address
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce FX 5200/AGP/SSE/3DNOW!
 OpenGL version string: 2.0.2 NVIDIA 87.62
 OpenGL extensions:
 GL_ARB_depth_texture, 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_mirrored_repeat, 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_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
 GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax,
 GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
 GL_EXT_draw_range_elements, GL_EXT_fog_coord,
 GL_EXT_framebuffer_object,
 GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
 GL_EXT_packed_pixels, GL_EXT_paletted_texture,
 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_shared_texture_palette, 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_object, GL_EXT_texture_sRGB,
 GL_EXT_timer_query, GL_EXT_vertex_array, GL_HP_occlusion_test,
 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_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_SGIS_generate_mipmap,
 GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
 GL_SUN_slice_accum
 glu version: 1.3
 glu extensions:
 

Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Donnie Berkholz
Dale wrote:
 [EMAIL PROTECTED] / # eselect set opengl nvidia
 !!! Error: Can't load module set
 exiting.
 [EMAIL PROTECTED] / #

Bah, I just gave you the command in the wrong order. `eselect opengl set
nvidia` was the right one. Need to tell it which module, before the
action to use from that module. I see you figured that out below.

 I assume this ain't good right.  O_O  OK, I logged out, stopped the GUI,
 rmmoded nvidia and reemerged all the nvidia stuff.  Reloaded nvidia and
 ran the command.  Now this is what I get:
 
 [EMAIL PROTECTED] / # eselect opengl show
 nvidia
 [EMAIL PROTECTED] / #  
 So that works and then I get this:
 
 [EMAIL PROTECTED] / # glxinfo
 name of display: :0.0
 display: :0  screen: 0
 direct rendering: Yes

Sweet!

 That looks good to, still no worky and my screens are really slow. 
 Sometimes even the mouse is slow.  I also noticed that if I go to
 configure desktop and try to play with the screen saver settings, it
 hogs up a LOT of CPU time.  Almost all of it yet it does not work at all.

Odd.

 Are you out of ideas yet?  I'm not sure what to do.  The emerge -e world
 is still going though.  309 of 866 and counting.  kdelibs went by a bit
 ago.  It's on swig right now.  I dunno what it is.

This could be a problem, particularly if you have preemption off or
don't set PORTAGE_NICENESS. If you're running that in a screen session,
try a ^Z (ctrl-z) to suspend it for a bit and see whether that helps,
then `fg` to foreground it again.

 Any clue?  Am I doing something wrong?  Is this new xorg that bad? 
 Should I unmask the newer xorg?  I read the nvidia drivers are not ready
 yet.

At this point it's not real clear what the problem is. You could try
running oprofile to see where all the time is being spent, then rebuild
that package with debugging support (Add -g to CFLAGS, remove
-fomit-frame-pointer) to get info on where in that program the time is
spent.

To get oprofile going, build the kernel module (it's included in the
main kernel, just enable it -- CONFIG_PROFILING in Instrumentation), run
`make vmlinux` in /usr/src/linux, emerge oprofile, then run this little
script like this:
./oprof someapp

It will start profiling, and stop when you quit that app. Make sure you
run it long enough so that the app's startup stuff isn't the primary
thing you profile; you want to profile the runtime slowdowns.

Thanks,
Donnie
#!/bin/sh
echo INIT OPROFILE...
sudo opcontrol --init
sudo opcontrol --start --vmlinux=/usr/src/linux/vmlinux
sudo opcontrol --dump
sudo opcontrol --reset
echo RUN TEST APP...
$@
echo RUN DONE.
sudo opcontrol --stop
echo WRITING PROFILE: oprof.txt
opreport --long-filenames --symbols  oprof.txt
echo DONE.


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Donnie Berkholz
Donnie Berkholz wrote:
 To get oprofile going, build the kernel module (it's included in the
 main kernel, just enable it -- CONFIG_PROFILING in Instrumentation), run
 `make vmlinux` in /usr/src/linux, emerge oprofile, then run this little
 script like this:
 ./oprof someapp
 
 It will start profiling, and stop when you quit that app. Make sure you
 run it long enough so that the app's startup stuff isn't the primary
 thing you profile; you want to profile the runtime slowdowns.

One more note, oprofile will profile _everything_ your computer is
doing, so make sure you are doing as little as possible that you don't
want to end up in the results.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Richard Fish

On 7/3/06, Dale [EMAIL PROTECTED] wrote:

Any clue?  Am I doing something wrong?  Is this new xorg that bad?
Should I unmask the newer xorg?  I read the nvidia drivers are not ready
yet.


I doubt it is related to the version of x.org.  I've been using it as
~x86 for awhile with the nvidia drivers without these problems...

You might post your xorg.conf and /var/log/Xorg.0.log file somewhere
so we can take a look at them.  I suspect a simple misconfiguration
somewhere, but I don't know what

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Donnie Berkholz wrote:
 Dale wrote:
   
 [EMAIL PROTECTED] / # eselect set opengl nvidia
 !!! Error: Can't load module set
 exiting.
 [EMAIL PROTECTED] / #
   

 Bah, I just gave you the command in the wrong order. `eselect opengl set
 nvidia` was the right one. Need to tell it which module, before the
 action to use from that module. I see you figured that out below.
   

Oh, I see.  I did the second one from memory.  At least this time it
worked out for the best.  :-o
   
 I assume this ain't good right.  O_O  OK, I logged out, stopped the GUI,
 rmmoded nvidia and reemerged all the nvidia stuff.  Reloaded nvidia and
 ran the command.  Now this is what I get:

 
 [EMAIL PROTECTED] / # eselect opengl show
 nvidia
 [EMAIL PROTECTED] / #  
   
 So that works and then I get this:

 
 [EMAIL PROTECTED] / # glxinfo
 name of display: :0.0
 display: :0  screen: 0
 direct rendering: Yes
   

 Sweet!
   

Yea, progress  O_O  I need that too.
   
 That looks good to, still no worky and my screens are really slow. 
 Sometimes even the mouse is slow.  I also noticed that if I go to
 configure desktop and try to play with the screen saver settings, it
 hogs up a LOT of CPU time.  Almost all of it yet it does not work at all.
 

 Odd.

   
 Are you out of ideas yet?  I'm not sure what to do.  The emerge -e world
 is still going though.  309 of 866 and counting.  kdelibs went by a bit
 ago.  It's on swig right now.  I dunno what it is.
 

 This could be a problem, particularly if you have preemption off or
 don't set PORTAGE_NICENESS. If you're running that in a screen session,
 try a ^Z (ctrl-z) to suspend it for a bit and see whether that helps,
 then `fg` to foreground it again.
   

I have nice set to 5.  KDE runs at 0 so it should be OK.  All this
started when I upgraded xorg.  I did create a new config file though.  I
also tried the old one just to test it.  I couldn't tell any difference
at all.
   
 Any clue?  Am I doing something wrong?  Is this new xorg that bad? 
 Should I unmask the newer xorg?  I read the nvidia drivers are not ready
 yet.
 

 At this point it's not real clear what the problem is. You could try
 running oprofile to see where all the time is being spent, then rebuild
 that package with debugging support (Add -g to CFLAGS, remove
 -fomit-frame-pointer) to get info on where in that program the time is
 spent.

  snip 

 Thanks,
 Donnie
   
   

I may have to try that when emege -ev world gets done.  It has 480 to go
yet and most of KDE has not been done.  Maybe something got lost in the
shuffle somewhere.

If you think of something else, let me know.  If I find anything out
I'll post it too.

Thanks

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenGL problem after xorg upgrade

2006-07-03 Thread Dale
Richard Fish wrote:
 On 7/3/06, Dale [EMAIL PROTECTED] wrote:
 Any clue?  Am I doing something wrong?  Is this new xorg that bad?
 Should I unmask the newer xorg?  I read the nvidia drivers are not ready
 yet.

 I doubt it is related to the version of x.org.  I've been using it as
 ~x86 for awhile with the nvidia drivers without these problems...

 You might post your xorg.conf and /var/log/Xorg.0.log file somewhere
 so we can take a look at them.  I suspect a simple misconfiguration
 somewhere, but I don't know what

 -Richard

I don't have any way to host them but here is a little one, xorg.conf:

 Section ServerLayout
 Identifier X.org Configured
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
 EndSection

 Section Files
 RgbPath  /usr/share/X11/rgb
 ModulePath   /usr/lib/xorg/modules
 FontPath /usr/share/fonts/misc
 FontPath /usr/share/fonts/75dpi
 FontPath /usr/share/fonts/100dpi
 FontPath /usr/share/fonts/TTF
 FontPath /usr/share/fonts/Type1
 EndSection

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

 Section dri
Group graphics
Mode 0660
 EndSection

 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 EndSection

 Section InputDevice
 Identifier  Mouse0
 Driver  mouse
 OptionProtocol auto
 OptionDevice /dev/mouse
 OptionZAxisMapping 4 5 6 7
 EndSection

 Section Monitor
 Identifier   Monitor0
 VendorName   Monitor Vendor
 ModelNameMonitor Model
 Optiondpms
 Optionstandby time5
 Optionsuspend time5
 Optionoff time5
 EndSection

 Section Device
 Identifier  Card0
 Driver  nvidia
 VendorName  nVidia Corporation
 BoardName   NV34 [GeForce FX 5200]
 BusID   PCI:2:0:0
 EndSection

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 SubSection Display
  snip 
 SubSection Display
 Modes   1280x1024 1024x768
 Viewport   0 0
 Depth 24
 EndSubSection
 EndSection


Notice anything there?

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list