[Pkg-fglrx-devel] Bug#767673: fglrx-driver: gnome-session fails to start. Major opcode 141 (RANDR) Minor opcode 13 (RRChangeOutputProperty).

Giuseppe Sacco giuseppe at eppesuigoccas.homedns.org
Thu Jan 8 22:25:25 UTC 2015


Hello,
I think the problem is in clutter package: when gnome-shell starts, it
load the cogl library in order to manage the screen. This library
include a few drivers and select the best one based on some heuristic
(based on the GL engine found).

When running fglrx, the cogl library uses the GLES2 driver. This driver
start checking the GL engine and stop when testing the
RRChangeOutputProperty.

If you want to easily reproduce the problem, just start X11 (I use an
xfce4 desktop) and then execute this command in an xterm:

env COGL_DEBUG=all COGL_DRIVER=gles2 LIBGL_DEBUG=verbose \
 MESA_DEBUG=1 gnome-shell --replace

This will try to start gnome-shell and then fail. Its output is:

giuseppe at uefi:~$ env COGL_DEBUG=all COGL_DRIVER=gles2 LIBGL_DEBUG=verbose MESA_DEBUG=1 gnome-shell --replace
Cogl-Message: [WINSYS] ./cogl-xlib-renderer.c:410 & Outputs:
Cogl-Message: [WINSYS] ./cogl-xlib-renderer.c:449 &        LVDS: +0+0x1920x1080 mm=344x194 dpi=141,8x141,4 subpixel_order=horizontal_rgb refresh_rate=60,006
Cogl-Message: [WINSYS] ./cogl-xlib-renderer.c:410 & Outputs:
Cogl-Message: [WINSYS] ./cogl-xlib-renderer.c:449 &        LVDS: +0+0x1920x1080 mm=344x194 dpi=141,8x141,4 subpixel_order=horizontal_rgb refresh_rate=60,006
libEGL warning: DRI2: failed to authenticate
libGL: Can't open configuration file /home/giuseppe/.drirc: File o directory non esistente.
libGL: Can't open configuration file /home/giuseppe/.drirc: File o directory non esistente.
Cogl-Message: [WINSYS] ./winsys/cogl-winsys-egl.c:181 &   EGL Extensions: EGL_MESA_configless_context EGL_KHR_surfaceless_context 
Cogl-Message: [WINSYS] ./winsys/cogl-winsys-egl.c:181 &   EGL Extensions: EGL_MESA_configless_context EGL_KHR_surfaceless_context 
Cogl-Message: [WINSYS] ./driver/gl/gles/cogl-driver-gles.c:275 & Checking features
  GL_VENDOR: VMware, Inc.
  GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.5, 256 bits)
  GL_VERSION: OpenGL ES 3.0 Mesa 10.3.2
  GL_EXTENSIONS: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_depth_texture_cube_map GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix 
Cogl-Message: [WINSYS] ./cogl-gpu-info.c:569 & Driver package = Unknown, vendor = Mesa, architecture = LLVM Pipe

cogl_matrix_init_identity:
Matrix type: COGL_MATRIX_TYPE_IDENTITY, flags: 400
	1,000000 0,000000 0,000000 0,000000
	0,000000 1,000000 0,000000 0,000000
	0,000000 0,000000 1,000000 0,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_init_identity:
Matrix type: COGL_MATRIX_TYPE_IDENTITY, flags: 400
	1,000000 0,000000 0,000000 0,000000
	0,000000 1,000000 0,000000 0,000000
	0,000000 0,000000 1,000000 0,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_init_identity:
Matrix type: COGL_MATRIX_TYPE_IDENTITY, flags: 400
	1,000000 0,000000 0,000000 0,000000
	0,000000 1,000000 0,000000 0,000000
	0,000000 0,000000 1,000000 0,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_scale:
Matrix type: DIRTY, flags: 510
	1,000000 -0,000000 0,000000 0,000000
	0,000000 -1,000000 0,000000 0,000000
	0,000000 -0,000000 1,000000 0,000000
	0,000000 -0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_init_identity:
Matrix type: COGL_MATRIX_TYPE_IDENTITY, flags: 400
	1,000000 0,000000 0,000000 0,000000
	0,000000 1,000000 0,000000 0,000000
	0,000000 0,000000 1,000000 0,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_frustum:
Matrix type: DIRTY, flags: 540
	1,299038 0,000000 0,000000 0,000000
	0,000000 1,732051 0,000000 0,000000
	0,000000 0,000000 -1,002002 -0,200200
	0,000000 0,000000 -1,000000 0,000000
Inverse: 
  - not available
cogl_matrix_perspective:
Matrix type: DIRTY, flags: 540
	1,299038 0,000000 0,000000 0,000000
	0,000000 1,732051 0,000000 0,000000
	0,000000 0,000000 -1,002002 -0,200200
	0,000000 0,000000 -1,000000 0,000000
Inverse: 
  - not available
cogl_matrix_init_from_array:
Matrix type: DIRTY, flags: 701
	0,769800 0,000000 0,000000 0,000000
	0,000000 0,577350 0,000000 0,000000
	-0,000000 -0,000000 -0,000000 -1,000000
	0,000000 0,000000 -4,995000 5,005000
Inverse: 
  - not available
cogl_matrix_init_identity:
Matrix type: COGL_MATRIX_TYPE_IDENTITY, flags: 400
	1,000000 0,000000 0,000000 0,000000
	0,000000 1,000000 0,000000 0,000000
	0,000000 0,000000 1,000000 0,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_translate:
Matrix type: DIRTY, flags: 504
	1,000000 0,000000 0,000000 -38,490017
	0,000000 1,000000 0,000000 28,867514
	0,000000 0,000000 1,000000 -50,000000
	0,000000 0,000000 0,000000 1,000000
Inverse: 
  - not available
cogl_matrix_scale:
Matrix type: DIRTY, flags: 514
	0,120281 -0,000000 0,000000 -38,490017
	0,000000 -0,120281 0,000000 28,867514
	0,000000 -0,000000 0,120281 -50,000000
	0,000000 -0,000000 0,000000 1,000000
Inverse: 
  - not available
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  141 (RANDR)
  Minor opcode of failed request:  13 (RRChangeOutputProperty)
  Value in failed request:  0x79
  Serial number of failed request:  163
  Current serial number in output stream:  165


This is were I currently stop my analysis. Is this of any help?

Bye,
Giuseppe



More information about the Pkg-fglrx-devel mailing list