X11 6.9 -> 7.2 Fixed font missing
Eric W. Bates
ericx at vineyard.net
Mon Jun 11 16:16:24 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Derek Tattersall wrote:
> I did the upgrade on an AMD64 6.2 STABLE box from 6.9 to 7.2. Following
> Kris's directions, the upgrade went smoothly. However, after I used
> Xorg -configure to create a new xorg.conf, when I attempted to test it,
> it reported that the fixed font could not be found. After reading the
> X11 list, it seems that others have had this problem. I reran fc-cache,
> and it does not cache any of the fixed fonts. I had to run by hand
> mkfontdirs in each of the directories in /usr/local/lib/X11/fonts.
>
> In comparing this installation to one on a current box that was recently
> installed from the May snapshot, Most everything looks the same, the few
> differences in package lists are due to apsfilter and friends being
> installed on the current box. The xorg.0.log shows no EE entries, just
> the fixed font missing message. What am I missing here, and what is the
> recovery path?
It's a little mysterious; but mine is working. I cannot correlate when
the 'fixed font missing' message disappeared.
During the effort I reinstalled all font pkgs:
portupgrade -f fonts*
And Yuri pointed out I also wanted:
portinstall x11-fonts/font-alias
I also tried re-running xorgcfg and xorgconfig in an attempt to create a
fresh config. In order to run xorgcfg I had to install the VGA and FBDEV
video drivers. I never actually got xorgcfg to run correctly but
sometime after installing (and uninstalling) the video drivers, the font
error was replaced with a driver error.
Rebooting your machine might be in order. This has also mysteriously
alleviated; but it was the case on my machine that I could start X only
once without errors. When I run X, two kld's are loaded: i915 and drm.
Once they have been loaded up, I cannot unload the drm module (device
busy error). Attempting to start X a second time after the load up
resulted in an address about an address being out of range.
Now it all seems to work. I wish I could give you a better picture; but
mostly I was just thrashing. A new xorg.conf definitely seems in order.
fwiw here is mine:
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
#Load "speedo"
Load "freetype"
#Load "xtt"
Load "glx"
Load "dri"
Load "record"
Load "xtrap"
Load "GLcore"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
#RgbPath "/usr/local/lib/X11/rgb"
RgbPath "/usr/local/share/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
FontPath "/usr/local/lib/X11/fonts/URW/"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF/"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/CID/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
FontPath "/usr/local/lib/X11/fonts/local/"
FontPath "/usr/local/lib/X11/fonts/Speedo/"
# FontPath "/usr/local/lib/X11/fonts/TrueType/"
# FontPath "/usr/local/lib/X11/fonts/freefont/"
# FontPath "/usr/local/lib/X11/fonts/PEX/"
# FontPath "/usr/local/lib/X11/fonts/bitstream-vera/"
ModulePath "/usr/local/lib/xorg/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
# Option "NoTrapSignals"
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). This allows clients to receive these key
# events.
# Option "DontVTSwitch"
# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
# Option "DontZap"
# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.
# Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
# Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client.
# Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.
# Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
# Option "AllowNonLocalModInDev"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
#Option "Protocol" "Sysmouse"
Option "Device" "/dev/sysmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5 6 7"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
Identifier "Monitor0"
VendorName "ViewSonic"
ModelName "Optiquest Q71"
# Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 30-70
VertRefresh 50-150
Option "DPMS"
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
# Dell built-in SVGA
Identifier "Card0"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics
Device"
Driver "i810"
BusID "PCI:0:2:0"
### 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>]
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
#Identifier "X.org Configured"
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
Screen 0 "Screen0" 0 0
#Screen "Screen 1"
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
- --
Eric W. Bates
ericx at vineyard.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGbXVPD1roJTQ4LlERAjawAKCLorJpGH796e6g0DqE3/j8ZL4hPQCcCgZ7
FumdRMyO/bT+5Q6/JiVW3fs=
=z+JH
-----END PGP SIGNATURE-----
More information about the freebsd-x11
mailing list