Problems configuring X11 for Sun E450 running OpenBSD4.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problems configuring X11 for Sun E450 running OpenBSD4.0

banji
Hi,

I have an E450 which I recently installed OpenBSD4.0 on, I have been
able to configure everything that I needed except for X11, My video card
is a Raptor GFX 32 (standard for the E450s) from what I have read it
uses a glint driver, when I ran xforgcfg that is the driver that I
picked.  However on typing startx at the prompt I get the following:

basileus@parthia: ~#
Xauth: creating new authority file /home/basileus/.serverpath.22575

X connection to : 0:0 broken (explicit kill or server shutdown)
basileus@parthia: ~#

On getting this I looked at /var/log/X.org.log.0 and the output is shown
below.

basileus@parthia: log% cat Xorg.0.log    (--) Using wscons driver

X Window System Version 6.9.0 (for OpenBSD)
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: OpenBSD 4.0 sparc64 [ELF]
Current Operating System: OpenBSD parthia.elegba.net 4.0 GENERIC#953
sparc64
Build Date: 13 September 2006
       Before reporting problems, check http://wiki.X.Org
       to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Apr  6 20:22:30 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "** 3DLabs, TI (generic)               [glint]"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/local/"

(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(II) Module ABI versions:
       X.Org ANSI C Emulation: 0.2
       X.Org Video Driver: 0.8
       X.Org XInput driver : 0.5
       X.Org Server Extension : 0.2
       X.Org Font Renderer : 0.4
(II) Loader running on openbsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.0
       Module class: X.Org Font Renderer
       ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.0
       ABI class: X.Org Video Driver, version 0.8
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:01:0: chip 108e,1000 card 0000,0000 rev 01 class 06,80,00
hdr 80
(II) PCI: 00:01:1: chip 108e,1001 card 0000,0000 rev 01 class 02,00,00
hdr 80
(II) PCI: 00:02:0: chip 1000,000f card 0000,0000 rev 03 class 01,00,00
hdr 00
(II) PCI: 00:03:0: chip 1000,000f card 0000,0000 rev 03 class 01,00,00
hdr 00
(II) PCI: 02:03:0: chip 3d3d,0009 card 1227,0006 rev 01 class 03,80,00
hdr 00
(II) PCI: 04:04:0: chip 1000,000f card 1000,1000 rev 14 class 01,00,00
hdr 80
(II) PCI: 04:04:1: chip 1000,000f card 1000,1000 rev 14 class 01,00,00
hdr 80
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
       [0] -1  0       0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 0 non-prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 0 prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 2: bridge is at (0:0:0), (2,2,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 2 I/O range:
       [0] -1  0       0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 2 non-prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 2 prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 4: bridge is at (0:0:0), (4,4,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 4 I/O range:
       [0] -1  0       0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) Bus 4 non-prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(II) Bus 4 prefetchable memory range:
       [0] -1  0       0x80000000 - 0xffffffff (0x80000000) MX[B]
(--) PCI:*(2:3:0) 3DLabs Permedia II 2D+3D rev 1, Mem @ 0x00020000/17,
0x00800000/23, 0x01000000/23, BIOS @ 0x01800000/16
(II) Addressable bus resource ranges are
       [0] -1  0       0x00000000 - 0xffffffff (0x100000000) MX[B]
       [1] -1  0       0x00000000 - 0xffffffff (0x100000000) IX[B]
(II) OS-reported resource ranges:
       [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
       [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
       [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
       [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
       [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
       [0] -1  0       0x00004000 - 0x00007fff (0x4000) MX[B]E
       [1] -1  0       0x00003000 - 0x00003fff (0x1000) MX[B]E
       [2] -1  0       0x00002000 - 0x00003fff (0x2000) MX[B]E
       [3] -1  0       0x00001000 - 0x00001fff (0x1000) MX[B]E
       [4] -1  0       0x00011000 - 0x00011fff (0x1000) MX[B]E
       [5] -1  0       0x00010000 - 0x0001ffff (0x10000) MX[B]E
       [6] -1  0       0x00013000 - 0x00013fff (0x1000) MX[B]E
       [7] -1  0       0x00012000 - 0x00013fff (0x2000) MX[B]E
       [8] -1  0       0x00008000 - 0x0000ffff (0x8000) MX[B]E
       [9] -1  0       0x71000000 - 0x71ffffff (0x1000000) MX[B]E
       [10] -1 0       0x70000000 - 0x7fffffff (0x10000000) MX[B]E
       [11] -1 0       0x01800000 - 0x0180ffff (0x10000) MX[B](B)
       [12] -1 0       0x01000000 - 0x017fffff (0x800000) MX[B](B)
       [13] -1 0       0x00800000 - 0x00ffffff (0x800000) MX[B](B)
       [14] -1 0       0x00020000 - 0x0003ffff (0x20000) MX[B](B)
       [15] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
       [16] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [17] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [18] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
(II) PCI Memory resource overlap reduced 0x00002000 from 0x00003fff to
0x00002fff
(II) PCI Memory resource overlap reduced 0x00010000 from 0x0001ffff to
0x00010fff
(II) PCI Memory resource overlap reduced 0x00012000 from 0x00013fff to
0x00012fff
(II) PCI Memory resource overlap reduced 0x70000000 from 0x7fffffff to
0x70ffffff
(II) Active PCI resource ranges after removing overlaps:
       [0] -1  0       0x00004000 - 0x00007fff (0x4000) MX[B]E
       [1] -1  0       0x00003000 - 0x00003fff (0x1000) MX[B]E
       [2] -1  0       0x00002000 - 0x00002fff (0x1000) MX[B]E
       [3] -1  0       0x00001000 - 0x00001fff (0x1000) MX[B]E
       [4] -1  0       0x00011000 - 0x00011fff (0x1000) MX[B]E
       [5] -1  0       0x00010000 - 0x00010fff (0x1000) MX[B]E
       [6] -1  0       0x00013000 - 0x00013fff (0x1000) MX[B]E
       [7] -1  0       0x00012000 - 0x00012fff (0x1000) MX[B]E
       [8] -1  0       0x00008000 - 0x0000ffff (0x8000) MX[B]E
       [9] -1  0       0x71000000 - 0x71ffffff (0x1000000) MX[B]E
       [10] -1 0       0x70000000 - 0x70ffffff (0x1000000) MX[B]E
       [11] -1 0       0x01800000 - 0x0180ffff (0x10000) MX[B](B)
       [12] -1 0       0x01000000 - 0x017fffff (0x800000) MX[B](B)
       [13] -1 0       0x00800000 - 0x00ffffff (0x800000) MX[B](B)
       [14] -1 0       0x00020000 - 0x0003ffff (0x20000) MX[B](B)
       [15] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
       [16] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [17] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [18] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
       [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
       [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
       [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
       [3] -1  0       0xffffffff - 0xffffffff (0x1) IX[B]
       [4] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
       [0] -1  0       0xffffffff - 0xffffffff (0x1) MX[B]
       [1] -1  0       0x00000000 - 0x00000000 (0x1) MX[B]
       [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
       [3] -1  0       0x00004000 - 0x00007fff (0x4000) MX[B]E
       [4] -1  0       0x00003000 - 0x00003fff (0x1000) MX[B]E
       [5] -1  0       0x00002000 - 0x00002fff (0x1000) MX[B]E
       [6] -1  0       0x00001000 - 0x00001fff (0x1000) MX[B]E
       [7] -1  0       0x00011000 - 0x00011fff (0x1000) MX[B]E
       [8] -1  0       0x00010000 - 0x00010fff (0x1000) MX[B]E
       [9] -1  0       0x00013000 - 0x00013fff (0x1000) MX[B]E
       [10] -1 0       0x00012000 - 0x00012fff (0x1000) MX[B]E
       [11] -1 0       0x00008000 - 0x0000ffff (0x8000) MX[B]E
       [12] -1 0       0x71000000 - 0x71ffffff (0x1000000) MX[B]E
       [13] -1 0       0x70000000 - 0x70ffffff (0x1000000) MX[B]E
       [14] -1 0       0x01800000 - 0x0180ffff (0x10000) MX[B](B)
       [15] -1 0       0x01000000 - 0x017fffff (0x800000) MX[B](B)
       [16] -1 0       0x00800000 - 0x00ffffff (0x800000) MX[B](B)
       [17] -1 0       0x00020000 - 0x0003ffff (0x20000) MX[B](B)
       [18] -1 0       0xffffffff - 0xffffffff (0x1) IX[B]
       [19] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
       [20] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
       [21] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [22] -1 0       0x00000400 - 0x000004ff (0x100) IX[B]E
       [23] -1 0       0x00000800 - 0x000008ff (0x100) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.0
       Module class: X.Org Server Extension
       ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.0
       Module class: X.Org Server Extension
       ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.2
       Module class: X.Org Font Renderer
       ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
       compiled for 6.9.0, module version = 2.1.0
       Module class: X.Org Font Renderer
       ABI class: X.Org Font Renderer, version 0.4
(II) Loading font FreeType
(II) LoadModule: "glint"
(WW) Warning, couldn't open module glint
(II) UnloadModule: "glint"
(EE) Failed to load module "glint" (module does not exist, 0)
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.3
       Module class: X.Org XInput Driver
       ABI class: X.Org XInput driver, version 0.5
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
       compiled for 6.9.0, module version = 1.0.1
       Module class: X.Org XInput Driver
       ABI class: X.Org XInput driver, version 0.5
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
        at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional
information.

Towards the end you can see that it cannot find the driver for the
card.  Below you will see the output of running uname -a, dmesg as well
as my XF86config file.  Any advice that anyone can give will be greatly
appreciated.
basileus@parthia: log% uname -a
OpenBSD parthia.elegba.net 4.0 GENERIC#953 sparc64

------------------------ dmesg
------------------------------------------------------------------------
basileus@parthia: log% dmesg
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2006 OpenBSD. All rights reserved.  
http://www.OpenBSD.org

OpenBSD 4.0 (GENERIC) #953: Sun Sep 17 00:56:22 MDT 2006
   [hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC
total memory = 1073741824
avail memory = 969326592
using 6553 buffers containing 53682176 bytes of memory
bootpath: /pci@1f,4000/scsi@3,0/disk@0,0
mainbus0 (root): Sun Enterprise 450 (4 X UltraSPARC-II 296MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-II @ 296 MHz, version 0 FPU
cpu0: physical 32K instruction (32 b/l), 16K data (32 b/l), 2048K
external (64 b/l)
timer0 at mainbus0 addr 0xfff99c00 ivec 0x7ec, 0x7ed
psycho0 at mainbus0 addr 0xfffb4000: SUNW,psycho, impl 0, version 4, ign
7c0
psycho0: bus range 0-0, PCI bus 0
psycho0: dvma map fe000000-ffffdfff, iotdb 57b0000-57b8000, STC0 enabled
pci0 at psycho0
ebus0 at pci0 dev 1 function 0 "Sun PCIO Ebus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
power0 at ebus0 addr 724000-724003 ipl 2021 ipl 2034
"SUNW,pll" at ebus0 addr 504000-504002 not configured
uperf0 at ebus0 addr 500000-500007: model SUNW,sc-marvin (0/1) ports 9
sab0 at ebus0 addr 400000-40007f ipl 2027: rev 3.2
sabtty0 at sab0 port 0
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 2025: layout 33
wskbd0 at comkbd0: console keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 2026: mouse: ns16550a, 16 byte fifo
lpt0 at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ipl 2018:
polled
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl
2023 not configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff, 0-fffff not configured
"SUNW,envctrl" at ebus0 addr 600000-600003 ipl 2024 ipl 2021 not configured
hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
08:00:20:91:e5:7a
nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x03: ivec
0x7e0, using 4K of on-board RAM
scsibus0 at siop0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST318305LSUN18G, 0340> SCSI3
0/direct fixed
sd0: 17274MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sec, 35378533 sec total
sd1 at scsibus0 targ 1 lun 0: <IBM, DMVS18M, 0220> SCSI3 0/direct fixed
sd1: 17366MB, 11736 cyl, 10 head, 303 sec, 512 bytes/sec, 35566500 sec
total
siop1 at pci0 dev 2 function 0 "Symbios Logic 53c875" rev 0x03: ivec
0x7e6, using 4K of on-board RAM
scsibus1 at siop1: 16 targets
cd0 at scsibus1 targ 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 0997> SCSI2
5/cdrom removable
psycho1 at mainbus0 addr 0xfffc6000: SUNW,psycho, impl 0, version 4, ign
7c0
psycho1: bus range 128-128, PCI bus 128
psycho1: dvma map fe000000-ffffe000, iotdb 57b0000-57b8000, STC0
enabled, STC1 enabled
pci1 at psycho1
mc at mainbus0 not configured
psycho2 at mainbus0 addr 0xfff52000: SUNW,psycho, impl 0, version 4, ign
100
psycho2: bus range 0-0, PCI bus 0
psycho2: dvma map fe000000-ffffdfff, iotdb 5832000-583a000, STC0 enabled
pci2 at psycho2
vgafb0 at pci2 dev 3 function 0 "3D Labs Permedia 3" rev 0x01
vgafb0: WARNING: no mmio space configured
wsdisplay0 at vgafb0: console (std, sun emulation), using wskbd0
psycho3 at mainbus0 addr 0xfff64000: SUNW,psycho, impl 0, version 4, ign
100
psycho3: bus range 128-128, PCI bus 128
psycho3: dvma map fe000000-ffffe000, iotdb 5832000-583a000, STC0
enabled, STC1 enabled
pci3 at psycho3
psycho4 at mainbus0 addr 0xfff26000: SUNW,psycho, impl 0, version 4, ign
180
psycho4: bus range 0-0, PCI bus 0
psycho4: dvma map fe000000-ffffdfff, iotdb 583c000-5844000, STC0 enabled
pci4 at psycho4
siop2 at pci4 dev 4 function 0 "Symbios Logic 53c875" rev 0x14: ivec
0x198, using 4K of on-board RAM
scsibus2 at siop2: 16 targets
siop3 at pci4 dev 4 function 1 "Symbios Logic 53c875" rev 0x14: ivec
0x199, using 4K of on-board RAM
scsibus3 at siop3: 16 targets
psycho5 at mainbus0 addr 0xfff38000: SUNW,psycho, impl 0, version 4, ign
180
psycho5: bus range 128-128, PCI bus 128
psycho5: dvma map fe000000-ffffe000, iotdb 583c000-5844000, STC0
enabled, STC1 enabled
pci5 at psycho5
pcons at mainbus0 not configured
root on sd0a
siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102
basileus@parthia: log%
basileus@parthia: log% cat /etc/X11/xorg.conf
# 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"

# This loads the DBE extension module.

   Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
   SubSection  "extmod"
     Option    "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection

# This loads the font modules
   Load        "type1"
#    Load        "speedo"
   Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

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/X11R6/lib/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/X11R6/lib/X11/fonts/misc/"
   FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/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 <Ctrl><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 <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Ctrl><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  "Keyboard1"
   Driver      "kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

   Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option     "Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
   Option "Protocol" "wskbd"
   Option "Device" "/dev/wskbd0"
   Option "XkbKeycodes" "wscons(ppc)"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

   Option "XkbRules"   "xorg"
   Option "XkbModel"   "pc101"
   Option "XkbLayout"  "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

   Identifier  "Mouse1"
   Driver      "mouse"
   Option "Protocol"    "Auto" # Auto detect
   Option "Device"      "/dev/wsmouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"        "256"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"  "9600"
#    Option "SampleRate"        "150"

# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.

   Option "ZAxisMapping"   "4 5 6 7"

# Emulate3Buttons is an option for 2-button mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

# ZaxisMapping is an option for handling the wheel
#    Option "ZAxisMapping" "4 5"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices.  This is for example only.  Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
#    Identifier  "Mouse2"
#    Driver      "mouse"
#    Option      "Protocol"      "MouseMan"
#    Option      "Device"        "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

   Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

   HorizSync   31.5-82

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

   VertRefresh 45-150

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
   Identifier  "Standard VGA"
   VendorName  "Unknown"
   BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

   Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam   256

#    Clocks     25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
   Identifier  "** 3DLabs, TI (generic)               [glint]"
   Driver      "glint"
   VideoRam    32768
Option "no_accel"
   # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
   Identifier  "Screen 1"
   Device      "** 3DLabs, TI (generic)               [glint]"
   Monitor     "My Monitor"
   DefaultDepth 24

   Subsection "Display"
       Depth       8
       Modes       "1280x1024" "1280x1024" "1280x1024"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1280x1024" "1280x1024" "1280x1024"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "1280x1024" "1280x1024" "1280x1024"
       ViewPort    0 0
   EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
   Identifier  "Simple Layout"

# 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 "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 "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

basileus@parthia: log%

Reply | Threaded
Open this post in threaded view
|

Re: Problems configuring X11 for Sun E450 running OpenBSD4.0

Matthieu Herrb
banji wrote:
> Hi,
>
> I have an E450 which I recently installed OpenBSD4.0 on, I have been
> able to configure everything that I needed except for X11, My video card
> is a Raptor GFX 32 (standard for the E450s) from what I have read it
> uses a glint driver, when I ran xforgcfg that is the driver that I
> picked.  However on typing startx at the prompt I get the following:
>

On sparc64, the glint driver is not built under OpenBSD. If you can
upgrade to a -current snapshot, you can try to build the glint driver
from xenocara:

mkdir /usr/xobj
cd xenocara/driver/xf86-video-glint
make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper build

and try to start X again.

Building the glint driver under OpenBSD 4.0 (in the XF4 tree) is more
painful as you need to rebuild all of X. Look at xc/config/cf/OpenBSD.cf
in the sparc64 section for a way to enable the build.

But I'm not sure that this is enough to get it working on the E450. The
vgafb driver in the sparc64 port has some known problems that may
prevent the glint driver from working.

--
Matthieu Herrb