LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-31-2003, 09:44 AM   #1
weird_guy
LQ Newbie
 
Registered: May 2003
Location: Brazil
Distribution: Red Hat 9 + Fedora
Posts: 22

Rep: Reputation: 15
Suffering with Radeon , XFree 4.3 and RH9


First , I'd like to say hi to the guys on this forum.. I've just registered , but I've already used some answers from here to try to solve my problems...

So , let me begin... I just bought a Radeon 9500 Pro and I'm trying to make it work with XFree 4.3 and RedHat 9. I downloaded the official ATI drivers , recompiled XFree , tried to compile drm (as suggested in other threads) and nothing works...

Here's what I get when trying to compile drm:

Quote:
[root@tirael drm]# make -f Makefile.linux
=== KERNEL HEADERS IN /lib/modules/2.4.20-8/build/include
=== SMP=0 MODULES=1 MODVERSIONS=1 AGP=1
=== Compiling for machine i686
=== WARNING
=== WARNING Use 2.4.x kernels ONLY !
=== WARNING
+ ln -s ../../../shared/drm/kernel/drm_sarea.h .
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -W
nested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-s
trict-aliasing -DCONFIG_AGP -DCONFIG_AGP_MODULE -DCONFIG_DRM_SIS -DMODVERSIONS -
include /lib/modules/2.4.20-8/build/include/linux/modversions.h -DEXPORT_SYMTAB
-I/lib/modules/2.4.20-8/build/include -c gamma_drv.c -o gamma_drv.o
In file included from /lib/modules/2.4.20-8/build/include/linux/irq.h:69,
from /lib/modules/2.4.20-8/build/include/asm/hardirq.h:6,
from /lib/modules/2.4.20-8/build/include/linux/interrupt.h:46,
from /lib/modules/2.4.20-8/build/include/asm/highmem.h:25,
from /lib/modules/2.4.20-8/build/include/linux/highmem.h:11,
from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from /lib/modules/2.4.20-8/build/include/asm/io.h:47,
from /lib/modules/2.4.20-8/build/include/asm/pci.h:35,
from /lib/modules/2.4.20-8/build/include/linux/pci.h:657,
from drmP.h:50,
from gamma_drv.c:34:
/lib/modules/2.4.20-8/build/include/asm/hw_irq.h: In function `x86_do_profile':
/lib/modules/2.4.20-8/build/include/asm/hw_irq.h:195: warning: nested extern dec
laration of `prof_cpu_mask'
/lib/modules/2.4.20-8/build/include/asm/hw_irq.h:196: warning: nested extern dec
laration of `_stext'
In file included from /lib/modules/2.4.20-8/build/include/linux/vmalloc.h:8,
from /lib/modules/2.4.20-8/build/include/asm/io.h:47,
from /lib/modules/2.4.20-8/build/include/asm/pci.h:35,
from /lib/modules/2.4.20-8/build/include/linux/pci.h:657,
from drmP.h:50,
from gamma_drv.c:34:
/lib/modules/2.4.20-8/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-8/build/include/linux/highmem.h:20: warning: pointer of type
`void *' used in arithmetic
In file included from gamma_drv.c:54:
drm_vm.h: In function `gamma_mmap':
drm_vm.h:462: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes pointer from integer without a cast
drm_vm.h:462: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
drm_vm.h:462: too few arguments to function `remap_page_range_R2baf18f2'
make: *** [gamma_drv.o] Error 1
[root@tirael drm]#
I tried the source obtained from http://www.xfree86.org/~alanh/ and the full Xfree source obtained from xfree86.org...
With both I get those messages...

Is there anything I can do to compile this thing , so I can get OpenGL support?
 
Old 05-31-2003, 07:19 PM   #2
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
haha, wow this is really a pain in the neck.

If you wanna see what I'VE been through on this endless quest, check my recent posts...lol, i've started a topic which spanned 3 pages, and two more. I've been burning up my XF86Config with this, along with my kernels i've destroyed.

Short answer: For your own sake, wait until ATI releases drivers. If you're REALLY desperate, contact jpbarto on these forums, he seems to have some concoction worked up.
 
Old 06-22-2003, 09:48 AM   #3
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Still got problems?

Check out the 4th post here...
http://www.linuxquestions.org/questi...222#post346221

I think that the DRM rpm is just a subset of drivers for Xfree. You don't need it. And ATI dont have offical drivers for xfree4.3 but this problem is addressed in the above post
 
Old 06-22-2003, 01:02 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Hey weird_guy --

First of all, make sure you have the source for your _exact_ kernel in /usr/src/linux-(kernelversion)

Recompile your kernel with the source you download, if you don't have the exact source. You can use the same configuration, copy the /usr/src/linux/.config toa backup location.

Check out this page and recompile your kernel from source first, if you dn't have the exact source for your machine.

http://www.kernelnewbies.org/faq/index.php3#compile

Then, go to http://www.schneider-digital.de/download/ati/
and get the drivers for 4.3.0 ... FireGL 8800/8700 should do it for you.

Just untar, run the instsall script, go to /lib/modules/fglrx/build_mod/ and run ./make.sh
then
cd ..
and run as root
./make_install.sh

Change the driver section of your XF86Config-4 to use fglrx

And you should be in business Note, you've gotta use 24 bit color depth to get it to work right.

Have fun.
Make sure your X install is working correctly by trying it out with the Vesa driver first, of course.

-Shade
 
Old 06-23-2003, 08:28 PM   #5
weird_guy
LQ Newbie
 
Registered: May 2003
Location: Brazil
Distribution: Red Hat 9 + Fedora
Posts: 22

Original Poster
Rep: Reputation: 15
I want to say something to you guys who tried to help me : THANK YOU!
I did what Shade and fatgod said and now I have full opengl support...

So here's what I did (just in case someone finds this topic someday):

I downloaded the kernel source code from kernel.org , untared it to /usr/src/linux-2.4.20 and compiled it WITHOUT DRI and MTRR support. Then , after rebooting with my new kernel , I installed the rpm from http://www.schneider-digital.de/download/ati/ and the module was built... Then , run fglrxconfig and it was good to go....

Again , thx for your help guys.... Now I can try some cool things here
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RADEON 7500 - Xfree 4.3.0 neri Linux - Hardware 6 06-08-2004 12:19 PM
Radeon 7200 - XFree 4.4 - 2.6.4 doctorzoidberg Slackware 1 04-18-2004 04:01 PM
Xfree on radeon 9600 Gromit Debian 7 11-05-2003 10:39 PM
XFree 4.3.0 Radeon 9500Pro niverson Red Hat 0 10-08-2003 11:34 PM
Radeon 8500, xfree 4.3.0, slack 9.0 - HELP hugoX79 Slackware 27 08-15-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:02 AM.

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