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

Re: ati driver & xfree86



Le Fri, 6 Dec 2002 20:02:28 +0100
Simon Vallet <svallet@inapg.inra.fr> écrivait :

As newbie as I am I have found a process to make it work (for me).

1-unpack the source-2.4.18 tar.gz file in /usr/src
2-ln -s /usr/src/kernel-source-2.4.18/ /usr/src/linux-2.4.18-newpmac
3-cd /usr/src/linux-2.4.18-newpmac
4-edit the Makefile
line 4 enter EXTRAVERSION = -newpmac
save, exit
5-make xconfig and load config from /boot/config.yourNewPmacConfigFile
save & exit
6-make dep 
7-go to your modules folder and make them. 
Perhaps is there some unusefull step, perhaps it will not compile for
you but there is a success story for me !

chears

À la prochaine.

> Hi,
> 
> I saw recently on this list that it was possible to get hardware
> acceleration by using the 'ati' driver, but unfortunatly I can't get
> it right ... When I start X, my screen gets black as if it was
> sleeping after a few seconds ; switching to the console and 'ps'ing
> shows that the server is running, and WMaker also :
> 
> eqdar      470  0.0  0.9  2856 1284 tty3     S    19:44   0:00 /bin/sh
> /usr/bin/X11/startx eqdar      479  0.0  0.6  2760  840 tty3     S   
> 19:44   0:00 xinit /usr/X11R6/lib/X11/xinit/xinitrc --
> /usr/X11R6/lib/X11/xinit/xserverrc root       480  5.1 11.2 25460
> 15260 ?       S<   19:44   0:05 /usr/bin/X11/X -dpi 100 -nolisten tcp
> eqdar      483  0.9  2.1  6336 2900 tty3     S    19:44   0:00
> /usr/bin/WindowMaker eqdar      508  0.0  0.7  2960 1060 ?        S   
> 19:44   0:00 /usr/bin/ssh-agent x-window-manager eqdar      511  0.4 
> 2.1  6968 2924 tty3     S    19:44   0:00 xterm -class UXTerm -title
> uxterm -u8
> 
> My config seemed to work fine with the 'fbdev' driver,
> are there any specific options that need to be set when using 'ati' ?
> 
> Here is my config and the logfile ... I'm booting with the following 
> argument 'video=atyfb:1024x768-8@70'
> 
> ### XF86Config-4 ...
> 
> ## Fontpaths, rgbpath, ... ##
> Section "Files"
> 	FontPath	"unix/:7100"			# local font server
> 	# if the local font server has problems, we can fall back on
> 	# these
> 	FontPath	"/usr/lib/X11/fonts/misc"
> 	# non installés
> 	# FontPath	"/usr/lib/X11/fonts/cyrillic"
> 	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
> 	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
> 	FontPath	"/usr/lib/X11/fonts/Type1"
> 	FontPath	"/usr/lib/X11/fonts/Speedo"
> 	FontPath	"/usr/lib/X11/fonts/100dpi"
> 	FontPath	"/usr/lib/X11/fonts/75dpi"
> EndSection
> 
> ## Modules ... à voir de plus près ##
> Section "Module"
> 	Load	"GLcore"
> 	Load	"bitmap"
> 	Load	"dbe"
> 	Load	"ddc"
> 	#Load	"dri"
> 	Load	"extmod"
> 	Load	"freetype"
> 	Load	"glx"
> 	Load	"int10"
> 	Load	"pex5"
> 	Load	"record"
> 	Load	"speedo"
> 	Load	"type1"
> 	Load	"vbe"
> 	Load	"xie"
> EndSection
> 
> ## Clavier et souris ##
> Section "InputDevice"
> 	Identifier	"Apple ADB keyboard"
> 	Driver		"keyboard"
> 	Option		"CoreKeyboard"
> 	Option		"XkbRules"	"xfree86"
> 	Option		"XkbModel"	"macintosh"
> 	Option		"XkbLayout"	"us"
> EndSection
> 
> Section "InputDevice"
> 	Identifier	"Kensington ADB Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"ImPS/2"
> 	Option		"Emulate3Buttons"	"true"
> EndSection
> 
> ## Carte graphique -- RAM etc. testés au démarrage ##
> Section "Device"
> 	Identifier	"ATI XClaim 3D Plus"
> 	# Driver	"fbdev"
> 	Driver		"ati"
> 	BusID		"PCI:0:14:0"
> 	Option		"UseFBDev"	"true"
> EndSection
> 
> ## L'écran -- UseModes pour des modes customisés ##
> Section "Monitor"
> 	Identifier	"Apple Multiple Scan 15 Display"
> 	HorizSync	31.77,35.0,37.9,48.1,49.7,56.5
> 	VertRefresh	60,66.67,60,70,72,75
> #	HorizSync	30-60
> #	VertRefresh	60-75
> 	UseModes	"Custom modes"
> 	Option		"DPMS"
> EndSection
> 
> ## Les modes en question ##
> Section "Modes"
> 	Identifier	"Custom modes"
> 	# video=atyfb:1024x768@70
> 	Mode "1024x768"
> 		# D: 74.884 MHz, H: 56.389 kHz, V: 69.961 Hz
> 		DotClock 74.885
> 		HTimings 1024 1048 1184 1328
> 		VTimings 768 771 777 806
> 		Flags    "-HSync" "-VSync"    # Warning: XFree86 doesn't
> 		support accel
> 	EndMode
> 	# video=atyfb:800x600@60
> 	Mode "800x600@60"
>     		# D: 39.938 MHz, H: 37.820 kHz, V: 60.223 Hz
> 		DotClock 39.939
> 		HTimings 800 840 968 1056
> 		VTimings 600 601 605 628
> 		Flags    "+HSync" "+VSync"    # Warning: XFree86 doesn't
> 		support accel
> 	EndMode
> 	# video=atyfb:800x600@72
> 	Mode "800x600@72"
>     		# D: 49.923 MHz, H: 48.003 kHz, V: 72.076 Hz
>     		DotClock 49.924
>     		HTimings 800 856 976 1040
>     		VTimings 600 637 643 666
>     		Flags    "+HSync" "+VSync"    # Warning: XFree86 doesn't
>     		support accel
> 	EndMode
> 	# video=atyfb:640x480@60
> 	Mode "640x480"
>     		# D: 25.075 MHz, H: 31.343 kHz, V: 59.701 Hz
>     		DotClock 25.076
>     		HTimings 640 664 760 800
>     		VTimings 480 491 493 525
>     		Flags    "-HSync" "-VSync"    # Warning: XFree86 doesn't
>     		support accel
> 	EndMode
> EndSection
> 
> 
> ## On englobe le tout ##
> Section "Screen"
> 	Identifier	"ATI Screen"
> 	Device		"ATI XClaim 3D Plus"
> 	Monitor		"Apple Multiple Scan 15 Display"
> 	# 16 pose quelques problèmes, 32 est trop lent en 1024, 24
> 	# semble déconseillé -- à voir
> 	DefaultDepth	15
> 	SubSection "Display"
> 		Depth		8
> 		Modes		"1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		15
> 		Modes		"1024x768" "800x600" "640x480"
> 	EndSubSection
> 	SubSection "Display"
> 		Depth		24
> 		Modes		"1024x768" "800x600" "640x480"
> 	EndSubSection
> EndSection
> 
> 
> ## La première section "layout" détermine la configuration utilisée ##
> Section "ServerLayout"
> 	Identifier	"Custom Layout"
> 	Screen		"ATI Screen"
> 	InputDevice	"Apple ADB Keyboard"
> 	InputDevice	"Kensington ADB Mouse"
> EndSection
> 
> ## Modules ##
> #Section "DRI"
> #	Mode	0666
> #EndSection
> 
> 
> 
> ### LOGS
> 
> warning: process set to nice value 0 instead of -10 as requested
> 
> 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.1.0.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6510)
> Release Date: 21 December 2001
> 	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)
> Build Operating System: Linux 2.4.18-powerpc-smp ppc [ELF] 
> Module Loader present
> (==) Log file: "/var/log/XFree86.0.log", Time: Fri Dec  6 19:44:09
> 2002(==) Using config file: "/etc/X11/XF86Config-4"
> Markers: (--) probed, (**) from config file, (==) default setting,
>          (++) from command line, (!!) notice, (II) informational,
>          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) ServerLayout "Custom Layout"
> (**) |-->Screen "ATI Screen" (0)
> (**) |   |-->Monitor "Apple Multiple Scan 15 Display"
> (**) |   |-->Device "ATI XClaim 3D Plus"
> (**) |-->Input Device "Apple ADB keyboard"
> (**) XKB: rules: "xfree86"
> (**) XKB: model: "macintosh"
> (**) XKB: layout: "us"
> (**) |-->Input Device "Kensington ADB Mouse"
> (**) FontPath set to
> "unix/:7100,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscal
> ed,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/l
> ib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dp
> i"(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (--) using VT number 7
> 
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> (II) Module pcidata: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 0.1.0
> (II) Loading /usr/X11R6/lib/modules/libscanpci.a
> (II) Module scanpci: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 0.1.0
> (II) Unloading /usr/X11R6/lib/modules/libscanpci.a
> (--) PCI: (0:14:0) ATI Mach64 LI rev 220, Mem @ 0x81000000/24,
> 0x80800000/12, I/O @ 0x0400/8, BIOS @ 0x80820000/17(II) Loading
> /usr/X11R6/lib/modules/extensions/libGLcore.a(II) Module GLcore:
> vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
> (II) Module dbe: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/libddc.a
> (II) Module ddc: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
> (II) Module extmod: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
> (II) Module freetype: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.1.9
> (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
> (II) Module glx: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/libint10.a
> (II) Module int10: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/libpex5.a
> (II) Module pex5: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/librecord.a
> (II) Module record: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.13.0
> (II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
> (II) Module speedo: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
> (II) Module type1: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/libvbe.a
> (II) Module vbe: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/extensions/libxie.a
> (II) Module xie: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
> (II) Module ati: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 6.3.6
> (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
> (II) Module mouse: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) ATI: ATI driver (version 6.3.6) 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 PD (PCI),
> 	ATI Rage 128 Pro PF (AGP), ATI Rage 128 Pro PP (PCI),
> 	ATI Rage 128 Pro PR (PCI), 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),
> 	ATI Radeon VE (AGP)
> (II) Loading /usr/X11R6/lib/modules/drivers/atimisc_drv.o
> (II) Module atimisc: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 6.3.6
> (==) ATI(0): Chipset:  "ati".
> (**) ATI(0): Depth 15, (--) framebuffer bpp 16
> (--) ATI(0): ATI 3D Rage LT Pro graphics controller detected.
> (--) ATI(0): Chip type 4C49 "LI", version 4, foundry UMC, class 0,
> revision 0x03.(--) ATI(0): PCI bus interface detected;  block I/O base
> is 0x0400.(--) ATI(0): ATI Mach64 adapter detected.
> (--) ATI(0): Internal RAMDAC (subtype 1) detected.
> (==) ATI(0): RGB weight 555
> (==) ATI(0): Default visual is TrueColor
> (==) ATI(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) ATI(0): Using Mach64 accelerator CRTC.
> (**) ATI(0): Using CRT interface and disabling digital flat panel.
> (II) ATI(0): Storing hardware cursor image at 0x817FFC00.
> (II) ATI(0): Using 8 MB linear aperture at 0x81800000.
> (!!) ATI(0): Virtual resolutions will be limited to 8191 kB
>  due to linear aperture size and/or placement of hardware cursor image
>  area.
> (II) ATI(0): Using Block 0 MMIO aperture at 0x80800400.
> (II) ATI(0): Using Block 1 MMIO aperture at 0x80800000.
> (II) ATI(0): MMIO write caching enabled.
> (--) ATI(0): 8192 kB of SDRAM (1:1) detected (using 8191 kB).
> (WW) ATI(0): Cannot shadow an accelerated frame buffer.
> (--) ATI(0): Internal programmable clock generator detected.
> (--) ATI(0): Reference clock 157.5/11 (14.318) MHz.
> (II) ATI(0): Apple Multiple Scan 15 Display: Using hsync value of
> 31.77 kHz(II) ATI(0): Apple Multiple Scan 15 Display: Using hsync
> value of 35.00 kHz(II) ATI(0): Apple Multiple Scan 15 Display: Using
> hsync value of 37.90 kHz(II) ATI(0): Apple Multiple Scan 15 Display:
> Using hsync value of 48.10 kHz(II) ATI(0): Apple Multiple Scan 15
> Display: Using hsync value of 49.70 kHz(II) ATI(0): Apple Multiple
> Scan 15 Display: Using hsync value of 56.50 kHz(II) ATI(0): Apple
> Multiple Scan 15 Display: Using vrefresh value of 60.00 Hz(II) ATI(0):
> Apple Multiple Scan 15 Display: Using vrefresh value of 66.67 Hz(II)
> ATI(0): Apple Multiple Scan 15 Display: Using vrefresh value of 60.00
> Hz(II) ATI(0): Apple Multiple Scan 15 Display: Using vrefresh value of
> 70.00 Hz(II) ATI(0): Apple Multiple Scan 15 Display: Using vrefresh
> value of 72.00 Hz(II) ATI(0): Apple Multiple Scan 15 Display: Using
> vrefresh value of 75.00 Hz(II) ATI(0): Maximum clock: 112.00 MHz
> (II) ATI(0): Not using mode "640x480" (hsync out of range)
> (II) ATI(0): Not using default mode "640x350" (vrefresh out of range)
> (II) ATI(0): Not using default mode "640x400" (vrefresh out of range)
> (II) ATI(0): Not using default mode "720x400" (vrefresh out of range)
> (II) ATI(0): Not using default mode "800x600" (vrefresh out of range)
> (II) ATI(0): Not using default mode "800x600" (hsync out of range)
> (II) ATI(0): Not using default mode "800x600" (hsync out of range)
> (II) ATI(0): Not using default mode "1152x864" (hsync out of range)
> (II) ATI(0): Not using default mode "1280x960" (hsync out of range)
> (II) ATI(0): Not using default mode "1280x960" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1280x1024" (hsync out of range)(II) ATI(0): Not using default mode
> "1280x1024" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1280x1024" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1600x1200" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1600x1200" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1600x1200" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1600x1200" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1600x1200" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1792x1344" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1792x1344" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1856x1392" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1856x1392" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1920x1440" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1920x1440" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using default mode "1400x1050" (bad mode
> clock/interlace/doublescan)(II) ATI(0): Not using default mode
> "1400x1050" (bad mode clock/interlace/doublescan)(II) ATI(0): Not
> using mode "640x480" (no mode of this name)(--) ATI(0): Virtual size
> is 1024x768 (pitch 1024)(**) ATI(0): Mode "1024x768": 74.9 MHz, 56.4
> kHz, 70.0 Hz(**) ATI(0): Default mode "800x600": 50.0 MHz, 48.1 kHz,
> 72.2 Hz(++) ATI(0): DPI set to (100, 100)
> (II) Loading /usr/X11R6/lib/modules/libxaa.a
> (II) Module xaa: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) Loading /usr/X11R6/lib/modules/libramdac.a
> (II) Module ramdac: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 0.1.0
> (II) Loading /usr/X11R6/lib/modules/libfb.a
> (II) Module fb: vendor="The XFree86 Project"
> 	compiled for 4.1.0.1, module version = 1.0.0
> (II) ATI(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
> 	Offscreen Pixmaps
> 	Setting up tile and stipple cache:
> 		32 128x128 slots
> 		18 256x256 slots
> 		6 512x512 slots
> (==) ATI(0): Backing store disabled
> (==) ATI(0): Silken mouse enabled
> (**) ATI(0): DPMS enabled
> (WW) ATI(0): Option "UseFBDev" is not used
> PEXExtensionInit: Couldn't open default PEX font file  Roman_M
> (II) Keyboard "Apple ADB keyboard" handled by legacy driver
> (**) Kensington ADB Mouse: Protocol: "ImPS/2"
> (**) Kensington ADB Mouse: Core Pointer
> (==) Kensington ADB Mouse: Buttons: 3
> (**) Kensington ADB Mouse: Emulate3Buttons, Emulate3Timeout: 50
> (II) XINPUT: Adding extended input device "Kensington ADB Mouse"
> (type: MOUSE) xinit:  connection to X server lost.
> 
> waiting for X server to shut down 
> 
> 
> -- 
> Simon Vallet
> Institut National Agronomique Paris-Grignon
> svallet@inapg.inra.fr
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org


-- 
marco
--
Clé PGP publique : https://iftbqp.mine.nu/marco.asc

Attachment: pgp001bx0CVTN.pgp
Description: PGP signature


Reply to: