[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X problem ibook 2.2



Hi Rory

I think you have to compile AGP support into the kernel.  It is a while
since I've done this and I used 2.4.23-ben1 kernel.  However, I believe
that most of ben's patches are incorporated into the main ppc tree.

Let me know if you need me to dig around more but I suspect others on
the list can give you better guidance.

Good luck

Clive

On (05/04/04 15:37), Rory Campbell-Lange wrote:
> I've just setup my new ibook2 800Mhz, and I can't get X to work
> properly.
> 
> The logs show "AGP failed to initialize -- falling back to PCI mode."
> How would I go about setting up "AGP" (whatever that is?).
> 
> Thanks for any help.
> Rory
> 
> 
> lspci:
> 00:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea AGP
> 00:10.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
> 10:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea PCI
> 10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Pangea Mac I/O
> 10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
> 10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
> 20:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea Internal PCI
> 20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth/Pangea FireWire
> 20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth/Pangea GMAC (Sun GEM)
> 
> 
> /etc/X11/XF86Config-4:
> ...
> Section "InputDevice"
> 	Identifier	"Generic Keyboard"
> 	Driver		"keyboard"
> 	Option		"CoreKeyboard"
> 	Option		"XkbRules"	"xfree86"
> 	Option		"XkbModel"	"macintosh"
> 	Option		"XkbLayout"	"us"
> 	Option		"XkbVariant"	"ibook"
> EndSection
> ...
> Section "Device"
> 	# Identifier	"ATI Technologies, Inc. Radeon Mobility M7 [LW]"
> 	Identifier	"Default Device"
> 	Driver		"ati"
> 	BusID		"PCI:0:16:0"
> 	Option		"UseFBDev"		"true"
> EndSection
> ...
> Section "Monitor"
> 	Identifier	"Generic Monitor"
> 	# HorizSync	28-50
> 	HorizSync	28-49
> 	# VertRefresh	43-75
> 	VertRefresh	43-72
> 	Option		"DPMS"
> EndSection
> 
> Section "Screen"
> 	Identifier	"Default Screen"
> 	Device		"Default Device"
> 	Monitor		"Generic Monitor"
> 	DefaultDepth	24
> 	SubSection "Display"
> 		Depth		1
> 		Modes		"1024x768" "800x600" "640x480"
> 	EndSubSection
> ...
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Configured Mouse"
> EndSection
> 
> Section "DRI"
> 	Mode	0666
> EndSection
> 
> 
> 
> /var/log/XFree86.0.log:
> This is a pre-release version of XFree86, and is not supported in any
> way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
> to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
> please check the latest version in the XFree86 CVS repository
> (http://www.XFree86.Org/cvs).
> 
> XFree86 Version 4.3.0.1 (Debian 4.3.0-7 20040317193332 branden@cairhien.lab.dotat.at)
> Release Date: 15 August 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.6.1-rc1-ben1 ppc [ELF] 
> Build Date: 17 March 2004
> 	Before reporting problems, check http://www.XFree86.Org/
> 	to make sure that you have the latest version.
> Module Loader present
> OS Kernel: Linux version 2.4.25-powerpc (root@pegasos2) (version gcc 3.3.3 (Debian 20040306)) #1 ven mar 19 19:29:26 CET 2004 
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Sun Apr  4 20:12:35 2004
> (==) Using config file: "/etc/X11/XF86Config-4"
> (==) ServerLayout "Default Layout"
> (**) |-->Screen "Default Screen" (0)
> (**) |   |-->Monitor "Generic Monitor"
> (**) |   |-->Device "Default Device"
> (**) |-->Input Device "Generic Keyboard"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "macintosh"
> (**) XKB: model: "macintosh"
> (**) Option "XkbLayout" "us"
> (**) XKB: layout: "us"
> (**) Option "XkbVariant" "ibook"
> (**) XKB: variant: "ibook"
> ...
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: open result is -1, (No such device)
> drmOpenDevice: Open failed
> drmOpenDevice: minor is 0
> drmOpenDevice: node name is /dev/dri/card0
> drmOpenDevice: open result is 6, (OK)
> drmGetBusid returned ''
> (II) RADEON(0): [drm] loaded kernel module for "radeon" driver
> (II) RADEON(0): [drm] created "radeon" driver at busid "PCI:0:16:0"
> (II) RADEON(0): [drm] added 8192 byte SAREA at 0xeb2a7000
> (II) RADEON(0): [drm] mapped SAREA 0xeb2a7000 to 0x3001b000
> (II) RADEON(0): [drm] framebuffer handle = 0x98000000
> (II) RADEON(0): [drm] added 1 reserved context for kernel
> (WW) RADEON(0): [agp] AGP not available
> (WW) RADEON(0): [agp] AGP failed to initialize -- falling back to PCI mode.
> (WW) RADEON(0): [agp] If this is an AGP card, you may want to make sure the agpgart
> kernel module is loaded before the radeon kernel module.
> (II) RADEON(0): [pci] 8192 kB allocated with handle 0xed2ab000
> (II) RADEON(0): [pci] ring handle = 0xed2ab000
> (II) RADEON(0): [pci] Ring mapped at 0x32047000
> (II) RADEON(0): [pci] Ring contents 0x00000000
> (II) RADEON(0): [pci] ring read ptr handle = 0xed3ac000
> (II) RADEON(0): [pci] Ring read ptr mapped at 0x3001d000
> (II) RADEON(0): [pci] Ring read ptr contents 0x00000000
> (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xed3ad000
> (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x32148000
> (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
> (II) RADEON(0): [drm] register handle = 0x90000000
> (II) RADEON(0): [dri] Visual configs initialized
> (II) RADEON(0): CP in BM mode
> (II) RADEON(0): Using 8 MB AGP aperture
> (II) RADEON(0): Using 1 MB for the ring buffer
> (II) RADEON(0): Using 2 MB for vertex/indirect buffers
> (II) RADEON(0): Using 5 MB for AGP textures
> (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
> (II) RADEON(0): Reserved area from (0,768) to (1024,770)
> (II) RADEON(0): Largest offscreen area available: 1024 x 7421
> (II) RADEON(0): Will use back buffer at offset 0x900000
> (II) RADEON(0): Will use depth buffer at offset 0xc00000
> (II) RADEON(0): Will use 17408 kb for textures at offset 0xf00000
> (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
> 	Screen to screen bit blits
> 	Solid filled rectangles
> 	8x8 mono pattern filled rectangles
> 	Indirect CPU to Screen color expansion
> 	Solid Lines
> 	Scanline Image Writes
> 	Offscreen Pixmaps
> 	Setting up tile and stipple cache:
> 		32 128x128 slots
> 		32 256x256 slots
> 		16 512x512 slots
> (II) RADEON(0): Acceleration enabled
> (==) RADEON(0): Backing store disabled
> (==) RADEON(0): Silken mouse enabled
> (II) RADEON(0): Using hardware cursor (scanline 770)
> (II) RADEON(0): Largest offscreen area available: 1024 x 7417
> (**) Option "dpms"
> (**) RADEON(0): DPMS enabled
> (II) RADEON(0): X context handle = 0x00000001
> (II) RADEON(0): [drm] installed DRM signal handler
> (II) RADEON(0): [DRI] installation complete
> (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
> (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
> (II) RADEON(0): [drm] dma control initialized, using IRQ 48
> (II) RADEON(0): [drm] Initialized kernel agp heap manager, 0
> (II) RADEON(0): Direct rendering enabled
> (==) RandR enabled
> (II) Initializing built-in extension MIT-SHM
> (II) Initializing built-in extension XInputExtension
> (II) Initializing built-in extension XTEST
> (II) Initializing built-in extension XKEYBOARD
> (II) Initializing built-in extension LBX
> (II) Initializing built-in extension XC-APPGROUP
> (II) Initializing built-in extension SECURITY
> (II) Initializing built-in extension XINERAMA
> (II) Initializing built-in extension XFree86-Bigfont
> (II) Initializing built-in extension RENDER
> (II) Initializing built-in extension RANDR

-- 
http://www.clivemenzies.co.uk
strategies for business



Reply to: