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

Re: Help with X on iBook?






Michel Dänzer wrote:
Kin Chung wrote:

>     XFree4.0.2 does not work at all at the moment.  The r128
> ...

I'm a bit surprised that you didn't find this in the archives,
considering how well you researched the other problems
(congrats! :).

Thanks (doing researh is a bad habit from old USENET days, where
you get flamed if you don't do your research first).  You have to
understand that the graphics driver problem is much messier than
just about anything else, and X is a huge beast---too easy to get
confused.

You need

   Option "UseFBDev"

or

   Option "ProgramFPRegs" "No"

in the Device Section. Either should do, but the first one only
works with aty128fb.

Tried both of those with recompiles even to make sure it was not
the patches or any brain-death I added.  Neither worked.  The
`Option "ProgramFPRegs" "No"' option killed the display (it turns
out that it does not kill Debian (yay, still have ethernet to
reboot the beast).  The former option causes the xfree4 Xserver
to complain that it can't find a suitable screen.  Log file and
XF86Config included in case anybody is interested.

***Log file***

XFree86 Version 4.0.2 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 18 December 2000
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/FAQ)
Operating System: Linux 2.2.18pre21 ppc [ELF]
Module Loader present
(==) Log file: "/usr/adm/XFree86.0.log", Time: Fri Mar  2 20:01:53 2001
(==) Using config file: "/usr/X11R6.4/lib/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (??) unknown.
(==) ServerLayout "simple layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Multi sync"
(**) |   |-->Device "ATY,Rage128m3p1"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 5"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc98"
(**) XKB: model: "pc98"
(**) Option "XkbLayout" "nec/jp"
(**) XKB: layout: "nec/jp"
(**) FontPath set to "/usr/X11R6.4/lib/X11/fonts/local/,/usr/X11R6.4/lib/X11/fonts/misc/,/usr/X11R6.4/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6.4/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6.4/lib/X11/fonts/Type1/,/usr/X11R6.4/lib/X11/fonts/CID/,/usr/X11R6.4/lib/X11/fonts/Speedo/,/usr/X11R6.4/lib/X11/fonts/75dpi/,/usr/X11R6.4/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6.4/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6.4/lib/modules,/usr/X11R6.4/lib/modules/codeconv,/usr/X11R6.4/lib/modules/drivers,/usr/X11R6.4/lib/modules/extensions,/usr/X11R6.4/lib/modules/fonts,/usr/X11R6.4/lib/modules/input,/usr/X11R6.4/lib/modules/linux"
(**) Option "BlankTime" "10"
(**) Option "StandbyTime" "20"
(**) Option "SuspendTime" "30"
(**) Option "OffTime" "60"
(--) using VT number 7

(WW) Cannot open APM
(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.3
	XFree86 XInput driver : 0.1
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.2
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6.4/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6.4/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0020 card 0000,0000 rev 00 class 06,00,00 hdr 00 (II) PCI: 00:10:0: chip 1002,4c46 card 1002,4c46 rev 02 class 03,00,00 hdr 00 (II) PCI: 00:17:0: chip 106b,0022 card 0000,0000 rev 03 class ff,00,00 hdr 00 (II) PCI: 00:18:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10 hdr 00 (II) PCI: 00:19:0: chip 106b,0019 card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6.4/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6.4/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)
(II) Bus 0 I/O range:
	[0] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
(--) PCI: (0:16:0) ATI Rage 128 Mobility LF rev 2, Mem @ 0x94000000/26, 0x90000000/14, I/O @ 0x0400/8
(II) Addressable bus resource ranges are
	[0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
	[1] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
(II) Active PCI resource ranges:
	[0] -1	0x80080000 - 0x800fffff (0x80000) MX[B]E
	[1] -1	0x80000000 - 0xffffffff (0x80000000) MX[B]E
	[2] -1	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] -1	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) PCI Memory resource overlap reduced 0x80000000 from 0xffffffff to 0x8007ffff
(II) Active PCI resource ranges after removing overlaps:
	[0] -1	0x80080000 - 0x800fffff (0x80000) MX[B]E
	[1] -1	0x80000000 - 0x8007ffff (0x80000) MX[B]E
	[2] -1	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] -1	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) All system resource ranges:
	[0] -1	0x80080000 - 0x800fffff (0x80000) MX[B]E
	[1] -1	0x80000000 - 0x8007ffff (0x80000) MX[B]E
	[2] -1	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] -1	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) LoadModule: "type1"
(II) Loading /usr/X11R6.4/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6.4/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font Speedo
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6.4/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 1.1.8
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.2
(II) Loading font FreeType
(II) LoadModule: "ati"
(II) Loading /usr/X11R6.4/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 6.2.3
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.3
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6.4/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 1.0.0
	Module class: XFree86 XInput Driver
	ABI class: XFree86 XInput driver, version 0.1
(II) ATI: ATI driver (version 6.2.3) for chipsets: ati
(II) R128: Driver for ATI Rage 128 chipsets: ATI Rage 128 RE (PCI),
	ATI Rage 128 RF (AGP), ATI Rage 128 RG (AGP), ATI Rage 128 RK (PCI),
	ATI Rage 128 RL (AGP), ATI Rage 128 Pro PF (AGP),
	ATI Rage 128 Mobility LE (PCI), ATI Rage 128 Mobility LF (AGP),
	ATI Rage 128 Mobility MF (AGP), ATI Rage 128 Mobility ML (AGP)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
	ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP)
(II) ATI:  Candidate "Device" section "ATY,Rage128m3p1".
(--) Chipset ATI Rage 128 Mobility LF (AGP) found
(II) Loading sub module "r128"
(II) LoadModule: "r128"
(II) Loading /usr/X11R6.4/lib/modules/drivers/r128_drv.o
(II) Module r128: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 4.0.1
	Module class: XFree86 Video Driver
	ABI class: XFree86 Video Driver, version 0.3
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0x80080000 - 0x800fffff (0x80000) MX[B]E
	[1] -1	0x80000000 - 0x8007ffff (0x80000) MX[B]E
	[2] -1	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] -1	0x00000400 - 0x000004ff (0x100) IX[B](B)
(II) resource ranges after probing:
	[0] -1	0x80080000 - 0x800fffff (0x80000) MX[B]E
	[1] -1	0x80000000 - 0x8007ffff (0x80000) MX[B]E
	[2] -1	0x90020000 - 0x9003ffff (0x20000) MX[B](B)
	[3] -1	0x90000000 - 0x90003fff (0x4000) MX[B](B)
	[4] -1	0x94000000 - 0x97ffffff (0x4000000) MX[B](B)
	[5] 0	0x000a0000 - 0x000affff (0x10000) MS[B]
	[6] 0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
	[7] 0	0x000b8000 - 0x000bffff (0x8000) MS[B]
	[8] -1	0x00000400 - 0x000004ff (0x100) IX[B](B)
	[9] 0	0x000003b0 - 0x000003bb (0xc) IS[B]
	[10] 0	0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6.4/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.3
(II) R128(0): PCI bus 0 card 16 func 0
(**) R128(0): Depth 8, (--) framebuffer bpp 8
(II) R128(0): Pixel depth = 8 bits stored in 1 byte (8 bpp pixmaps)
(==) R128(0): Default visual is PseudoColor
(**) R128(0): Option "NoAccel"
(**) R128(0): Option "SWcursor"
(**) R128(0): Option "UseFBDev"
(II) R128(0): Using 8 bits per RGB (8 bit DAC)
(**) R128(0): Using framebuffer device
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6.4/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
	compiled for 4.0.2, module version = 0.0.2
	ABI class: XFree86 Video Driver, version 0.3
(II) UnloadModule: "ati"
(II) UnloadModule: "fbdevhw"
(II) Unloading /usr/X11R6.4/lib/modules/linux/libfbdevhw.a
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6.4/lib/modules/libvgahw.a
(II) UnloadModule: "r128"
(II) Unloading /usr/X11R6.4/lib/modules/drivers/r128_drv.o
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

***XF86Config***
***Comments etc. removed for brevity***
Section "Files"

   RgbPath	"/usr/X11R6.4/lib/X11/rgb"

   FontPath	"/usr/X11R6.4/lib/X11/fonts/local/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/misc/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/75dpi/:unscaled"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/100dpi/:unscaled"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/Type1/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/CID/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/Speedo/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/75dpi/"
   FontPath	"/usr/X11R6.4/lib/X11/fonts/100dpi/"

   ModulePath	"/usr/X11R6.4/lib/modules"
   ModulePath	"/usr/X11R6.4/lib/modules/codeconv"
   ModulePath	"/usr/X11R6.4/lib/modules/drivers"
   ModulePath	"/usr/X11R6.4/lib/modules/extensions"
   ModulePath	"/usr/X11R6.4/lib/modules/fonts"
   ModulePath	"/usr/X11R6.4/lib/modules/input"
   ModulePath	"/usr/X11R6.4/lib/modules/linux"

EndSection

Section "Module"

#    Load	"pex5"
#    Load	"xie"
#    Load	"glx"
#    Load	"dbe"
#    Load	"record"
#    SubSection	"extmod"
#	Option	"omit xfree86-dga"
#    EndSubSection
   Load	"type1"
   Load	"speedo"
   Load	"freetype"

EndSection


Section "ServerFlags"


#    Option	"NoTrapSignals"
#    Option	"DontZap"
#    Option	"DontZoom"
#    Option	"DisableVidModeExtension"
#    Option	"AllowNonLocalXvidtune"
#    Option	"DisableModInDev"
#    Option	"AllowNonLocalModInDev"
   Option	"blank time"	"10"	# 10 minutes
   Option	"standby time"	"20"
   Option	"suspend time"	"30"
   Option	"off time"	"60"
#    Option	"PC98"

EndSection


Section "InputDevice"

   Identifier	"Keyboard1"
   Driver	"keyboard"

#    Option	"Protocol"	"Xqueue"
   Option	"AutoRepeat"	"500 5"
#    Option	"Xleds"	"1 2 3"
#    Option	"XkbDisable"
   Option	"XkbRules"	"xfree86"
   Option	"XkbModel"	"pc98"
   Option	"XkbLayout"	"nec/jp"
#    Option	"XkbVariant"	""
#    Option	"XkbOptions"	""

EndSection


Section "InputDevice"

   Identifier	"Mouse1"
   Driver	"mouse"
   Option	"Protocol"	"PS/2"
   Option	"Device"	"/dev/input/mouse0"
#    Option	"Protocol"	"Xqueue"
#    Option	"BaudRate"	"9600"
#    Option	"SampleRate"	"150"
#    Option	"Emulate3Buttons"
#    Option	"Emulate3Timeout"	"50"
#    Option	"ChordMiddle"

EndSection


Section "InputDevice"
   Identifier	"Mouse2"
   Driver	"mouse"
   Option	"Protocol"	"MouseMan"
   Option	"Device"	"/dev/mouse2"
EndSection


Section "Monitor"

   Identifier	"Generic Monitor"
   VendorName	"Unknown"
   ModelName	"Unknown"


   HorizSync	31.5  # typical for a single frequency fixed-sync monitor

   VertRefresh	60  # typical for a single frequency fixed-sync monitor

   Mode "640x480"
       DotClock	25.175
       HTimings	640 664 760 800
       VTimings	480 491 493 525
   EndMode

   Identifier	"Multi sync"
   VendorName	"IDEK"
   ModelName	"MF8615"
   HorizSync	24-120
   VertRefresh	50-200

#obtained by using fbset -x
Mode "800x600"
   # D: 100.000 MHz, H: 119.048 kHz, V: 186.012 Hz
   DotClock 100.001
   HTimings 800 816 824 840
   VTimings 600 616 624 640
   Flags    "-HSync" "-VSync"
EndMode

#as you can see, I threw in a whole pile of other standard numbers
#just to try fix the problem (hey, I have no idea what the display
#does, Apple did not tell me).
   Mode "640x400"
       DotClock	28.322
       HTimings	640 664 712 808
       VTimings	400 400 402 417
   EndMode

   Mode "640x480"
       DotClock	28.0
       HTimings	640 690 752 800
       VTimings	480 496 544 560
   EndMode

   Mode "NEC480"
       DotClock	31.5
       HTimings	640 664 760 800
       VTimings	480 491 493 525
   EndMode
   Mode "800x600"
       DotClock	36.00
       HTimings	800 840 900 1000
       VTimings	600 602 610 664
   EndMode
   Mode "1024x768"
       DotClock	65.00
       HTimings	1024 1188 1210 1370
       VTimings	768   768  770  790
   EndMode
   Mode "1024x768i"
       DotClock	45.00
       HTimings	1024 1030 1230 1260
       VTimings	768   768  790  830
	Flags		"Interlace"
   EndMode
   Mode "1024x768H"
       DotClock	75.00
       HTimings	1024 1068 1184 1328
       VTimings	768   771  777  806
   EndMode

   Mode "1280x1024"
       DotClock	109.00
       HTimings	1280 1290 1680 1696
       VTimings	1024 1027 1030 1064
   EndMode
   Mode "1280x1024H"
       DotClock	110.00
       HTimings	1280 1300 1315 1700
       VTimings	1024 1027 1030 1064
   EndMode

Modeline "640x400"     25.175 640  664  760  800   400  409  411  450
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
ModeLine "800x600"     36     800  824  896 1024   600  601  603  625
Modeline "1024x768" 44.9 1024 1048 1208 1264 768 776 784 817 Interlace Modeline "640x400" 31.5 640 672 736 832 400 401 404 445 -HSync +VSync
Modeline "640x480"     31.5   640  680  720  864   480  488  491  521
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500 -HSync -VSync Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync Modeline "640x480" 36 640 696 752 832 480 481 484 509 -HSync -VSync ModeLine "1152x864" 65 1152 1168 1384 1480 864 865 875 985 Interlace Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync Modeline "1024x768" 65 1024 1032 1176 1344 768 771 777 806 -hsync -vsync Modeline "640x480" 45.8 640 672 768 864 480 488 494 530 -HSync -VSync Modeline "1152x864" 89.9 1152 1216 1472 1680 864 868 876 892 -HSync -VSync Modeline "800x600" 60.75 800 864 928 1088 600 616 621 657 -HSync -VSync Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165 Interlace Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -HSync -VSync
Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
Modeline  "1152x864"   92    1152 1208 1368 1474   864  865  875  895
#<more potentially useless modelines deleted!>

EndSection


Section "Device"
   Identifier	"ATY,Rage128m3p1"
   VendorName	"ATI"
   BoardName	"ATY,Rage128m3"
   Driver	"ati"
   Option	"NoAccel"
   Option	"SWcursor"
   Option	"UseFBDev"
#    Option	"ProgramFPRegs"	"No"
#    Option	"PanelWidth"	"800"
#    Option	"PanelHeight"	"600"
   BusID	"PCI:0:16:0"
EndSection

Section "Device"
   Identifier	"MGA"
   VendorName	"Matrox"
   BoardName	"Millennium"
   Driver	"mga"
#    BusID	"PCI:0:10:0"
EndSection

Section "Device"
   Identifier "NECTrident"
   VendorName "NEC"
   BoardName  "NEC Trident"
   Driver     "trident"
#    BusID	"PCI:0:8:0"

   Option	"NoPciBurst"
#    Option	"XaaNoScreenToScreenCopy"
#    Option	"XaaNoCPUToScreenColorExpandFill"
#    Option	"XaaNoScanlineCPUToScreenColorExpandFill"
#    Option	"XaaNoScreenToScreenColorExpandFill"
#    VideoRam	2048
Endsection #deleting this device section makes no difference to failure
          #mode


Section "Screen"

   Identifier	"Screen 1"
   Device	"ATY,Rage128m3p1"
   Monitor	"Multi sync"

# The favoured Depth and/or Bpp may be specified here

   DefaultDepth 8
   SubSection "Display"
       Depth		8
       Modes		"800x600"
   EndSubsection
   SubSection "Display"
       Depth		8
       Modes		"default"
   EndSubsection
   SubSection "Display"
       Depth		16
       Modes		"800x600"
   EndSubsection
   SubSection "Display"
       Depth		24
       Modes		"800x600"
   EndSubsection
   SubSection "Display"
       Depth		32
       Modes		"800x600"
   EndSubsection

EndSection


Section "ServerLayout"

   Identifier	"simple layout"
   Screen	"Screen 1"
   InputDevice	"Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"

EndSection
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



Reply to: