Bug#722161: COGL does not work with fglrx

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Sun Sep 8 15:55:55 UTC 2013


Package: libcogl12
Version: 1.14.0-3
Severity: important

Hi Rico,
today, after upgrading from stable to testing, a few gnome programs 
stopped working. Since one of them is evolution, I googled about the 
problem and found an already opened bug (see #721312). After debugging a 
little bit, I found that the error message "The OpenGL version could not 
be determined" is emitted by the libcogl12 library.

The reason of the error message is in source file cogl/cogl-context.c, 
in function _cogl_context_get_gl_version (CoglContext *context) because 
function call context->glGetString (GL_VERSION) returns NULL.

I do not think the problem is just on that function call, since even 
avoiding it by the use of COGL_OVERRIDE_GL_VERSION variable, all 
programs eventually segfaults. As in:

giuseppe at blatta:/tmp/cogl-1.14.0$ sudo tail -f /var/log/syslog &
giuseppe at blatta:/tmp/cogl-1.14.0$ COGL_OVERRIDE_GL_VERSION=1.4 cheese
(cheese:11268): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' 
failed
Sep  8 17:31:15 blatta kernel: [ 2608.342244] cheese[11268]: segfault at 
0 ip 00007fba4ff424cc sp 00007fff87ffceb0 error 4 in 
libcogl.so.12.1.1[7fba4ff11000+97000]
Errore di segmentazione

or

giuseppe at blatta:/tmp/cogl-1.14.0$ COGL_OVERRIDE_GL_VERSION=1.4 evolution
(evolution:11274): GLib-CRITICAL **: g_strsplit: assertion `string != 
NULL' failed
Sep  8 17:31:58 blatta kernel: [ 2651.672205] evolution[11274]: segfault 
at 0 ip 00007f0db84b64cc sp 00007fff308feda0 error 4 in 
libcogl.so.12.1.1[7f0db8485000+97000]
Errore di segmentazione

These are my GLX information:

giuseppe at blatta:/tmp/cogl-1.14.0$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 7700M Series
OpenGL version string: 4.3.12438 Compatibility Profile Context FireGL 
8.982.13

giuseppe at blatta:/tmp/cogl-1.14.0$ glxinfo | head -14
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: ATI
server glx version string: 1.4
server glx extensions:
     GLX_ARB_multisample, GLX_EXT_import_context, 
GLX_EXT_texture_from_pixmap,
     GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method,
     GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGIS_multisample,
     GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group
client glx vendor string: ATI
client glx version string: 1.4
client glx extensions:
     GLX_ARB_create_context, GLX_ARB_create_context_profile,

I am unable to keep investigaing on this subject right now, but if you 
need any test by my side on this machine, just let me know.

Thanks,
Giuseppe

-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libcogl12 depends on:
ii  libc6                       2.17-92+b1
ii  libegl1-mesa [libegl1-x11]  9.1.6-2
ii  libgdk-pixbuf2.0-0          2.28.2-1
ii  libgl1-mesa-glx             9.1.6-2
ii  libglib2.0-0                2.36.4-1
ii  libx11-6                    2:1.6.1-1
ii  libxcomposite1              1:0.4.4-1
ii  libxdamage1                 1:1.1.4-1
ii  libxext6                    2:1.3.2-1
ii  libxfixes3                  1:5.0.1-1
ii  libxrandr2                  2:1.4.1-1
ii  multiarch-support           2.17-92+b1




More information about the pkg-gnome-maintainers mailing list