glxinfo crashes X with SiS661GX graphics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mesa (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I want to setup a direct rendering on notebook
with integrated graphics adapter SiS 661 GX with 64MB memory.
when I tried run "glxinfo" it crashes X and restart the gdm session,
"glxinfo 2>log" shows this error message:
X connection to :0.0 broken (explicit kill or server shutdown).
Also googleearth crashes could be connected with this problem.
--------
lspci found:
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
---------
relevant sections in xorg.conf:
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "Device"
Identifier "Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter"
Driver "sis"
BusID "PCI:1:0:0"
EndSection
Section "DRI"
Mode 0666
EndSection
-------
some parts of Xorg.0.log which may be intristing:
---
(II) LoadModule: "dri"
(II) Loading /usr/lib/
(II) Module dri: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
...
(II) LoadModule: "glx"
(II) Loading /usr/lib/
(II) Module glx: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
...
(==) SIS(0): DRI disabled
(--) SIS(0): DIMM0 is DDR SDRAM
(--) SIS(0): DIMM1 is not installed
(--) SIS(0): DIMM2 is not installed
(--) SIS(0): DRAM type: DDR SDRAM
(--) SIS(0): Memory clock: 332.892 MHz
(--) SIS(0): DRAM bus width: 64 bit
(--) SIS(0): Linear framebuffer at 0xD0000000
(--) SIS(0): MMIO registers at 0xDFEE0000 (size 64K)
(--) SIS(0): VideoRAM: 32768 KB
(II) SIS(0): Using 32192K of framebuffer memory at offset 0K
(--) SIS(0): Hardware supports two video overlays
...
(EE) AIGLX: Screen 0 is not DRI capable
(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
...
ProcXCloseDevice to close or not ?
-------
especially:
* AIGLX seems not to found DRI capable screen,
* I am not sure if X correctly detect 64KB of gr. memory,
* I do not understand last line..
There is no interesting content in .xsession-errors...
-------
strace output ends with this:
--------
read(4, "GLX_ARB_
read(4, "\1\0\0", 3) = 3
write(4, "\217\21\
read(4, "\1\375\
read(4, "\v\200\
read(4, "\v\200\
read(4, "\v\200\
read(4, "\v\200\
read(4, "\v\200\
futex(0xb7f80144, FUTEX_WAKE, 2147483647) = 0
mmap2(NULL, 266240, PROT_READ|
write(4, "\217\24\
read(4, 0xbfa0c31c, 32) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN, revents=
read(4, "", 32) = 0
write(2, "X connection to :0.0 broken (exp"..., 65) = 65
exit_group(1) = ?
-------
Commenting out whole Section "DRI" or only Mode 006 did not help.
Setting
Option "DRI" "off"
in the Device section also did not help.
Commenting out Load "dri" results that glxinfo does not crash any more...
...instead it displays this message:
X Error of failed request: GLXBadContext
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 17
Current serial number in output stream: 17
name of display: :0.0
------
...and googleearth still crash X with these messages in Xorg.0.log:
(EE) DoSwapInterval: cx = 0x842ff58, GLX screen = 0x823b940
Backtrace:
0: /usr/X11R6/
1: [0xffffe420]
2: /usr/lib/
3: /usr/lib/
4: /usr/X11R6/bin/X [0x81424ce]
5: /usr/X11R6/
6: /usr/X11R6/
7: /lib/tls/
8: /usr/X11R6/
Fatal server error:
Caught signal 11. Server aborting
(II) SIS(0): Restoring by setting old mode 0x03
-------
I reinstalled xorg sis driver, but it didn't change anything.
When I switched to vesa driver with dri loading disabled, I saw the same error in glxinfo as with sis driver.
I checked Xorg.0.log that vesa driver is really used for sure.
When I used vesa driver and enabled dri load, then I saw a little bit different message in glxinfo output:
name of display: :0.0
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 142 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateCon
Serial number of failed request: 16
Current serial number in output stream: 17
I noticed the same problem with the same graphics adapter (lspci output). For me it stopped crashing when I added the "dri" module to the section:
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "int10"
Load "type1"
Load "vbe"
Load "glx"
Load "dri"
load "GLcore"
load "v4l"
EndSection
Section "Device"
identifier "Silicon Integrated Systems (SiS) SiS Default Card"
boardname "SiS Real256E"
busid "PCI:1:0:0"
driver "sis"
screen 0
vendorname "SiS"
EndSection
Section "DRI"
Mode 0666
EndSection
Now glxinfo doesn't crash the X server anymore, but delivers this output:
$ glxinfo
name of display: :0.0
X Error of failed request: GLXBadContext
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 17
Current serial number in output stream: 17
Google Earth also won't crash anymore, but it runs (as before) very jerky, almost unusable. I fear there is no solution for that problem with my graphics adapter though, as it probably is not good enough to support 3D acceleration.