LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xorg.conf option for ATI X1650 (https://www.linuxquestions.org/questions/linux-software-2/xorg-conf-option-for-ati-x1650-558298/)

kromberg 06-01-2007 08:29 AM

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

kromberg 06-04-2007 08:35 AM

No one.......

jay73 06-04-2007 10:44 AM

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.

symatic 06-09-2007 10:07 PM

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


kromberg 06-11-2007 09:01 AM

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

symatic 06-12-2007 02:13 PM

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.

kromberg 06-12-2007 03:08 PM

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

symatic 06-13-2007 12:03 AM

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.


All times are GMT -5. The time now is 01:03 PM.