You are not logged in.

#1 2008-11-21 09:49:16

edenxavier
Member
Registered: 2008-03-02
Posts: 35

[SOLVED] frozen X upon testing xorg

Setting up a second box with Arch here.  I have an ATI Radeon X1550 card, a dual head card.  I have two Acer 19" monitors that I'm trying to get dual head working on.  At the very least I'd like to have X start up on one screen just so that I know it works.  When I do test out an initial config, I get to a screen with the 'X' symbol, but that's it.  I believe a sample xterm is supposed to pop up.  Nothing happens after that.  There's no keyboard or mouse response. I can switch to a tty and stuff using ctrl+f1 etc. but in order exit out of the X screen, I'd have to to Ctrl+C rather than ctrl+alt+backspace. 

Here's what I've tried so far.  I've tried using a config autogenerated by Xorg and using the opensource xf86-video-ati drivers, then shortly tried installing xf86-video-radeonhd drivers according to information dug from this post.  Then I tried using ATI's proprietary drivers using the aticonfig command.  With all this I still get nothing.

Here's the output of Xorg when I start the xorg server:

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.26-ARCH i686 
Current Operating System: Linux aina 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 14 09:33:13 UTC 2008 i686
Build Date: 17 August 2008  10:53:07AM
 
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 20 11:17:52 2008
(++) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "mouse" (module does not exist, 0)
(EE) Failed to load module "kbd" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(II) Module "ddc" already built-in
(II) Module "ramdac" already built-in
(EE) No Input driver matching `mouse'
(EE) No Input driver matching `kbd'
Could not init font path element /usr/share/fonts/TTF, removing from list!
Could not init font path element /usr/share/fonts/Type1, removing from list!
fglrx: the hardware is not in an accelerator mode, command submission falied
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.

And now my Xorg.conf generated using aticonfig, which generated a layout for dual head display:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
    Screen         "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option           "Xinerama" "on"
    Option           "AIGLX" "true"
EndSection

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

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

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

Section "Monitor"

    #DisplaySize      380   300    # mm
 ### Comment all HorizSync and VertRefresh values to use DDC:
    Identifier   "Monitor0"
    VendorName   "ACR"
    ModelName    "AL1916"
    HorizSync    31.0 - 81.0
    VertRefresh  56.0 - 75.0
    Option        "DPMS"
EndSection

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

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-1"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
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     "FBTexPercent"           # <i>
        #Option     "DepthBits"              # <i>
        #Option     "PCIAPERSize"            # <i>
        #Option     "AccelDFS"               # [<bool>]
        #Option     "DDCMode"                # [<bool>]
        #Option     "IgnoreEDID"             # [<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     "ScalerWidth"            # <i>
        #Option     "RenderAccel"            # [<bool>]
        #Option     "SubPixelOrder"          # [<str>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "DynamicClocks"          # [<bool>]
        #Option     "VGAAccess"              # [<bool>]
        #Option     "ReverseDDC"             # [<bool>]
        #Option     "LVDSProbePLL"           # [<bool>]
        #Option     "AccelMethod"            # <str>
        #Option     "DRI"                    # [<bool>]
        #Option     "ConnectorTable"         # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"         # [<bool>]
        #Option     "TVDACLoadDetect"        # [<bool>]
        #Option     "ForceTVOut"             # [<bool>]
        #Option     "TVStandard"             # <str>
        #Option     "IgnoreLidStatus"        # [<bool>]
    Identifier  "Card0"
    Driver      "fglrx"
    VendorName  "ATI Technologies Inc"
    BoardName   "RV505 [Radeon X1550 Series]"
    Option        "OpenGLOverlay" "off"
    Option        "VideoOverlay" "on"
    Option        "TexturedVideo" "on"
    Option        "Capabilities" "0x00000800"
    BusID       "PCI:1:0:0"
EndSection

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

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

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

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

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

Any feedback would be appreciated. Been kinda at this thing for a few hours now. hmm

Last edited by edenxavier (2008-11-21 12:23:26)

Offline

#2 2008-11-21 11:09:21

Inkaine
Member
From: Germany
Registered: 2008-07-14
Posts: 88

Re: [SOLVED] frozen X upon testing xorg

First of all, you're not using testing repo unlike your title suggests? Your xserver version is 1.4.2 (current version in extra) but the thread title is a bit misleading here...

According to you Xorg.0.log I see tons of errors. The severe ones are usually those with (EE) and they are rather simple to understand here: you're missing mouse and keyboard drivers. So you should install xf86-input-{kbd,mouse}. Or go the modern way, install xf86-input-evdev only, and comment out your old input device driver sections (and read http://wiki.archlinux.org/index.php/Xor … otplugging).

Then it also seems the PCI bus of your video card is addressed wrong in xorg.conf. This is really odd as aticonfig usually gets the right one. Your xorg.conf defines a vga card at bus 1:0:0 but Xorg.0.log reports that there's no config for the fglrx card at bus 1:0:1. Maybe change the BusID in both atidevice sections to "PCI:1:0:1" and try again. You might check "lspci | grep VGA" to confirm where your graphics adapter really sits.

Minor issues (shouldn't affect running X) are in the [Files] section to comment out rgbpath and the last two font pathes (TTF and Type1). Hope any of this helps. wink

Offline

#3 2008-11-21 12:23:03

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: [SOLVED] frozen X upon testing xorg

Nah, I was talking about the stable version of xorg.

Yeah it was the whole keyboard/mouse thing.  It makes sense.  The reason I was getting those messages in the first place was because I didn't install all of the packages in the xorg group. Not sure how that happened... and it looks like I was missing other things in that group too.  I learned a few things today thanks to your post.
I still get warnings about flgrx saying no matching device in PCI:1:0:1, I even switched it around and then now it tells me it can't find it in PCI:1:0:0! Other than that, everything is displayed correctly: dual-head, I can see terms etc.Not sure how those warnings would impede things

So thanks again

Last edited by edenxavier (2008-11-21 12:28:08)

Offline

Board footer

Powered by FluxBB