OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Apple Macbook Xorg font problems

From: Kostas Zorbadelos (kzorbaotenet.gr)
Date: Thu Sep 18 2008 - 08:58:29 CDT


On Tuesday 19 August 2008 11:29:53 Kostas Zorbadelos wrote:

Just an update about this.

In a 4.4 OpenBSD snapshot (the one of 10 Sep) the Xorg font problem is
resolved. I can now clearly see both anti-aliased and standard (bitmap) X
fonts.

Kostas

> Hello to everyone.
>
> This is my first post here and I should be considered a "new user" in
> OpenBSD. I have an Apple Macbook (13.3') Intel Core 2 Duo and I managed to
> install 4.3-release/amd64. I have a working console-based system using
> GENERIC.MP kernel. The problem is when I start X I can see no fonts on the
> screen (seems like an X server synchronization problem).
>
> A search in Google about a valid xorg.conf file produced various results
> but I could get no solution. Does anyone have a working xorg.conf file or
> any pointers to the solution?
>
> Find attached my xorg.conf file (pretty much the one generated by X
> -configure with few additions). Another hint is that if I connect the
> laptop to an external monitor (using the mini DVI-to-DVI connector of
> Apple) I can see the fonts just fine. If you need any other input please
> let me know.
>
> Thanks in advance,
>
> KOstas Zorbadelos
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> RgbPath "/usr/X11R6/share/X11/rgb"
> ModulePath "/usr/X11R6/lib/modules"
> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
> FontPath "/usr/X11R6/lib/X11/fonts/misc/"
> FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
> FontPath "/usr/X11R6/lib/X11/fonts/OTF"
> FontPath "/usr/local/lib/X11/fonts/ghostscript/"
> FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
> FontPath "/usr/local/lib/X11/fonts/mscorefonts/"
> EndSection
>
> Section "Module"
> Load "GLcore"
> Load "dbe"
> Load "extmod"
> Load "glx"
> Load "record"
> Load "xtrap"
> Load "freetype"
> Load "type1"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "wsmouse"
> Option "Device" "/dev/wsmouse"
> Option "ZAxisMapping" "4 5 6 7"
> EndSection
>
> Section "Monitor"
> #DisplaySize 290 190 # mm
> Identifier "Monitor0"
> VendorName "APP"
> ModelName "Color LCD"
> HorizSync 28.0 - 64.0
> VertRefresh 43.0 - 60.0
> 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 "NoAccel" # [<bool>]
> #Option "SWcursor" # [<bool>]
> #Option "ColorKey" # <i>
> #Option "CacheLines" # <i>
> #Option "Dac6Bit" # [<bool>]
> #Option "DRI" # [<bool>]
> #Option "NoDDC" # [<bool>]
> #Option "ShowCache" # [<bool>]
> #Option "XvMCSurfaces" # <i>
> #Option "PageFlip" # [<bool>]
> Identifier "Card0"
> Driver "intel"
> VendorName "Intel Corporation"
> BoardName "Mobile 945GM/GMS, 943/940GML Express Integrated Graphics
> Controller" BusID "PCI:0:2: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
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> Modes "1280x800"
> EndSubSection
> EndSection