View previous topic :: View next topic |
Author |
Message |
Hase n00b
Joined: 21 May 2004 Posts: 64
|
Posted: Sat May 29, 2004 6:48 pm Post subject: ATI Mobility 9000, Kernel 2.6.5, and a pinch of frustration |
|
|
Ok, first huge gripe about Linux is the void of useful manuals (although the documentation for Gentoo really is fantastic and the best I have found). Yeah, windows is no better but in windows there is significantly much less to configure. I can find manuals about programming and manuals about using a desktop ("How to re-size a window..."), but nothing in between. I want to know what files, and in what order, the system looks at when it boots or starts a program (ie does the system use .../XF86Config, .../XF86Config-4, or .../XF86Config.working, and what do the others do?). I know this stuff can vary from system to system, but if I knew what file came before and pointed to it, I could figure it out. I want to know what an "emerge"-d file changes and in what directories links, files and such are stored. Where are my drivers stored? Anyway, if you know of any that meet this middle ground, let me know.
I guess this comes from trying to setup my ATI Mobility 9000. I am using the 2.6.5-gentoo-r1 kernel and have emerged the new ATI 3.9.0 drivers. How do I check to see if the fglrx driver is correctly built? I would guess that it is not finding a device.
Quote: | bash-2.05b# modprobe fglrx
FATAL: Error inserting fglrx (/lib/modules/2.6.5-gentoo-r1/video/fglrx.ko): No such device
|
After running fglrxconfig, the resulting XF86Config-4 file also says (on the BusID line) that no device was present. Also, by the way, do I need to move, rename or "update" the XF86Config-4 file to use it? (ie "# cp /etc/X11/XF86Config-4 ?etc/X11/XF86Config.working"). With my current settings, KDE does not start and running startx results
Quote: | ...
(WW) fglrx: No matching Device section for instance ...
(EE) No devices detected.
... |
So, does anyone know how to figure out what the specific BusID of my card is or get it to be recognised? My /etc/modules.autoload.d/kernel-2.6 includes agpart, intel-agp, and fglrx, in that order.
I am desperate. Any tiny little piece of help would be a godsend.
Thanks for reading. |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Sat May 29, 2004 7:44 pm Post subject: |
|
|
try this , reboot with ur gentoo-livecd and type lsmod , see what modules are actually loaded also lspci -v , then make sure u have everythin compiled correctly on ur kernel also double check ur xf86config ( if u run it manually mak sure u pick the right video card etc )
good luck ! |
|
Back to top |
|
|
Wedge_ Advocate
Joined: 08 Aug 2002 Posts: 3614 Location: Scotland
|
Posted: Sat May 29, 2004 7:58 pm Post subject: |
|
|
Quote: | I want to know what files, and in what order, the system looks at when it boots or starts a program (ie does the system use .../XF86Config, .../XF86Config-4, or .../XF86Config.working, and what do the others do?). I know this stuff can vary from system to system, but if I knew what file came before and pointed to it, I could figure it out. |
Often the manpage for the program will list the files it uses, usually near the end. I think "man XF86Config" will show you the locations X checks for config files and the order it searches them in.
Quote: | I want to know what an "emerge"-d file changes and in what directories links, files and such are stored. Where are my drivers stored? |
You can either look at the output near the end of the emerge (the lines starting with >>>), or emerge gentoolkit and use qpkg :
Code: | $ qpkg -l ati-drivers
media-video/ati-drivers-3.2.8 *
CONTENTS:
/lib
/lib/modules
/lib/modules/2.6.6-love4
/lib/modules/2.6.6-love4/video
/lib/modules/2.6.6-love4/video/fglrx.ko
/usr
/usr/lib
/usr/lib/opengl
/usr/lib/opengl/ati
/usr/lib/opengl/ati/lib
.... |
Quote: | I guess this comes from trying to setup my ATI Mobility 9000. I am using the 2.6.5-gentoo-r1 kernel and have emerged the new ATI 3.9.0 drivers. How do I check to see if the fglrx driver is correctly built? I would guess that it is not finding a device. |
According to the release notes for the driver it should support that card. What does the output of "dmesg" show just after you've tried to load the module. Also, have you tried the "radeon" driver?
The driver should be built correctly, since modprobe isn't complaining that it can't find the module. _________________ Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ |
|
Back to top |
|
|
Hase n00b
Joined: 21 May 2004 Posts: 64
|
Posted: Sat May 29, 2004 9:15 pm Post subject: |
|
|
This is the end of the dmesg return including the end of the startup (using my old XF86Config-4 file and the radeon module, fglrx not included) The last couple lines are a result of trying modprobe fglrx: Quote: | agpgart: Detected Ati IGP345M chipset
agpgart: Maximum main memory to use for agp memory: 380M
agpgart: AGP aperture is 64M @ 0xd4000000
PCI: Enabling device 0000:00:06.0 (0005 -> 0007)
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x3c0-0x3df 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 371 MBytes.
[fglrx:firegl_init] *ERROR* Device not found!
|
Right now, am I just using a generic vga driver and in my /etc/modules.autoload.d/kernel-2.6, should I have something other than the "intel-agp" module starting? I asumed that is what I needed for my laptop but maybe that is why nothing can see the device?
lspci gets:
Quote: | bash-2.05b# lspci -v
0000:00:00.0 Host bridge: ATI Technologies Inc: Unknown device cbb2 (rev 02)
Flags: bus master, 66Mhz, medium devsel, latency 64
Memory at d4000000 (32-bit, prefetchable)
Memory at d0007000 (32-bit, prefetchable) [size=4K]
Capabilities: [a0] AGP version 2.0
0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M] (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 99
Bus: primary=00, secondary=01, subordinate=01, sec-latency=68
I/O behind bridge: 00009000-00009fff
Memory behind bridge: d0300000-d03fffff
Prefetchable memory behind bridge: d8000000-dfffffff
Expansion ROM at 00009000 [disabled] [size=4K]
0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 64, IRQ 5
I/O ports at 1000
Memory at d0000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
Subsystem: ALi Corporation ALI M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0
Capabilities: [a0] Power Management version 1
0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller (prog-if 00 [Generic])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: medium devsel, IRQ 10
Memory at d0001000 (32-bit, non-prefetchable)
I/O ports at 1400 [size=256]
Capabilities: [40] Power Management version 2
0000:00:09.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
Subsystem: Compaq Computer Corporation: Unknown device 00e7
Flags: bus master, fast devsel, latency 64, IRQ 10
Memory at d0002000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
0000:00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
Memory at d0004000 (32-bit, non-prefetchable)
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: d0200000-d02ff000 (prefetchable)
Memory window 1: d0100000-d01ff000
I/O window 0: 00001c00-00001cff
I/O window 1: 00001800-000018ff
16-bit legacy interface ports at 0001
0000:00:0b.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 2000 [size=32]
Capabilities: [80] Power Management version 2
0000:00:0b.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at 2020 [size=32]
Capabilities: [80] Power Management version 2
0000:00:0b.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at d0005000 (32-bit, non-prefetchable)
Capabilities: [80] Power Management version 2
0000:00:0c.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at d0005800 (32-bit, non-prefetchable)
Memory at d0008000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) (prog-if fa)
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 32
I/O ports at 2040 [size=16]
Capabilities: [60] Power Management version 2
0000:00:11.0 Bridge: ALi Corporation M7101 PMU
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: medium devsel
0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, medium devsel, latency 90, IRQ 10
I/O ports at 2400
Memory at d0006000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company: Unknown device 0850
Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 10
Memory at d8000000 (32-bit, prefetchable)
I/O ports at 9000 [size=256]
Memory at d0300000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2
|
Also, what is mtrr and do I have/need it enabled? (As if you would know the answer to the former... Pardon me, my brain is cooked)
Last edited by Hase on Sat May 29, 2004 9:33 pm; edited 1 time in total |
|
Back to top |
|
|
Hase n00b
Joined: 21 May 2004 Posts: 64
|
Posted: Sat May 29, 2004 9:28 pm Post subject: |
|
|
Do I need to be worrying about seting up the XF86Config-4 file until I can get the fglrx module to start or does the fglrx module rely on the XF86Config-4 file? |
|
Back to top |
|
|
Hase n00b
Joined: 21 May 2004 Posts: 64
|
Posted: Sat May 29, 2004 9:32 pm Post subject: |
|
|
glxinfo yields Quote: | bash-2.05b$ glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
GLX_ATI_render_texture
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 1 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 1 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 1 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 1 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 1 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 1 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 1 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 1 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
| Again, this is using all my old settings as described above. |
|
Back to top |
|
|
|
|
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
|
|