[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#445553: marked as done (xserver-xorg-video-sis: X crashes from various openGL programs with DRI acceleration)



Your message dated Sun, 02 Dec 2007 18:14:34 +0100
with message-id <4752E7FA.8040800@ens-lyon.org>
and subject line Bug#445553: Correction: xserver-xorg-video-sis: X crashes from various openGL programs with DRI
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Subject: X crashes from various openGL programs with DRI acceleration
Package: xserver-xorg-video-sis
Version: 1:0.9.1-4
Severity: important



-- System Information:
Debian Release: 4.0
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-486
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages xserver-xorg-video-sis depends on:
ii  libc6                         2.6.1-1+b1 GNU C Library: Shared libraries
ii  xserver-xorg-core             2:1.1.1-21 X.Org X server -- core server

xserver-xorg-video-sis recommends no packages.

-- no debconf information




Description:

Many programs which depend on libGL crash my system completely shortly into their execution. For example, an example xscreensaver program, sundance2, crashes shortly into execution.

matt@mattdeb:/usr/lib/xscreensaver$ ldd sundancer2
        linux-gate.so.1 =>  (0xffffe000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7f46000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ee6000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7df9000)
        libm.so.6 => /lib/libm.so.6 (0xb7dd3000)
        libc.so.6 => /lib/libc.so.6 (0xb7c8b000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7ba6000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7b9b000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b8d000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7b87000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7b84000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7b7f000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7b68000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7b64000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7b5b000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b57000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7b52000)
        /lib/ld-linux.so.2 (0xb7fd8000)

Other examples are gmplayer (Mplayer) when a gl video driver option is used, armagetron, and many WINE programs which depend on the WINE opengl drivers.

It is interesting that these programs don't seem to crash when dri is disabled, and GL is using software rendering. Also, some GL programs seem to work fine, such as billard-gl, neverput and ppracer. As well, after the system seems to have crashed, my computer LED occasionally flickers as if the system is still loading.
Ctrl-alt-escape seems to work and shutdown the system even after it has crashed and is not receiving keyboard input. Howerver, as it is shutting down my screen and keyboard seem to remain frozen.
 
Here is a list of a few package versions relavent to the problem. My libc6 and libgl1-mesa-dri & glx packages have been upgraded, as I thought these might be the culprit. However, the problem is still there. As far as I can tell, chaning MESA and mesa-dri has not changed anything.

Kernel version:

	matt@mattdeb:~$ uname -a
	Linux mattdeb 2.6.18-4-486 #1 Mon Mar 26 16:39:10 UTC 2007 i686 GNU/Linux

libc version:
	matt@mattdeb:~$ dpkg -s libc6 | grep ^Version
	Version: 2.6.1-1+b1

Gl package versions:
	matt@mattdeb:~$ dpkg -s libgl1-mesa-dri | grep ^Version
	Version: 7.0.1-1

	matt@mattdeb:~$ dpkg -s libgl1-mesa-glx | grep ^Version
	Version: 7.0.1-1

	matt@mattdeb:~$ dpkg -s libglu1-mesa | grep ^Version
	Version: 6.5.1-0.6

Here are some of my settings. I have tried changing these as well.

Snippets from /etc/X11/xorg.conf:

	Section "Module"
	        Load    "i2c"
	        Load    "bitmap"
	        Load    "ddc"
	#       Load    "dri"
	        Load    "extmod"
	        Load    "freetype"
	#       Load    "glx" # These are supposedly automatically loaded by sis.
	        Load    "int10"
	        Load    "vbe"
	        Load    "GLcore"
	EndSection

	Section "Device"
	        Identifier      "Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA Display Adapter"	
	        Driver          "sis"
	        BusID           "PCI:1:0:0"
	#       Option          "AccelMethod" "XAA"
	#       Option          "XAANoOffscreenPixmaps" "true"
	#       Option          "EnableSiSCtrl" "yes"
	        Option          "AGPSize" "32"
	        Option          "MaxXFBMem" "12288"
	EndSection

	Section "DRI"
	        Mode    0666
	EndSection

Here is the end of dmesg | tail:

	[drm] Initialized drm 1.0.1 20051102
	[drm] Initialized sis 1.1.0 20030826 on minor 0
	agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
	agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
	agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

Here is some messages from var/log/Xorg.0.log
	matt@mattdeb:~$ cat /var/log/Xorg.0.log | grep AIGLX
	(==) AIGLX enabled
	(WW) AIGLX: 3D driver claims to not support visual 0x22
	(WW) AIGLX: 3D driver claims to not support visual 0x23
	(WW) AIGLX: 3D driver claims to not support visual 0x24
	(WW) AIGLX: 3D driver claims to not support visual 0x25
	(WW) AIGLX: 3D driver claims to not support visual 0x26
	(WW) AIGLX: 3D driver claims to not support visual 0x27
	(WW) AIGLX: 3D driver claims to not support visual 0x28
	(WW) AIGLX: 3D driver claims to not support visual 0x29
	(WW) AIGLX: 3D driver claims to not support visual 0x2a
	(WW) AIGLX: 3D driver claims to not support visual 0x2b
	(WW) AIGLX: 3D driver claims to not support visual 0x2c
	(WW) AIGLX: 3D driver claims to not support visual 0x2d
	(WW) AIGLX: 3D driver claims to not support visual 0x2e
	(WW) AIGLX: 3D driver claims to not support visual 0x2f
	(WW) AIGLX: 3D driver claims to not support visual 0x30
	(WW) AIGLX: 3D driver claims to not support visual 0x31
	(II) AIGLX: Loaded and initialized /usr/lib/dri/sis_dri.so
	
	matt@mattdeb:~$ cat /var/log/Xorg.0.log | grep drm
	(II) Loading sub module "drm"
	(II) LoadModule: "drm"
	(II) Loading /usr/lib/xorg/modules/linux/libdrm.so
	(II) Module drm: vendor="X.Org Foundation"
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is -1, (No such device or address)
	drmOpenDevice: open result is -1, (No such device or address)
	drmOpenDevice: Open failed
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is -1, (No such device or address)
	drmOpenDevice: open result is -1, (No such device or address)
	drmOpenDevice: Open failed
	drmOpenByBusid: Searching for BusID pci:0000:01:00.0
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is 9, (OK)
	drmOpenByBusid: drmOpenMinor returns 9
	drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
	(II) SIS(0): [drm] loaded kernel module for "sis" driver
	(II) SIS(0): [drm] DRM interface version 1.2
	(II) SIS(0): [drm] created "sis" driver at busid "pci:0000:01:00.0"
	(II) SIS(0): [drm] added 8192 byte SAREA at 0xc7c33000
	(II) SIS(0): [drm] mapped SAREA 0xc7c33000 to 0xb6a1a000
	(II) SIS(0): [drm] framebuffer handle = 0xe0000000
	(II) SIS(0): [drm] added 1 reserved context for kernel
	(II) SIS(0): [drm] MMIO registers mapped to 0xefee0000
	(II) SIS(0): [drm] AGP enabled
	(II) SIS(0): [drm] Allocated 32MB AGP memory
	(II) SIS(0): [drm] Bound 32MB AGP memory
	(II) SIS(0): [drm] No valid IRQ number for device 1:0:0 (code -22)
	(II) SIS(0): [drm] installed DRM signal handler
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is 10, (OK)
	drmOpenByBusid: Searching for BusID pci:0000:01:00.0
	drmOpenDevice: node name is /dev/dri/card0
	drmOpenDevice: open result is 10, (OK)
	drmOpenByBusid: drmOpenMinor returns 10
	drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
	
	matt@mattdeb:~$ cat /var/log/Xorg.0.log | grep Direct
	(II) SIS(0): Direct rendering enabled
	
Here is my /etc/modules. The problem remains with the sisfb kernel module.
	matt@mattdeb:~$ cat /etc/modules
	snd-seq-oss
	loop
	#sisfb
	snd-virmidi
	
Here is my video driver information:
	matt@mattdeb:~$ lspci
	00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 21)
	00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
	00:01.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
	00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 83)
	00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
	00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
	00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI Audio 	Accelerator (rev 02)
	00:01.6 Modem: Silicon Integrated Systems [SiS] AC'97 Modem Controller (rev a0)
	00:02.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
	01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 630/730 PCI/AGP VGA 	Display Adapter (rev 21)

Here is my glxinfo:
	matt@mattdeb:/usr/games$ glxinfo
	name of display: :0.0
	display: :0  screen: 0
	direct rendering: Yes
	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_OML_swap_method, 
	    GLX_SGIS_multisample, GLX_SGIX_fbconfig
	OpenGL vendor string: Eric Anholt
	OpenGL renderer string: Mesa DRI SiS 20060710 AGP 1x x86/MMX/3DNow!
	OpenGL version string: 1.2 Mesa 7.0.1
	OpenGL extensions:
	    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_border_clamp, 
	    GL_ARB_texture_compression, GL_ARB_texture_mirrored_repeat, 
	    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object, GL_ARB_window_pos, 
	    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_clip_volume_hint, 
	    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, 
	    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_polygon_offset, 
	    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
	    GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture, 
	    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, 
	    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array, 
	    GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip, 
	    GL_IBM_texture_mirrored_repeat, GL_MESA_ycbcr_texture, GL_MESA_window_pos, 
	    GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texgen_reflection, 
	    GL_OES_read_format, GL_SGIS_texture_border_clamp, 
	    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
	glu version: 1.3
	glu extensions:
	    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
	
	   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
	----------------------------------------------------------------------
	0x22 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
	0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
	0x24 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
	0x25 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
	0x26 16 tc  0 16  0 r  .  .  5  6  5  0  0 32  0  0  0  0  0  0 0 None
	0x27 16 tc  0 16  0 r  y  .  5  6  5  0  0 32  0  0  0  0  0  0 0 None
	0x28 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
	0x29 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8  0  0  0  0  0 0 None
	0x2a 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
	0x2b 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
	0x2c 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
	0x2d 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
	0x2e 16 tc  0 16  0 r  .  .  5  6  5  0  0 32  0 16 16 16  0  0 0 Slow
	0x2f 16 tc  0 16  0 r  y  .  5  6  5  0  0 32  0 16 16 16  0  0 0 Slow
	0x30 16 tc  0 16  0 r  .  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
	0x31 16 tc  0 16  0 r  y  .  5  6  5  0  0 24  8 16 16 16  0  0 0 Slow
	

Other than a few packages I have downloaded, transfered and installed, I have a regular Debian Etch distrobution.
I figured the problem had to do with memory allocation, but changing my version of dri didn't help.


_________________________________________________________________
Send a smile, make someone laugh, have some fun! Start now!
http://www.freemessengeremoticons.ca/?icid=EMENCA122


--- End Message ---
--- Begin Message ---
Matthew Gibson wrote:
> Yeah, you should probably close it. I still have the computer, but I
> cleared the hard drive, so I could use it in this other computer.

Ok closing.

If anybody ever reproduces, feel free to reopen.

Brice



--- End Message ---

Reply to: