Re: Getting X11 to start on a Mac Mini (?)

2005-06-28 Thread Duncan Martin

Otto Moerbeek wrote:

[snip]

Try the xorg.conf below as a start. It has some specific stuff 
related to my LCD, screen, but it should get you started.

Thanks Otto.  Just to add to that for my Mini with a Dell 1704FPV over
DVI the magic words were:
Option "MonitorLayout"  "None,TMDS"
Option "IgnoreEDID" "on"
Option "NoDDC"  "on"

Duncan



Re: Getting X11 to start on a Mac Mini (?)

2005-06-27 Thread Otto Moerbeek
On Mon, 27 Jun 2005, Chandler May wrote:

> Hi,
> 
> I recently set up OpenBSD 3.7 for the first time on a new Mac Mini,
> and I haven't been able to get X11 up and running on it. I installed
> X11 during the initial operating system install, and have not
> installed anything X11-related since. I'm a newbie to OpenBSD, so
> perhaps there are required graphics drivers for my setup that I am not
> aware of? Anyway...
> 
> upon `startx`:
> 
> (EE) Screen(s) found, but none have a usable configuration
> 
> Fatal server error:
> no screens found

Try the xorg.conf below as a start. It has some specific stuff 
related to my LCD, screen, but it should get you started.

Note that it may take a few tries to get X in the air, there's seems
to be some timing issue. Never had time to really attack that.

-Otto


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

Section "Files"
RgbPath  "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/local/lib/X11/fonts/ghostscript/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/local/lib/X11/fonts/mscorefonts/"
EndSection

Section "Module"
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"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName"Monitor Model"
HorizSync31 - 81
VertRefresh  59 - 61
EndSection

Section "Device"
### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel"   # []
#Option "SWcursor"  # []
#Option "Dac6Bit"   # []
#Option "Dac8Bit"   # []
#Option "PanelOff"  # []
#Option "DDCMode"   # []
Option "MonitorLayout"  "None,CRT" # []
#Option "IgnoreEDID"# []
#Option "UseFBDev"  # []
#Option "VideoKey"  # 
#Option "MergedFB"  "on" # []
#Option "CRT2HSync" # []
#Option "CRT2VRefresh"  # []
#Option "CRT2Position"  "Clone"# []
#Option "MetaModes" # []
#Option "MergedDPI" # []
#Option "NoMergedXinerama"  # []
#Option "MergedXineramaCRT2IsScreen0"   # []
#Option "DisplayPriority"   # []
#Option "PanelSize" "1280x1024" # []
#Option "ForceMinDotClock"  # 
#Option "RenderAccel"   # []
#Option "SubPixelOrder" # []
#Option "ShowCache" # []
#Option "DynamicClocks" # []
Option "iBookHacks" "on"# []
Identifier  "Card0"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName   "Unknown Board"
BusID   "PCI:0:16: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
Modes "1280x1024"
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 "1280x1024"
EndSubSection
EndSection



Getting X11 to start on a Mac Mini (?)

2005-06-27 Thread Chandler May
Hi,

I recently set up OpenBSD 3.7 for the first time on a new Mac Mini,
and I haven't been able to get X11 up and running on it. I installed
X11 during the initial operating system install, and have not
installed anything X11-related since. I'm a newbie to OpenBSD, so
perhaps there are required graphics drivers for my setup that I am not
aware of? Anyway...

upon `startx`:

(EE) Screen(s) found, but none have a usable configuration

Fatal server error:
no screens found

[...]

Xorg.0.log:

(--) Using wscons driver

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: OpenBSD 3.7 macppc [ELF] 
Current Operating System: OpenBSD neo.maytrix 3.7 GENERIC#225 macppc
Build Date: 16 March 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
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: Mon Jun 27 11:31:09 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "** ATI Radeon (generic)   [radeon]"
(**) |-->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"
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0034 card , rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,5962 card 1002,5962 rev 01 class 03,00,00 hdr 00
(II) PCI: 01:0b:0: chip 106b,0035 card , rev 00 class 06,00,00 hdr 00
(II) PCI: 01:12:0: chip 14e4,4320 card 106b,004e rev 03 class 02,80,00 hdr 00
(II) PCI: 01:17:0: chip 106b,003e card , rev 00 class ff,00,00 hdr 00
(II) PCI: 01:18:0: chip 106b,003f card , rev 00 class 0c,03,10 hdr 00
(II) PCI: 01:19:0: chip 106b,003f card , rev 00 class 0c,03,10 hdr 00
(II) PCI: 01:1a:0: chip 106b,003f card , rev 00 class 0c,03,10 hdr 00
(II) PCI: 01:1b:0: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 80
(II) PCI: 01:1b:1: chip 1033,0035 card 1033,0035 rev 43 class 0c,03,10 hdr 00
(II) PCI: 01:1b:2: chip 1033,00e0 card 1033,00e0 rev 04 class 0c,03,20 hdr 00
(II) PCI: 02:0b:0: chip 106b,0036 card , rev 00 class 06,00,00 hdr 00
(II) PCI: 02:0d:0: chip 106b,003b card , rev 00 class ff,00,00 hdr 00
(II) PCI: 02:0e:0: chip 106b,0031 card 106b,5811 rev 81 class 0c,00,10 hdr 00
(II) PCI: 02:0f:0: chip 106b,0032 card , rev 80 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 1: bridge is at (1:11:0), (1,1,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 1 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 1 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 2: bridge is at (2:11:0), (2,2,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 2 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 2 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc unknown chipset (0x5962) rev
1, Mem @ 0x9800/27, 0x9000/16, I/O @ 0x0400/8, BIOS @
0x9002/17
(II) Addressable bus resource ranges are
[0] -1  0   0x - 0x (0x0) MX[B]
[1] -1  0   0x - 0x (0x1) IX[B]
(II) OS-reported resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x - 0x (0x1) MX[B]
[2] -1  0   0x - 0x (0x1) IX[B]
[3] -1  0   0x - 0x (0x1) IX[B]
(II) Active PCI resource ranges:
[0] -1  0   0xf520 - 0xf53f (0x20) MX[B]E
[1] -1  0   0xf500 - 0xf5ff (0x100) MX[B]E
[2] -1  0   0xf5004000 - 0xf5007fff (0x4000) MX[B]E
[3] -1  0   0x8008 - 0x800f (0x8) MX[B]E