6/1のcurrentでradeonfbに修正が入ったのでkernelだけ新しくしてMac miniでブートしてみました。
暗転するのは相変わらずですね。DVIでもアナログRGBでも同じでした。
うーん。
暗転するのは相変わらずですね。DVIでもアナログRGBでも同じでした。
うーん。
Section "Module" Load "dbe" # Double buffer extension SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection Load "freetype" EndSection Section "Files" FontPath "/usr/pkg/lib/X11/fonts/misc/" FontPath "/usr/pkg/lib/X11/fonts/TTF/" FontPath "/usr/pkg/lib/X11/fonts/Type1/" FontPath "/usr/pkg/lib/X11/fonts/100dpi/" FontPath "/usr/pkg/lib/X11/fonts/75dpi/" FontPath "/usr/pkg/lib/X11/fonts/local/" EndSection Section "ServerFlags" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "kbd" Option "Protocol" "wskbd" Option "Device" "/dev/wskbd1" Option "AutoRepeat" "500 30" Option "XkbRules" "xorg" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "wsmouse" # wsmouse protocol Option "Device" "/dev/wsmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "L565" HorizSync 31.5 - 65 VertRefresh 40-150 EndSection Section "Device" Identifier "RADEON" Driver "radeon" ChipID 0x5962 BusID "PCI:0:16:0" Option "AGPMode" "2" Option "MonitorLayout" "TMDS, NONE" EndSection Section "Screen" Identifier "Screen 1" Device "RADEON" Monitor "L565" DefaultDepth 16 Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "Simple Layout" Screen "Screen 1" InputDevice "Mouse1" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSectionuname -a
NetBSD mini. 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: Wed May 28 10:20:33 PDT 2008 builds@wb24:/home/builds/ab/netbsd-4/macppc/200805280002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/macppc/compile/GENERIC macppcX -version
X Window System Version 1.3.0 Release Date: 19 April 2007 X Protocol Version 11, Revision 0, Release 1.3 Build Operating System: UNKNOWN Current Operating System: NetBSD mini. 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: Wed May 28 10:20:33 PDT 2008 builds@wb24:/home/builds/ab/netbsd-4/macppc/200805280002Z-obj/home/builds/ab/netbsd-4/src/sys/arch/macppc/compile/GENERIC macppc Build Date: 02 June 2008 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present
Option "MonitorLayout" "string" This option is used to overwrite the detected monitor types. This is only required when driver makes a false detection. The possible monitor types are: NONE -- Not connected CRT -- Analog CRT monitor TMDS -- Desktop flat panel LVDS -- Laptop flat panel This option can be used in following format: Option "MonitorLayout" "[type on primary], [type on secondary]" For example, Option "MonitorLayout" "CRT, TMDS" Primary/Secondary head for dual-head cards: (when only one port is used, it will be treated as the primary regardless) Primary head: DVI port on DVI+VGA cards LCD output on laptops Internal TMDS port on DVI+DVI cards Secondary head: VGA port on DVI+VGA cards VGA port on laptops External TMDS port on DVI+DVI cards The default value is undefined.うーむ、明示的にモニタのタイプを指定するオプションのようです。今回の用途であればTMDS (デスクトップ用フラットパネル) が該当しますかね。ということで、次のようにxorg.confに指定してみました。
Section "Device" Identifier "RADEON" Driver "radeon" ChipID 0x5962 BusID "PCI:0:16:0" Option "AGPMode" "2" Option "MonitorLayout" "TMDS" EndSectionいざ、起動してみるとDVI接続されたディスプレイにくっきりとXが表示されました! どうやらアタリのオプションだったみたいですね。
(WW) RADEON(0): Invalid Monitor type specified for 2nd port明示的にセカンドポートのディスプレイはないよ、と設定してみます。
Option "MonitorLayout" "TMDS, NONE"すると、先ほどの警告は消えました。