Summary: | (EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM" when X started | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nickolay L. Selikhov <kolyan> |
Component: | [OLD] Unspecified | Assignee: | X11 External Driver Maintainers <x11-drivers> |
Status: | VERIFIED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nickolay L. Selikhov
2005-05-11 09:57:25 UTC
Solution printed at: http://www2.ati.com/drivers/linux/linux_8.12.10.html ==================================================== X Fails to Load on Systems with Linux Kernel Version 2.6.x This information applies to the following system configurations: * Linux kernel version 2.6.x * Any ATI Linux driver A blank screen may appear momentarily when X starts to load. The following error message (or similar) may appear on the text console or in /var/log/XFree86.0.log: (EE) fglrx(0): [agp] unable to acquire AGP, error ""xf86_ENODEV""xf86_ENODEV"" This is not a problem with the display driver. Version 2.6 kernels require a second kernel module in addition to agpgart, which should be named similar to the manufacturer of your motherboard AGP chipset. This error message should occur if the other agp module is not loaded. This issue can be worked around as follows: 1. First make sure that agpgart is loading properly. 2. To find out which AGP controller your motherboard uses, issue the following command: lspci | grep AGP 3. To find a list of AGP related kernel modules installed on your machine, issue the following command and look for a module (*.ko file) that suits your AGP Controller: ls /lib/modules/`uname -r`/kernel/drivers/char/agp 4. Use the modprobe command (as root) to load the module. For example: On a motherboard using a VIA Solution printed at: http://www2.ati.com/drivers/linux/linux_8.12.10.html ==================================================== X Fails to Load on Systems with Linux Kernel Version 2.6.x This information applies to the following system configurations: * Linux kernel version 2.6.x * Any ATI Linux driver A blank screen may appear momentarily when X starts to load. The following error message (or similar) may appear on the text console or in /var/log/XFree86.0.log: (EE) fglrx(0): [agp] unable to acquire AGP, error ""xf86_ENODEV""xf86_ENODEV"" This is not a problem with the display driver. Version 2.6 kernels require a second kernel module in addition to agpgart, which should be named similar to the manufacturer of your motherboard AGP chipset. This error message should occur if the other agp module is not loaded. This issue can be worked around as follows: 1. First make sure that agpgart is loading properly. 2. To find out which AGP controller your motherboard uses, issue the following command: lspci | grep AGP 3. To find a list of AGP related kernel modules installed on your machine, issue the following command and look for a module (*.ko file) that suits your AGP Controller: ls /lib/modules/`uname -r`/kernel/drivers/char/agp 4. Use the modprobe command (as root) to load the module. For example: On a motherboard using a VIA® AGP Controller, you would load the via-agp.ko using modprobe as follows (notice that the trailing .ko is omitted): modprobe via-agp Check the modprobe manpage for more information on loading kernel modules. 5. To verify that the AGP module is already loaded, run lsmod as root. With the X server running and the connection established, the usage count of this module must be greater than zero. If you cannot find a suitable agp module for your motherboard, then you may want to upgrade to the latest version of the Linux kernel, or check your motherboard manufacturer's website for more information. I think best results add this message to ebuild after compile drivers for other users. Thank you =) With best regards Nickolay P.S. I'm try test this and post message about any results All right: $ cat /var/log/Xorg.0.log | grep fglrx (II) LoadModule: "fglrx" (II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o (II) Module fglrx: vendor="FireGL - ATI Technologies Inc." (II) fglrx(0): pEnt->device->identifier=0x8209d48 (II) fglrx(0): === [R200PreInit] === begin, [s] (II) fglrx(0): PCI bus 1 card 0 func 0 (**) fglrx(0): Depth 24, (--) framebuffer bpp 32 (II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) (==) fglrx(0): Default visual is TrueColor (**) fglrx(0): Option "NoAccel" "no" (**) fglrx(0): Option "NoDRI" "no" (**) fglrx(0): Option "Capabilities" "0x00000000" (**) fglrx(0): Option "GammaCorrectionI" "0x00000000" (**) fglrx(0): Option "GammaCorrectionII" "0x00000000" (**) fglrx(0): Option "OpenGLOverlay" "off" (**) fglrx(0): Option "VideoOverlay" "on" (**) fglrx(0): Option "DesktopSetup" "0x00000000" (**) fglrx(0): Option "MonitorLayout" "AUTO, AUTO" (**) fglrx(0): Option "HSync2" "unspecified" (**) fglrx(0): Option "VRefresh2" "unspecified" (**) fglrx(0): Option "ScreenOverlap" "0" (**) fglrx(0): Option "IgnoreEDID" "off" (**) fglrx(0): Option "UseInternalAGPGART" "yes" (**) fglrx(0): Option "Stereo" "off" (**) fglrx(0): Option "StereoSyncEnable" "1" (**) fglrx(0): Option "UseFastTLS" "0" (**) fglrx(0): Option "BlockSignalsOnLock" "on" (**) fglrx(0): Option "ForceGenericCPU" "no" (**) fglrx(0): Option "CenterMode" "off" (**) fglrx(0): Option "FSAAScale" "6" (**) fglrx(0): Option "FSAAEnable" "yes" (**) fglrx(0): Option "FSAADisableGamma" "no" (**) fglrx(0): Option "FSAACustomizeMSPos" "no" (**) fglrx(0): Option "FSAAMSPosX0" "0.000000" (**) fglrx(0): Option "FSAAMSPosY0" "0.000000" (**) fglrx(0): Option "FSAAMSPosX1" "0.000000" (**) fglrx(0): Option "FSAAMSPosY1" "0.000000" (**) fglrx(0): Option "FSAAMSPosX2" "0.000000" (**) fglrx(0): Option "FSAAMSPosY2" "0.000000" (**) fglrx(0): Option "FSAAMSPosX3" "0.000000" (**) fglrx(0): Option "FSAAMSPosY3" "0.000000" (**) fglrx(0): Option "FSAAMSPosX4" "0.000000" (**) fglrx(0): Option "FSAAMSPosY4" "0.000000" (**) fglrx(0): Option "FSAAMSPosX5" "0.000000" (**) fglrx(0): Option "FSAAMSPosY5" "0.000000" (**) fglrx(0): Option "NoTV" "yes" (**) fglrx(0): Option "TVStandard" "NTSC-M" (**) fglrx(0): Option "TVHSizeAdj" "0" (**) fglrx(0): Option "TVVSizeAdj" "0" (**) fglrx(0): Option "TVHPosAdj" "0" (**) fglrx(0): Option "TVVPosAdj" "0" (**) fglrx(0): Option "TVHStartAdj" "0" (**) fglrx(0): Option "TVColorAdj" "0" (**) fglrx(0): Option "PseudoColorVisuals" "off" (**) fglrx(0): Qbs disabled (==) fglrx(0): FAST_SWAP disabled (==) fglrx(0): RGB weight 888 (II) fglrx(0): Using 8 bits per RGB (8 bit DAC) (**) fglrx(0): Gamma Correction for I is 0x00000000 (**) fglrx(0): Gamma Correction for II is 0x00000000 (==) fglrx(0): Buffer Tiling is ON (II) fglrx(0): initializing int10 (II) fglrx(0): Primary V_BIOS segment is: 0xc000 (**) fglrx(0): Option "mtrr" "off" (--) fglrx(0): Chipset: "MOBILITY RADEON 9000 (M9 4C66)" (Chipset = 0x4c66) (--) fglrx(0): (PciSubVendor = 0x1584, PciSubDevice = 0x2301) (--) fglrx(0): board vendor info: third party grafics adapter - NOT original ATI (--) fglrx(0): Linear framebuffer (phys) at 0xb0000000 (--) fglrx(0): MMIO registers at 0xdfdf0000 (--) fglrx(0): ROM-BIOS at 0xdfdc0000 (--) fglrx(0): ChipExtRevID = 0x01 (--) fglrx(0): ChipIntRevID = 0x00 (--) fglrx(0): VideoRAM: 65536 kByte (64-bit DDR SDRAM) (WW) fglrx(0): board is an unknown third party board, chipset is supported (II) fglrx(0): I2C bus "DDC" initialized. (II) fglrx(0): Connector Layout from BIOS -------- (II) fglrx(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2 (**) fglrx(0): MonitorLayout Option: (II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0. (II) fglrx(0): I2C device "DDC:ddc2" removed. (II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0. (II) fglrx(0): I2C device "DDC:ddc2" removed. (II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0. (II) fglrx(0): I2C device "DDC:ddc2" removed. (II) fglrx(0): DDC detected on DDCType 3 with Monitor Type 0 (II) fglrx(0): Primary head: (II) fglrx(0): Secondary head: (II) fglrx(0): (II) fglrx(0): DesktopSetup 0x0000 (II) fglrx(0): Panel ID string: Samsung LTN150P1-L02 (II) fglrx(0): Panel Size from BIOS: 1400x1050 (**) fglrx(0): PseudoColor visuals disabled (**) fglrx(0): Overlay disabled (**) fglrx(0): Overlay disabled (II) fglrx(0): PLL parameters: rf=2700 rd=12 min=20000 max=35000 (==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0) (**) fglrx(0): Center Mode is disabled (==) fglrx(0): TMDS coherent mode is enabled (II) fglrx(0): Valid mode using on-chip RMX: 1400x1050 (II) fglrx(0): Valid mode using on-chip RMX: 1024x768 (II) fglrx(0): Valid mode using on-chip RMX: 800x600 (II) fglrx(0): Valid mode using on-chip RMX: 640x480 (II) fglrx(0): Total 4 valid mode(s) found. (--) fglrx(0): Virtual size is 1400x1050 (pitch 1408) (**) fglrx(0): *Mode "1400x1050": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz (II) fglrx(0): Modeline "1400x1050" 108.00 1400 34208 34320 1688 1050 1052 1055 1063 (**) fglrx(0): *Mode "1024x768": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz (II) fglrx(0): Modeline "1024x768" 108.00 1024 34208 34320 1688 768 1052 1055 1063 (**) fglrx(0): *Mode "800x600": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2Hz (II) fglrx(0): Modeline "800x600" 108.00 800 34208 34320 1688 600 1052 1055 1063 (**) fglrx(0): *Mode "640x480": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2Hz (II) fglrx(0): Modeline "640x480" 108.00 640 34208 34320 1688 480 1052 1055 1063 (==) fglrx(0): DPI set to (75, 75) (**) fglrx(0): NoAccel = NO (==) fglrx(0): HPV inactive (==) fglrx(0): FSAA enabled: NO (**) fglrx(0): FSAA Gamma enabled (**) fglrx(0): FSAA Multisample Position is fix (**) fglrx(0): NoDRI = NO (II) Loading sub module "fglrxdrm" (II) LoadModule: "fglrxdrm" (II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc." (II) fglrx(0): Depth moves disabled by default (**) fglrx(0): Capabilities: 0x00000000 (**) fglrx(0): cpuFlags: 0x8000001d (**) fglrx(0): cpuSpeedMHz: 0x00000a69 (==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so" (**) fglrx(0): using built in AGPGART module: yes (**) fglrx(0): UseFastTLS=0 (**) fglrx(0): BlockSignalsOnLock=1 (==) fglrx(0): EnablePrivateBackZ = NO (II) fglrx(0): UMM area: 0xb07ad000 (size=0x03853000) (II) fglrx(0): driver needs X.org 6.8.x (II) fglrx(0): detected X.org 6.8.2 (II) fglrx(0): doing DRIScreenInit (II) fglrx(0): [drm] loaded kernel module for "fglrx" driver (II) fglrx(0): [drm] DRM interface version 1.0 (II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0" (II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0a8a000 (II) fglrx(0): [drm] mapped SAREA 0xe0a8a000 to 0xb7d3a000 (II) fglrx(0): [drm] framebuffer handle = 0xb0000000 (II) fglrx(0): [drm] added 1 reserved context for kernel (II) fglrx(0): DRIScreenInit done (II) fglrx(0): Kernel Module Version Information: (II) fglrx(0): Name: fglrx (II) fglrx(0): Version: 8.12.10 (II) fglrx(0): Date: Apr 4 2005 (II) fglrx(0): Desc: ATI FireGL DRM kernel module (II) fglrx(0): Kernel Module version matches driver. (II) fglrx(0): Kernel Module Build Time Information: (II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.11.9 (II) fglrx(0): Build-Kernel MODVERSIONS: no (II) fglrx(0): Build-Kernel __SMP__: no (II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000 (II) fglrx(0): [drm] register handle = 0xdfdf0000 (II) fglrx(0): [agp] Mode=0x1f000217 bridge: 0x8086/0x2560 (II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000 (II) fglrx(0): [agp] AGP v3 disable mask 0x00000000 (II) fglrx(0): [agp] enabling AGP with mode=0x1f000314 (II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000314) (II) fglrx(0): [agp] grafics chipset has AGP v2.0 (II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes (II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672 (II) fglrx(0): [drm] texture shared area handle = 0xe4d01000 (II) fglrx(0): shared FSAAScale=1 (II) fglrx(0): DRI initialization successfull! (II) fglrx(0): FBADPhys: 0xb0000000 FBMappedSize: 0x007ad000 (II) fglrx(0): FBMM initialized for area (0,0)-(1408,1429) (II) fglrx(0): FBMM auto alloc for area (0,0)-(1408,1050) (front color buffer -assumption) (==) fglrx(0): Backing store disabled (==) fglrx(0): Silken mouse enabled (II) fglrx(0): Using hardware cursor (scanline 1056) (II) fglrx(0): Largest offscreen area available: 1408 x 365 (**) fglrx(0): DPMS enabled (II) fglrx(0): Using XFree86 Acceleration Architecture (XAA) (II) fglrx(0): Acceleration enabled (II) fglrx(0): X context handle = 0x00000001 (II) fglrx(0): [DRI] installation complete (II) fglrx(0): Direct rendering enabled (**) fglrx(0): Video overlay enabled on CRTC1 Please add this information into FAQ about ATI http://www.gentoo.org/doc/en/ati-faq.xml Source: ============================= Important: Your kernel must have agpgart support. If you are running a 2.4.x kernel or are planning on using the x11-drm ebuild you should not have the DRM modules compiled in. ============================= Change to: ============================= Important: Your kernel must have agpgart support. If you are running a 2.4.x kernel or are planning on using the x11-drm ebuild you should not have the DRM modules compiled in. REMEMBER (for kernel 2.6 only): 1) lspci | grep AGP 2) ls /lib/modules/`uname -r`/kernel/drivers/char/agp 3) Add your chipset-agp module into: /etc/modules.autoload.d/kernel-2.6 4) # modules-update If you cannot find a suitable agp module for your motherboard, then you may want to upgrade to the latest version of the Linux kernel, or check your motherboard manufacturer's website for more information. ============================= But i think it's misstake. And, I'll think users need this comment: ============================= Important: Your kernel must have agpgart support. If you are running a 2.4.x kernel or are planning on using the x11-drm ebuild you should not have the DRM modules compiled in. REMEMBER (for kernel 2.6 only): 1) lspci | grep AGP 2) ls /lib/modules/`uname -r`/kernel/drivers/char/agp 3) Add your chipset-agp module into: /etc/modules.autoload.d/kernel-2.6 4) # modules-update If you cannot find a suitable agp module for your motherboard, then you may want to upgrade to the latest version of the Linux kernel, or check your motherboard manufacturer's website for more information. ============================= for normal configuration. |