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

Bug#405998: [xserver-xorg-video-mga]: xv video is blue after kernel suspend



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

Playing a video on a mga multihead/xinerama setup
is working without problems (using X11/xv).
After suspending the system (kernel suspend) and
resuming the only output on the screen is a blue box.

I tried resetting the colorkey with
xvattr -a XV_COLORKEY -v 66046 
but it didn't worked.

Logging out of the X session and logging in again 
solves the problem. 

Attached you'll find the xorg.conf
Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
EndSection

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

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
EndSection

Section "Device"
	Identifier	"Matrox Card 0"
	Driver		"mga"
	BusID		"PCI:1:0:0"
	Screen		0
EndSection

Section "Device"
	Identifier	"Matrox Card 1"
	Driver		"mga"
	BusID		"PCI:1:0:0"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"E"
	Option		"DPMS"
	HorizSync	30-82
	VertRefresh	50-120
	DisplaySize	315	235
EndSection

Section "Monitor"
	Identifier	"n"
	Option		"DPMS"
	HorizSync	30 - 68.7
	VertRefresh	56.25 - 86
	DisplaySize	285	215
        Modeline        "1024x768@60Hz" 63.61 1024 1056 1168 1312 768 770 772 808  # 64 MHz, 48.5 kHz, 60.0 Hz

EndSection

Section "Screen"
	Identifier	"Screen 1"
	Device		"Matrox	Card 0"
	Monitor		"E"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
        Identifier "Screen 2"
        Device     "Matrox Card 1"
        Monitor    "n"
        DefaultDepth     24
        DefaultFbBPP     32
        SubSection "Display"
                Depth     24
                Modes    "1024x768@60Hz"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768@60Hz"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768@60Hz"
        EndSubSection
EndSection


Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          0 "Screen 1" LeftOf "Screen 2"
        Screen          "Screen 2" 0 0
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        Option          "Xinerama" "On"
EndSection

Section "DRI"
	Mode	0666
EndSection

Reply to: