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

Bug#399509: xserver-xorg-video-mga: hangs after switch to console and back



Package: xserver-xorg-video-mga
Version: 1:1.4.4.dfsg.1-1
Severity: grave

Hello,

switching to a normal (well, matroxfb) text console and back to X hangs
X completely and blocks subsequent console switching, I have to kill -9
the X server in a remote shell to get my local consoles back.

After switching back to X the X server spits out a lot of idle timeout
messages:

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
(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...
...

while the kernel generates a lot of messages like:

[drm:mga_dma_flush] *ERROR* mga_dma_flush called without lock held
[drm:mga_dma_reset] *ERROR* mga_dma_reset called without lock held
[drm:mga_dma_flush] *ERROR* mga_dma_flush called without lock held
[drm:mga_dma_reset] *ERROR* mga_dma_reset called without lock held
...

This seems to have started with 1:1.4.2.dfsg.1-1, downgrading back to
1:1.4.1.dfsg.1-4 fixes it, there the X server just logs:

(II) AIGLX: Suspending AIGLX clients for VT switch
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
DRIUnlock called when not locked

My system is i386, 2.4.27. Probably relevant parts of my xorg.conf:

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "Device"
	Identifier	"Matrox Graphics, Inc. MGA G400/G450"
	Driver		"mga"
	Option		"UseFBDev"		"true"
	Option		"AGPMode"		"4"

	#
	# Configuration without framebuffer
	#

	# Misdetects 20480 or 18432 sometimes (especially on subsequent starts)
	#VideoRAM	16384
	# VideoRAM available with 2MB matroxfb_crtc2
	#VideoRAM	14332

	#
	# Configuration with framebuffer
	#

	# Hardware-Cursor gets destroyed when switching to console and back
	Option		"HWCursor"		"false"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Matrox Graphics, Inc. MGA G400/G450"
	Monitor		"Sony CPD-G400P"
	DefaultDepth	16
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection

Section "DRI"
	Group	"video"
	Mode	0660
EndSection


Thanks for your work & regards
   Mario
-- 
There are 10 types of people in the world:
Those who understand binary, and those who don't...

Attachment: signature.asc
Description: Digital signature


Reply to: