Linux - GeneralThis 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
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.
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?
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.
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.