[Openchrome-users] Black screen with direct rendering and cle266

Peter Andersson peter
Thu Nov 9 15:52:14 PST 2006


Hi, i am trying to get direct rendering to work with a via cle266. X
starts allright when dri is not enabled but when i start X with "Load DRI"
the screen turns black and nothing else happens. The screen doesn't go
into powersave or loose the signal from the graphics board it just turns
black. Otherwise the computer seems to be working fine, i get no lockups.
In order to get back functionality of the monitor i have to connect to the
computer and reboot it via ssh.

dmesg outputs this:

[drm] Initialized drm 1.0.1 20051102
[drm] Initialized via 2.7.4 20051116 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

So there are no obvious errors here...

The Xorg.log doesn't list any errors either. But i do get many warnings
like these:

(WW) (1024x768,Monitor0) mode clock 65MHz exceeds DDC maximum 0MHz
(WW) (640x480,Monitor0) mode clock 36MHz exceeds DDC maximum 0MHz

And when X is started (although the screen is still black) it starts up
with 640x480 mode with a virtual desktop of 1024z768.

(II) VIA(0): Attempting to use 85Hz refresh for mode "640x480" (112)
(--) VIA(0): Virtual size is 1024x768 (pitch 1024)
(**) VIA(0): *Built-in mode "1024x768": 0.0 MHz, 68677.8 kHz, 85.5 Hz
(II) VIA(0): Modeline "1024x768"    0.00  1024 0 0 0  768 0 0 0
(**) VIA(0):  Built-in mode "800x600": 0.0 MHz, 53721.9 kHz, 85.6 Hz
(II) VIA(0): Modeline "800x600"    0.00  800 0 0 0  600 0 0 0
(**) VIA(0):  Built-in mode "640x480": 0.0 MHz, 43269.7 kHz, 85.5 Hz
(II) VIA(0): Modeline "640x480"    0.00  640 0 0 0  480 0 0 0
(--) VIA(0): Display dimensions: (360, 270) mm
(--) VIA(0): DPI set to (72, 72)
(II) Loading sub module "fb"


Basically i have no idea on how to proceed. So if anyone has any clue
please give me a hint. I have included my system specs and xorg.conf below.

Thanks

/Peter

Software
Xorg 7.1
Mesa 6.5.1
MesaGLU 6.5
Unichrome from the 11th october -06
DRI from kernel 2.6.18.1

Hardware
Via Epia M-1000 with latest bios (sorry can't remember version)
512 mb ram
Via CLE266 graphicsboard

Xorg.conf

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/X11/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "extmod"
	Load  "dbe"
	Load  "record"
	Load  "glx"
	Load  "xtrap"
	Load  "dri"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel"	"pc105"
	Option	    "XkbLayout" "se"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync	30 - 96
	VertRefresh	50 - 120
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "VBEModes"           	# [<bool>]
	Option		"VBEModes"	"true"
        #Option     "NoAccel"            	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoRAM"           	# <i>
        #Option     "ActiveDevice"       	# [<str>]
	Option     "ActiveDevice"	"CRT"
        #Option     "LCDDualEdge"        	# [<bool>]
        #Option     "BusWidth"           	# [<str>]
        #Option     "Center"             	# [<bool>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForcePanel"         	# [<bool>]
        #Option     "TVDotCrawl"         	# [<bool>]
        #Option     "TVDeflicker"        "1"	# <i>
        #Option     "TVType" "PAL"            	# [<str>]
        #Option     "TVOutput" "S-Video"          	# [<str>]
        #Option     "DisableVQ"          	# [<bool>]
        #Option     "DRIXINERAMA"        	# [<bool>]
        #Option     "DisableIRQ"         	# [<bool>]
        Option     "EnableAGPDMA"       	# [<bool>]
        #Option     "NoAGPFor2D"         	# [<bool>]
        #Option     "NoXVDMA"            	# [<bool>]
        #Option     "ExaNoComposite"     	# [<bool>]
	Identifier  "Card0"
	Driver      "via"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes   "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes	"1024x768" "800x600Over" "1024x768Over"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection





More information about the Openchrome-users mailing list