[Openchrome-users] Black screen with direct rendering and cle266
Xavier Bachelot
xb_ml
Fri Nov 10 00:38:24 PST 2006
Peter Andersson wrote:
> 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...
>
via drm 2.7.4 is a bit old, and could probably be upgraded. Check out
the openchrome wiki for instructions, but Tht's most probably unrelated
to your issue.
(I know this is the version that is currently in upstream kernel, but I
don't know when a later drm version will be pushed. That'll ease the
pain for some via users).
> 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"
>
Your monitor is returning bad values. You should try to add Option
"NoDDC" to your xorg.conf in the Device section
>
> 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"
This is absolutly unneeded for a CLE266. You should comment it out.
> #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
>
So first, try to remove the VBEModes option, then try to also add the
NoDDC option.
Regards,
Xavier
More information about the Openchrome-users
mailing list