View previous topic :: View next topic |
Author |
Message |
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Wed Sep 10, 2008 12:24 pm Post subject: X11 crashes when using OpenGL |
|
|
Hi
When i start a program which use opengl, X11 crashes, and return to the login screen...
Can you help me ?
I have :
xorg-x11 7.2
xorg-server 1.3.0.0-r6
mesa 6.5.2-r1
Xorg.log :
Code: | Backtrace:
0: /usr/bin/X(xf86SigHandler+0x84) [0x80d8274]
1: [0xffffe420]
2: /usr/lib/xorg/modules/extensions//libglx.so [0xb7be9cfa]
3: /usr/lib/xorg/modules/extensions//libglx.so(DoMakeCurrent+0x2c3) [0xb7bb2be3]
4: /usr/lib/xorg/modules/extensions//libglx.so [0xb7bb2e69]
5: /usr/lib/xorg/modules/extensions//libglx.so [0xb7bb502c]
6: /usr/bin/X [0x8153e3e]
7: /usr/bin/X(Dispatch+0x1ab) [0x808cf8b]
8: /usr/bin/X(main+0x488) [0x8074d58]
9: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7c72fdc]
10: /usr/bin/X(FontFileCompleteXLFD+0x1f5) [0x8074081]
Fatal server error:
Caught signal 11. Server aborting |
Xorg.conf :
Code: | Section "Files"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
Option "XkbVariant" "oss"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "false"
EndSection
Section "Device"
Identifier "Intel Corporation Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
Option "DRI" "true"
Option "UseFBDev" "true"
Option "PageFlip" "true"
Option "TripleBuffer" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "FramebufferCompression" "false"
Option "AddARGBGLXVisuals" "true"
# Enable offload of Motion Compensation (XvMC)
Option "LinearAlloc" "16384"
Option "Cachelines" "2048"
Option "XvMCSurfaces" "7"
EndSection
Section "Monitor"
Identifier "Écran générique"
Option "DPMS"
#HorizSync 30-70
#VertRefresh 50-160
Modeline "1280x1024_60.00" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation Integrated Graphics Controller"
Monitor "Écran générique"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024_60.00"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
EndSection
Section "Extensions"
Option "Composite" "true"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Module"
Load "freetype" # This loads the font modules
Load "glx"
Load "dri"
Load "extmod"
# Load "dbe"
EndSection |
lsmod
Code: | Module Size Used by
snd_seq_dummy 2692 0
snd_seq_oss 26112 0
snd_seq_midi_event 5760 1 snd_seq_oss
snd_seq 41040 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6028 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 33312 0
snd_mixer_oss 12800 1 snd_pcm_oss
vboxdrv 57376 0
acpi_cpufreq 6676 0
it87 16268 0
hwmon_vid 2560 1 it87
sr_mod 12196 0
cdrom 29728 1 sr_mod
i2c_i801 7568 0
snd_hda_intel 43932 5
thermal 12956 0
snd_pcm 60676 3 snd_pcm_oss,snd_hda_intel
snd_timer 16516 3 snd_seq,snd_pcm
rtc 9628 0
pata_jmicron 3968 0
button 6416 0
processor 29248 2 acpi_cpufreq,thermal
snd 39012 16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc 7304 2 snd_hda_intel,snd_pcm
usbhid 17060 0 |
lspci :
Code: | 00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Integrated Graphics Controller (rev 02)
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02)
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02)
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02)
02:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) | [/code] |
|
Back to top |
|
|
kevstar31 Guru
Joined: 22 Nov 2006 Posts: 449 Location: Ohio
|
Posted: Wed Sep 10, 2008 7:02 pm Post subject: |
|
|
Post output of:
Code: | eselect opengl list |
_________________ while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Thu Sep 11, 2008 5:43 pm Post subject: |
|
|
Code: | Available OpenGL implementations:
[1] xorg-x11 * |
|
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Sat Sep 13, 2008 12:43 pm Post subject: |
|
|
No ideas ? |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Sun Sep 14, 2008 7:56 pm Post subject: |
|
|
up |
|
Back to top |
|
|
NathanZachary Moderator
Joined: 30 Jan 2007 Posts: 2605
|
Posted: Sun Sep 14, 2008 8:06 pm Post subject: |
|
|
As I have never used the mesa driver, I can't be sure of this one, but I know with other OpenGL implementations, you will receive the driver listed as a choice. For instance, with nVidia, the option for nvidia is in the eselect opengl list. _________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Sep 14, 2008 8:52 pm Post subject: |
|
|
It's only with proprietary drivers such a nvidia. All free (as in speech) drivers don't add options for eselect.
Check how it works without all those option i section device. If it works then check which on (or which combination) causes your problems. If not the we'll think more |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Tue Sep 16, 2008 7:36 pm Post subject: |
|
|
I have tried a lot of combinations, and it has never worked... _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Wed Sep 17, 2008 11:38 am Post subject: |
|
|
Yes, xf86-video-i810 is installed. And i have tried to replace :
Driver "intel"
by
Driver "i810"
but nothing has changed. _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
x22 Apprentice
Joined: 24 Apr 2006 Posts: 208
|
Posted: Wed Sep 17, 2008 2:09 pm Post subject: |
|
|
Have you tried mesa-7.0.x (or newer)?
6.5.2 does not work for me, 7.0.3 does. (Intel GM965 a.k.a. X3100, amd64) |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Wed Sep 17, 2008 8:15 pm Post subject: |
|
|
It works with 7.0.3 !!!
Thanks a lot !
But, is there a solution to make it works with others versions of xorg ?
Or just to prevent mesa for updates ? _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Sat Nov 01, 2008 6:18 pm Post subject: |
|
|
I have made an update of a lot of packages, and it doesn't work now...
And I still have mesa 7.0.3, and I have not modified xorg.conf...
Now, the direct rendering don't work.
Glxinfo :
Code: | name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.8.0 i915 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
libGL error: dlopen /usr/lib/dri/i915_dri.so failed (/usr/lib/dri/i915_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i915_dri.so
display: :0 screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
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_copy_sub_buffer, 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_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (1.5 Mesa 6.5.2)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_point_sprite,
GL_ARB_shadow, GL_ARB_shadow_ambient, 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_transpose_matrix, GL_ARB_vertex_program,
GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_fog_coord, GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays,
GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_draw_buffers, GL_ATI_texture_env_combine3,
GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square,
GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
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
----------------------------------------------------------------------
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x28 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x2b 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 Slow
0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x6e 32 tc 0 32 0 r . . 8 8 8 8 0 0 0 0 0 0 0 0 0 Ncon |
_________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Sun Nov 02, 2008 6:16 pm Post subject: |
|
|
bounce !
I have tried with the ubuntu 8.04.1 live CD : compiz works. The live cd use mesa 7.0.3 (same as gentoo). _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Mon Nov 03, 2008 10:59 am Post subject: |
|
|
up _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Tue Nov 04, 2008 11:28 am Post subject: |
|
|
up _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Tue Nov 04, 2008 9:56 pm Post subject: |
|
|
up _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Tue Nov 04, 2008 10:08 pm Post subject: |
|
|
Now that's persistinence!
Have you tried xf86-video-intel-2.5.0 drivers?
Please post the output of Code: | grep ^CONFIG_FB /usr/src/linux/.config |
|
|
Back to top |
|
|
defenderBG l33t
Joined: 20 Jun 2006 Posts: 817
|
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Wed Nov 05, 2008 6:00 pm Post subject: |
|
|
Thanks for yours answers
Code: | grep ^CONFIG_FB /usr/src/linux/.config
CONFIG_FB=y
CONFIG_FB_DDC=m
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_VGA16=m
CONFIG_FB_VESA=y
CONFIG_FB_I810=m
CONFIG_FB_INTEL=m
CONFIG_FB_INTEL_I2C=y
CONFIG_FB_CON_DECOR=y |
When i run "eselect opengl list", i have only xorg-x11.
And i have already tried the wiki...
When i start compiz, i have :
Code: | compiz (core) - Fatal: No GLXFBConfig for default depth, this isn't going to work.
compiz (core) - Error: Failed to manage sc | reen: 0
compiz (core) - Fatal: No manageable screens found on display :0[/code] _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Wed Nov 05, 2008 9:30 pm Post subject: |
|
|
Maybe it's a symlink problem.
What is the output of ls -l /usr/lib/libGL.so |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Thu Nov 06, 2008 5:15 pm Post subject: |
|
|
Code: | me@me ~ $ ls -l /usr/lib/libGL.so
lrwxrwxrwx 1 root root 39 nov 3 00:27 /usr/lib/libGL.so -> //usr//lib/opengl/xorg-x11/lib/libGL.so
me@me ~ $ ls -l /usr/lib/opengl/xorg-x11/lib/libGL.so
lrwxrwxrwx 1 root root 12 nov 3 00:20 /usr/lib/opengl/xorg-x11/lib/libGL.so -> libGL.so.1.2
me@me ~ $ ls -l /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2
-rwxr-xr-x 1 root root 394628 nov 3 00:20 /usr/lib/opengl/xorg-x11/lib/libGL.so.1.2 |
_________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
notHerbert Advocate
Joined: 11 Mar 2008 Posts: 2228 Location: 45N 73W
|
Posted: Thu Nov 06, 2008 5:27 pm Post subject: |
|
|
That symlink is ok. Have you tried re-emerging the x11-drivers after emerging xorg-server?
Why do you emerge xorg-x11 AND xorg-server? They are the same thing.
Maybe try with xorg-server-1.4.2 only then re-emerge the x11-drivers Code: | emerge -pv $(qlist -IC x11-drivers/ | tr '\n' ' ') |
|
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Mon Nov 10, 2008 3:59 pm Post subject: |
|
|
I have tried to emerge xorg-server-1.4.2 and doing « emerge -pv $(qlist -IC x11-drivers/ | tr '\n' ' ') » but there is no difference… I have also tried with xf86-video-intel-2.5.0… _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
palkeo n00b
Joined: 14 Apr 2008 Posts: 61
|
Posted: Tue Nov 11, 2008 2:12 pm Post subject: |
|
|
up _________________ English is not my native language : if there is a spelling mistake in a message, please notice it |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|