No OpenGL support in X11?

I’m having quite a hard time with this. SDL thinks that X11 doesn’t support
OpenGL.

std::cout << “QUERYING SYSTEM…”<<std::endl;
int num_ren = SDL_GetNumVideoDrivers();
std::cout << num_ren << " Video Drivers Found!" << std::endl;
for (int i = 0; i < num_ren; i++) {
std::cout << “DRIVER #”<<i<<": "<<SDL_GetVideoDriver(i) <<
std::endl;
}

  std::cout << "CURRENT DRIVER: "<<SDL_GetCurrentVideoDriver() <<

std::endl;

  num_ren = SDL_GetNumRenderDrivers();
  std::cout << num_ren << " Render Drivers Found!" << std::endl;

  SDL_RendererInfo info;
  for (int i = 0; i < num_ren; i++) {
     SDL_GetRenderDriverInfo(i, &info);
     std::cout << "RENDERER #"<<i<<": "<<info.name<<std::endl;
     if (info.flags & SDL_RENDERER_SOFTWARE) std::cout << "-->

SOFTWARE"<<std::endl;
if (info.flags & SDL_RENDERER_ACCELERATED) std::cout << “–>
ACCELERATED”<<std::endl;
if (info.flags & SDL_RENDERER_PRESENTVSYNC) std::cout << “–>
VSYNC”<<std::endl;
if (info.flags & SDL_RENDERER_TARGETTEXTURE) std::cout << “–>
TEXTURE”<<std::endl;
std::cout<<std::endl;
}

QUERYING SYSTEM…
2 Video Drivers Found!
DRIVER #0: x11
DRIVER #1: dummy
CURRENT DRIVER: x11
1 Render Drivers Found!
RENDERER #0: software
–> SOFTWARE
–> TEXTURE

However, while configuring:
checking for X11/extensions/Xext.h… yes
– dynamic libX11 -> libX11.so.6
– dynamic libX11ext -> libXext.so.6
checking for const parameter to XextAddDisplay… yes
checking for const parameter to _XData32… no
checking for XGenericEvent… yes
checking for XkbKeycodeToKeysym in -lX11… yes
checking for X11/Xcursor/Xcursor.h… no
checking for X11/extensions/Xinerama.h… no
checking for X11/extensions/XInput2.h… no
checking for X11/extensions/Xrandr.h… yes
– dynamic libXrandr -> libXrandr.so.2
checking for X11/extensions/scrnsaver.h… no
checking for X11/extensions/shape.h… yes
checking for X11/extensions/xf86vmode.h… yes
– dynamic libXxf86vm -> libXxf86vm.so.1
checking for OpenGL (GLX) support… yes
checking for OpenGL ES (EGL) support… yes
checking for OpenGL ES v1 headers… yes
checking for OpenGL ES v2 headers… yes

and glxgears --info returns as expected

Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = GeForce 8400 GS/PCIe/SSE2
GL_VERSION = 3.3.0 NVIDIA 304.88
GL_VENDOR = NVIDIA Corporation

if it helps glxinfo | head -n 42 returns

name of display: :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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness,
GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_framebuffer_sRGB, GLX_NV_multisample_coverage
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_EXT_swap_control, GLX_EXT_swap_control_tear,
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB, GLX_NV_present_video, GLX_NV_copy_image,
GLX_NV_multisample_coverage, GLX_NV_video_capture,
GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness
GLX version: 1.4
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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB,
GLX_NV_multisample_coverage, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8400 GS/PCIe/SSE2
OpenGL version string: 3.3.0 NVIDIA 304.88
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:

I’ve been struggling with this for 3 days now and I’m clueless, i’ve
reinstalled the nvidia drivers twice, even the free ones and it doesn’t
work either. Funny thing, I have another computer in with it works
perfectly (although it has a nVidia 9400, but they use the same driver)

Anyone has an idea?

Make sure the OpenGL development libraries are installed, otherwise
SDL won’t recognize OpenGL (you will have to rebuild SDL after
installing them).

They are installed and the ./configure detects them

$dpkg -l | grep mesa
ii glx-alternative-mesa
0.2.2 amd64 allows the selection of
MESA as GLX provider
ii libegl1-mesa:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
EGL API – runtime
ii libegl1-mesa-dev
8.0.5-4+deb7u2 amd64 free implementation of the
EGL API – development files
ii libegl1-mesa-drivers:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
EGL API – hardware drivers
ii libgl1-mesa-dev
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL API – GLX development files
ii libgl1-mesa-dri:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL API – DRI modules
ii libgl1-mesa-dri:i386
8.0.5-4+deb7u2 i386 free implementation of the
OpenGL API – DRI modules
ii libgl1-mesa-glx:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL API – GLX runtime
ii libgl1-mesa-glx:i386
8.0.5-4+deb7u2 i386 free implementation of the
OpenGL API – GLX runtime
ii libglapi-mesa:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
GL API – shared library
ii libglapi-mesa:i386
8.0.5-4+deb7u2 i386 free implementation of the
GL API – shared library
ii libgles1-mesa:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL|ES 1.x API – runtime
ii libgles1-mesa-dev
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL|ES 1.x API – development files
ii libgles2-mesa:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL|ES 2.x API – runtime
ii libgles2-mesa-dev
8.0.5-4+deb7u2 amd64 free implementation of the
OpenGL|ES 2.x API – development files
ii libglu1-mesa:amd64
8.0.5-4+deb7u2 amd64 Mesa OpenGL utility library
(GLU)
ii libglu1-mesa:i386
8.0.5-4+deb7u2 i386 Mesa OpenGL utility library
(GLU)
ii libglu1-mesa-dev
8.0.5-4+deb7u2 amd64 Mesa OpenGL utility library
– development files
ii libopenvg1-mesa:amd64
8.0.5-4+deb7u2 amd64 free implementation of the
OpenVG API – runtime
ii mesa-common-dev
8.0.5-4+deb7u2 amd64 Developer documentation for
Mesa
ii mesa-utils
8.0.1-2+b3 amd64 Miscellaneous Mesa GL
utilities

2013/8/14 Sik the hedgehog <sik.the.hedgehog at gmail.com>> Make sure the OpenGL development libraries are installed, otherwise

SDL won’t recognize OpenGL (you will have to rebuild SDL after
installing them).


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


ARS GRATIA ARTIS

This is the partial output from “testrendercopyex --info all” in my system

Built-in render drivers:
Renderer opengl:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (1): ARGB8888
Renderer opengles2:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (4): ABGR8888, ARGB8888, RGB888, BGR888
Renderer opengles:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (1): ABGR8888
Renderer software:
Flags: 0x00000009 (0x00000001 | 0x00000008)
Texture formats (8): RGB555, RGB565, RGB888, BGR888, ARGB8888,
RGBA8888, ABGR8888, BGRA8888
Current renderer:
Renderer opengl:
Flags: 0x0000000A (Accelerated | 0x00000008)
Texture formats (3): ARGB8888, YV12, IYUV
Max Texture Size: 16384x16384

Packages installed:

dpkg -S GL/glx.h
mesa-common-dev: /usr/include/GL/glx.h
nvidia-313-updates-dev: /usr/include/nvidia-313-updates/GL/glx.h

dpkg -S libGL.so
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so.1
libgl1-mesa-dev: /usr/lib/x86_64-linux-gnu/mesa/libGL.so
libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/mesa/libGL.so.1
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so
libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so.313.30
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so.1
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so.313.30
libgl1-mesa-dev: /usr/lib/x86_64-linux-gnu/libGL.so

If you already have these and you still don’t get OpenGL support, I would
ask…do you have perhaps two competing versions of the SDL binary?
For example, run:

ldd testrendercopyex
linux-vdso.so.1 => (0x00007fffd59fe000)
libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0
(0x00007f5c10fda000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5c10bd5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5c108cf000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5c106cb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f5c104ae000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5c102a5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5c112dc000)

And make sure the libSDL path you see is the one you installed the compiled
library to.

2013/8/14 Pablo Amor?n > I’m having quite a hard time with this. SDL thinks that X11 doesn’t

support OpenGL.

std::cout << “QUERYING SYSTEM…”<<std::endl;
int num_ren = SDL_GetNumVideoDrivers();
std::cout << num_ren << " Video Drivers Found!" << std::endl;
for (int i = 0; i < num_ren; i++) {
std::cout << “DRIVER #”<<i<<": "<<SDL_GetVideoDriver(i) <<
std::endl;
}

  std::cout << "CURRENT DRIVER: "<<SDL_GetCurrentVideoDriver() <<

std::endl;

  num_ren = SDL_GetNumRenderDrivers();
  std::cout << num_ren << " Render Drivers Found!" << std::endl;

  SDL_RendererInfo info;
  for (int i = 0; i < num_ren; i++) {
     SDL_GetRenderDriverInfo(i, &info);
     std::cout << "RENDERER #"<<i<<": "<<info.name<<std::endl;
     if (info.flags & SDL_RENDERER_SOFTWARE) std::cout << "-->

SOFTWARE"<<std::endl;
if (info.flags & SDL_RENDERER_ACCELERATED) std::cout << “–>
ACCELERATED”<<std::endl;
if (info.flags & SDL_RENDERER_PRESENTVSYNC) std::cout << “–>
VSYNC”<<std::endl;
if (info.flags & SDL_RENDERER_TARGETTEXTURE) std::cout << “–>
TEXTURE”<<std::endl;
std::cout<<std::endl;
}

QUERYING SYSTEM…
2 Video Drivers Found!
DRIVER #0: x11
DRIVER #1: dummy
CURRENT DRIVER: x11
1 Render Drivers Found!
RENDERER #0: software
–> SOFTWARE
–> TEXTURE

However, while configuring:
checking for X11/extensions/Xext.h… yes
– dynamic libX11 -> libX11.so.6
– dynamic libX11ext -> libXext.so.6
checking for const parameter to XextAddDisplay… yes
checking for const parameter to _XData32… no
checking for XGenericEvent… yes
checking for XkbKeycodeToKeysym in -lX11… yes
checking for X11/Xcursor/Xcursor.h… no
checking for X11/extensions/Xinerama.h… no
checking for X11/extensions/XInput2.h… no
checking for X11/extensions/Xrandr.h… yes
– dynamic libXrandr -> libXrandr.so.2
checking for X11/extensions/scrnsaver.h… no
checking for X11/extensions/shape.h… yes
checking for X11/extensions/xf86vmode.h… yes
– dynamic libXxf86vm -> libXxf86vm.so.1
checking for OpenGL (GLX) support… yes
checking for OpenGL ES (EGL) support… yes
checking for OpenGL ES v1 headers… yes
checking for OpenGL ES v2 headers… yes

and glxgears --info returns as expected

Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = GeForce 8400 GS/PCIe/SSE2
GL_VERSION = 3.3.0 NVIDIA 304.88
GL_VENDOR = NVIDIA Corporation

if it helps glxinfo | head -n 42 returns

name of display: :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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness,
GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_framebuffer_sRGB, GLX_NV_multisample_coverage
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_EXT_swap_control, GLX_EXT_swap_control_tear,
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB, GLX_NV_present_video, GLX_NV_copy_image,
GLX_NV_multisample_coverage, GLX_NV_video_capture,
GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness
GLX version: 1.4
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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float, GLX_EXT_framebuffer_sRGB,
GLX_NV_multisample_coverage, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8400 GS/PCIe/SSE2
OpenGL version string: 3.3.0 NVIDIA 304.88
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:

I’ve been struggling with this for 3 days now and I’m clueless, i’ve
reinstalled the nvidia drivers twice, even the free ones and it doesn’t
work either. Funny thing, I have another computer in with it works
perfectly (although it has a nVidia 9400, but they use the same driver)

Anyone has an idea?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Gabriel.

Gabriel: you are a genius,

there where a previous libSDL2.0 in /usr/local/lib that was messing all:
rm -v /usr/lib/libSDL2* && rm -v /usr/local/lib/libSDL2* and recompile made
it work

2013/8/14 Gabriel Jacobo > This is the partial output from “testrendercopyex --info all” in my system

Built-in render drivers:
Renderer opengl:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (1): ARGB8888
Renderer opengles2:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (4): ABGR8888, ARGB8888, RGB888, BGR888
Renderer opengles:
Flags: 0x0000000E (Accelerated | PresentVSync | 0x00000008)
Texture formats (1): ABGR8888
Renderer software:
Flags: 0x00000009 (0x00000001 | 0x00000008)
Texture formats (8): RGB555, RGB565, RGB888, BGR888, ARGB8888,
RGBA8888, ABGR8888, BGRA8888
Current renderer:
Renderer opengl:
Flags: 0x0000000A (Accelerated | 0x00000008)
Texture formats (3): ARGB8888, YV12, IYUV
Max Texture Size: 16384x16384

Packages installed:

dpkg -S GL/glx.h
mesa-common-dev: /usr/include/GL/glx.h
nvidia-313-updates-dev: /usr/include/nvidia-313-updates/GL/glx.h

dpkg -S libGL.so
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so.1
libgl1-mesa-dev: /usr/lib/x86_64-linux-gnu/mesa/libGL.so
libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/mesa/libGL.so.1
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so
libgl1-mesa-glx:i386: /usr/lib/i386-linux-gnu/mesa/libGL.so.1.2.0
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so.313.30
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so.1
nvidia-313-updates: /usr/lib/nvidia-313-updates/libGL.so
libgl1-mesa-glx:amd64: /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
nvidia-313-updates: /usr/lib32/nvidia-313-updates/libGL.so.313.30
libgl1-mesa-dev: /usr/lib/x86_64-linux-gnu/libGL.so

If you already have these and you still don’t get OpenGL support, I would
ask…do you have perhaps two competing versions of the SDL binary?
For example, run:

ldd testrendercopyex
linux-vdso.so.1 => (0x00007fffd59fe000)
libSDL2-2.0.so.0 => /usr/local/lib/libSDL2-2.0.so.0
(0x00007f5c10fda000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5c10bd5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5c108cf000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5c106cb000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
(0x00007f5c104ae000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f5c102a5000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5c112dc000)

And make sure the libSDL path you see is the one you installed the
compiled library to.

2013/8/14 Pablo Amor?n <@Pablo_Amorin>

I’m having quite a hard time with this. SDL thinks that X11 doesn’t
support OpenGL.

std::cout << “QUERYING SYSTEM…”<<std::endl;
int num_ren = SDL_GetNumVideoDrivers();
std::cout << num_ren << " Video Drivers Found!" << std::endl;
for (int i = 0; i < num_ren; i++) {
std::cout << “DRIVER #”<<i<<": "<<SDL_GetVideoDriver(i) <<
std::endl;
}

  std::cout << "CURRENT DRIVER: "<<SDL_GetCurrentVideoDriver() <<

std::endl;

  num_ren = SDL_GetNumRenderDrivers();
  std::cout << num_ren << " Render Drivers Found!" << std::endl;

  SDL_RendererInfo info;
  for (int i = 0; i < num_ren; i++) {
     SDL_GetRenderDriverInfo(i, &info);
     std::cout << "RENDERER #"<<i<<": "<<info.name<<std::endl;
     if (info.flags & SDL_RENDERER_SOFTWARE) std::cout << "-->

SOFTWARE"<<std::endl;
if (info.flags & SDL_RENDERER_ACCELERATED) std::cout << “–>
ACCELERATED”<<std::endl;
if (info.flags & SDL_RENDERER_PRESENTVSYNC) std::cout << “–>
VSYNC”<<std::endl;
if (info.flags & SDL_RENDERER_TARGETTEXTURE) std::cout << “–>
TEXTURE”<<std::endl;
std::cout<<std::endl;
}

QUERYING SYSTEM…
2 Video Drivers Found!
DRIVER #0: x11
DRIVER #1: dummy
CURRENT DRIVER: x11
1 Render Drivers Found!
RENDERER #0: software
–> SOFTWARE
–> TEXTURE

However, while configuring:
checking for X11/extensions/Xext.h… yes
– dynamic libX11 -> libX11.so.6
– dynamic libX11ext -> libXext.so.6
checking for const parameter to XextAddDisplay… yes
checking for const parameter to _XData32… no
checking for XGenericEvent… yes
checking for XkbKeycodeToKeysym in -lX11… yes
checking for X11/Xcursor/Xcursor.h… no
checking for X11/extensions/Xinerama.h… no
checking for X11/extensions/XInput2.h… no
checking for X11/extensions/Xrandr.h… yes
– dynamic libXrandr -> libXrandr.so.2
checking for X11/extensions/scrnsaver.h… no
checking for X11/extensions/shape.h… yes
checking for X11/extensions/xf86vmode.h… yes
– dynamic libXxf86vm -> libXxf86vm.so.1
checking for OpenGL (GLX) support… yes
checking for OpenGL ES (EGL) support… yes
checking for OpenGL ES v1 headers… yes
checking for OpenGL ES v2 headers… yes

and glxgears --info returns as expected

Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = GeForce 8400 GS/PCIe/SSE2
GL_VERSION = 3.3.0 NVIDIA 304.88
GL_VENDOR = NVIDIA Corporation

if it helps glxinfo | head -n 42 returns

name of display: :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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es_profile,
GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness,
GLX_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_framebuffer_sRGB, GLX_NV_multisample_coverage
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_EXT_swap_control,
GLX_EXT_swap_control_tear,
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap,
GLX_EXT_framebuffer_sRGB, GLX_NV_present_video, GLX_NV_copy_image,
GLX_NV_multisample_coverage, GLX_NV_video_capture,
GLX_EXT_create_context_es2_profile, GLX_ARB_create_context_robustness
GLX version: 1.4
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_swap_control, GLX_EXT_swap_control_tear,
GLX_EXT_texture_from_pixmap, GLX_ARB_create_context,
GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile,
GLX_ARB_create_context_robustness, GLX_ARB_multisample,
GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
GLX_EXT_framebuffer_sRGB,
GLX_NV_multisample_coverage, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 8400 GS/PCIe/SSE2
OpenGL version string: 3.3.0 NVIDIA 304.88
OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
OpenGL extensions:

I’ve been struggling with this for 3 days now and I’m clueless, i’ve
reinstalled the nvidia drivers twice, even the free ones and it doesn’t
work either. Funny thing, I have another computer in with it works
perfectly (although it has a nVidia 9400, but they use the same driver)

Anyone has an idea?


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Gabriel.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


ARS GRATIA ARTIS