LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   How should proprietary ATI driver be installed on Slackware current 64-bit? (https://www.linuxquestions.org/questions/slackware-14/how-should-proprietary-ati-driver-be-installed-on-slackware-current-64-bit-808061/)

Erik_FL 05-15-2010 04:31 PM

How should proprietary ATI driver be installed on Slackware current 64-bit?
 
I've tried a few different ways to install the ATI graphics driver "fglrx" to get 3D acceleration.

If I try to install using the standard file "ati-driver-installer-10-4-x86.x86_64.run" from the ATI web site it appears to work but then I discover it actually got an error.

Code:

Error:
kernel includes at /lib/modules/2.6.33.3/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.33.3".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux

I can get around that error by adding a soft link for "/lib/modules/2.6.33.3/build/include/linux/utsrelease.h" that points to "../generated/utsrelease.h".

After fixing that error, the next errors I get are these.

Code:

Intel(R) Core(TM) i7 CPU 965 @ 3.20GHz GenuineIntel GNU/Linux
uname -s = Linux
uname -m = x86_64
uname -r = 2.6.33.3
uname -v = #2 SMP Fri Apr 30 23:50:51 CDT 2010
.
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
Warning:
kernel includes at /lib/modules/2.6.33.3/build/include not found or incomplete
file: /lib/modules/2.6.33.3/build/include/linux/autoconf.h

Warning:
kernel includes at /lib/modules/2.6.33.3/build/include not found or incomplete
file: /lib/modules/2.6.33.3/build/include/linux/autoconf.h

assuming default: MODVERSIONS=0
.
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.33.3/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.33.3'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:31:28: error: linux/autoconf.h: No such file or directory
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:443:
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info':
/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_SetPageCache_Array':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1316: warning: passing argument 1 of 'KCL_ConvertPageToKernelAddress' makes pointer from integer without a cast
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.h:325: note: expected 'void *' but argument is of type 'long unsigned int'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke__cmpxchg':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__ret' declared void
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__old' declared void
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__new' declared void
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MapPageToPfn':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1615: warning: unused variable 'bus_addr'
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.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.33.3'
make: *** [kmod_build] Error 2
build failed with return value 2

I found an older Slackware package for this driver but it doesn't seem to install because it has the extension ".tar". I'm not sure exactly where to get the correct driver if there is one.

I saw a reference to ATI requiring 32-bit libraries to install their 64-bit driver. Is there a link or post that explains how to add the 32-bit libraries. Will that solve the problem, or will I just waste more time trying that?

astrogeek 05-15-2010 07:03 PM

Hi Erik_FL

As no one else has responded yet, I'll provide what little I know.

I do not have your answer, but I recently attempted to get an ATI card working (32 bit system) and found a lot of info on installing the ATI proprietary driver in the process - not much of it helpful actually. My thread is here.

The best single point source I found was slackwiki, see if that helps get you going.

One of the responders to my question also provided this link to freedesktop.org for the radeon driver, might have something helpful for you.

My own solution was to remove the ATI card and use the onboard Intel chipset :)

adamk75 05-15-2010 09:13 PM

There's actually a thread for this already:

http://www.linuxquestions.org/questi...urrent-796669/

It talks about using the 10.4 prerelease, but it might work with the 10.4 release, too.

Adam

adamk75 05-15-2010 09:14 PM

Quote:

Originally Posted by astrogeek (Post 3970115)
My own solution was to remove the ATI card and use the onboard Intel chipset :)

That seems strange as your x700 is most likely more powerful than any onboard intel GPU.

Adam

astrogeek 05-15-2010 09:30 PM

Quote:

Originally Posted by adamk75 (Post 3970163)
That seems strange as your x700 is most likely more powerful than any onboard intel GPU.

Undoubtedly it is much more powerful, but I hit a few snags with the ATI card and was also unable to use vesa framebuffer with it - and everything worked fine with the Intel chipset. Although I will use some graphics apps on that box such as Blender and occasional video playback, I just decided it was not worth much effort to me to make it work with the ATI card at this time.

I mentioned that in my response mostly as a way to say, "I don't have a full solution for you because I bailed out!"

brucehinrichs 05-15-2010 09:40 PM

Maybe this article will help.

doomey 05-16-2010 12:34 AM

i see you're trying fglrx 10.4 on kernel 2.6.33.3. i'm not sure if this will help or if you've tried it already:
http://www.phoronix.com/forums/showthread.php?p=115288
look for posts 2 and 3 for the patch and post 8 for instructions.


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