Bug 509598 - Xorg Xserver hangs when using OpenGL or any application that uses extensive graphics.
Summary: Xorg Xserver hangs when using OpenGL or any application that uses extensive ...
Keywords:
Status: CLOSED DUPLICATE of bug 510948
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 11
Hardware: i586
OS: Linux
low
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-03 22:24 UTC by Rick Retterer
Modified: 2018-04-11 07:46 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-23 16:33:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Xorg.0.log file (68.07 KB, text/plain)
2009-07-03 22:24 UTC, Rick Retterer
no flags Details
Copy of Messages file which contains the drm errors... (7.16 MB, text/plain)
2009-07-03 22:37 UTC, Rick Retterer
no flags Details

Description Rick Retterer 2009-07-03 22:24:44 UTC
Created attachment 350462 [details]
Xorg.0.log file 

Description of problem:



The Xorg Xserver hangs when using any application that uses gl* libraries.

For example: when running GLXdock (cairo-dock w/ OpenGL) the application attempts to startup, but then locks up my display solidly.  The mouse pointer moves on the display, but nothing else responds and I must "halt" my system or crash it to restore it back to functionality.

Sometimes when scrolling Firefox, the very same thing happens and my display locks up solidly. 

Anyway system is HP Compaq dc7100 
Dual-core Intel Pentium 4  3.2GHz 800MHz
Bios:
vendor: Hewlett-Packard
version: 786C1 v01.05 (06/16/2004)

00:02.0 VGA compatible controller: Intel Corporation 82915G/GV/910GL Integrated
Graphics Controller (rev 04)

00:02.1 Display controller: Intel Corporation 82915G Integrated Graphics
Controller (rev 04)

product: 82915G/GV/910GL Integrated Graphics Controller [8086:2582]
vendor: Intel Corporation [8086]
bus info: pci@0000:00:02.0
version: 04
width: 32 bits
clock: 33MHz
capabilities:
 Power Management,
 vga_controller,
 bus mastering,
 PCI capabilities listing,
 extension ROM
configuration:
 driver: i915
 latency: 0
resources:
 irq: 16
 memory: cfe00000-cfe7ffff
 ioport: 1800(size=8)
 memory: e0000000-efffffff(prefetchable)
 memory: cff00000-cff3ffff

Errors found in my /var/log/messages file:

Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_object_pin_and_relocate]
*ERROR* No GTT space found for object 26
Jun 28 04:43:51 localhost kernel: [drm:i915_gem_execbuffer] *ERROR* Failed to
pin buffers -22


Version-Release number of selected component (if applicable):

X.Org X Server 1.6.1.901 (1.6.2 RC 1)
Release Date: 2009-5-8
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.18-128.1.6.el5 i686 
Current Operating System: Linux Grendal 2.6.29.5-191.fc11.i586 #1 SMP Tue Jun 16
 23:11:39 EDT 2009 i686
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Build Date: 18 May 2009  02:47:59PM
Build ID: xorg-x11-server 1.6.1.901-1.fc11 
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 30 21:14:17 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "single head configuration"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "Videocard0"
(==) No monitor specified for screen "Screen0".
	Using a default monitor configuration.
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
	catalogue:/etc/X11/fontpath.d,
	built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) The server relies on HAL to provide the list of input devices.
	If no devices become available, reconfigure HAL or disable AllowEmptyInp
ut.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' wi
ll be disabled.
(WW) Disabling Keyboard0
(II) Loader magic: 0x640
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 5.0
	X.Org XInput driver : 4.0
	X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0@0:2:0) Intel Corporation 82915G/GV/910GL Integrated Graphics Contro
ller rev 4, Mem @ 0xcfe00000/524288, 0xe0000000/268435456, 0xcff00000/262144, I/
O @ 0x00001800/8, BIOS @ 0x????????/131072
(II) No APM support in BIOS or kernel
(II) System resource ranges:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.13.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.6.1.901, module version = 2.7.0
	Module class: X.Org Video Driver
	ABI class: X.Org Video Driver, version 5.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
	i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
	E7221 (i915), 915GM, 945G, 945GM, 945GME, IGD_GM, IGD_G, 965G, G35,
	965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	Mobile Intel® GM45 Express Chipset,
	Intel Integrated Graphics Device, G45/G43, Q45/Q43, G41
(II) Primary Device is: PCI 00@00:02:0
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[5] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
(II) resource ranges after probing:
	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
	[4] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[5] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[6] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[7] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
	[8] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
	[9] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[10] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
(**) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915G
(--) intel(0): Chipset: "915G"
(II) intel(0): Resizable framebuffer: available (0 4)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 10, (OK)
drmOpenByBusid: drmOpenMinor returns 10
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) intel(0): Output VGA1 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): Manufacturer: GSM  Model: 566e  Serial#: 342711

(more information available upon request.)


How reproducible:
100% reproducable with xine or gldock.

Steps to Reproduce:
1. Configure a system using the Intel 915 drivers on Fedora core 11
2. Startup gldock and attempt to access any of the icons. *BAM* Locked...
3. Crash or recycle power to restore functionality.
  
Actual results:
Display hangs solidly, nothing moves or updates, however the mouse pointer remains active.  Keyboard appears to be hung up as well.

Expected results:
No hangs...

Additional info:

Additional information available upon request.

Comment 1 Rick Retterer 2009-07-03 22:37:10 UTC
Created attachment 350463 [details]
Copy  of Messages file which contains the drm errors...

Copy of messages file which contains the errors mentioned in this case.

Comment 2 Fred New 2009-07-13 15:10:42 UTC
I'm getting something similar with a different graphics card that may or may not be related.

In /var/log/messages, I see a lot of

Jul 13 11:08:24 xxxxxxxx kernel: [drm:mga_dma_flush] *ERROR* mga_dma_flush calle
d without lock held, held  0 owner ea9343c0 ea9343c0
Jul 13 11:08:24 xxxxxxxx kernel: [drm:mga_dma_reset] *ERROR* mga_dma_reset calle
d without lock held, held  0 owner ea9343c0 ea9343c0

My /var/log/Xorg.0.log.old shows a lot of
(EE) MGA(0): [dri] Idle timed out, resetting engine...

The lines preceding the repeating lines look like a normal Xorg initialization:

(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(EE) MGA(0): [dri] Idle timed out, resetting engine...
(EE) MGA(0): [dri] Idle timed out, resetting engine...
(EE) MGA(0): [dri] Idle timed out, resetting engine...
(EE) MGA(0): [dri] Idle timed out, resetting engine...

Somewhere in here, my mouse and keyboard freeze.  I think the freezing comes before the / file system fills up with the above two log files.

Two of my three systems have this same graphics card, and they are both exhibiting the same problem.  So maybe my problem isn't related to this bug.

Comment 3 Patrick O'Callaghan 2009-07-15 16:07:02 UTC
I'm getting a very similar situation: https://bugzilla.redhat.com/show_bug.cgi?id=510948

Comment 4 Matěj Cepl 2009-07-23 16:33:07 UTC
(In reply to comment #3)
> I'm getting a very similar situation:
> https://bugzilla.redhat.com/show_bug.cgi?id=510948  

Your bug seems to have better comments, closing this one as a duplicate.

*** This bug has been marked as a duplicate of bug 510948 ***


Note You need to log in before you can comment on or make changes to this bug.