XFree86 configuration problem

Jani-Matti Hätinen <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>
	Hi all.

  I'm having some serious problems in configuring X for my display card and 
monitor. When I start X, instead of showing the normal X screen, the monitor 
shuts down.
  I've tested two other monitors and they work just fine with the same X 
configuration. Also, the unworking monitor works just fine on another 
computer that also has XFree86 4.2.0 in it.

  My display card is Diamond Viper 330 with nVidia Riva 128 chip on it. The 
monitor is Bridge BM-15V.
  The two other monitors that I've tested are ICL 172v and Samsung SyncMaster 
750s. The other computer (in which the Bridge monitor worked just fine) is 
running RedHat 7.3 and has a Diamond Viper II display card (with S3 Savage 
2000 chip)

  This is the X configuration file from the Gentoo box. Two other monitors 
worked just fine with this, but the Bridge BM-15V just shut itself down.

>> Section "ServerLayout"
>>     Identifier     "XFree86 Configured"
>>     Screen      0  "Screen0" 0 0
>>     InputDevice    "Mouse0" "CorePointer"
>>     InputDevice    "Keyboard0" "CoreKeyboard"
>> EndSection
>>
>> Section "Files"
>>     RgbPath      "/usr/X11R6/lib/X11/rgb"
>>     ModulePath   "/usr/X11R6/lib/modules"
>>     FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
>>     FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
>>     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/"
>> EndSection
>>
>> Section "Module"
>>     Load  "extmod"
>>     Load  "xie"
>>     Load  "pex5"
>>     Load  "dri"
>>     Load  "dbe"
>>     Load  "record"
>>     Load  "xtrap"
>>     Load  "glx"
>>     Load  "speedo"
>>     Load  "type1"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier  "Keyboard0"
>>     Driver      "keyboard"
>>     Option     "XKbLayout" "fi"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier  "Mouse0"
>>     Driver      "mouse"
>>     Option	    "Protocol" "MouseSystems"
>>     Option	    "Device" "/dev/ttyS0"
>> EndSection
>>
>> Section "Monitor"
>>     Identifier   "Monitor0"
>>     VendorName   "Bridge"
>>     ModelName    "BM-15V"
>>     Option	    "DPMS"
>> EndSection
>>
>> Section "Device"
>>     Identifier  "Card0"
>>     Driver      "nv"
>>     VendorName  "NVidia/SGS-Thomson"
>>     BoardName   "Riva128"
>>     BusID       "PCI:0:17:0"
>> EndSection
>>
>> Section "Screen"
>>     Identifier "Screen0"
>>     Device     "Card0"
>>     Monitor    "Monitor0"
>>     DefaultDepth	15
>>     SubSection "Display"
>>          Depth     15
>>          Modes "1024x768"
>>     EndSubSection
>> EndSection

  Here's the X configuration file from the RedHat 7.3 box. The Bridge BM-15V 
worked just fine with these settings.

>> Section "ServerLayout"
>>     Identifier     "Anaconda Configured"
>>     Screen      0  "Screen0" 0 0
>>     InputDevice    "Mouse0" "CorePointer"
>>     InputDevice    "Keyboard0" "CoreKeyboard"
>> EndSection
>>
>> Section "Files"
>>     RgbPath	"/usr/X11R6/lib/X11/rgb"
>>     FontPath   "unix/:7100"
>> EndSection
>>
>> Section "Module"
>>     Load  "GLcore"
>>     Load  "dbe"
>>     Load  "extmod"
>>     Load  "fbdevhw"
>>     Load  "dri"
>>     Load  "glx"
>>     Load  "record"
>>     Load  "freetype"
>>     Load  "type1"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier  "Keyboard0"
>>     Driver      "keyboard"
>>     Option	"XkbRules"	"xfree86"
>>     Option	"XkbModel"	"pc102"
>>     Option	"XkbLayout"	"fi"
>>     Option	"XkbVariant"	"basic"
>> EndSection
>>
>> Section "InputDevice"
>>     Identifier	"Mouse0"
>>     Driver		"mouse"
>>     Option		"Device"		"/dev/mouse"
>>     Option		"Protocol"		"IMPS/2"
>>     Option		"Emulate3Buttons"	"no"
>>     Option		"ZAxisMapping"		"4 5 6 7"
>> EndSection
>>
>> Section "Monitor"
>>     Identifier   "Monitor0"
>>     VendorName   "Monitor Vendor"
>>     ModelName    "Monitor Model"
>>     HorizSync   30.0-64.0
>>     VertRefresh 50.0-100.0
>>     Option "dpms"
>>
>>     Modeline "1400x1050"  129   1400 1464 1656 1960
>>                           1050 1051 1054 1100 +HSync +VSync
>>     Modeline "1400x1050"  151   1400 1464 1656 1960
>>                           1050 1051 1054 1100 +HSync +VSync
>>     Modeline "1400x1050"  162   1400 1464 1656 1960
>>                           1050 1051 1054 1100 +HSync +VSync
>>     Modeline "1400x1050"  184   1400 1464 1656 1960
>>                           1050 1051 1054 1100 +HSync +VSync
>> EndSection
>>
>> Section "Device"
>>     Identifier   "S3 Savage 2000 (generic)"
>>     Driver       "savage"
>>     VendorName   "S3 Savage 2000 (generic)"
>>     BoardName     "S3 Savage 2000 (generic)"
>> EndSection
>>
>> Section "Screen"
>>     Identifier   "Screen0"
>>     Device       "S3 Savage 2000 (generic)"
>>     Monitor      "Monitor0"
>>     DefaultDepth	24
>>     Subsection "Display"
>>             Depth       24
>>             Modes       "1280x1024"
>>     EndSubsection
>>
>> EndSection
>>
>> Section "DRI"
>>     Mode 0666
>> EndSection

  I've tried using the latter file with Gentoo (just changed the Device 
section to correspond with the Diamond Viper 330), but the result is the 
same. The two other monitors work, while the Bridge BM-15V just shuts down. 
Also, the combination of Viper 330 and BM-15V has worked on an older Linux 
distro. The only problem is that I have absolutely no idea what the X 
configuration file looked like back then.

  BTW, I noticed an ebuild named x11-misc/Xautoconfig, but when I tried to 
merge it, portage claimed that all packages that could satisfy it were 
masked. How could I install this program, and would it do me any good?

-- 
  Cheers,
Jani-Matti Hätinen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.