You are not logged in.

#1 2015-07-06 15:51:13

nunikasi
Member
Registered: 2014-07-06
Posts: 6

[SOLVED] GLX not working as regular user

Hello!

I can't seem to run applications using OpenGL/GLX as a regular user, and neither as root. Sudo works, though! I'm on a system with GMA 3150, and I suspect it being a permission problem. I don't know how long it has been like this, and all drivers are up to date.

See bottom for answer.

Output of Xorg.0.log is at the bottom, and also permissions of /dev/dri/* if that is needed.

As normal user:

[nunikasi@nunikasi ~]$ glxinfo
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  32
  Current serial number in output stream:  31
[nunikasi@nunikasi ~]$ glxgears
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  21
  Current serial number in output stream:  23

As root:

[root@nunikasi ~]# glxinfo
X Error of failed request:  GLXBadContext
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  6 (X_GLXIsDirect)
  Serial number of failed request:  32
  Current serial number in output stream:  31

Sudo:

[nunikasi@nunikasi ~]$ sudo glxinfo
[sudo] password for nunikasi: 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer, 
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Pineview M 
OpenGL version string: 2.1 Mesa 10.6.1
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_shader_trinary_minmax, 
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, 
    GL_APPLE_object_purgeable, GL_APPLE_packed_pixels, 
    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility, 
    GL_ARB_clear_buffer_object, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_copy_buffer, GL_ARB_debug_output, GL_ARB_depth_texture, 
    GL_ARB_draw_buffers, GL_ARB_draw_elements_base_vertex, 
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, 
    GL_ARB_fragment_program, GL_ARB_fragment_shader, 
    GL_ARB_framebuffer_object, GL_ARB_get_program_binary, 
    GL_ARB_half_float_pixel, GL_ARB_internalformat_query, 
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, 
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multisample, 
    GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex, 
    GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_separate_shader_objects, 
    GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow, 
    GL_ARB_sync, GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, 
    GL_ARB_texture_storage, GL_ARB_transpose_matrix, 
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding, 
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, 
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3, GL_EXT_abgr, 
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_object, GL_EXT_gpu_program_parameters, 
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil, 
    GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp, 
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine, 
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle, 
    GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, GL_EXT_vertex_array, 
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_KHR_context_flush_control, GL_KHR_debug, GL_MESA_pack_invert, 
    GL_MESA_window_pos, GL_MESA_ycbcr_texture, GL_NV_blend_square, 
    GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, 
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, 
    GL_NV_texture_rectangle, GL_OES_EGL_image, GL_OES_read_format, 
    GL_S3_s3tc, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.6.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, 
    GL_APPLE_texture_max_level, GL_EXT_blend_minmax, 
    GL_EXT_discard_framebuffer, GL_EXT_draw_buffers, GL_EXT_map_buffer_range, 
    GL_EXT_multi_draw_arrays, GL_EXT_read_format_bgra, 
    GL_EXT_separate_shader_objects, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_format_BGRA8888, 
    GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage, 
    GL_KHR_context_flush_control, GL_NV_draw_buffers, 
    GL_NV_fbo_color_attachments, GL_NV_read_buffer, GL_OES_EGL_image, 
    GL_OES_EGL_sync, GL_OES_depth24, GL_OES_depth_texture, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
    GL_OES_get_program_binary, GL_OES_mapbuffer, GL_OES_packed_depth_stencil, 
    GL_OES_rgb8_rgba8, GL_OES_stencil8, GL_OES_surfaceless_context, 
    GL_OES_texture_3D, GL_OES_texture_npot, GL_OES_vertex_array_object

12 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x020 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x021 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x074 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x075 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x076 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x077 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x078 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x079 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x07a 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07b 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x07c 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x05b 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None

24 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x05c  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x05d  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x05e  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x05f  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x060 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x061 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x062 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x063 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x064  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x065  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x066 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x067 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x068  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x069  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x06a  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06b  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x06c 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x06d 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x06e 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x06f 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x070  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0  0  0  0  0  0 0 None
0x071  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0 16  0 16 16 16  0  0 0 Slow
0x072 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x073 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow

Xorg.0.log

[  2802.040] 
X.Org X Server 1.17.2
Release Date: 2015-06-16
[  2802.040] X Protocol Version 11, Revision 0
[  2802.040] Build Operating System: Linux 4.0.4-2-ARCH x86_64 
[  2802.040] Current Operating System: Linux nunikasi 4.0.7-1-ck #1 SMP PREEMPT Tue Jun 30 15:58:24 EDT 2015 x86_64
[  2802.040] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-ck root=/dev/mapper/nunikasi-root rw elevator=bfq cryptdevice=/dev/sda:nunikasi:header root=/dev/mapper/nunikasi-root resume=/dev/nunikasi/swap quiet
[  2802.040] Build Date: 30 June 2015  09:00:12PM
[  2802.040]  
[  2802.040] Current version of pixman: 0.32.6
[  2802.041] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2802.041] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2802.041] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jul  6 17:15:36 2015
[  2802.041] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2802.042] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2802.042] (==) No Layout section.  Using the first Screen section.
[  2802.042] (==) No screen section available. Using defaults.
[  2802.042] (**) |-->Screen "Default Screen Section" (0)
[  2802.042] (**) |   |-->Monitor "<default monitor>"
[  2802.043] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2802.043] (==) Automatically adding devices
[  2802.043] (==) Automatically enabling devices
[  2802.043] (==) Automatically adding GPU devices
[  2802.043] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2802.043] 	Entry deleted from font path.
[  2802.044] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2802.044] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2802.044] 	Entry deleted from font path.
[  2802.044] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2802.044] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  2802.044] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2802.044] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2802.044] (II) Loader magic: 0x816d60
[  2802.044] (II) Module ABI versions:
[  2802.044] 	X.Org ANSI C Emulation: 0.4
[  2802.044] 	X.Org Video Driver: 19.0
[  2802.044] 	X.Org XInput driver : 21.1
[  2802.044] 	X.Org Server Extension : 9.0
[  2802.050] (EE) systemd-logind: failed to get session: PID 4124 does not belong to any known session
[  2802.053] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2802.057] (--) PCI:*(0:0:2:0) 8086:a011:144d:c08f rev 0, Mem @ 0xf0300000/524288, 0xd0000000/268435456, 0xf0000000/1048576, I/O @ 0x000018d0/8
[  2802.058] (--) PCI: (0:0:2:1) 8086:a012:144d:c08f rev 0, Mem @ 0xf0380000/524288
[  2802.058] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2802.058] (II) LoadModule: "glx"
[  2802.059] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2802.065] (II) Module glx: vendor="X.Org Foundation"
[  2802.065] 	compiled for 1.17.2, module version = 1.0.0
[  2802.065] 	ABI class: X.Org Server Extension, version 9.0
[  2802.065] (==) AIGLX enabled
[  2802.065] (==) Matched intel as autoconfigured driver 0
[  2802.065] (==) Matched intel as autoconfigured driver 1
[  2802.065] (==) Matched modesetting as autoconfigured driver 2
[  2802.065] (==) Matched fbdev as autoconfigured driver 3
[  2802.065] (==) Matched vesa as autoconfigured driver 4
[  2802.065] (==) Assigned the driver to the xf86ConfigLayout
[  2802.065] (II) LoadModule: "intel"
[  2802.066] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  2802.067] (II) Module intel: vendor="X.Org Foundation"
[  2802.067] 	compiled for 1.17.2, module version = 2.99.917
[  2802.067] 	Module class: X.Org Video Driver
[  2802.067] 	ABI class: X.Org Video Driver, version 19.0
[  2802.067] (II) LoadModule: "modesetting"
[  2802.067] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  2802.068] (II) Module modesetting: vendor="X.Org Foundation"
[  2802.068] 	compiled for 1.17.2, module version = 1.17.2
[  2802.068] 	Module class: X.Org Video Driver
[  2802.068] 	ABI class: X.Org Video Driver, version 19.0
[  2802.068] (II) LoadModule: "fbdev"
[  2802.069] (WW) Warning, couldn't open module fbdev
[  2802.069] (II) UnloadModule: "fbdev"
[  2802.069] (II) Unloading fbdev
[  2802.069] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  2802.069] (II) LoadModule: "vesa"
[  2802.070] (WW) Warning, couldn't open module vesa
[  2802.070] (II) UnloadModule: "vesa"
[  2802.070] (II) Unloading vesa
[  2802.070] (EE) Failed to load module "vesa" (module does not exist, 0)
[  2802.070] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  2802.071] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  2802.071] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  2802.072] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[  2802.072] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2802.072] (++) using VT number 1

[  2802.079] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20150130
[  2802.080] (II) intel(0): SNA compiled from 2.99.917-364-gb24e758
[  2802.080] (WW) Falling back to old probe method for modesetting
[  2802.081] (--) intel(0): Integrated Graphics Chipset: Intel(R) Pineview GM
[  2802.081] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 1 threads
[  2802.081] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  2802.082] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  2802.082] (==) intel(0): RGB weight 888
[  2802.082] (==) intel(0): Default visual is TrueColor
[  2802.083] (II) intel(0): Output LVDS1 has no monitor section
[  2802.084] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[  2802.084] (II) intel(0): Enabled output LVDS1
[  2802.084] (II) intel(0): Output VGA1 has no monitor section
[  2802.084] (II) intel(0): Enabled output VGA1
[  2802.084] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[  2802.084] (II) intel(0): Output VIRTUAL1 has no monitor section
[  2802.085] (II) intel(0): Enabled output VIRTUAL1
[  2802.085] (--) intel(0): Output LVDS1 using initial mode 1024x600 on pipe 1
[  2802.085] (==) intel(0): TearFree disabled
[  2802.085] (==) intel(0): DPI set to (96, 96)
[  2802.085] (II) Loading sub module "dri2"
[  2802.085] (II) LoadModule: "dri2"
[  2802.085] (II) Module "dri2" already built-in
[  2802.085] (II) Loading sub module "present"
[  2802.085] (II) LoadModule: "present"
[  2802.085] (II) Module "present" already built-in
[  2802.085] (II) UnloadModule: "modesetting"
[  2802.086] (II) Unloading modesetting
[  2802.086] (==) Depth 24 pixmap format is 32 bpp
[  2802.090] (II) intel(0): SNA initialized with Alviso (gen3) backend
[  2802.090] (==) intel(0): Backing store enabled
[  2802.090] (==) intel(0): Silken mouse enabled
[  2802.090] (II) intel(0): HW Cursor enabled
[  2802.091] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  2802.091] (==) intel(0): DPMS enabled
[  2802.091] (==) intel(0): Display hotplug detection enabled
[  2802.092] (II) intel(0): [XvMC] i915_xvmc driver initialized.
[  2802.092] (II) intel(0): [DRI2] Setup complete
[  2802.092] (II) intel(0): [DRI2]   DRI driver: i915
[  2802.092] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[  2802.092] (II) intel(0): direct rendering: DRI2 enabled
[  2802.092] (II) intel(0): hardware support for Present enabled
[  2802.092] (--) RandR disabled
[  2802.138] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  2802.139] (II) AIGLX: enabled GLX_ARB_create_context
[  2802.139] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  2802.139] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[  2802.139] (II) AIGLX: enabled GLX_INTEL_swap_event
[  2802.139] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  2802.139] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  2802.139] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  2802.139] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  2802.139] (II) AIGLX: Loaded and initialized i915
[  2802.139] (II) GLX: Initialized DRI2 GL provider for screen 0
[  2802.146] (II) intel(0): switch to mode 1024x600@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  2802.146] (II) intel(0): Setting screen physical size to 270 x 158
[  2802.315] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  2802.316] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2802.316] (**) Power Button: Applying InputClass "system-keyboard"
[  2802.316] (II) LoadModule: "evdev"
[  2802.316] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  2802.318] (II) Module evdev: vendor="X.Org Foundation"
[  2802.318] 	compiled for 1.17.1, module version = 2.9.2
[  2802.318] 	Module class: X.Org XInput Driver
[  2802.318] 	ABI class: X.Org XInput driver, version 21.0
[  2802.318] (II) Using input driver 'evdev' for 'Power Button'
[  2802.318] (**) Power Button: always reports core events
[  2802.318] (**) evdev: Power Button: Device: "/dev/input/event3"
[  2802.318] (--) evdev: Power Button: Vendor 0 Product 0x1
[  2802.319] (--) evdev: Power Button: Found keys
[  2802.319] (II) evdev: Power Button: Configuring as keyboard
[  2802.319] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[  2802.319] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2802.319] (**) Option "xkb_rules" "evdev"
[  2802.319] (**) Option "xkb_model" "pc104"
[  2802.319] (**) Option "xkb_layout" "no"
[  2802.319] (**) Option "xkb_variant" "nodeadkeys"
[  2802.404] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[  2802.404] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2802.404] (**) Power Button: Applying InputClass "system-keyboard"
[  2802.404] (II) Using input driver 'evdev' for 'Power Button'
[  2802.404] (**) Power Button: always reports core events
[  2802.404] (**) evdev: Power Button: Device: "/dev/input/event1"
[  2802.404] (--) evdev: Power Button: Vendor 0 Product 0x1
[  2802.404] (--) evdev: Power Button: Found keys
[  2802.404] (II) evdev: Power Button: Configuring as keyboard
[  2802.404] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[  2802.404] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[  2802.404] (**) Option "xkb_rules" "evdev"
[  2802.404] (**) Option "xkb_model" "pc104"
[  2802.405] (**) Option "xkb_layout" "no"
[  2802.405] (**) Option "xkb_variant" "nodeadkeys"
[  2802.407] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[  2802.407] (II) No input driver specified, ignoring this device.
[  2802.407] (II) This device may have been added with another device file.
[  2802.409] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[  2802.409] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  2802.409] (**) Sleep Button: Applying InputClass "system-keyboard"
[  2802.409] (II) Using input driver 'evdev' for 'Sleep Button'
[  2802.409] (**) Sleep Button: always reports core events
[  2802.409] (**) evdev: Sleep Button: Device: "/dev/input/event2"
[  2802.409] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  2802.409] (--) evdev: Sleep Button: Found keys
[  2802.409] (II) evdev: Sleep Button: Configuring as keyboard
[  2802.410] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[  2802.410] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[  2802.410] (**) Option "xkb_rules" "evdev"
[  2802.410] (**) Option "xkb_model" "pc104"
[  2802.410] (**) Option "xkb_layout" "no"
[  2802.410] (**) Option "xkb_variant" "nodeadkeys"
[  2802.414] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event7)
[  2802.414] (II) No input driver specified, ignoring this device.
[  2802.414] (II) This device may have been added with another device file.
[  2802.415] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event4)
[  2802.416] (II) No input driver specified, ignoring this device.
[  2802.416] (II) This device may have been added with another device file.
[  2802.418] (II) config/udev: Adding input device WebCam SCB-0355N (/dev/input/event9)
[  2802.418] (**) WebCam SCB-0355N: Applying InputClass "evdev keyboard catchall"
[  2802.418] (**) WebCam SCB-0355N: Applying InputClass "system-keyboard"
[  2802.418] (II) Using input driver 'evdev' for 'WebCam SCB-0355N'
[  2802.418] (**) WebCam SCB-0355N: always reports core events
[  2802.418] (**) evdev: WebCam SCB-0355N: Device: "/dev/input/event9"
[  2802.418] (--) evdev: WebCam SCB-0355N: Vendor 0x2232 Product 0x1006
[  2802.418] (--) evdev: WebCam SCB-0355N: Found keys
[  2802.418] (II) evdev: WebCam SCB-0355N: Configuring as keyboard
[  2802.418] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-8/5-8:1.0/input/input11/event9"
[  2802.419] (II) XINPUT: Adding extended input device "WebCam SCB-0355N" (type: KEYBOARD, id 9)
[  2802.419] (**) Option "xkb_rules" "evdev"
[  2802.419] (**) Option "xkb_model" "pc104"
[  2802.419] (**) Option "xkb_layout" "no"
[  2802.419] (**) Option "xkb_variant" "nodeadkeys"
[  2802.422] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[  2802.422] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  2802.422] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[  2802.422] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  2802.422] (**) AT Translated Set 2 keyboard: always reports core events
[  2802.422] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[  2802.422] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  2802.422] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  2802.422] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  2802.422] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[  2802.422] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  2802.422] (**) Option "xkb_rules" "evdev"
[  2802.422] (**) Option "xkb_model" "pc104"
[  2802.422] (**) Option "xkb_layout" "no"
[  2802.423] (**) Option "xkb_variant" "nodeadkeys"
[  2802.425] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event8)
[  2802.425] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
[  2802.425] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
[  2802.425] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
[  2802.425] (II) LoadModule: "synaptics"
[  2802.426] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  2802.427] (II) Module synaptics: vendor="X.Org Foundation"
[  2802.427] 	compiled for 1.17.1, module version = 1.8.2
[  2802.427] 	Module class: X.Org XInput Driver
[  2802.427] 	ABI class: X.Org XInput driver, version 21.0
[  2802.427] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
[  2802.427] (**) ETPS/2 Elantech Touchpad: always reports core events
[  2802.427] (**) Option "Device" "/dev/input/event8"
[  2802.459] (II) synaptics: ETPS/2 Elantech Touchpad: ignoring touch events for semi-multitouch device
[  2802.459] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 0 - 819 (res 0)
[  2802.459] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 0 - 405 (res 0)
[  2802.460] (--) synaptics: ETPS/2 Elantech Touchpad: pressure range 0 - 255
[  2802.460] (--) synaptics: ETPS/2 Elantech Touchpad: finger width range 0 - 15
[  2802.460] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left right double triple
[  2802.460] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
[  2802.460] (**) Option "TapButton1" "1"
[  2802.460] (**) Option "TapButton2" "2"
[  2802.460] (**) Option "TapButton3" "3"
[  2802.461] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  2802.461] (**) ETPS/2 Elantech Touchpad: always reports core events
[  2802.479] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event8"
[  2802.479] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 11)
[  2802.479] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[  2802.479] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
[  2802.480] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.219
[  2802.481] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
[  2802.481] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
[  2802.481] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
[  2802.481] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
[  2802.482] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  2802.484] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
[  2802.484] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[  2802.486] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[  2802.486] (II) No input driver specified, ignoring this device.
[  2802.486] (II) This device may have been added with another device file.
[  2807.209] (II) intel(0): EDID vendor "CMO", prod id 4146
[  2807.209] (II) intel(0): Printing DDC gathered Modelines:
[  2807.209] (II) intel(0): Modeline "1024x600"x0.0   54.20  1024 1133 1205 1386  600 607 620 652 -hsync -vsync (39.1 kHz eP)
[  3448.521] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3450.431] (II) AIGLX: Resuming AIGLX clients after VT switch
[  3450.432] (II) intel(0): switch to mode 1024x600@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  3450.460] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[  3492.073] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3555.415] (II) AIGLX: Resuming AIGLX clients after VT switch
[  3555.416] (II) intel(0): switch to mode 1024x600@60.0 on LVDS1 using pipe 1, position (0, 0), rotation normal, reflection none
[  3555.445] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
[nunikasi@nunikasi ~]$ ls -al /dev/dri/
drwxr-xr-x   2 root root       100 juli   6 16:28 .
drwxr-xr-x  21 root root      3240 juli   6 17:07 ..
crwxrw-r-x+  1 root video 226,   0 juli   6 16:29 card0
crw-rw----   1 root video 226,  64 juli   6 16:29 controlD64
crw-rw----+  1 root video 226, 128 juli   6 16:29 renderD128

Solved!
Since sudo worked and root/nunikasi didn't I had an idea that one of the environment variables would be the source of the problem. It turns out I had both "INTEL_BATCH=1" and "LIBGL_ALWAYS_INDIRECT=1" in my list. This was probably from an old compiz setup I had. In /etc/profiles.d/ I found compiz.sh which set those variables, and after commenting out, I got it working again. Easier than I thought!

Last edited by nunikasi (2015-07-07 00:18:40)

Offline

#2 2015-07-06 16:30:30

ms
Member
From: Bandung, Indonesia
Registered: 2010-07-28
Posts: 81
Website

Re: [SOLVED] GLX not working as regular user

Hmm, weird, I never got problem like this before.

Try logout from X, switch to console, login and remove .Xauthority and .ICEauthority from your home directory. Restart X and try run glxinfo again.

If that does not work try it with new user. Create a new user and run glxinfo as new user.

Offline

#3 2015-07-06 17:13:13

nunikasi
Member
Registered: 2014-07-06
Posts: 6

Re: [SOLVED] GLX not working as regular user

ms wrote:

Hmm, weird, I never got problem like this before.

Try logout from X, switch to console, login and remove .Xauthority and .ICEauthority from your home directory. Restart X and try run glxinfo again.

If that does not work try it with new user. Create a new user and run glxinfo as new user.

Thanks for the reply!

However, I already tried both of those, without any change. This is really weird.

Best regards,
nunikasi

Offline

#4 2015-07-06 18:00:57

ms
Member
From: Bandung, Indonesia
Registered: 2010-07-28
Posts: 81
Website

Re: [SOLVED] GLX not working as regular user

Wait, is this a new installation or it happened to works before?

What about reinstalling mesa-libgl and mesa?

Have you tried adding "Mode 0666" section to xorg.conf too?

Section "DRI"
	Mode 0666
EndSection

Offline

#5 2015-07-06 19:48:25

nunikasi
Member
Registered: 2014-07-06
Posts: 6

Re: [SOLVED] GLX not working as regular user

ms wrote:

Wait, is this a new installation or it happened to works before?

What about reinstalling mesa-libgl and mesa?

Have you tried adding "Mode 0666" section to xorg.conf too?

Section "DRI"
	Mode 0666
EndSection

AFAIR, it worked before. As I said, though, I can't remember what led to this situation... I tried reinstalling mesa, and also adding that to my /etc/X11/xorg.conf.d/20-intel.conf, but without any success. sad

Thanks for the effort, though!
- nunikasi

Offline

Board footer

Powered by FluxBB