| View previous topic :: View next topic |
| Author |
Message |
virduk n00b

Joined: 07 Mar 2004 Posts: 41
|
Posted: Tue Jan 31, 2006 5:06 am Post subject: Installing ATI drivers |
|
|
Hi. I'm having trouble installing ATI drivers on my AMD64 Gentoo system. Trying an emerge I get the following:
| Code: |
emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-drivers/ati-drivers-8.18.8-r2 to /
>>> Downloading ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/ati-driver-installer-8.18.8-x86_64.run
--15:40:12-- ftp://mirror.pacific.net.au/linux/Gentoo/distfiles/ati-driver-installer-8.18.8-x86_64.run
=> `/usr/portage/distfiles/ati-driver-installer-8.18.8-x86_64.run'
Resolving mirror.pacific.net.au... 61.8.0.17
Connecting to mirror.pacific.net.au[61.8.0.17]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /linux/Gentoo/distfiles ... done.
==> PASV ... done. ==> RETR ati-driver-installer-8.18.8-x86_64.run ... done.
Length: 53,490,938 (unauthoritative)
100%[====================================>] 53,490,938 152.92K/s ETA 00:00
15:45:46 (156.70 KB/s) - `/usr/portage/distfiles/ati-driver-installer-8.18.8-x86_64.run' saved [53,490,938]
>>> md5 files ;-) ati-drivers-8.14.13-r2.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r3.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r4.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r5.ebuild
>>> md5 files ;-) ati-drivers-8.16.20-r1.ebuild
>>> md5 files ;-) ati-drivers-8.16.20.ebuild
>>> md5 files ;-) ati-drivers-8.18.6-r1.ebuild
>>> md5 files ;-) ati-drivers-8.18.6.ebuild
>>> md5 files ;-) ati-drivers-8.18.8-r1.ebuild
>>> md5 files ;-) ati-drivers-8.18.8-r2.ebuild
>>> md5 files ;-) ati-drivers-8.18.8.ebuild
>>> md5 files ;-) ati-drivers-8.19.10.ebuild
>>> md5 files ;-) ati-drivers-8.20.8.ebuild
>>> md5 files ;-) ati-drivers-8.21.7.ebuild
>>> md5 files ;-) files/8.8.25-smp.patch
>>> md5 files ;-) files/09ati
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r2
>>> md5 files ;-) files/8.8.25-via-amd64.patch
>>> md5 files ;-) files/ioctl32.patch
>>> md5 files ;-) files/ati-drivers-8.20.8-linux-2.6.15.patch
>>> md5 files ;-) files/ati-drivers-8.21.7-linux-2.6.15.patch
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r3
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r4
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r5
>>> md5 files ;-) files/digest-ati-drivers-8.16.20
>>> md5 files ;-) files/digest-ati-drivers-8.16.20-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.6
>>> md5 files ;-) files/digest-ati-drivers-8.18.6-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.8
>>> md5 files ;-) files/digest-ati-drivers-8.18.8-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.8-r2
>>> md5 files ;-) files/digest-ati-drivers-8.19.10
>>> md5 files ;-) files/digest-ati-drivers-8.20.8
>>> md5 files ;-) files/digest-ati-drivers-8.21.7
>>> md5 files ;-) files/fglrx-2.6.12-inter_module_get.patch
>>> md5 files ;-) files/fglrx-2.6.12-pci_name.patch
>>> md5 files ;-) files/fglrx-2.6.14-access_ok.patch
>>> md5 files ;-) files/fglrx-2.6.14-compat_ioctl.patch
>>> md5 files ;-) files/fglrx-8.14.13-alt-2.6.12-agp.patch
>>> md5 files ;-) files/p1.patch
>>> md5 src_uri ;-) ati-driver-installer-8.18.8-x86_64.run
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-gentoo-r10
* Checking for MTRR support enabled ... [ ok ] * Checking for AGP support enabled ... [ ok ] * Checking for DRM support disabled ... [ !! ] * You have DRM support enabled builtin, the direct rendering
* will not work.
* X11 implementation is xorg-x11.
>>> Unpacking source...
* Unpacking Ati drivers ... [ ok ] * Applying fglrx-2.6.14-access_ok.patch ... [ ok ] * Applying fglrx-2.6.14-compat_ioctl.patch ... [ ok ]>>> Source unpacked.
* Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.12-gentoo-r10'
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agp3.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/nvidia-agp.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8173: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8183: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: At top level:
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:6077: warning: 'ati_gart_base' defined but not used
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/i7505-agp.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_putminor':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:552: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:554: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_register':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:574: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:605: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_put_user_ptr':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `register_ioctl32_conversion':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2241: warning: ISO C90 forbids mixed declarations and code
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `realHandler_compat_ioctl':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2263: warning: implicit declaration of function `files_fdtable'
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2263: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2264: error: dereferencing pointer to incomplete type
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2265: error: dereferencing pointer to incomplete type
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `do_vm_kmap_nopage':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2537: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `register_ioctl32_conversion':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2240: warning: statement with no effect
make[1]: *** [/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.12-gentoo-r10'
* DRM module not built
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.18.8-r2
>>> Install ati-drivers-8.18.8-r2 into /var/tmp/portage/ati-drivers-8.18.8-r2/image/ category x11-drivers
* Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.18.8-r2 failed.
!!! Function linux-mod_src_install, Line 537, Exitcode 1
!!! doins fglrx.ko failed
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
| Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1734 Location: Kentucky
|
Posted: Tue Jan 31, 2006 10:30 am Post subject: |
|
|
| Code: |
[ !! ] * You have DRM support enabled builtin, the direct rendering will not work.
|
Change DRM support in your kernel from builtin to a module, recompile it and reboot, then try installing the drivers again. _________________ Time is what keeps everything from happening all at once. |
|
| Back to top |
|
 |
virduk n00b

Joined: 07 Mar 2004 Posts: 41
|
Posted: Tue Jan 31, 2006 9:18 pm Post subject: |
|
|
| EzInKy wrote: | | Code: |
[ !! ] * You have DRM support enabled builtin, the direct rendering will not work.
|
Change DRM support in your kernel from builtin to a module, recompile it and reboot, then try installing the drivers again. |
I tried that and got the following error:
| Code: |
emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-drivers/ati-drivers-8.18.8-r2 to /
>>> md5 files ;-) ati-drivers-8.14.13-r2.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r3.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r4.ebuild
>>> md5 files ;-) ati-drivers-8.14.13-r5.ebuild
>>> md5 files ;-) ati-drivers-8.16.20-r1.ebuild
>>> md5 files ;-) ati-drivers-8.16.20.ebuild
>>> md5 files ;-) ati-drivers-8.18.6-r1.ebuild
>>> md5 files ;-) ati-drivers-8.18.6.ebuild
>>> md5 files ;-) ati-drivers-8.18.8-r1.ebuild
>>> md5 files ;-) ati-drivers-8.18.8-r2.ebuild
>>> md5 files ;-) ati-drivers-8.18.8.ebuild
>>> md5 files ;-) ati-drivers-8.19.10.ebuild
>>> md5 files ;-) ati-drivers-8.20.8.ebuild
>>> md5 files ;-) ati-drivers-8.21.7.ebuild
>>> md5 files ;-) files/8.8.25-smp.patch
>>> md5 files ;-) files/09ati
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r2
>>> md5 files ;-) files/8.8.25-via-amd64.patch
>>> md5 files ;-) files/ioctl32.patch
>>> md5 files ;-) files/ati-drivers-8.20.8-linux-2.6.15.patch
>>> md5 files ;-) files/ati-drivers-8.21.7-linux-2.6.15.patch
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r3
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r4
>>> md5 files ;-) files/digest-ati-drivers-8.14.13-r5
>>> md5 files ;-) files/digest-ati-drivers-8.16.20
>>> md5 files ;-) files/digest-ati-drivers-8.16.20-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.6
>>> md5 files ;-) files/digest-ati-drivers-8.18.6-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.8
>>> md5 files ;-) files/digest-ati-drivers-8.18.8-r1
>>> md5 files ;-) files/digest-ati-drivers-8.18.8-r2
>>> md5 files ;-) files/digest-ati-drivers-8.19.10
>>> md5 files ;-) files/digest-ati-drivers-8.20.8
>>> md5 files ;-) files/digest-ati-drivers-8.21.7
>>> md5 files ;-) files/fglrx-2.6.12-inter_module_get.patch
>>> md5 files ;-) files/fglrx-2.6.12-pci_name.patch
>>> md5 files ;-) files/fglrx-2.6.14-access_ok.patch
>>> md5 files ;-) files/fglrx-2.6.14-compat_ioctl.patch
>>> md5 files ;-) files/fglrx-8.14.13-alt-2.6.12-agp.patch
>>> md5 files ;-) files/p1.patch
>>> md5 src_uri ;-) ati-driver-installer-8.18.8-x86_64.run
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.12-gentoo-r10
* Checking for MTRR support enabled ... [ ok ] * Checking for AGP support enabled ... [ ok ] * Checking for DRM support disabled ... [ ok ] * X11 implementation is xorg-x11.
>>> Unpacking source...
* Unpacking Ati drivers ... [ ok ] * Applying fglrx-2.6.14-access_ok.patch ... [ ok ] * Applying fglrx-2.6.14-compat_ioctl.patch ... [ ok ]>>> Source unpacked.
* Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.12-gentoo-r10'
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agp3.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/nvidia-agp.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8173: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:8183: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c: At top level:
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/agpgart_be.c:6077: warning: 'ati_gart_base' defined but not used
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/i7505-agp.o
CC [M] /var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_putminor':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:552: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:554: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:565)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_register':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:574: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:564)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:605: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:568)
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_put_user_ptr':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:1159: warning: cast from pointer to integer of different size
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `register_ioctl32_conversion':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2241: warning: ISO C90 forbids mixed declarations and code
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `realHandler_compat_ioctl':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2263: warning: implicit declaration of function `files_fdtable'
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2263: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2264: error: dereferencing pointer to incomplete type
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2265: error: dereferencing pointer to incomplete type
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `do_vm_kmap_nopage':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2537: warning: assignment makes pointer from integer without a cast
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c: In function `register_ioctl32_conversion':
/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.c:2240: warning: statement with no effect
make[1]: *** [/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.18.8-r2/work/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.12-gentoo-r10'
* DRM module not built
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.18.8-r2
>>> Install ati-drivers-8.18.8-r2 into /var/tmp/portage/ati-drivers-8.18.8-r2/image/ category x11-drivers
* Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.18.8-r2 failed.
!!! Function linux-mod_src_install, Line 537, Exitcode 1
!!! doins fglrx.ko failed
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
| Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1734 Location: Kentucky
|
Posted: Tue Jan 31, 2006 10:57 pm Post subject: |
|
|
If the drivers still won't compile against your current kernel or xorg all I can suggest is to try a different version of the drivers or a different kernel. Is your /usr/src/linux pointing to your current kernel? I see that the drivers are trying compile against 2.6.12-gentoo-r10 while...
| Code: |
# equery list -o -p gentoo-sources
[ Searching for package 'gentoo-sources' in all categories among: ]
* installed packages
[I--] [ ] sys-kernel/gentoo-sources-2.6.14-r7 (2.6.14-r7)
[I--] [ ] sys-kernel/gentoo-sources-2.6.15-r1 (2.6.15-r1)
* Portage tree (/usr/portage)
[-P-] [M ] sys-kernel/gentoo-sources-2.4.31-r1 (2.4.31-r1)
[-P-] [M ] sys-kernel/gentoo-sources-2.4.32-r2 (2.4.32-r2)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.12-r9 (2.6.12-r9)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.12-r10 (2.6.12-r10)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.13-r5 (2.6.13-r5)
[-P-] [ ] sys-kernel/gentoo-sources-2.6.14-r5 (2.6.14-r5)
[-P-] [ ~] sys-kernel/gentoo-sources-2.6.14-r6 (2.6.14-r6)
[-P-] [ ~] sys-kernel/gentoo-sources-2.6.15 (2.6.15)
|
...shows 2.6.15-r1 as being the latest. _________________ Time is what keeps everything from happening all at once. |
|
| Back to top |
|
 |
koenderoo Guru


Joined: 03 Jan 2004 Posts: 514 Location: Zwolle, The Netherlands
|
Posted: Mon Feb 27, 2006 7:30 pm Post subject: |
|
|
Exactly the same problem here with ati-drivers-8.18.8-r2 and gentoo-sources-2.6.12-gentoo-r6
I've upgraded my kernel to gentoo-sources-2.6.15-gentoo-r5 and emerged at-drivers again:
A lot of the same warnings, but as it seems a working ebuild this time.
The Xorg.0.log shows:
[drm] failed to load kernel module "fglrx"
But screens are working fine.
I think I'm missing direct rendering (how do I test it??)
OpenGL is working (tested with screensavers)
Any change someone can hint me to a working drm? |
|
| Back to top |
|
 |
stephen_in_nz n00b

Joined: 06 May 2005 Posts: 26
|
Posted: Tue Feb 28, 2006 4:40 pm Post subject: |
|
|
The drivers are currently at 8.22.5 - Do you have a specific reason for 8.18.x ?
Can you manually load it ? -- modprobe fglrx.
That generally helps with troubleshoooting and returns any errors rather than waiding through logs.
DRM should build ok very exotic hardware excepted.
Stephen |
|
| Back to top |
|
 |
koenderoo Guru


Joined: 03 Jan 2004 Posts: 514 Location: Zwolle, The Netherlands
|
Posted: Tue Feb 28, 2006 7:48 pm Post subject: |
|
|
I just double checked. My current version and the highest available version is 8.18.8-r2
Are you running unstable/masked versions?
The Ati-drivers-extra is available in 8.22.5 though masked, mixed does two up?
Not that exotic hardware: ati radeon 9800 SE.
I expect there's a setting wrong in xorg.conf. |
|
| Back to top |
|
 |
EzInKy Veteran


Joined: 11 Oct 2002 Posts: 1734 Location: Kentucky
|
Posted: Wed Mar 01, 2006 5:25 am Post subject: |
|
|
You can use "#lsmod" to see if fglrx is loaded and test for direct rendering by running "#glxinfo" and "#glxgears". _________________ Time is what keeps everything from happening all at once. |
|
| Back to top |
|
 |
ssmaxss Apprentice

Joined: 28 Jun 2005 Posts: 160 Location: Moscow, Russia.
|
Posted: Wed Mar 01, 2006 4:38 pm Post subject: |
|
|
To test DRI: | Code: | | glxinfo | grep render |
last stable drivers ( 8.18.8-r2 ) will not compile with last stable kernel. So unmask new ati drivers by runnig
| Code: | | echo "=x11-drivers/ati-drivers-8.22.5 ~amd64" >> /etc/portage/package.kerwords | or | Code: | | echo "=x11-drivers/ati-drivers-8.22.5 ~x86" >> /etc/portage/package.keywords |
And then emerge ati-drivers. But ati-drivers 8.22.5 have problem: in some games textures are missing all other works fine for me. Try it. |
|
| Back to top |
|
 |
RedHand n00b

Joined: 10 Apr 2005 Posts: 48 Location: Police, Poland
|
Posted: Tue Mar 07, 2006 10:12 pm Post subject: |
|
|
Hi. I've got different problem with ati-drivers. When emerge is doing
>>> Unpacking source...
* Unpacking Ati drivers ..
the exitcode 1 happens and nothing more. Problem is witch unpackink tarbal. When i try to unpack it myself it works. Any idea? |
|
| Back to top |
|
 |
Peowraaku n00b

Joined: 15 Nov 2005 Posts: 12
|
Posted: Sat Aug 12, 2006 10:02 pm Post subject: |
|
|
| ssmaxss wrote: |
last stable drivers ( 8.18.8-r2 ) will not compile with last stable kernel. |
what kernel version was (is?) that? i tried unmasking 8.22.5 like you suggested, and i still get the same problem. my kernel is 2.6.17-gentoo-r4 |
|
| Back to top |
|
 |
dAlexis n00b


Joined: 18 Apr 2004 Posts: 57 Location: Moscow region,Russia
|
Posted: Sun Aug 13, 2006 8:04 am Post subject: |
|
|
| Peowraaku wrote: | | ssmaxss wrote: |
last stable drivers ( 8.18.8-r2 ) will not compile with last stable kernel. |
what kernel version was (is?) that? i tried unmasking 8.22.5 like you suggested, and i still get the same problem. my kernel is 2.6.17-gentoo-r4 |
Small HOWTO - my own experience of installing:
Stage 0 (before problems) - emerge eselect by path for installing newer ati drivers. My current eselect 1.0.2, eselect-opengl -1.0.3
Stage 0.5 (not mandatory, but nearly allways) - emerge sync, emerge -uv system (without reading xorg 7 howto) - only Mesa is workable
Stage 1 - RTFM 3 links:
http://odin.prohosting.com/wedge01/gentoo-radeon-faq.html
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
http://gentoo-wiki.com/HOWTO_Modular_Xorg
After reading, and possible frequent remiding the third word in RTFM (due to strongly different advice for dri), going to
Stage 2
add
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon fglrx vesa"
to make.comf
add dri to use flags. Do not beleive in advice from the first RTFM link (see below):
Device drivers -> Character Devices -> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support): DISABLED
This option is not required, and will almost certainly prevent the driver from working if enabled.
From my experience it's invalid for new xorg
Stage 3:
re-compile kernel with ENABLED dri,
re-compile xorg by emerge -DuNv xorg-x11
You'll receive an error:
| Code: |
make[1]: *** [/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/var/tmp/portage/ati-drivers-8.21.7-r1/work/common/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.17-gentoo-r4'
* DRM module not built
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/ati-drivers-8.21.7-r1
>>> Install ati-drivers-8.21.7-r1 into /var/tmp/portage/ati-drivers-8.21.7-r1/image/ category x11-drivers
* Installing fglrx module
install: cannot stat `fglrx.ko': No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.21.7-r1 failed.
|
Stage 4 -
use /etc/portage/package.keywords, and unmask exactly the latest version of ati driver
| Code: |
=x11-drivers/ati-drivers-8.27.10-r1 ~amd64
|
Do not use =..../ati-drivers-8.27.10*... - it's emerging the first driver, w/o r1 (my own experience, maybe a question to portage maintainers)
After this I repeat
emerge -DuNv xorg-x11
- everything merged OK
Stage 5:
After launching aticonfig I see:
| Code: |
aticonfig: error while loading shared libraries: libfglrx_pp.so.1: cannot open shared object file: No such file or directory
|
During reading many links like http://forumz.tomshardware.com/software/ATI-Driversftopic-11427-days0-orderasc-25.html
I decided to make a symbolic link on libfglrx_pp.so.1.0 as libfglrx_pp.so.1(according to error message) in /usr/lib64.
After this aticonfig --initial was launched OK
Stage 6:
Due to my error in stage 4 I receved a message in xorg log:
| Code: |
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"
(II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
compiled for 7.1.0, module version = 8.27.10
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 1.0
(EE) module ABI major version (1) doesn't match the server's version (0)
(II) UnloadModule: "fglrx"
(II) Unloading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
(EE) Failed to load module "fglrx" (module requirement mismatch, 0)
|
Use the latest driver! - see stage 4
After all I see ~35000 frames for 5 sec period in glxgears, AT LAST!
Hope, that it was useful, amd sorry for my English - it's not my native language indeed... _________________ "The Matrix has you!" - "Let it be...."
Last edited by dAlexis on Mon Aug 14, 2006 1:07 pm; edited 1 time in total |
|
| Back to top |
|
 |
Peowraaku n00b

Joined: 15 Nov 2005 Posts: 12
|
Posted: Sun Aug 13, 2006 8:02 pm Post subject: |
|
|
you say:
add dri to use flags (doesn't look like i had it before)
disable DRM in the kernel (i had read that it should be a module ... i can see you're just as frustrated by variations in documentation)
compile kernel with dri enabled
so, is dri enabled in the kernel by the dri use flag? that doesn't make sense. the line about DRM is the only place i've been able to find DRI mentioned in the menuconfig. i don't see dri in the .config either. what am i missing? |
|
| Back to top |
|
 |
Peowraaku n00b

Joined: 15 Nov 2005 Posts: 12
|
Posted: Mon Aug 14, 2006 1:27 am Post subject: |
|
|
It seems to be working now. Thanks dAlexis.
| Code: | localhost ~ # glxinfo | grep render
direct rendering: Yes
GLX_ATI_render_texture
OpenGL renderer string: RADEON X800 PRO Generic
|
glxgears spin perfectly smoothly now, but they report only ~800 frames in 5 seconds. previously it reported more, but the motion was jerky.
One thing I did that wasn't mentioned in your little guide, but that I saw elsewhere was 'eselect opengl set ati' |
|
| Back to top |
|
 |
dAlexis n00b


Joined: 18 Apr 2004 Posts: 57 Location: Moscow region,Russia
|
Posted: Mon Aug 14, 2006 1:05 pm Post subject: |
|
|
| Peowraaku wrote: | you say:
add dri to use flags (doesn't look like i had it before)
disable DRM in the kernel (i had read that it should be a module ... i can see you're just as frustrated by variations in documentation)
compile kernel with dri enabled
so, is dri enabled in the kernel by the dri use flag? that doesn't make sense. the line about DRM is the only place i've been able to find DRI mentioned in the menuconfig. i don't see dri in the .config either. what am i missing? |
Sorry, I was really angry after reading an article about drm I'll change drm to dri now. About speed - my card 1900XT, which X800 card (possibly LE) are you using? - maybe speed is low due to slow card, but I think, that X800 can't be so slow indeed. I may post my use flags ang kernel config, if needed. About 'eselect opengl set ati' - I think, that it's launched authomatically during emerge (see message "switching to ati opengl interface").
Addition - check this:
Question 4.11: My glxgears score is very low (<120), but everything seems to be working. Why?
You've probably enabled vertical sync while running fglrxconfig. This limits your framerate to the vertical refresh rate of your monitor, which is obviously going to affect glxgears more than anything else. To turn v-sync off, open /etc/X11/xorg.conf (or /etc/X11/XF86Config-4) in an editor, and look for the "Capabilities" setting in the "Device" section. This is a hex value, and the 3rd digit from the right controls v-sync. To turn it on, set the third digit from the right to "8", like this: "0x00000800". To turn it off, just set it back to "0" - "0x00000000". _________________ "The Matrix has you!" - "Let it be...." |
|
| Back to top |
|
 |
Peowraaku n00b

Joined: 15 Nov 2005 Posts: 12
|
Posted: Tue Aug 15, 2006 5:37 pm Post subject: |
|
|
I thought it might be vsync, and if that is the case then I don't really care that its on.
I tried your thing, though, and startx told me No Screens Found. Just thought you might be interested in knowing what happened.
| Code: | Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Capabilities "0x00000800"
EndSection
|
|
|
| Back to top |
|
 |
dAlexis n00b


Joined: 18 Apr 2004 Posts: 57 Location: Moscow region,Russia
|
Posted: Tue Aug 15, 2006 6:14 pm Post subject: |
|
|
| Peowraaku wrote: | I thought it might be vsync, and if that is the case then I don't really care that its on.
I tried your thing, though, and startx told me No Screens Found. Just thought you might be interested in knowing what happened.
| Code: | Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Capabilities "0x00000800"
EndSection
|
|
You receive "no screens" when Capabilities were set to "0x00000000"? Strange indeed - it's working on my machine. My xorg.conf was created 4-5 mon. ago by fglrxconfig, aticonfig --initial only said something as "fglrx section was found...". Check xorg log in /var/log (save it in other place after unsuccessful restart -it'll be overwritten) and look in xorg.conf too. Maybe something in config is not 100% right, but currently I can't see, what exactly . _________________ "The Matrix has you!" - "Let it be...." |
|
| Back to top |
|
 |
|