Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noob trying to setup X with ATI card
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 5:14 pm    Post subject: Noob trying to setup X with ATI card Reply with quote

Here's my "lspci" output:
Code:
00:00.0 Host bridge: Intel Corporation 82875P/E7210 Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary)
02:08.0 Ethernet controller: Intel Corporation 82562EZ 10/100 Ethernet Controller (rev 02)
02:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)


lsmod:
Code:

Module                  Size  Used by
sg                     34740  0
usb_storage           117280  1
ipv6                  209188  10
fglrx                1810316  0
agpgart                37704  1 fglrx
radeonfb              110400  1
fb_ddc                 10112  1 radeonfb
eepro100               33168  0
ehci_hcd               36620  0
uhci_hcd               26380  0
ohci1394               33328  0
i2c_algo_bit           13316  1 radeonfb
ieee1394               83524  1 ohci1394
thermal                23452  0
usbcore               120688  4 usb_storage,ehci_hcd,uhci_hcd
e100                   36876  0
processor              41388  1 thermal
i2c_core               28692  3 radeonfb,fb_ddc,i2c_algo_bit
rtc                    17576  0
mii                    12928  2 eepro100,e100
thermal_sys            17576  2 thermal,processor
button                 14224  0


When I type "startx" (no quotes of course): I should also mention that X does start with what I assume are some really ugly xterm windows.
But anyway, when I type "exit" in the xterm window, this is what I see after x shuts down.
Code:
xauth:  creating new authority file /root/.serverauth.2009

X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.27-gentoo-r5 i686
Current Operating System: Linux puter3 2.6.27-gentoo-r5 #2 SMP Sun Dec 14 07:49:13 GMT 2008 i686
Build Date: 14 December 2008  12:42:25AM
 
   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: Sun Dec 14 09:00:52 2008
(==) Using config file: "/etc/X11/xorg.conf"

(EE) Failed to load module "type1" (module does not exist, 0)
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
(EE) fglrx(0): Failed to initialize ASIC in kernel.
(EE) fglrx(0): [agp] Failed to get AGP mode!
(EE) fglrx(0): cannot init AGP
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(EE) fglrx(0): XMM failed to open CMMQS connection.
xinit:  No such file or directory (errno 2):  Cannot register with ConsoleKit: org.freedesktop.CkConnector.Error: Unable to open session: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


waiting for X server to shut down X connection to :0.0 broken (explicit kill or server shutdown).

xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"


I'm sure it's probably something silly, but any help would be greatly appreciated. Also is there any good reading (book) on this subject that some one would recommend? Never afraid to learn something new.

Thanks,
bruce.


Last edited by bruce32466 on Sun Dec 14, 2008 6:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
amdg
n00b
n00b


Joined: 27 Oct 2008
Posts: 45

PostPosted: Sun Dec 14, 2008 5:38 pm    Post subject: Reply with quote

Do you have Device Drivers -> Graphics Support -> Direct Rendering Manager enabled in your kernel? (You shouldn't.) Have you tried using aticonfig to generate your xorg.conf? If neither of these suggestions work, take a look at this wiki page.

Hope that helps.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Dec 14, 2008 6:59 pm    Post subject: Reply with quote

Hi, can you post your actual /etc/X11/xorg.conf plz ?
Back to top
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 7:19 pm    Post subject: Reply with quote

Thank you for the quick response.
I removed DRM from kernel config, recompiled, copied the new bZimage to /boot/kernel-2.6.27-gentoo-r5 and rebooted.
I tried running through the configuration steps on the above mentioned link up to the point of "Unable to modprobe fglrx" and got no errors along the way. But I still get the same output when exiting X. I will post my "/etc/conf.c/modules" file just in case someone might spot a mistake there.

Code:

# You can define a list modules for a specific kernel version,
# a released kernel version, a main kernel version or just a list.
#modules_2_6_23_gentoo_r5="ieee1394 ohci1394"
#modules_2_6_23="tun ieee1394"
#modules_2_6="tun"
#modules="ohci1394"

# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"

# Give the modules some arguments if needed, per version if necessary.
#module_ieee1394_args="debug"
#module_ieee1394_args_2_6_23_gentoo_r5="ieee1394 ohci1394"
#module_ieee1394_args_2_6_23="tun ieee1394"
#module_ieee1394_args_2_6="tun"

# You should consult your kernel documentation and configuration
# for a list of modules and their options.
modules="agpgart"
module_agpgart_args="intel-agp"
modules="fglrx"


Thanks,
Bruce.


Last edited by bruce32466 on Sun Dec 14, 2008 7:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 7:22 pm    Post subject: Reply with quote

Here's my xorg.conf:
Code:

Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

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

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "Auto"
   Option       "Emulate3Buttons"
   Option       "Device" "/dev/input/mice"
EndSection

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

Section "Monitor"
   Identifier   "Monitor0"
   HorizSync    31.5 - 82.0
   VertRefresh  50.0 - 90.0
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "fglrx"
   option      "UseInternalAGPGART" "no"
   Card        "** ATI Radeon (generic)               [radeon]"
   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024"
   EndSubSection
EndSection
Back to top
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Sun Dec 14, 2008 9:01 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
p-hi
n00b
n00b


Joined: 06 Dec 2004
Posts: 61
Location: Canada

PostPosted: Mon Dec 15, 2008 5:31 am    Post subject: Reply with quote

Look at Section ServerLayout, you have extra 0 on the "Screen" line.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Mon Dec 15, 2008 12:03 pm    Post subject: Reply with quote

don't autoload fglrx. It should be loaded by X on start. Please remove the PCI device line from xorg.conf. DRM does not hurt to be turned on. In fact this:
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->

won't hurt you
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
Back to top
View user's profile Send private message
bruce32466
n00b
n00b


Joined: 18 Nov 2008
Posts: 10

PostPosted: Mon Dec 15, 2008 12:27 pm    Post subject: Reply with quote

Thanks for the help. I have to try thees sugestions when I get home from work later today.
Bruce.
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Mon Dec 15, 2008 1:17 pm    Post subject: Reply with quote

I remember reading something on www.phoronix.com about AGP with R300 based adaptors being broken in current fglrx releases; you might want to look and ask in the forum over there. Your card should work fine with the opensource drivers though anyways.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum