First of all, thanks for a response far faster than I expected.

On Wednesday 03 October 2007, Jamie Zawinski wrote:
> 1) If a GL saver is consuming 100% CPU, then that means that OpenGL
> is running on the CPU and not on the GPU, in other words, it's not
> using your graphics hardware at all. So you should try and figure out
> why that would be.
>

Hmm. glxinfo(1) and glewinfo(1) seem to suggest OpenGL is set up ok:

$ 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, GLX_EXT_framebuffer_sRGB
[snipped]

$ glewinfo
---------------------------
    GLEW Extension Info
---------------------------

GLEW version 1.4.0
Reporting capabilities of display :0.0, visual 0x2b
Running on a GeForce 8500 GT/PCI/SSE2 from NVIDIA Corporation
OpenGL version 2.1.1 NVIDIA 100.14.11 is supported
[snipped]

glewinfo further says I have almost all the GL_NV features. Do you know of any 
other diagnostic tools I should use? Otherwise, if it's running on the CPU, I 
suspect it is still a xscreensaver-gl problem.

> 2) There's no way for xscreensaver to realize that it's not on the
> selected console. So even though it might be sensible for
> xscreensaver on deselected consoles to go into "black" mode, there's
> no way to implement that.  The X server simply does not provide that
> information.

Perhaps not through the X server, but it seems to me after some search that 
there is a way. The free desktop's ConsoleKit includes a function for finding 
the active console 
(http://cgit.freedesktop.org/ConsoleKit/tree/src/ck-sysdeps-linux.c, 
ck_get_active_console_num is the last function in the file as I write this), 
and obviously there's a way to get a mapping of screens to VTs -- this 
mapping is shown to me  in the "switch user" submenu of my K menu.

Thanks again,

        Shai.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to