Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89877 - ati-drivers doesn't install agp driver, forcing system to load agpgart
Summary: ati-drivers doesn't install agp driver, forcing system to load agpgart
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 102726 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-20 17:42 UTC by GUstavo Coelho Motta
Modified: 2005-08-16 16:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GUstavo Coelho Motta 2005-04-20 17:42:07 UTC
After upgrade of kernel to gentoo-sources-2.6.11 and gcc to version 3.4.3-20050110. I have no agp driver for ati-drivers package (8.12.10).
So when X loads I have this error:
fglrx] module loaded - fglrx 8.12.10 [Apr  4 2005] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState   = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 8910 using kernel context 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState   = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 9053 using kernel context 0

When emerging ati-drivers, I've got a lot of warnings and no agp driver install, so I cannot use built-in agp and started getting errors whith Doom3 memory lock.

guzymuzy linux # emerge ati-drivers
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/ati-drivers-8.12.10 to /
>>> md5 files   ;-) ati-drivers-8.12.10.ebuild
>>> md5 files   ;-) ati-drivers-8.8.25-r3.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) ati-drivers-8.10.19.ebuild
>>> md5 files   ;-) files/09ati
>>> md5 files   ;-) files/fglrx-2.6-pagetable.patch
>>> md5 files   ;-) files/digest-ati-drivers-8.8.25-r3
>>> md5 files   ;-) files/8.8.25-via-amd64.patch
>>> md5 files   ;-) files/8.8.25-smp.patch
>>> md5 files   ;-) files/fglrx-2.6-makefile.patch
>>> md5 files   ;-) files/digest-ati-drivers-8.10.19
>>> md5 files   ;-) files/digest-ati-drivers-8.12.10
>>> md5 files   ;-) files/fglrx-2.6-vmalloc-vmaddr.patch
>>> md5 files   ;-) files/8.08-kernel-2.6.10.patch
>>> md5 files   ;-) files/fglrx-2.6-iminor.patch
>>> md5 files   ;-) files/fglrx-2.6.10-pci_get_class.patch
>>> md5 files   ;-) files/3.2.5-linux-2.6.0-test6-mm.patch
>>> md5 files   ;-) files/fglrx-2.6-get-page.patch
>>> md5 files   ;-) files/fglrx-2.6-fix-deprecated.patch
>>> md5 files   ;-) files/fglrx-2.6-amd-adv-spec-fix.patch
>>> md5 src_uri ;-) fglrx_6_8_0-8.12.10-1.i386.rpm
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.11-gentoo-r6
 * 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 fglrx_6_8_0-8.12.10-1.i386.rpm
 * Applying fglrx-2.6-pagetable.patch ...                                 [ ok ]
 * Applying 8.8.25-via-amd64.patch ...                                    [ ok ]
 * Applying 8.8.25-smp.patch ...                                          [ ok ]
>>> Source unpacked.
 * Building the DRM module...
make: Entering directory `/usr/src/linux-2.6.11-gentoo-r6'
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agp3.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/nvidia-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `agp_find_supported_device':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6542: warning: unused variable `cap_ptr'
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c: At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/agpgart_be.c:6523: warning: 'agp_check_supported_device' defined but not used
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/i7505-agp.o
  CC [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.o
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_putminor':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:511: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:513: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_register':
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:533: warning: `inter_module_register' is deprecated (declared at include/linux/module.h:573)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:564: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c: At top level:
/var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/firegl_public.c:2688: warning: initialization from incompatible pointer type
  LD [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.o
  Building modules, stage 2.
  MODPOST
  CC      /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.mod.o
  LD [M]  /var/tmp/portage/ati-drivers-8.12.10/work/lib/modules/fglrx/build_mod/fglrx.ko
make: Leaving directory `/usr/src/linux-2.6.11-gentoo-r6'
>>> Test phase [not enabled]: media-video/ati-drivers-8.12.10

>>> Install ati-drivers-8.12.10 into /var/tmp/portage/ati-drivers-8.12.10/image/ category media-video
man:
making executable: /usr/lib/libfglrx_gamma.so.1.0
>>> Completed installing ati-drivers-8.12.10 into /var/tmp/portage/ati-drivers-8.12.10/image/

>>> Merging media-video/ati-drivers-8.12.10 to /
--- /etc/
--- /etc/env.d/
>>> /etc/env.d/09ati
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.11-gentoo-r6/
--- /lib/modules/2.6.11-gentoo-r6/video/
>>> /lib/modules/2.6.11-gentoo-r6/video/fglrx.ko
--- /opt/
--- /opt/ati/
--- /opt/ati/bin/
>>> /opt/ati/bin/fglrxinfo
>>> /opt/ati/bin/fglrx_xgamma
>>> /opt/ati/bin/fglrxconfig
--- /usr/
--- /usr/lib/
--- /usr/lib/modules/
--- /usr/lib/modules/dri/
>>> /usr/lib/modules/dri/fglrx_dri.so
--- /usr/lib/modules/linux/
>>> /usr/lib/modules/linux/libfglrxdrm.a
--- /usr/lib/modules/drivers/
>>> /usr/lib/modules/drivers/fglrx_drv.o
--- /usr/lib/opengl/
--- /usr/lib/opengl/ati/
>>> /usr/lib/opengl/ati/lib/
>>> /usr/lib/opengl/ati/lib/libGL.so.1.2
>>> /usr/lib/opengl/ati/lib/libGL.la
>>> /usr/lib/opengl/ati/lib/libGL.so -> libGL.so.1.2
>>> /usr/lib/opengl/ati/extensions -> ../xorg-x11/extensions
>>> /usr/lib/opengl/ati/include -> ../xorg-x11/include
>>> /usr/lib/libfglrx_gamma.so.1.0
>>> /usr/lib/libfglrx_gamma.a
--- /usr/include/
--- /usr/include/GL/
>>> /usr/include/GL/glxATI.h
--- /usr/include/X11/
--- /usr/include/X11/extensions/
>>> /usr/include/X11/extensions/fglrx_gamma.h
>>> /usr/lib/opengl/ati/lib/libGL.so.1 -> libGL.so.1.2

Reproducible: Always
Steps to Reproduce:
1.emerge =gcc-3.4.3.20050110-r2
2.emerge =gentoo-sources-2.6.11-r6
3.emerge =ati-drivers-8.12.10

Actual Results:  
Have no agp module install by ati-drivers package

Expected Results:  
Install the module, so I can use ATI built-in agp driver.
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-21 01:20:37 UTC
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.

Read your own messages. This is a configuration error. You're trying to use ati's internal agp, which can only be activated if kernel agp is deactivated.
Comment 2 GUstavo Coelho Motta 2005-04-21 08:57:45 UTC
Yes, I know that kernel agp loads first, but I don't know why.
I have both /dev/agpgart (AGP Support) and VIA chipset support compiled as modules and they are not suposed to be loaded. I didn't put then on /etc/modules.autoload/kernel-2.6.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-21 12:02:01 UTC
Do not reopen the bug again. This is a configuration error and not a bug. If you want ATi's AGP, you must NOT HAVE AGP IN YOUR KERNEL AT ALL.

If you want more info, look on ATi's site.

Thanks.
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-08-16 16:08:42 UTC
*** Bug 102726 has been marked as a duplicate of this bug. ***