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 hard to install my ATI Radeon 9600 XT on Mandrake 10.1-Official. It seems to be set up, though I can't use any 3D, whether it's Half-Life (via Cedega) or Tux Racer. I followed the instructions here: http://www.rage3d.com/content/articl...Linux_ATI.html
I tried applying the VMALLOC patch, as it states and had no luck.
Then I tried to build the module - agpgart is running (I checked using lsmod) - and when I tried to sh make_install.sh (as root) in the /lib/modules/fglrx folder, it bombs out with the following error:
Quote:
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.8.1-12mdk/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.
I've searched long and hard on here and other sites and found nothing to fix this problem.
When I rpm -ihv --force /path.../fglrx-driver.rpm, I get the following response:
Quote:
Preparing... ########################################### [100%]
1:fglrx ########################################### [100%]
*** Trying to install a precompiled kernel module.
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.8.1-12mdk/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.8.1-12mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.8.1-12mdk'
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.8.1-12mdk'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.8.1-12mdk/kernel/drivers/char/drm/fglrx.ko): Invalid module format
failed.
*** Warning ***
The QT based control panel application did not load in any version.
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===
Any ideas?
Last edited by Tom Morris; 01-03-2005 at 11:07 AM.
Not a one. I just installed an ATI 9550 256mg card and can't get direct rendering working. It worked fine on my old card (ATI 7200). I get this messeage from the XFree86.0.log
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500/9700 and newer cards
This is using the radeon.o module. I can't get the fglrx stuff to work worth a darn either.
I tried loading agpgart (as I did with the 7200 card) and I get this from the XFree86.0.log:
(II) LoadModule: "agpgart"
(WW) Warning, couldn't open module agpgart
(II) UnloadModule: "agpgart"
(EE) Failed to load module "agpgart" (module does not exist, 0)
Though there it is in /dev.
Does someone have a working XF86Config-4 that uses a newer Raedon card and had direct rendering working that they can post?
Thanks,
stunter
edit:
OK, a bit of additional research indicates that my kernel is not yet supported. I'm running Mandrake 10.0 and the kernel is not yet supported. So if I want the ATI drivers to work, I have to compile my own fglrx module. Unfortunately, I don't have the kernel sources installed and lack the space to install them for now. Sigh. I guess it's just not going to work until ATI gets around to updating fglrx to include 2.6 kernels or until I install the kernel sources and compile the damn thing myself.
Tell me about it. I'm a big time noob ex-OS X-er, and I'm really not comfortable rebuilding my own kernel.
From my Xorg.0.log file:
Quote:
(--) PCI:*(1:0:0) ATI Technologies Inc RV350 AR [Radeon 9600] rev 0, Mem @ 0xc0000000/28, 0xe8030000/16, I/O @ 0xd000/8
(--) PCI: (1:0:1) ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary) rev 0, Mem @ 0xd0000000/28, 0xe8020000/16
Quote:
(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="Fire GL - ATI Research GmbH, Germany"
compiled for 4.3.0.1, module version = 3.14.6
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.6
Quote:
(II) FireGL8700/8800: Driver for chipset: ATI RV250 Id (R9000),
ATI RV250 Ie (R9000), ATI RV250 If (R9000), ATI RV250 Ig (R9000),
ATI RV250 Ld (M9), ATI RV250 Le (M9), ATI RV250 Lf (M9),
ATI RV250 Lg (M9), ATI RV280 5960 (R9200 PRO),
ATI RV280 Ya (R9200LE), ATI RV250SE Yd (R9200SE),
ATI RV250 5C61 (M9+), ATI RV250 5C63 (M9+), ATI R200 QH (R8500),
ATI R200 QL (R8500), ATI R200 QM (R9100), ATI R200 QT (R8500),
ATI R200 QU (R9100), ATI R200 BB (R8500), ATI RV350 AP (R9600),
ATI RV350SE AQ (R9600SE), ATI RV350 AR (R9600 PRO),
ATI RV350 NP (M10), ATI R300 AD (R9500), ATI R300 AE (R9500),
ATI R300 AF (R9500), ATI R300 AG (Fire GL Z1/X1),
ATI R300 ND (R9700 PRO), ATI R300 NE (R9700/R9500 PRO),
ATI R300 NF (R9600 TX), ATI R300 NG (Fire GL X1),
ATI R350SE AH (R9800SE), ATI R350 AK (Fire GL unknown),
ATI RV350 AS (Fire GL T2), ATI RV350 AT (Fire GL T2),
ATI RV350 AU (Fire GL T2), ATI RV350 AV (Fire GL T2),
ATI RV350 AW (Fire GL T2), ATI R350 NH (R9800),
ATI R350LE NI (R9800LE), ATI R350 NJ (R9800),
ATI R350 NK (Fire GL X2), ATI RV350 NT (WS/M10), ATI RV370 5B60,
ATI RV370 5B61, ATI RV370 5B62, ATI RV370 5B63, ATI RV370 5B64,
ATI RV370 5B66, ATI RV370 5B67, ATI RV370 5B70, ATI RV370 5B71,
ATI RV370 5B72, ATI RV370 5B73, ATI RV370 5460, ATI RV370 5461,
ATI RV370 5462, ATI RV370 5463, ATI RV370 5464, ATI RV370 5465,
ATI RV370 5466, ATI RV370 5467, ATI RV370 5470, ATI RV370 5471,
ATI RV370 5472, ATI RV370 5473, ATI RV380 AP, ATI RV380 AQ,
ATI RV380 AR, ATI RV380 AS, ATI RV380 AT, ATI RV380 AU, ATI RV380 AV,
ATI RV380 AW, ATI RV380 AP2, ATI RV380 AQ2, ATI RV380 AR2,
ATI RV380 AS2, ATI RV380 NP, ATI RV380 NQ, ATI RV380 NR,
ATI RV380 NS, ATI RV380 NT, ATI RV380 NU, ATI RV380 NV, ATI RV380 NW,
ATI RV380 NP2, ATI RV380 NQ2, ATI RV380 NR2, ATI RV380 NS2,
ATI R420 JH, ATI R420 JI, ATI R420 JJ, ATI R420 JK, ATI R420 JL,
ATI R420 JM, ATI R420 JN, ATI R420 JP, ATI R423 UH, ATI R423 UI,
ATI R423 UJ, ATI R423 UK, ATI R423 UL, ATI R423 UM, ATI R423 ]W,
ATI R423 UP, ATI R423 UQ, ATI R423 UR, ATI R423 UT, ATI R423 ]H,
ATI R423 ]I, ATI RV410 VJ, ATI RV410 VK, ATI RV410 VL, ATI RV410 VM,
ATI RV410 ^H, ATI RV410 ^I, ATI RV410 ^J, ATI RV410 ^K, ATI RV410 ^L,
ATI RV410 ^M, ATI RV410 ^O, ATI RV410 VR, ATI RV410 VS, ATI RV410 ^R,
ATI RV410 ^S, ATI RV410 ^U, ATI RS300 IGP, ATI RS350 IGP,
ATI RS300M IGP
(II) Primary Device is: PCI 01:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset ATI RV350 AR (R9600 PRO) found
Damn it. One day ATI will get their act together... (not that nVidia was much better for me)
Well, more information. I built the fglrx module against my 2.6 kernel. All went well and the module installed and loaded without issue....
only to find out that the drivers don't support direct rendering. At all. Says so in my XFree86.0.log "Direct Rendering not yet supported for 9500, 9700 and newer ATI cards". Not yet?
Sigh...
So, it appears that I upgraded to a much faster ATI card with more memory and a bigger pipe that, because of ATI's inability to create drivers or release the information so others can dreate drivers, is totally useless to me.
Sigh again...
Guess I'll have pull the thing and buy an nVidia card. While not great, at least nVidia HAS 3D drivers.
Worse than that. I've decided it's too much bother. I'm buying a new IDE drive in the next few weeks and am going to have a small drive just for, shudder, Windows. As much as I would like to be 100% Tuxed up, it seems as if Windows is going to have to be there for when I want to play 3D games.
hi Tom,
I'm using a powercolor 9600xt with mandrake 10.1 CE and as luck would have it, it works fine. I know this sounds painfull but I would recommend backing up and reinstalling mandrake. Mandrake 10.1 CE is the only distro I have tried that recognized my 9600xt and set it up properly. In fact i've just done a re-install today (it's quicker than tidying up) and the graphics work fine, not very quickly, but OK. Just as a thumb-rule here is the output from glxgears.
[mick@localhost mick]$ glxgears
9115 frames in 5.0 seconds = 1823.000 FPS
10862 frames in 5.0 seconds = 2172.400 FPS
10853 frames in 5.0 seconds = 2170.600 FPS
10855 frames in 5.0 seconds = 2171.000 FPS
10845 frames in 5.0 seconds = 2169.000 FPS
10849 frames in 5.0 seconds = 2169.800 FPS
I get no direct rendering at all with the fglrx drivers. I have 10.0. Just haven't spent the time yet to download 10.1. I get OK framerates with software rendering, but it would be nice if the direct rendering worked. Certainly would work better and more consistently.
I've decide to keep my Windows XP partition. I've got a dual boot system and a stripped version of XP that I use as a game platform. I have high hopes that someday Linux will at least sort of catch up in games and I can dump Windows but until then I'll keep it around as a game platform.
Hi folks, this is a copy of a reply I posted on another forum, it sounds like it may well help.
This sounds like the same problem I had getting my 9600XT to work. I finally found a howto that helped. The below text is copied from it. I'm using a 2.6 kernel and adding the lines below (for the 2.6 kernel) to the end of /etc/modprobe.conf cured the problem and then reboot. Don't be amazed if you don't get the performance you were hopng for though, it's just that ati's drivers aren't much good (on linux anyway)
For the driver to load properly, the agpgart and your specific chipset gart must be enabled at boot time (in case you are using a gfx login). This can be done by adding the following line to /etc/modprobe.conf :
pre-install fglrx /sbin/modprobe "-k" "agpgart"
If you are using the 2.6 kernel, add the following line instead:
I'll certainly give it a try. Nothing else I've tried has had any effect on the direct rendering. I must have 15 versions of XF86Config-4 with various attempts to get the thing to work.
Thanks, I'll let others know if I get anywhere...of even if I don't.
It looks like you people are trying to "complicate" things.
When installing mandrake10.1, when required to select your video board manufacturer, just select ATI -> Radeon fglrx. That's the driver for the firegl line of ATI boards. It works fine with my Radeon 9600 XT.
Now if you go to System-> configuration-> configure your computer ->Hardware->hardware->videocard
it will show Radeon 9600XT.
when I run "glxinfo" command, it displays" DirectRendering : Yes " thus confirming that 3D hardware acceleration is enabled.
glxgears give 1950 FPS and Tuxracer + Epsxe ( Playstation emulator ) run nicely.
Maybe you should have posted your problem in the Mandrake distro forum because your problem is Mandrake specific: Mandrake auto-install the ATI drivers while if you have a distro such as Fedora, you'll have to download, install and configure the ATI driver manually.
I don't have Mandrake 10.1 and I don't think it's particularly distro dependent. According to ATI, the latest linux drivers from ATI (fglrx) don't yet support 3D rendering for newer ATI cards (9500, 9700, etc). If Mandrake found a way to get this working, great. I'll take the time to download the distro and upgrade my installation.
Hi all,
Biased Turkey is quite right that mandrake 10.1 does indeed auto-detect the radeon 9600xt. However, when I was running mandrake10 (as is stunter) it didn't auto-detect my graphics cards and therefore I had to use the patch
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.