LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   fglrx problem w/ 2.6.12.3 (https://www.linuxquestions.org/questions/linux-hardware-18/fglrx-problem-w-2-6-12-3-a-348499/)

Ziggydisturbed 07-31-2005 02:13 AM

fglrx problem w/ 2.6.12.3
 
Im having a probleming getting hardware accleration going with my ATI 9600 Mobile (M10)

I heard it has to do with fglrx, and I also heard that its caused by having a kernel newer than 2.6.7 I believe.

I ran the patch that everyone speaks of and it ran fine, but when I do

sh make.sh, I get this.

"ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
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.12.3/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.3'

WARNING: Symbol version dump /usr/src/linux-2.6.12.3/Module.symvers
is missing; modules will have no dependencies and modversions.

CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `agp_find_supported_device':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7136: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7156: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7161: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7187: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7207: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7227: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7232: error: structure has no member named `slot_name'
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7613: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:7623: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12.3'
make: *** [kmod_build] Error 2
build failed with return value 2
"


any ideas?

tumbelo 07-31-2005 07:51 AM

What patch do you mean? The current ATI drivers should work "out of the box" with new kernels, for example 2.6.11. 2.6.12 however isn't supported, so unless your patch was about fixing that, I guess that's the problem.

ATI should release a new driver version pretty soon, though - two months is soon up - and that will probably have 2.6.12 support, in case you don't want to mess with patches.

Ziggydisturbed 07-31-2005 03:01 PM

http://www.linuxquestions.org/questi...icle&artid=212

"If running kernel 2.6.7 or greater (I assume, 2.6.7 is the latest version at time of writing) go to http://kerneltrap.org/node/view/3298 , copy the text of the patch on said page and save to a text file."


This is what im taking about, I read that fglrx has a problem with never version of the kernel, so you have to compile it to your version of the kernel, but to do that you need that patch ^^^ up there.

Also, is there a work around to get hardware acceleration working with 2.6.12?

ride153 07-31-2005 10:07 PM

i have kernel 2.6.12 and using these instructions worked for me
http://rpm.livna.org/configuration.html
yum update
and then yum install kernel-module-fglrx-$(uname -r)
thats on fedora though
my slack box didn't need the patch cuz its still on kernel 2.4


All times are GMT -5. The time now is 06:40 PM.