Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 25 Apr 2014, 05:11
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to install ATI Catalyst 12.3 in Racy 5.3
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
ilewis

Joined: 20 Apr 2012
Posts: 1

PostPosted: Fri 20 Apr 2012, 11:41    Post subject:  How to install ATI Catalyst 12.3 in Racy 5.3  

Hi all,

I'm sure this solution has probably been posted before, but here is a quick guide for installing ATI Catalyst 12.3 drivers on Puppy Racy 5.3 with Kernel 3.0.25.

Firstly you will need to have the development and Kernel Sources SFS's set up and installed/loaded.

http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/racy-5.3/devx_racy_5.3.sfs

http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/sfs/kernel_src-3.0.25-patched.sfs

Next download the ATI Catalyst 12.3 setup from
http://support.amd.com/us/gpudownload/Pages/index.aspx

Execute a "chmod +x" on the Catalyst setup and then perform a DEFAULT installation.

It should install ok, but at the very end when you close the installer, it will show an error.

What has happened here is that the kernel driver has not built properly. Locate the error log "/usr/share/ati/fglrx-install.log", the contents should appear as follows:

Code:
Uninstalling any previously installed drivers.
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.0.25/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-3.0.25'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_fpu_begin':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5804: error: 'TS_USEDFPU' undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5804: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5804: error: for each function it appears in.)
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-3.0.25'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.


Now, navigate to "/lib/modules/fglrx/build_mod" and edit the file "firegl_public.c", on line 5804, it will look like this:

Code:
if (cur_task->status & TS_USEDFPU)


"TS_USEDFPU" is defined by default in most linux kernels as "0x0001"

Simply change line 5804 to:

Code:
if (cur_task->status & 1)


Save the file and then execute "./make.sh", is should now build with no dramas.

Next install the kernel module in the system as follows: Navigate to "/lib/modules/fglrx" and execute "./make_install.sh". This part of the process should complete and finish with no errors.

Optional: Execute a "modprobe fglrx" to make sure that the module has been compiled and installed properly.

You may now restart X and the new driver should work with no dramas at all.

Happy Hacking!
iLewis
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0408s ][ Queries: 11 (0.0047s) ][ GZIP on ]