So perhaps I have enough information for someone who knows kernels and drivers inside out to figure out how we could build Catalyst in Lucid Puppy. I would be most grateful for assistance. BTW, we have been using the open-source 'radeon' and 'radeonhd' drivers which function well and provide hardware acceleration. However, by my testing the ATI Catalyst fglrx driver provides about twice the framerate of the radeon driver. In addition we have not been able to make Compiz function with the radeon driver and I suspect it might work with the ATI fglrx driver. Thank you.
I see the post http://www.murga-linux.com/puppy/viewtopic.php?t=62000
ati-driver-installer-10-8-x86.x86_64.run
(install the devx and kernel sources, set the permissions on the ati driver installer, and run it in a terminal.)
http://support.amd.com/us/gpudownload/l ... ng=English
upup-432 -> http://diddywahdiddy.net/Puppy400/upup-432.iso
upup_devx_432 -> http://diddywahdiddy.net/Puppy400/upup_devx_432.sfs
kernel sources 2.6.30.5 -> http://bkhome.org/sources/kernel-2.6.30 ... d.sfs4.sfs
fglrx install log - success
upup-433 -> http://diddywahdiddy.net/Puppy400/upup-433.iso
upup_devx_433 -> http://diddywahdiddy.net/Puppy400/upup_devx_433.sfs
kernel sources 2.6.33.2 -> http://bkhome.org/sources/kernel-2.6.33 ... atched.sfs
fglrx install log - failure
luci-237 -> http://diddywahdiddy.net/Puppy500/luci-237-SCSI.iso
luci_devx_237 -> http://diddywahdiddy.net/Puppy500/luci_devx_237.sfs
upup 432 (2.6.30.5) fglrx install log - success
upup-433 (2.6.33.2) fglrx install log - failure[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 *.GCC* .??* *.symvers
make -C /lib/modules/2.6.30.5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.30.5'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:451:
/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_MapPageToPfn':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c warning: unused variable 'bus_addr'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function 'KCL_DEBUG_Print':
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:96: warning: format not a string literal and no format arguments
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function '__ke_printk':
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:157: warning: format not a string literal and no format arguments
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:65: warning: 'kcl_debug_sysrq_op' defined but not used
/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:72: warning: 'kcl_debug_sysrq_dump_op' defined but not used
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.30.5'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
[Message] Kernel Module : update initramfs not required
same as luci-237 fglrx install log - failure
[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 *.GCC* .??* *.symvers
make -C /lib/modules/2.6.33.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.33.2'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:107:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:260:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:262:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:107:
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from /usr/src/linux-2.6.33.2/arch/x86/include/asm/pci.h:4,
from include/linux/pci.h:1140,
from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:114:
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined
In file included from /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:451:
/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_MapPageToPfn':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c 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.2'
make: *** [kmod_build] Error 2
build failed with return value 2
[Error] Kernel Module : Failed to compile kernel module - please consult readme.