You are not logged in.

#1 2006-01-01 15:32:31

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

ATI troubles...

Ok, so here's the situation:

I installed modular xorg, got fed up of lack of 3D (I've got a radeon 9800SE that doesn't have support built into xorg) so I did pacman -Rs xorg-server, then installed xorg 6.8.2 . I've had my GPU working fine with this version before.

I always get DRI working by using the ATI installer script from www.ati.com . However, they've recently updated their script...

Anyway, the script ran fine, everything installed. I then ran fglrxconfig, it generated an xorg.conf that causes a blank screen whet you startx - this usually happens; I always have to tweak the settings in xorg.conf to get things shiny again.

SO here's where the problem is: whether I use a modified fglrxconfig xorg.conf, or one generated by xorgconfig or hwd -x, I get this error:

dave@kaminoitte:~$ display=:1 startx

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.14-rc1 i686 [ELF] 
Current Operating System: Linux kaminoitte 2.6.13 #2 Thu Oct 6 11:25:45 BST 2005 i686
Build Date: 03 October 2005
        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.1.log", Time: Sun Jan  1 16:08:11 2006
(==) Using config file: "/etc/X11/xorg.conf"

(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 4.  Server aborting


Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.1.log" for additional information.

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":1.0"
      after 0 requests (0 known processed) with 0 events remaining.
Couldnt get a file descriptor referring to the console

I checked out Xorg.1.log, but there's nothing obviously wrong in there... there's a few

(WW) Open APM failed (/dev/apm_bios) (No such file or directory)

lines near the bottom, but that's about it.

Any suggestions?


.oO Komodo Dave Oo.

Offline

#2 2006-01-01 19:04:42

lunke
Member
From: Sweden
Registered: 2005-05-21
Posts: 86

Re: ATI troubles...

Mind posting your xorg.conf?
Why is it using display :1.0? Check the /var/log/Xorg.1.log file

Offline

#3 2006-01-01 19:17:31

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

I was trying out things from another X server, which is why it was using display  :1.0

Here's my xorg.conf:

Section "dri"
    Mode 0666
EndSection

Section "Module"
    Load        "dbe"      # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
EndSection

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
    Identifier    "Keyboard1"
    Driver    "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"    "xfree86"
    Option "XkbModel"    "pc105"
    Option "XkbLayout"    "gb"
EndSection

Section "InputDevice"
    Identifier    "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"
EndSection

Section "Monitor"
    Identifier  "Monitor0"
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver      "vga"
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"               "(null)" 
    Option "ScreenOverlap"              "0" 
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:2:0:0"    # vendor=1002, device=4148
    Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Server Layout"
    Screen "Screen0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

.oO Komodo Dave Oo.

Offline

#4 2006-01-02 01:22:24

Avenger
Member
Registered: 2005-11-11
Posts: 66

Re: ATI troubles...

Have you tried to change the
BusID "PCI:2:0:0"    # vendor=1002, device=4148

to

PCI:2:0:1

as it says in the error? It might be a long-shot but maybe fglrxconfig detected the wrong busid or something.

Offline

#5 2006-01-02 01:50:30

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

Sadly I did try that Avenger - I think most people get a BusID error when they startx, but it's never actually a problem. I changed it to 2:0:1 just in case, but then the error message said 2:0:0 instead, lol  :cry:


.oO Komodo Dave Oo.

Offline

#6 2006-01-02 04:09:09

jesus franco
Member
From: PA, USA
Registered: 2005-05-17
Posts: 68

Re: ATI troubles...

Komodo wrote:

I was trying out things from another X server, which is why it was using display  :1.0

Here's my xorg.conf:

Section "Files"
    RgbPath    "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
    #Option                              "NoDDC"
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
    Option "DesktopSetup"               "(null)" 
    Option "ScreenOverlap"              "0" 
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
    Option "VideoOverlay"               "on"
    Option "OpenGLOverlay"              "off"
    Option "CenterMode"                 "off"
    Option "PseudoColorVisuals"         "off"
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:2:0:0"    # vendor=1002, device=4148
    Screen 0
EndSection
.....

Try adding
        ModulePath   "/usr/X11R6/lib/modules"
To your "Files" section and also try changing
       Option      "UseInternalAGPGART" "yes"
to
        Option      "UseInternalAGPGART" "no"

and reboot.

Offline

#7 2006-01-02 08:39:39

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

jesus franco wrote:

Try adding
        ModulePath   "/usr/X11R6/lib/modules"
To your "Files" section and also try changing
       Option      "UseInternalAGPGART" "yes"
to
        Option      "UseInternalAGPGART" "no"

and reboot.

Thanks for the idea, JF.

I tried just adding ModulePath to xorg.conf - that gave me the same error as I first posted. I then tried making the AGPGART change as well, but that gave me a blank screen when starting X (btw, whenevr I say 'a blank screen', what I mean is my monitor says 'no signal' and then goes into standby mode - from here I have to reboot, since I can't switch to ttys with Ctrl-Alt-F buttons).

Any other suggstions?


.oO Komodo Dave Oo.

Offline

#8 2006-01-02 08:45:11

Pablo_Escobar
Member
From: Poznan, Poland
Registered: 2005-12-20
Posts: 65
Website

Re: ATI troubles...

I had the same problem when trying to run my ATI drivers.
I've chosen the community drivers with patched kernel, but after changes and a reboot my monitor was screaming - out of range.
The only rescue for me was to boot live CD, mount the drive and switch back to ati in xorg.conf - terrible sad
I can't really remember what helped.
I added the fglrx module to rc.conf (probably that did the trick) and messed with InternalAGPAart in xorg.conf.
Now my Ati works like a charm.
Later on I'll be able to verify my setup when I'm on my Arch box.


Arch - Home sweet home smile

Offline

#9 2006-01-02 09:55:45

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

Thanks, I'd be grateful if you stay true to your word and do give me more info when you're at your own pc; it's ver frustrating, particularly as everything was working fine a week ago, before I tried xorg 7!


.oO Komodo Dave Oo.

Offline

#10 2006-01-02 10:07:47

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: ATI troubles...

Pablo_Escobar wrote:

after changes and a reboot my monitor was screaming - out of range.The only rescue for me was to boot live CD,

If you use grub as your boot loader, you can boot, press "e" to edit the boot loader "kernel" line and add a space and the digit 1 (i.e. " 1" without the quotes). That will boot to run level 1 - text mode single user.

tip: you can also boot to text mode, multiuser with network (so you can download) by using " 3" instead of " 1" if you also make the following changes:

(1) edit /etc/inittab and switch the default run level to 5 and (if you use kdm) the xdm bit to kdm, here are the relevant lines:

id:5:initdefault:
x:5:respawn:/opt/kde/bin/kdm -nodaemon

(2) remove kdm from daemons in /etc/rc.conf

tip: pacman -S mc
mc and mcedit are so easy if you're stuck in text mode

Offline

#11 2006-01-02 10:31:56

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

As usual vacant, your comment holds some really useful info. Thanks smile


.oO Komodo Dave Oo.

Offline

#12 2006-01-02 18:45:16

Pablo_Escobar
Member
From: Poznan, Poland
Registered: 2005-12-20
Posts: 65
Website

Re: ATI troubles...

Komodo:
1. xorg.conf -> Device section, try to add this line:
   Option "KernelModuleParm"           "agplock=0" # AGP locked user pages: disabled

2. check if You have fglrx module to load in rc.conf


Arch - Home sweet home smile

Offline

#13 2006-01-02 19:09:22

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: ATI troubles...

Hey sorry to hijack your thread. I found a more appropriate thread i moved it.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#14 2006-01-02 20:00:36

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

NP, at least you're honest tongue


.oO Komodo Dave Oo.

Offline

#15 2006-01-03 16:23:17

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

Re: ATI troubles...

Pablo_Escobar wrote:

Komodo:
1. xorg.conf -> Device section, try to add this line:
   Option "KernelModuleParm"           "agplock=0" # AGP locked user pages: disabled

2. check if You have fglrx module to load in rc.conf

Really sorry I didn't try this until now Pablo_Escobar, I didn't notice your post, sorry!

Sadly neither of your suggestions fixed the problem... I still get

Fatal server error:
Caught signal 4.  Server aborting 

D'oh!


.oO Komodo Dave Oo.

Offline

Board footer

Powered by FluxBB