LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-01-2007, 08:29 AM   #1
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
xorg.conf option for ATI X1650


I have upgraded my video card to an ATI X1650 dual head card. I am running it with two LCD monitors. I am also using the latest driver from ATI. Here is my problem.....

I can get the dual monitors working where the X11 display covers both monitors and everything works and looks correct. The only problem is that I have no DRI 3D support.

Code:
romberg@tiger > fglrxinfo 
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0.0  screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.2.1)
This happens when I have the Xinerama option turned on. When I turn it off, I get the DRI 3D support and fgl_gears runs and halls @ss. The problem with this is the screen display is 'funny'. The screen display does cover both monitors, the cursors tracks between the monitors, but all initiial windows are duplicated on both monitors and the root window only appears to be on one monitor.

Now my question.... what exactly does the Xinerama option do? I know that the card and driver can do the DRI 3D support, but I would like to get it working where the desktop looks and acts 'normal'.

Here is my xorg.conf file

Code:
# Xorg configuration created by system-config-display

Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "aticonfig-Screen[0]" 0 0
	Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	Option	    "Xinerama" "on"
	Option	    "Clone" "off"
	Option      "MergedFB" "on"
	Option      "DisplayPriority" "Auto"
EndSection

Section "ServerFlags"
        Option "AIGLX" "false" 
EndSection

Section "Files"
	RgbPath         "/usr/X11R6/lib/X11/rgb"
	FontPath        "unix/:7100"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/OTF"
	FontPath	"/usr/lib/X11/fonts/TTF"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/encodings"
	FontPath	"/usr/lib/X11/fonts/local"
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/util"
        FontPath	"/usr/share/fonts/bitmap-fonts"
        FontPath        "/usr/share/fonts/ISO8859-2/100dpi"
        FontPath        "/usr/share/fonts/ISO8859-2/75dpi"
        FontPath        "/usr/share/fonts/ISO8859-2/misc"
        FontPath        "/usr/share/fonts/default/Type1"
EndSection

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

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[1]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
        Option "DesktopSetup" "horizontal"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[1]"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
	Screen      1
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[1]"
	Device     "aticonfig-Device[1]"
	Monitor    "aticonfig-Monitor[1]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
        Option "Composite" "Disable"
        Option      "XVideo" "Enable"
EndSection
Keith
 
Old 06-04-2007, 08:35 AM   #2
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
No one.......
 
Old 06-04-2007, 10:44 AM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Google. Apparently no-one is using similar set-up so it's up to you to find the solution.

btw, did you read the release notes for your ATI driver? Unless I'm mistaken, I seem to remember that one of the known issues of the latest fglrx drivers is precisely that they can't do DRI on both screens at once.

Last edited by jay73; 06-04-2007 at 10:46 AM.
 
Old 06-09-2007, 10:07 PM   #4
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
are your monitors the same?
All those options in your ServerLayout are not needed. Take a look at mine and yours should look similiar. This will allow DRI on both monitors and all that good stuff. It appears you ran aticonfig for dual head when you actually wanted desktop horizontal. Dual head runs an x session on each monitor i assume you don't want this. Horizontal is actually merged frame buffer but that mergedfb option is actually for the radeon open source driver and so is that Xinerama option.

Code:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/local/"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/Speedo/"
	FontPath     "/usr/share/fonts/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/75dpi/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
	Load  "glx"
	Load  "GLcore"
	Load  "record"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
	Load  "xtrap"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc101"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]"
	Driver      "fglrx"
	Option "DesktopSetup" "horizontal"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]"
	Device     "aticonfig-Device[0]"
	Monitor    "aticonfig-Monitor[0]"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "ServerFlags"
	Option "AIGLX" "off"
EndSection
 
Old 06-11-2007, 09:01 AM   #5
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
Code:
        Option	    "Xinerama" "on"
#	Option	    "Clone" "off"
#	Option      "MergedFB" "on"
#	Option      "DisplayPriority" "Auto"
OK, looks like I can remove the Clone, MergedFB, and DisplayPriority options without any side affects. The Xinerama is 'import' though. When I have it removed I get full 3D DRI support, but each monitor has display region( any initial apps are duplicated in both monitors with seperate PID so they are not mirror images ).

So is there any way to merge the two into one display buffer and have full 3D support?

Keith
 
Old 06-12-2007, 02:13 PM   #6
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
The ATI driver uses its own Xinerama extention your are using xorgs with that option on. You have xorg using duplicates of your video card. Just try my xorg, but use your mouse,files,modules,keyboard in place of mine. You can add you extention and server flags as well should have no problems. Try it and post your xorg.conf with the new changes.
 
Old 06-12-2007, 03:08 PM   #7
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
OK, taking your xorg.conf and tweeking it got everything up a running with only one minor problem. I have two monitors; Dell 2407( left ) and 2005 ( right ). The resolutions are fine ( 1920x1200 and 1680x1050 ) with the 2407 working as expected, but the right edge and bottom of the 2005 is way off. I am guessing that X is mapping a virtual resolution of 1920x1200 on the 2005's physical resolution of 1680x1050. Anyone know how to force X use a desktop size of 1680x1050 for the 2005?

Keith
 
Old 06-13-2007, 12:03 AM   #8
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
okay, here this from aticonfig have never used it but sounds like what you are looking for. try this(it will make a backup if doesn't work)
aticonfig --mode2=1680x1050

definition:
--mode2=W1xH1,W2XH2,W3xH3,..
Change the modes for the second display. You may specify several
resolutions separated by commas. Only valid for clone and big
desktop settings.
 
  


Reply



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
Ati Xorg.conf causing Openoffice crash The_paladin Linux - Hardware 3 11-27-2006 03:09 PM
xorg.conf dualhead ATI Xpress 200M help!! lebabyg Linux - Hardware 0 11-16-2006 07:39 PM
Problem with Xorg.conf + ATI Drivers + X Won't Load TaaDow Linux - Hardware 1 01-24-2006 07:11 AM
ATI driver refuses dual head in xorg.conf sectorz Linux - Laptop and Netbook 1 12-20-2005 03:39 PM
ati drivers xorg.conf and gnome xrado Slackware 3 10-27-2005 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:25 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
Open Source Consulting | Domain Registration