Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get this ATI Radeon 9600 pro working with Linux on my brother's machine. If I can't do this then I'll never be able to persuade him to give up Windows!!
Everything works but 3d acceleration. fglrxinfo gives me the following output:
But glxgears gives the same frame rate (~340fps) whether I set Option "no_dri" to "yes" or "no" in my /etc/X11/XF86Config-4. Also, tuxracer runs unusably slow.
I notice in the console output when I execute startx:
regarding your questions, the kernel source was required for compiling your driver
It sounds like a newbie sister at the moment here.
so, we can't help you help on anything unless we know some information about your computer.
do "lspci" and post the output and information about what kind motherboard are you using. That's probably the most important thing.
what kernel are u using? i don't use mandrake so sorry about it.
take look at http://www.linuxquestions.org/questions/showthread.php?s=&threadid=111379
which might help you a little bit.
check did you compile for supporting your radeon card and /dev/agpgart support which all have to compile as M or modules.
Last edited by tricky_linux; 12-23-2003 at 10:08 PM.
yes I am a newbie, but you'll be glad to hear I'm not completely helpless. I do require some guidance though. I read the ATI documentation with their driver, and also searched for any related threads, but didn't come across anything about compiling anything. I was told simply to install the rpm I downloaded from ATI's site, and then run fglrxconfig, which I duly did. I now have a working X server, but 3d acceleration does not seem to work, judging by the performance of applications that require it. Xvideo overlays, on the other hand, work perfectly, judging by the quality of DVD playback.
Anyhow, to the information you requested: this machine is using kernel version 2.4.21. The machine's motherboard is a Gigabyte GA 8IG 1000 Pro. The output of lspci is as follows:
Code:
[root@localhost chris]# lspci -v
00:00.0 Host bridge: Intel Corp.: Unknown device 2570 (rev 02)
Subsystem: Giga-byte Technology: Unknown device 2570
Flags: bus master, fast devsel, latency 0
Memory at f0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [e4] #09 [0106]
Capabilities: [a0] AGP version 3.0
00:01.0 PCI bridge: Intel Corp.: Unknown device 2571 (rev 02) (prog-if 00 [Norma
l decode])
Flags: bus master, 66Mhz, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 00009000-00009fff
Memory behind bridge: f8000000-f9ffffff
Prefetchable memory behind bridge: d0000000-efffffff
00:1d.0 USB Controller: Intel Corp.: Unknown device 24d2 (rev 02) (prog-if 00 [U
HCI])
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at bc00 [size=32]
00:1d.1 USB Controller: Intel Corp.: Unknown device 24d4 (rev 02) (prog-if 00 [U
HCI])
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at b000 [size=32]
00:1d.2 USB Controller: Intel Corp.: Unknown device 24d7 (rev 02) (prog-if 00 [U
HCI])
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at b400 [size=32]
00:1d.3 USB Controller: Intel Corp.: Unknown device 24de (rev 02) (prog-if 00 [U
HCI])
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at b800 [size=32]
00:1d.7 USB Controller: Intel Corp.: Unknown device 24dd (rev 02) (prog-if 20 [E
HCI])
Subsystem: Giga-byte Technology: Unknown device 5006
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at fa100000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev c2) (prog-if 00 [N
ormal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: fa000000-fa0fffff
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24d0 (rev 02)
Flags: bus master, medium devsel, latency 0
00:1f.1 IDE interface: Intel Corp.: Unknown device 24db (rev 02) (prog-if 8a [Ma
ster SecP PriP])
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at f000 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00:1f.3 SMBus: Intel Corp.: Unknown device 24d3 (rev 02)
Subsystem: Giga-byte Technology: Unknown device 24d2
Flags: medium devsel, IRQ 17
I/O ports at 1400 [size=32]
00:1f.5 Multimedia audio controller: Intel Corp.: Unknown device 24d5 (rev 02)
Subsystem: Giga-byte Technology: Unknown device a002
Flags: bus master, medium devsel, latency 0, IRQ 17
I/O ports at d800 [size=256]
I/O ports at dc00 [size=64]
Memory at fa101000 (32-bit, non-prefetchable) [size=512]
Memory at fa102000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
01:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4150 (pr
og-if 00 [VGA])
Subsystem: C.P. Technology Co. Ltd: Unknown device 2066
Flags: bus master, 66Mhz, medium devsel, latency 255, IRQ 16
Memory at d0000000 (32-bit, prefetchable) [size=256M]
I/O ports at 9000 [size=256]
Memory at f9000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [58] AGP version 3.0
Capabilities: [50] Power Management version 2
01:00.1 Display controller: ATI Technologies Inc: Unknown device 4170
Subsystem: C.P. Technology Co. Ltd: Unknown device 2067
Flags: bus master, 66Mhz, medium devsel, latency 32
Memory at e0000000 (32-bit, prefetchable) [size=256M]
Memory at f9010000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
02:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Contro ller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Giga-byte Technology: Unknown device 1000
Flags: bus master, medium devsel, latency 32, IRQ 21
Memory at fa004000 (32-bit, non-prefetchable) [size=2K]
Memory at fa000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
02:08.0 Ethernet controller: Intel Corp.: Unknown device 1050 (rev 02)
Subsystem: Giga-byte Technology: Unknown device 3013
Flags: bus master, medium devsel, latency 32, IRQ 20
Memory at fa005000 (32-bit, non-prefetchable) [size=4K]
I/O ports at a000 [size=64]
Capabilities: [dc] Power Management version 2
Many thanks for your consideration!
Last edited by vasudevadas; 12-24-2003 at 08:44 AM.
I installed the kernel source from the distro installation discs, and then did:
cd /lib/modules/fglrx/build_mod
./make.sh
cd ..
./make_install.sh
This time after I startx everything is fine, 3d acceleration is clearly enabled (glxgears gives >2000 fps and tuxracer is nice and smooth) and nothing that worked before seems to have been broken. Many thanks for your help!
i had the same problem but what i do make.sh, i got the following error:
[root@localhost build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
In file included from /lib/modules/2.4.21-20.ELsmp/build/include/linux/module.h: 21,
from agpgart_be.c:105:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-hea ders system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an appropri ate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/in clude
/usr/include/linux/modversions.h:5:2: #error to build against the currently-runn ing kernel.
agpgart_be.c: In function `agp_find_supported_device':
agpgart_be.c:6526: warning: unused variable `cap_ptr'
agpgart_be.c: At top level:
agpgart_be.c:6507: warning: `agp_check_supported_device' defined but not used
compiling failed - object file was not generated
edmlo, make sure that your kernel sources for your system are installed and the /usr/src/linux symbolic link points to the correct kernel source directory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.