[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ATI driver install & kernel source error?




Hi yall,

well, I fixed problem two, by checking the syntax closely, of the "make.sh" file & found the drm file name it was looking for & then included the path to that file in the "drmincludes=/xxxx"

This location, was effected by using Trunk-dri stuff from the dri sourcforge....

Progress.

This led onto a new & incomprehensible error message-to me anyhow. Error message reads as follows....

<snip>
haralambos:/lib/modules/fglrx/build_mod# ./make.sh
ATI module generator V 2.0
==========================
probing for VMA API version...
cleaning...
patching 'highmem.h'...
patching 'drmP.h'...
patching file drmP.h
Hunk #1 FAILED at 255.
Hunk #2 FAILED at 266.
2 out of 2 hunks FAILED -- saving rejects to file drmP.h.rej
compiling 'agpgart_be.c'...
compiling 'agp3.c'...
compiling 'i7505-agp.c'...
compiling 'firegl_public.c'...
firegl_public.c: In function `firegl_proc_init':
firegl_public.c:287: parse error before `)'
firegl_public.c: In function `firegl_proc_cleanup':
firegl_public.c:335: parse error before `)'
firegl_public.c: In function `firegl_stub_open':
firegl_public.c:361: parse error before `)'
firegl_public.c: In function `firegl_stub_getminor':
firegl_public.c:398: parse error before `)'
firegl_public.c: In function `firegl_stub_register':
firegl_public.c:441: parse error before `)'
firegl_public.c: In function `firegl_cleanup_module':
firegl_public.c:537: parse error before `)'
firegl_public.c:540: parse error before `)'
firegl_public.c: In function `vm_shm_nopage':
firegl_public.c:1804: parse error before `)'
firegl_public.c:1812: parse error before `)'
firegl_public.c:1831: parse error before `)'
firegl_public.c: In function `__ke_vm_map':
firegl_public.c:2125: parse error before `)'
firegl_public.c:2176: parse error before `)'
firegl_public.c:2209: parse error before `)'
firegl_public.c: In function `__ke_firegl_agpgart_available':
firegl_public.c:2376: parse error before `)'
firegl_public.c: In function `__ke_agpgart_available':
firegl_public.c:2388: parse error before `)'
firegl_public.c:2464: parse error before `)'
firegl_public.c:2472: parse error before `)'
firegl_public.c:2474: parse error before `)'
compiling failed - object file was not generated
haralambos:/lib/modules/fglrx/build_mod#
<snip>

Hmmm.

Think I will send that onto ATI.

Anyone hereabout install the ATI drivers & get 'em going-care to share?

Greek Geek :-)


Haralambos Geortgilakis wrote:


Hi all & Nikita,

thanx man, it fixed that problem, by installing the "headers" & then pointing make.sh to them, only to produce a new error message....

<snip>
Error:
XFree86 drm includes at /usr/src/kernel-headers-2.4.18-bf2.4/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
<snip>

Um?

I am using the "dri" stuff, which matches these criteria, methinks?

I might do s search online, to see if some Debianista has repackaged the ATI stuff as .deb, so that I am not chasing my or ATI's tail.

Eduard, so far, no feedback from me on the speed of "fgl_glxgears" yet.... ;-)

H :-)


Far duller than a serpent's tooth it is to spend a quiet youth.


Eduard Bloch wrote:

#include <hallo.h>
* Nikita V. Youshchenko [Fri, Nov 22 2002, 11:15:24AM]:



kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h
haralambos:/lib/modules/fglrx/build_mod#
<snip>

The mentioned file is auto-generated on kernel build.
So it is not in kernel-source-*
But kernel-headers-* do contain it.

Maybe you need to install kernel-headers-xxx and point ATI's script to /usr/src/kernel-headers/xxx ...


Yes. Many people set a symlink from
/usr/src/kernel-headers-<kernel-version>-<debian-version> to /usr/src/linux.

Eg. for the bf2.4 kernel:

apt-get install kernel-headers-2.4.18-bf2.4
cd /usr/src
ln -s kernel-headers-2.4.18-bf2.4 linux

But I have wish: could make a small report about the quality of those
drivers? Things that woke my interest:

- Usage with 3D games (Quake3, UT2003)
- Usage of the TV output (controlable?) and the second head
- Usage with Powered-By-ATI but not Built-By-ATI cards

Gruss/Regards,
Eduard.









Reply to: