LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-24-2004, 04:32 PM   #1
J4DED
LQ Newbie
 
Registered: Oct 2003
Distribution: Libranet, QNX
Posts: 7

Rep: Reputation: 0
DRI / multiple monitor/ xf86config problem.


Libranet is working great (smooth graphics) but won't enable the second monitor.

I've tried xf86cfg and xf86cfg -textmode but don't know the exact specs of the desired hardware.

I'm using a Dell D1226H 19" monitor on an ATi Radeon 64Mb VIVO agp card (both detected fine and working) and an Optiquest Q71-2 17" monitor connected to a Matrox Millenium II video card (4Mb).

It's the Optiquest and Matrox that I have no luck with.

If I replace the Libranet xf86config-4 with a Xandros version from an old installation, I do get both monitors working but the graphics are very choppy. I assume that it's because DRI isn't enabled.

If I copy and paste the DRI text into the Xandros version, it doesn't make a difference and if I copy and paste the relevent device, monitor, screen and layout information into the Libranet generated version of xf84config-4 it causes an error.

So the question is:
1) Can DRI be enabled on a dual monitor setup?
2) If so, is the low video RAM on the Matrox causing the problem (Is it possible to have DRI enabled on only 1 of the 2 cards?)
3) How do I get my xf86config-4 file configured correctly? (As in how do I correctly select the model type, pci bus#, etc and resolution for my Matrox and Optiquest.)

I can post files if requested.

Thanks,

J4DED

Edit: Since I do not have access to Knoppix and /sbin/lspci doesn't exist on Libranet, I have attached the two xf86config-4 files.

This is the file generated by a stock Libranet install:
Code:
################################################################################
# XFree86 configuration for version XFree86 4.x
#
# Configuration created by Libranet Adminmenu
################################################################################

Section "Files"
	#FontPath	"unix/:7100"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/TrueType"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/share/fonts/truetype"
	FontPath	"/usr/share/fonts/truetype/openoffice"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"record"
	Load	"bitmap"
	Load	"freetype"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
EndSection


Section "InputDevice"
	Identifier	"Default Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Default Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"IMPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Selected Driver"
	Driver		"ati"
	#VideoRam	65536
EndSection

Section "Monitor"
	VendorName	"Dell"
	ModelName	"Dell D1226H"
	Identifier	"Dell D1226H"
	HorizSync	30.0-95.0
	VertRefresh	50.0-160.0
	## 640x480, 60.0Hz; hfreq=31.469000, vfreq=59.939999
	#ModeLine "640x480"	 25.17  640  648  744  784  480  482  484  509 -hsync -vsync
	## 640x480, 75.0Hz; hfreq=37.500000, vfreq=75.000000
	#ModeLine "640x480"	 31.50  640  656  720  840  480  481  484  500 -hsync -vsync
	## 640x480, 85.0Hz; hfreq=43.269001, vfreq=85.008003
	#ModeLine "640x480"	 36.00  640  696  752  832  480  481  484  509 -hsync -vsync
	## 800x600, 60.0Hz; hfreq=37.879002, vfreq=60.317001
	#ModeLine "800x600"	 40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
	## 800x600, 72.0Hz; hfreq=48.077000, vfreq=72.188004
	#ModeLine "800x600"	 50.00  800  856  976 1040  600  637  643  666 +hsync +vsync
	## 800x600, 75.0Hz; hfreq=46.875000, vfreq=75.000000
	#ModeLine "800x600"	 49.50  800  816  896 1056  600  601  604  625 +hsync +vsync
	## 800x600, 85.0Hz; hfreq=53.674000, vfreq=85.060997
	#ModeLine "800x600"	 56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
	## 1024x768, 75.0Hz; hfreq=60.022999, vfreq=75.028999
	#ModeLine "1024x768"	 78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
	## 1024x768, 85.0Hz; hfreq=68.677002, vfreq=84.997002
	#ModeLine "1024x768"	 94.50 1024 1072 1168 1376  768  769  772  808 +hsync +vsync
	## 1280x1024, 85.0Hz; hfreq=91.146004, vfreq=85.024002
	#ModeLine "1280x1024"	157.50 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
	## 1600x1200, 75.0Hz; hfreq=93.750000, vfreq=75.000000
	#ModeLine "1600x1200"	202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
	Option "DPMS"
EndSection


Section "Screen"
	Identifier	"Default Screen"
	Device		"Selected Driver"
	Monitor		"Dell D1226H"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes	"1280x1024" "1024x768" "800x600" "640x480" 
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Install Screen"
	Device		"Selected Driver"
	Monitor		"Dell D1226H"
	DefaultDepth	15
	SubSection "Display"
		Depth		1
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Default Keyboard"
	InputDevice	"Default Mouse"
EndSection

Section "ServerLayout"
	Identifier	"Install Layout"
	Screen		"Install Screen"
	InputDevice	"Default Keyboard"
	InputDevice	"Default Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection
And this is the Xandros generated x86config-4 file:
Code:
################################################################################

##  Automatically generated file by buildxconf

##  part of the Xandros hardware detection system

##

## See Also:

##      'man devices-overview' for information about the detection system

##      'man setxconf' a utility for interacting with the detection system

##          to modify the X configuration

##      'man XF86Config' for the format of this file

##

## Warning:

##      If this file is edited manually, then buildxconf will no longer

##      modify this file.  It must be removed to be regenerated.

################################################################################





Section "Files"

	ModulePath	"/usr/X11R6/lib/modules/altdrivers"

	ModulePath	"/usr/X11R6/lib/modules"



	# Local Fontserver: Disabled by default.

	#FontPath	"unix/:7100"



	# Unscaled Bitmap Fonts:

	FontPath	"/usr/lib/X11/fonts/75dpi:unscaled"

	FontPath	"/usr/lib/X11/fonts/100dpi:unscaled"



	# Scalable TrueType and CID Fonts (via DeFoMa):

	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"



	# Scalable TrueType Fonts (via std X path):

	FontPath	"/usr/lib/X11/fonts/TrueType"



	# Scalable Speedo and Type1 Fonts:

	FontPath	"/usr/lib/X11/fonts/Type1"

	FontPath	"/usr/lib/X11/fonts/Speedo"



	# Scaled Bitmap fonts (ugly) :

	FontPath	"/usr/lib/X11/fonts/100dpi"

	FontPath	"/usr/lib/X11/fonts/75dpi"

	FontPath	"/usr/lib/X11/fonts/misc"

	FontPath	"/usr/lib/X11/fonts/cyrillic"



	# Misc. Fonts:

	FontPath	"/usr/share/fonts"

EndSection



Section "Module"

	Load	"ddc"

	Load	"GLcore"

	Load	"dbe"

	Load	"dri"

	Load	"extmod"

	Load	"glx"

	Load	"record"

	Load	"bitmap"

	Load	"freetype"

	Load	"speedo"

	Load	"type1"

	Load	"vbe"

	Load	"int10"

	Load	"xandetect"

EndSection



Section "InputDevice"

	Identifier	"Keyboard1"

	Driver	"keyboard"

	Option	"CoreKeyboard"

	Option	"XkbRules"	"xfree86"

EndSection



# extra options in [mouse.p1] ps2info = 0x3

Section "InputDevice"

	Identifier	"mouse.p1"

	Driver	"mouse"

	Option	"CorePointer"

	Option	"Device"	"/dev/psaux"

	Option	"Protocol"	"IMPS/2"

	Option	"Emulate3Buttons"	"YES"

	Option	"ZAxisMapping"	"4 5"

EndSection



Section "InputDevice"

	Identifier	"mouse.usb"

	Driver	"mouse"

	Option	"SendCoreEvents"	"YES"

	Option	"Device"	"/dev/input/mice"

	Option	"Protocol"	"IMPS/2"

	Option	"Emulate3Buttons"	"YES"

	Option	"ZAxisMapping"	"4 5"

EndSection



# pci info: 0x1002, 0x5144, 0x100

# extra options in [video.1] VideoRam = 65536k

Section "Device"

	Identifier	"Device1"

	Driver		"radeon"

	BusID		"PCI:1:0:0"

	Screen		0

EndSection



# pci info: 0x102B, 0x51B, 0x78

# extra options in [video.2] VideoRam = 4096k

Section "Device"

	Identifier	"Device2"

	Driver		"mga"

	BusID		"PCI:0:15:0"

	Screen		0

EndSection



Section "Monitor"

	Identifier	"Monitor1"

	VendorName	"DEL"

	ModelName	"DELL D1226H"

	HorizSync	30-95

	Option	"DPMS"

EndSection



Section "Monitor"

	Identifier	"Monitor2"

	VendorName	"VESA Compatible"

	ModelName	"1280x1024"

	VertRefresh	40-60.92

	HorizSync	30-105

EndSection



# res 1280 1024

Section "Screen"

	Identifier	"Screen1"

	Device	"Device1"

	Monitor	"Monitor1"

	DefaultDepth	16

	SubSection	"Display"

		Depth	4

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	8

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	15

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	16

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	24

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	32

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

EndSection



# res 1280 1024

Section "Screen"

	Identifier	"Screen2"

	Device	"Device2"

	Monitor	"Monitor2"

	DefaultDepth	16

	SubSection	"Display"

		Depth	4

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	8

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	15

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	16

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	24

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

	SubSection	"Display"

		Depth	32

		Modes	"1280x1024"	"1024x768"	"800x600"	"640x480"

	EndSubSection

EndSection



Section "ServerFlags"

	AllowMouseOpenFail

	Option	"Xinerama"

EndSection



Section "ServerLayout"

	Identifier	"Default Layout"

	Screen	"Screen1" LeftOf "Screen2"

	Screen	"Screen2"

	InputDevice	"Keyboard1"

	InputDevice	"mouse.p1"

	InputDevice	"mouse.usb"

EndSection

Last edited by J4DED; 01-24-2004 at 04:57 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong monitor settings in XF86config-4 and cant see to fix it meshsmooth Linux - Newbie 4 05-13-2004 07:52 AM
Dual monitor troubles, cant seem to get the XF86Config right. l2ich84 Linux - Newbie 0 02-09-2004 07:39 PM
DRI / multiple monitor/ xf86config problem. J4DED Libranet 1 01-26-2004 08:14 PM
Multiple Kernels: Different XF86Config files? chriseebee Linux - General 1 06-26-2003 01:03 AM
XF86Config and Quad Monitor Setup hikoseijuro Linux - Software 2 05-06-2003 10:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration