glxgears: Error: couldn't get an RGB, Double-buffered visual.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Actually I was trying to run quake, and it wouldn't, then I checked the output of glxgears and that was what I got. I was easily able to run quake on Slack 10.0
Also I've enabled hardware acceleration.
I've an Intel 845 onboard Graphics device.
Yes I've enabled hardware acceleration. Here's the full output of glxinfo :
Code:
koodoo@knapsacker:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
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.2
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_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_MESA_allocate_memory,
GLX_SGIS_multisample
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 845G 20040331 x86/MMX/SSE2
OpenGL version string: 1.2 Mesa 6.1
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, 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_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate,
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_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_filter_anisotropic, GL_IBM_texture_mirrored_repeat,
GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_texgen_reflection,
GL_SGIS_generate_mipmap
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
----------------------------------------------------------------------
0x22 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
koodoo@knapsacker:~$
It was working fine in Slack 10.0. One thing that I've done here is that I've taken a shortcut. I didn't use xorgconfig to setup my xorg.conf, I just copied over my xorg.conf from the previous Slack 10.0 installation. So maybe that's causing the problem.
Anyways I'll post my xorg.conf if required.
Thanks again.
I tried running glxgears as a normal user (root didn't have access to the user's display) Then I even logged in as root and ran glxgears but got the same error message.
I'm not at my Linux box rite now. I'll try setting up a new xorg.conf file using xorgsetup as soon as possible.
First of all, I would like to apologize for such a late reply. We had exams all this time so didn't get time.
I tried setting up xorg.conf using xorgsetup but got identical results. Here's what happened. I set up xorg.conf using xorgsetup, started X and ran glxgears, I got :
Code:
koodoo@knapsacker:~$ glxgears
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
glxgears: Error: couldn't get an RGB, Double-buffered visual.
koodoo@knapsacker:~$
I looked up xorg.conf and found that this was missing :
Code:
Section "DRI"
Group 0
Mode 0666
EndSection
After adding this section and restarting X glxgears gave me the same old error message :
Code:
koodoo@knapsacker:~$ glxgears
glxgears: Error: couldn't get an RGB, Double-buffered visual.
koodoo@knapsacker:~$
xorgconfig gave identical results!
One thing that I would like to mention again is that, If video ram option is commented in the xorg.conf file, the output of glxinfo is :
I realize this is a very old post, but as it has no solution (I get upset when i see a 2 year old post left unsolved) I would like to share my solution to this "Double-buffered visual" error.
I had a similar problem with my nvidia geforce2 mx and found that it was just a driver issue for me. I had followed a guide that was slightly misleading, and after checking the nvidia list of supported video cards found i had installed the wrong drivers.
enable support for module loading, mtrr, System V IPC, and ensure that you have selected the correct chipset for agpgart; also make sure you have disabled framebuffer support as it conflicts with the nvidia drivers.
for my system the upgrade from nvidia-drivers 1.0-71xx to 1.0-96xx solved this problem.
Hey, it was nice to see a reply
I've forgotten what I did to solve that problem. I think after some time, and due to other priorities I gave up trying to fix that issue. But this I know, that I had installed the correct driver for my Intel chipset.
Maybe some other fine tuning was required.
Anyways, I'm now upgrading to Slack-12.1 and I'd love to play Quake with it!
I'm hoping I can get it to work this time.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.