Current-Users archive

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

xorg.conf is read but not acted on correctly



I normally don't bother creating a /etc/X11/xorg.conf file as the built-in 
defaults generally work OK. I just tried to create one using X -configure and 
then edited it to (a) allow for ms-ttf font and (b) set the keyboard layout 
"uk"

I was slightly surprised that having the file xorg.conf present doesn't 
override any of the built-ins. What seems to happen is both are used, but some 
things in the xorg.conf are completely ignored - like things that aren't in 
the built-ins. So that the keyboard map stays at "us" and the type1 and 
freetype modules are ignored.

The built-in seems to have some unwanted paths to /usr/X11R7/share...

Maybe I am doing something stupid, but this seems to be unintuitive. Any help 
appreciated!

config file:

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

Section "Files"
        ModulePath   "/usr/X11R7/lib/modules"
        FontPath     "/usr/X11R7/lib/X11/fonts/TTF"
        FontPath     "/usr/X11R7/lib/X11/fonts/Type1"
        FontPath     "/usr/X11R7/lib/X11/fonts/misc"
        FontPath     "/usr/X11R7/lib/X11/fonts/100dpi"
        FontPath     "/usr/X11R7/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load  "dri"
        Load  "dri2"
        Load  "glx"
        Load  "shadow"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbdLayout" "uk"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "AccelMethod"               # <str>
        #Option     "Backlight"                 # <str>
        #Option     "DRI"                       # <str>
        #Option     "Present"                   # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "VideoKey"                  # <i>
        #Option     "Tiling"                    # [<bool>]
        #Option     "LinearFramebuffer"         # [<bool>]
        #Option     "VSync"                     # [<bool>]
        #Option     "PageFlip"                  # [<bool>]
        #Option     "SwapbuffersWait"           # [<bool>]
        #Option     "TripleBuffer"              # [<bool>]
        #Option     "XvPreferOverlay"           # [<bool>]
        #Option     "HotPlug"                   # [<bool>]
        #Option     "ReprobeOutputs"            # [<bool>]
        #Option     "DeleteUnusedDP12Displays"  # [<bool>]
        #Option     "XvMC"                      # [<bool>]
        #Option     "ZaphodHeads"               # <str>
        #Option     "VirtualHeads"              # <i>
        #Option     "TearFree"                  # [<bool>]
        #Option     "PerCrtcPixmaps"            # [<bool>]
        #Option     "FallbackDebug"             # [<bool>]
        #Option     "DebugFlushBatches"         # [<bool>]
        #Option     "DebugFlushCaches"          # [<bool>]
        #Option     "DebugWait"                 # [<bool>]
        #Option     "BufferCache"               # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        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
        EndSubSection
EndSection

log file:

[  2175.541] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  2175.541] X Protocol Version 11, Revision 0
[  2175.541] Build Operating System: NetBSD/amd64  - 
[  2175.541] Current Operating System: NetBSD dell.anduin.org.uk 7.99.39 
NetBSD 7.99.39 (GENERIC) #0: Thu Oct 13 20:46:24 BST 2016  
root%dell.anduin.org.uk@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
[  2175.541] Build Date: 14 August 2016  01:29:29AM
[  2175.541]  
[  2175.541] Current version of pixman: 0.32.6
[  2175.541]    Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
[  2175.541] Markers: (--) probed, (**) from config file, (==) default 
setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2175.542] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 10 16:31:06 
2016
[  2175.542] (==) Using config file: "/etc/X11/xorg.conf"
[  2175.542] (==) ServerLayout "X.org Configured"
[  2175.542] (**) |-->Screen "Screen0" (0)
[  2175.542] (**) |   |-->Monitor "Monitor0"
[  2175.542] (**) |   |-->Device "Card0"
[  2175.542] (**) |-->Input Device "Mouse0"
[  2175.542] (**) |-->Input Device "Keyboard0"
[  2175.542] (==) Not automatically adding devices
[  2175.542] (==) Not automatically enabling devices
[  2175.542] (==) Not automatically adding GPU devices
[  2175.542] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/misc" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/TTF" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/OTF" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/Type1" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/100dpi" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/75dpi" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/share/fonts/X11/cyrillic" does not 
exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) The directory "/usr/X11R7/lib/X11/fonts/OTF" does not exist.
[  2175.542]    Entry deleted from font path.
[  2175.542] (WW) `fonts.dir' not found (or not valid) in 
"/usr/X11R7/lib/X11/fonts/cyrillic".
[  2175.542]    Entry deleted from font path.
[  2175.542]    (Run 'mkfontdir' on "/usr/X11R7/lib/X11/fonts/cyrillic").
[  2175.542] (**) FontPath set to:
        /usr/X11R7/lib/X11/fonts/TTF,
        /usr/X11R7/lib/X11/fonts/Type1,
        /usr/X11R7/lib/X11/fonts/misc,
        /usr/X11R7/lib/X11/fonts/100dpi,
        /usr/X11R7/lib/X11/fonts/75dpi,
        /usr/X11R7/lib/X11/fonts/misc,
        /usr/X11R7/lib/X11/fonts/TTF,
        /usr/X11R7/lib/X11/fonts/Type1,
        /usr/X11R7/lib/X11/fonts/100dpi,
        /usr/X11R7/lib/X11/fonts/75dpi
[  2175.542] (**) ModulePath set to "/usr/X11R7/lib/modules"
[  2175.542] (II) Loader magic: 0x16e695c40
[  2175.542] (II) Module ABI versions:
[  2175.542]    X.Org ANSI C Emulation: 0.4
[  2175.542]    X.Org Video Driver: 20.0
[  2175.542]    X.Org XInput driver : 22.1
[  2175.542]    X.Org Server Extension : 9.0
[  2175.546] (--) PCI:*(0:0:2:0) 8086:2e32:1028:043e rev 3, Mem @ 
0xfe400000/4194304, 0xd0000000/268435456, I/O @ 0x0000ec00/8
[  2175.546] (II) "glx" will be loaded. This was enabled by default and also 
specified in the config file.
[  2175.546] (II) LoadModule: "dri"
[  2175.546] (II) Module "dri" already built-in
[  2175.546] (II) LoadModule: "dri2"
[  2175.546] (II) Module "dri2" already built-in
[  2175.546] (II) LoadModule: "glx"
[  2175.547] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[  2175.547] (II) Module glx: vendor="X.Org Foundation"
[  2175.547]    compiled for 1.18.4, module version = 1.0.0
[  2175.547]    ABI class: X.Org Server Extension, version 9.0
[  2175.547] (==) AIGLX enabled
[  2175.547] (II) LoadModule: "shadow"
[  2175.548] (II) Loading /usr/X11R7/lib/modules/extensions/libshadow.so
[  2175.548] (II) Module shadow: vendor="X.Org Foundation"
[  2175.548]    compiled for 1.18.4, module version = 1.1.0
[  2175.548]    ABI class: X.Org ANSI C Emulation, version 0.4
[  2175.548] (II) LoadModule: "intel"
[  2175.548] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so
[  2175.549] (II) Module intel: vendor="X.Org Foundation"
[  2175.549]    compiled for 1.18.4, module version = 2.99.917
[  2175.549]    Module class: X.Org Video Driver
[  2175.549]    ABI class: X.Org Video Driver, version 20.0
[  2175.549] (II) LoadModule: "mouse"
[  2175.549] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[  2175.549] (II) Module mouse: vendor="X.Org Foundation"
[  2175.549]    compiled for 1.18.4, module version = 1.9.1
[  2175.549]    Module class: X.Org XInput Driver
[  2175.549]    ABI class: X.Org XInput driver, version 22.1
[  2175.549] (II) LoadModule: "kbd"
[  2175.550] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[  2175.550] (II) Module kbd: vendor="X.Org Foundation"
[  2175.550]    compiled for 1.18.4, module version = 1.8.1
[  2175.550]    Module class: X.Org XInput Driver
[  2175.550]    ABI class: X.Org XInput driver, version 22.1
[  2175.550] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[  2175.550] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[  2175.550] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[  2175.550] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 
6200, P6300
[  2175.550] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode 
(version 3.32)
[  2175.550] (--) using VT number 5
[  2175.554] (II) intel(0): Using Kernel Mode Setting driver: i915, version 
1.6.0 20080730
[  2175.554] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card 
support
[  2175.554] (--) intel(0): Integrated Graphics Chipset: Intel(R) G41
[  2175.554] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3
[  2175.554] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[  2175.554] (==) intel(0): RGB weight 888
[  2175.554] (==) intel(0): Default visual is TrueColor
[  2175.554] (II) intel(0): Output VGA1 using monitor section Monitor0
[  2175.554] (II) intel(0): Enabled output VGA1
[  2175.554] (--) intel(0): Using a maximum size of 256x256 for hardware 
cursors
[  2175.554] (II) intel(0): Output VIRTUAL1 has no monitor section
[  2175.554] (II) intel(0): Enabled output VIRTUAL1
[  2175.555] (--) intel(0): Output VGA1 using initial mode 1280x1024 on pipe 0
[  2175.555] (==) intel(0): TearFree disabled
[  2175.555] (==) intel(0): DPI set to (96, 96)
[  2175.555] (II) Loading sub module "dri2"
[  2175.555] (II) LoadModule: "dri2"
[  2175.555] (II) Module "dri2" already built-in
[  2175.555] (==) Depth 24 pixmap format is 32 bpp
[  2175.555] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[  2175.555] (==) intel(0): Backing store enabled
[  2175.555] (==) intel(0): Silken mouse enabled
[  2175.555] (II) intel(0): HW Cursor enabled
[  2175.555] (II) intel(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
[  2175.555] (==) intel(0): DPMS enabled
[  2175.555] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[  2175.555] (II) intel(0): [DRI2] Setup complete
[  2175.555] (II) intel(0): [DRI2]   DRI driver: i965
[  2175.555] (II) intel(0): [DRI2]   VDPAU driver: i965
[  2175.555] (II) intel(0): direct rendering: DRI2 enabled
[  2175.555] (--) RandR disabled
[  2175.568] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  2175.568] (II) AIGLX: enabled GLX_ARB_create_context
[  2175.568] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  2175.568] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[  2175.568] (II) AIGLX: enabled GLX_INTEL_swap_event
[  2175.568] (II) AIGLX: enabled GLX_SGI_swap_control and 
GLX_MESA_swap_control
[  2175.568] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  2175.568] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  2175.568] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[  2175.568] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  2175.568] (II) AIGLX: Loaded and initialized i965
[  2175.568] (II) GLX: Initialized DRI2 GL provider for screen 0
[  2175.573] (II) intel(0): switch to mode 1280x1024@60.0 on VGA1 using pipe 
0, position (0, 0), rotation normal, reflection none
[  2175.583] (II) intel(0): Setting screen physical size to 338 x 270
[  2175.726] (II) Using input driver 'mouse' for 'Mouse0'
[  2175.726] (**) Option "CorePointer"
[  2175.726] (**) Mouse0: always reports core events
[  2175.726] (**) Option "Protocol" "wsmouse"
[  2175.726] (**) Option "Device" "/dev/wsmouse"
[  2175.726] (**) Mouse0: Protocol: "wsmouse"
[  2175.726] (**) Mouse0: always reports core events
[  2175.761] (==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
[  2175.761] (**) Option "ZAxisMapping" "4 5 6 7"
[  2175.761] (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
[  2175.761] (**) Mouse0: Buttons: 11
[  2175.761] (II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE, 
id 6)
[  2175.761] (**) Mouse0: (accel) keeping acceleration scheme 1
[  2175.761] (**) Mouse0: (accel) acceleration profile 0
[  2175.761] (**) Mouse0: (accel) acceleration factor: 2.000
[  2175.761] (**) Mouse0: (accel) acceleration threshold: 4
[  2175.761] (II) Using input driver 'kbd' for 'Keyboard0'
[  2175.761] (**) Option "CoreKeyboard"
[  2175.761] (**) Keyboard0: always reports core events
[  2175.761] (**) Keyboard0: always reports core events
[  2175.761] (**) Option "Protocol" "standard"
[  2175.761] (**) Option "XkbRules" "base"
[  2175.761] (**) Option "XkbModel" "pc105"
[  2175.761] (**) Option "XkbLayout" "us"
[  2175.761] (II) XINPUT: Adding extended input device "Keyboard0" (type: 
KEYBOARD, id 7)
[  2211.046] (II) UnloadModule: "kbd"
[  2211.046] (II) UnloadModule: "mouse"
[  2211.127] (II) Server terminated successfully (0). Closing log file.

-- 
========================================
Phone: 07805784357
Open Source O/S: www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
========================================


Home | Main Index | Thread Index | Old Index