LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-30-2004, 11:46 AM   #1
Tom Morris
LQ Newbie
 
Registered: Dec 2004
Location: Sussex, UK
Distribution: Mandrake 10.1
Posts: 13

Rep: Reputation: 0
ATI Radeon 9600 XT on Mandrake 10.1


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.
 
Old 12-30-2004, 02:53 PM   #2
Tom Morris
LQ Newbie
 
Registered: Dec 2004
Location: Sussex, UK
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry to pester, but anyone got any suggestions?
 
Old 12-30-2004, 03:30 PM   #3
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
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.

What a pain.

Last edited by stunter; 12-30-2004 at 03:58 PM.
 
Old 01-03-2005, 11:12 AM   #4
Tom Morris
LQ Newbie
 
Registered: Dec 2004
Location: Sussex, UK
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
What a pain.
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)
 
Old 01-03-2005, 01:38 PM   #5
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
Tom,

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.
 
Old 01-03-2005, 03:43 PM   #6
Tom Morris
LQ Newbie
 
Registered: Dec 2004
Location: Sussex, UK
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 01-03-2005, 04:28 PM   #7
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Rep: Reputation: 15
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

Cheers,

Mick.
 
Old 01-03-2005, 05:03 PM   #8
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
Tom and Mick,

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.

Last edited by stunter; 01-03-2005 at 05:06 PM.
 
Old 01-03-2005, 05:16 PM   #9
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Rep: Reputation: 15
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:

install fglrx /sbin/modprobe --ignore-install fglrx && { /sbin/modprobe via-agp; /bin/true; }

Cheers,

Mick
 
Old 01-03-2005, 05:36 PM   #10
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
Mick,

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.

stunter
 
Old 01-04-2005, 12:07 PM   #11
Biased turkey
Member
 
Registered: Jan 2002
Location: Canada
Distribution: redhat7.2
Posts: 169

Rep: Reputation: 30
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.
 
Old 01-04-2005, 12:23 PM   #12
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
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.
 
Old 01-04-2005, 01:09 PM   #13
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Rep: Reputation: 15
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

Cheers,

Mick.
 
Old 01-04-2005, 02:05 PM   #14
Tom Morris
LQ Newbie
 
Registered: Dec 2004
Location: Sussex, UK
Distribution: Mandrake 10.1
Posts: 13

Original Poster
Rep: Reputation: 0
This is what glxinfo is returning for me:
Quote:
[tom@gould tom]$ glxinfo
name of display: :0.0
Loading required GL library /usr/lib/libGL.so.1
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
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_ARB_multisample, 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.2 (1.4 Mesa 5.0.2)
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 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 1 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 1 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 1 0 None
 
Old 01-04-2005, 02:24 PM   #15
stunter
Member
 
Registered: May 2004
Location: Kitsap, Washington
Distribution: Fedora Core 4
Posts: 107

Rep: Reputation: 15
Tom,

Almost exactly what I get.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Radeon 9600 SE mlerch Linux - Newbie 2 09-19-2005 10:27 PM
Trouble installing ATI Radeon 9600 Drivers in Mandrake RAMMS+EIN Linux - Hardware 2 05-27-2005 03:58 PM
ATI Radeon 9600 pro, Mandrake 10.0, Nforce2 Mobo, no direct rendering :( DarkNebula Linux - Hardware 10 06-01-2004 11:16 AM
ATI Radeon 9600 XT jgold03 Linux - Hardware 2 05-23-2004 12:07 PM
ati radeon 9600 xt,mandrake 9.1 perdesiz Linux - Hardware 4 02-19-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration