You are not logged in.

#1 2008-02-20 21:05:34

intimidat0r
Member
Registered: 2007-01-03
Posts: 17

Configuring X - strange error

So I'm trying to setup dual monitor support on X11. I got this other guy's X11 config from when he had a dual head, so I figured that I could just reconfigure it. My new config looks like this:

http://rafb.net/p/Z2acO915.txt

Now, I tried to run startx, and I got this:

waiting for X server to begin accepting connections
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: no such process (errno 3): server error

There were no other visible errors or warnings. There's nothing interesting in Xorg.0.log either:

http://rafb.net/p/Eib0M612.txt

Also note that when I use the single monitor xorg.conf that xorgconfig generated for me, everything works fine. I have no idea what this problem is, and the lack of information makes it difficult for me to research. Anyone? Thank you for your time.

Update: I did notice that once in a while it says "Fatal error: requested entity is already in use".I hope that's helpful.

Last edited by intimidat0r (2008-02-21 01:28:47)

Offline

#2 2008-02-21 08:03:56

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: Configuring X - strange error

Tried with a similiar xorg.conf as yours yesterday and couldn't succeed also. Then I followed this guide:
http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
and could get it working (almost). X11 starts in clone mode for me and the resolution of my laptop screen was wrong, but I could adjust everything with 'xrandr' on the command line. Had to set things every time on start of X, but I am sure that can be solved. I myself reverted back to fglrx because it works better than xorg radeons' driver for my card (rv380 here, for your r200 card the radeon driver should work like a charm, but you probably have the 2048 width limitation).
But the important thing to know is that with xrandr-1.2 and open source radeon, nv and intel drivers xorg.conf setup has changed a lot and should be much easier than before. I also tried a MergedFB setup, but xorg wouldn't care anything at all about that (option doesn't do anything messages in xorg log). Here my xorg.conf for a radeon driver dual head setup:

Section "ServerLayout"
        Identifier     "dual"
        Screen         "screen1"
        InputDevice    "GenericKeyboard" "CoreKeyboard"
        InputDevice    "Touchpad" "AlwaysCore"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "i2c"
        Load  "bitmap"
        Load  "ddc"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load  "drm"
        Load  "int10"
        Load  "vbe"
        Load  "synaptics"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "true"
EndSection

Section "InputDevice"
        Identifier  "GenericKeyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mouse1"
        Option      "Protocol" "auto-dev"
        Option      "LeftEdge" "1700"
        Option      "RightEdge" "5300"
        Option      "TopEdge" "1700"
        Option      "BottomEdge" "4200"
        Option      "FingerLow" "25"
        Option      "FingerHigh" "30"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.09"
        Option      "MaxSpeed" "0.18"
        Option      "AccelFactor" "0.0015"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
        DisplaySize  330        207
        Option      "DPMS"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"                   # <i>
        #Option     "AGPFastWrite"              # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DMAForXv"                  # [<bool>]
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "MonitorLayout"             # [<str>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "MergedFB"                  # [<bool>]
        #Option     "CRT2HSync"                 # [<str>]
        #Option     "CRT2VRefresh"              # [<str>]
        #Option     "CRT2Position"              # [<str>]
        #Option     "MetaModes"                 # [<str>]
        #Option     "MergedDPI"                 # [<str>]
        #Option     "MergedXinerama"            # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
        #Option     "MergedNonRectangular"      # [<bool>]
        #Option     "MergedMouseRestriction"    # [<bool>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        #Option     "ColorTiling"               # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "RageTheatreCrystal"        # <i>
        #Option     "RageTheatreTunerPort"      # <i>
        #Option     "RageTheatreCompositePort"  # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"                 # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        #Option     "BIOSHotkeys"               # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "AccelMethod"               # <str>

        BoardName   "RV380 [Radeon x600]"
        Identifier  "radeon1"
        Driver      "radeon"
        Option     "DynamicClocks"      "true"
        Option     "AccelMethod"        "XAA"
        Option     "RenderAccel"        "true"
        BusID       "PCI:1:0:0"
        Option "XaaNoScanlineImageWriteRect"
        Option "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection


Section "Screen"
        Identifier "screen1"
        Device     "radeon1"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1680x1050"
                Virtual  2960  1050
        EndSubSection
EndSection


Section "DRI"
        Mode         0666
EndSection

Section "Extensions"
        Option "RENDER" "Enable"
        Option "DAMAGE" "Enable"
        Option "Composite" "Enable"
        Option "XVideo" "Enable"
EndSection

Bye, signor_rossi.

EDIT:Some corrections

Last edited by signor_rossi (2008-02-21 08:33:30)

Offline

#3 2008-02-22 03:28:49

intimidat0r
Member
Registered: 2007-01-03
Posts: 17

Re: Configuring X - strange error

Thank you for your reply.

X starts, but the problem is it just shows the same thing on both monitors. Ive been messing around with the config but somehow I havent been able to get it. It also did something weird to my keymap which is why I cant use apostrophes but Im sure I can resolve that.

I tried to modify it for my dual head and this is what I came up with,

Section "ServerLayout"
        Identifier     "dual"
        Screen         "screen1"
        InputDevice    "GenericKeyboard" "CoreKeyboard"
        InputDevice    "Touchpad" "AlwaysCore"
EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "i2c"
        Load  "bitmap"
        Load  "ddc"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
        Load  "drm"
        Load  "int10"
        Load  "vbe"
        Load  "synaptics"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "true"
EndSection

Section "InputDevice"
        Identifier  "GenericKeyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Touchpad"
        Driver      "synaptics"
        Option      "Device" "/dev/input/mouse1"
        Option      "Protocol" "auto-dev"
        Option      "LeftEdge" "1700"
        Option      "RightEdge" "5300"
        Option      "TopEdge" "1700"
        Option      "BottomEdge" "4200"
        Option      "FingerLow" "25"
        Option      "FingerHigh" "30"
        Option      "MaxTapTime" "180"
        Option      "MaxTapMove" "220"
        Option      "VertScrollDelta" "100"
        Option      "MinSpeed" "0.09"
        Option      "MaxSpeed" "0.18"
        Option      "AccelFactor" "0.0015"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 0"
        DisplaySize  330        207
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "aticonfig Monitor 1"
        DisplaySize  330        207
        Option      "DPMS"
EndSection

Section "Device"
        BoardName   "RV380 [Radeon x600]"
        Identifier  "radeon0"
        Driver      "radeon"
        Option     "DynamicClocks"      "true"
        Option     "AccelMethod"        "XAA"
        Option     "RenderAccel"        "true"
        BusID       "PCI:1:0:0"
        Option "XaaNoScanlineImageWriteRect"
        Option "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection

Section "Device"
        BoardName   "RV380 [Radeon x600]"
        Identifier  "radeon1"
        Driver      "radeon"
        Option     "DynamicClocks"      "true"
        Option     "AccelMethod"        "XAA"
        Option     "RenderAccel"        "true"
        BusID       "PCI:1:0:0"
        Option "XaaNoScanlineImageWriteRect"
        Option "XaaNoScanlineCPUToScreenColorExpandFill"
EndSection

Section "Screen"
        Identifier "screen0"
        Device     "radeon0"
        Monitor    "aticonfig Monitor 0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                 Modes    "1024x768"
        EndSubSection
EndSection

Section "Screen"
        Identifier "screen1"
        Device     "radeon1"
        Monitor    "aticonfig Monitor 1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                 Modes    "1024x768"
        EndSubSection
EndSection

#Section "DRI"
#        Mode         0666
#EndSection

Section "Extensions"
        Option "RENDER" "Enable"
        Option "DAMAGE" "Enable"
        Option "Composite" "Enable"
        Option "XVideo" "Enable"
EndSection

Last edited by intimidat0r (2008-02-22 03:31:51)

Offline

#4 2008-02-22 09:38:27

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: Configuring X - strange error

X starts, but the problem is it just shows the same thing on both monitors.
That's what clone mode is. wink Had exactly the same result and had to mess around a little to get what I wanted. Just open xterm/konsole and type 'xrandr -h' or 'man xrandr' to get some clues (the link I posted also has examples). What I couldn't change was that on every restart of X I would have again the clone mode. Don't know yet what is the best solution to correct that.
It also did something weird to my keymap

Section "InputDevice"
        Identifier  "GenericKeyboard"
        Driver      "kbd"
        Option      "CoreKeyboard"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

As you see these are settings for a German keyboard, you should adjust them for your type of keyboard.

Bye, signor_rossi.

Offline

#5 2008-02-27 06:14:56

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Configuring X - strange error

Using the same driver I succeeded with this:

xorg.conf generated by X -configure.

use xrandr (1.2), and just follow its options that it gives:

eg: xrandr --output DVI-0 --auto --left-of CRT-0 ...
Whatever xrandr command works for you, you can just add to your xinitrc (no display manager, or ~/.xsession)

you may need to specify Virtual X Y as in:

Section "Screen"
   Identifier "Default Screen"
   Device     "Card0"
   Monitor    "Generic Monitor"
   DefaultDepth     24
   SubSection "Display"
      Depth     24
      Modes    "1920x1080" "1680x1050" "1600x1200" "1280x1024"
      Virtual  3520 2280
   EndSubSection
   SubSection "Display"
      Depth     24
      Modes    "1920x1080" "1680x1050" "1600x1200" "1280x1024" 
      Virtual  3520 2280
   EndSubSection
EndSection

Note, when you increase virtual more than 2048 in any dimension, you loose direct rendering.

Offline

Board footer

Powered by FluxBB