PDA

View Full Version : Ricompilare kernel per ATI 9800


bob_marley_23
02-07-2004, 17:48
Salve, raga

ho bisogno di sapere da dove prendere i sorgenti e headers del kernel 2.4.22-10 mdk della mandrake 9.2..

dato che alla fine dell' installazione dei drivers ati mi appare il messaggio:
"*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Error: no kernel module build environment - please consult readme."

per favore datemi una mano xkè ho cercato un po in giro ma ci ho capito poco su come fare x settare bene sta benedetta skeda sotto linux:muro: :muro: :muro:

PiloZ
02-07-2004, 18:19
fossi in te mi rassegnerei prima ;)
passa a nvidia se vuoi usare linux altrimenti ati ti farà diventare pazzo ;)

altrimenti prova a cercare sul forum la parola ati solo in "Linux, Unix, OS alternativi" ci sono 4 o 5 utenti in tutto che usano ati su linux ma comunque ci sono post parecchio interessanti e magari loro ti sapranno aiutare!
CiauZ

bob_marley_23
03-07-2004, 14:47
devo buttare via una 9800 x passare a linux??:confused: :confused: ..

ma nn basta ricompilare sto benedetto kernel?

Albi89
03-07-2004, 15:10
Io uso linux + ati e, tutto sommato, sono soddisfatto (ogni tanto mi rilasso anche con una partitina a ut2004 :D ).

Anzitutto devi procurarti i sorgenti del kernel, come avrai intuito; per quanto riguarda la 9.2 non sò che dirti perchè io ho usato la 10, ma andando nella sezione gestione pacchetti degli strumenti di configurazione, cliccando su installa dovresti trovare anche i sorgenti del tuo kernel; una volta installati, vai in /lib/modules/fglrx/build_mod ed esegui make.sh e quindi in /lib/modules/fglrx/ make_install.sh; attento perchè, almeno a me, questi file non erano segnati come eseguibili.

poi prima di eseguire la configurazione assicurati di avere caricato i 2 moduli dell'agp; scrivi lsmod alla console e assicurati che ci siano i moduli agpgart e xxx-agp dove xxx è il tuo chipset (ad es. intel-agp)

Buona fortuna ;)

The X
03-07-2004, 15:15
E se passi ad 1 kernel + aggiornato della famiglia 2.6.x nn fai prima ?

unarana
03-07-2004, 17:45
Originariamente inviato da bob_marley_23
ho bisogno di sapere da dove prendere i sorgenti e headers del kernel 2.4.22-10 mdk della mandrake 9.2..


Sui cd di installazione non ci sono?

altrimenti prova qui: ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/Mandrakelinux/official/9.2/i586/Mandrake/RPMS/kernel-source-2.4.22-10mdk.i586.rpm

Ciao :D

bob_marley_23
04-07-2004, 13:25
vi ringrazio tantissimo raga!

ho installato il source del kernel, poi i drivers ATI..

cmq mi pare che manchi l' ultima cosa!
ossia il modulo AGPGART

come faccio a metterlo? ho una a7n8x con nforce 2

quale file devo scaricare e quale config devo editare??

ah un' altra cosa, il pannello di controllo ati dove sta??

Grazieee

Albi89
04-07-2004, 13:27
fai così, da root dai modprobe agpgart

poi lsmod e guarda se è caricato :)

Albi89
04-07-2004, 13:29
ah dimenticavo dai un glxinfo | grep rendering, quando ti darà Direct Rendering: Yes sarà ok :D

bob_marley_23
04-07-2004, 13:31
che velocità!!:eek:

tra un po provo devo ancora magnare:D
ma con quei comandi oltre a verificare lo stato mi installa il modulo?

scusa ma nn ho capito...

bob_marley_23
04-07-2004, 14:49
ecco quello che ottengo:
[root@localhost root]# lsmod
Module Size Used by Tainted: P
lp 8160 0 (autoclean) (unused)
parport 34472 0 (autoclean) [lp]
fglrx 198216 116
agpgart 48292 15 (autoclean)
snd-seq-oss 32000 0 (unused)
snd-seq-midi-event 6080 0 [snd-seq-oss]
snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43652 0
snd-mixer-oss 14200 0 [snd-pcm-oss]
snd-intel8x0 22020 0
snd-pcm 79588 0 [snd-pcm-oss snd-intel8x0]
snd-timer 18436 0 [snd-seq snd-pcm]
snd-ac97-codec 45720 0 [snd-intel8x0]
snd-mpu401-uart 4704 0 [snd-intel8x0]
snd-rawmidi 17760 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm]
snd 41380 0 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6340 0 [snd]
ppp_synctty 7520 1 (autoclean)
ppp_generic 24292 3 (autoclean) [ppp_synctty]
slhc 6564 0 (autoclean) [ppp_generic]
n_hdlc 7616 1 (autoclean)
af_packet 14856 0 (autoclean)
sr_mod 19384 0 (autoclean)
floppy 55932 0
usbmouse 2936 0 (unused)
ohci1394 27696 0 (unused)
ieee1394 201284 0 [ohci1394]
keybdev 2756 0 (unused)
mousedev 5428 1
hid 24164 0 (unused)
usbkbd 4472 0 (unused)
input 5696 0 [usbmouse keybdev mousedev hid usbkbd]
nls_cp850 4284 1 (autoclean)
vfat 11820 1 (autoclean)
fat 38040 0 (autoclean) [vfat]
nls_iso8859-15 4060 2 (autoclean)
ntfs 77292 1 (autoclean)
supermount 84032 4 (autoclean)
ide-cd 33956 0
cdrom 32608 0 [sr_mod ide-cd]
ide-scsi 11376 0
scsi_mod 106176 2 [sr_mod ide-scsi]
printer 8576 0
ehci-hcd 19212 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 2 [usbmouse hid usbkbd printer ehci-hcd usb-ohci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]

[root@localhost root]# glxinfo | grep rendering
direct rendering: Yes
[root@localhost root]#

è ok??

bob_marley_23
04-07-2004, 14:53
il bello è questo:

come root mi da
[root@localhost root]# glxinfo | grep rendering
direct rendering: Yes

mentre ora che mi sono loggato come user normale:

[bob@localhost bob]$ glxinfo | grep rendering
direct rendering: No


:muro: :muro: :muro:

che cavolo faccio??


premetto cmq che quanto mii hai detto qui:
"una volta installati, vai in /lib/modules/fglrx/build_mod ed esegui make.sh e quindi in /lib/modules/fglrx/ make_install.sh; attento perchè, almeno a me, questi file non erano segnati come eseguibili. "

non l' ho potutto fare xkè mi dava msg di errore e non capivo perchè...




:muro: :muro: :muro: :muro:

Ikitt_Claw
04-07-2004, 15:03
Originariamente inviato da bob_marley_23
come root mi da
[root@localhost root]# glxinfo | grep rendering
direct rendering: Yes
mentre ora che mi sono loggato come user normale:
[bob@localhost bob]$ glxinfo | grep rendering
direct rendering: No
che cavolo faccio??


Controlla /etc/X11/XF86Config e vedi se hai una cosa tipo

Section "DRI"
Mode 0666
EndSection

bob_marley_23
04-07-2004, 15:46
si c'è... infatti è proprio strano...:confused: :confused: :muro: :muro:

bob_marley_23
04-07-2004, 19:08
up..

CONFITEOR
04-07-2004, 20:27
Originariamente inviato da PiloZ
fossi in te mi rassegnerei prima ;)
passa a nvidia se vuoi usare linux altrimenti ati ti farà diventare pazzo ;) e mi sapresti dire perchè ATI o Linux(di chi la colpa?) non risolvono il problema?

Non mi pare una buona cosa quando un SO è legato a un'hardware specifico, allora chi vuole ATI sarebbe legato a winsozz, e di converso nvidia avrebbe un'inaccettabile rendita di posizione in linux.

Albi89
04-07-2004, 20:40
perchè apparte che bisogna perderci tempo solo per installarli... poi non è detto che funzionino a dovere :( ed in generale, anche quando funzionano bene (come nel mio caso, grattandosi) le performance sono decisamente scarse... aspettiamo tutti il giorno in cui ati perderà un po' + di tempo su open gl... qualcuno ha dett ocatalyst 4.7... per win... ma per noi pinguini? :(

jappilas
04-07-2004, 21:17
Originariamente inviato da CONFITEOR
e mi sapresti dire perchè ATI o Linux(di chi la colpa?) non risolvono il problema?

Non mi pare una buona cosa quando un SO è legato a un'hardware specifico, allora chi vuole ATI sarebbe legato a winsozz, e di converso nvidia avrebbe un'inaccettabile rendita di posizione in linux.

se non ho ricavato un significato sbagliato da post passati spesso sul forum,

il problema è che i produttori di chip non hanno troppa voglia di divulgare le specifiche delle GPU :rolleyes:
avendole a disposizione potrebbero essero implementati driver open...

PiloZ
04-07-2004, 22:20
Originariamente inviato da CONFITEOR
e mi sapresti dire perchè ATI o Linux(di chi la colpa?) non risolvono il problema?

Non mi pare una buona cosa quando un SO è legato a un'hardware specifico, allora chi vuole ATI sarebbe legato a winsozz, e di converso nvidia avrebbe un'inaccettabile rendita di posizione in linux.

Mi sono inbattuto per più di un mese nella configurazione di una 9700pro di un mio collega su debian con abit nf7-s dunque come in questo caso su chipset nforce 2 , e vuoi sapere come è andata a finire?...beh... si è riventuta la 9700pro e si è preso una fx 5900 xt ;)

Ho provato sia con i driver ufficiali sia con quelli non ufficiali.
ecco i maggiori motivi per cui un utente che vuole usare linux preferisce nvidia.

La Ati trascura in una marea incredibile lo sviluppo dei driver per linux, all'uscita del kernel 2.6 (17 dicembre 2003) nvidia dopo circa una settimana (22 dicembre) mise a disposizione i suoi driver mente ati lo fece dopo circa un credo.
Il metodo utilizzato per l'installazione/configurazione è nettamente a vantaggio di Nvidia visto che basta lanciare il file con "sh NVIDIA-Linux-x86-1.0-6106-pkg1.run" e fa tutto da solo, mentre con ati ai voglia di installare il driver, cd /lib/modules/fglrx/build_mod, make.sh, cd .., make_install.sh per poi imbattersi nella corretta configurazione di tutto Xfree con il tools "fglrxconfig" e guai a sbagliare la config che X ovviamente non parte.

Ati ha assurde incompatibilità con i chipset più usati:
- nforce 2 - tant'è che bisogna fare in modo di utilizzare il modulo AGP esterno del kernel e non quello di ATI.
- kt400/600 - sono supportati solamente con i kernel 2.6 a meno di backport vari.

I driver ati non compilano se non si hanno oltre chiaramente i sorgenti anche gli header del kernel installati cosa che per nvidia non serve e sappiamo benissimo che per un newbie è un problema in più.

Non è possibile tutt'ora la disinstallazione dei driver. :eek:

Dunque come detto prima il tools "fglrxconfig" ti cambia il file XF86Config-4 con uno gestito solo per ati cosa che nvidia non fa ma basta aggiungere "nvidia" dentro il file originale. E indubbiamente risulta al quanto scomodo la configurazione di tutto Xserver per una sola scheda video.

Non parliamo della oramai routine di pathare i driver:
hai un processore amd? :eek: ...serve la patch
http://dryhead.interfree.it/fglrx-3.2.8-fix-amd-adv-spec.patch

hai un kernel 2.6.x? ...serve ancora l'uso di una pathc (vmalloc)
http://dryhead.interfree.it/fglrx-2.6-vmalloc-vmaddr.patch

Finiranno i kernel della serie 2.6.x che ati necessiterà ancora di patch :D

Non bastasse la patch sopra se usi un kernel della serie 2.6.x? no perchè per il 2.6.7 al sito http://kerneltrap.org/node/view/3298 è reperibile una patch aggiuntiva per risolvere il problema ..(structure has no member named `count').

Al quanto scomoda la questione dello sviluppo dei driver per le diverse versioni di xfree disponibili, mettono a disposizione solo l'rpm e non un sorgente...ecco che sarà una stronzata ma si aggiunge l'esigenza di convertire o con alien o con altri tools l'rpm in questione mente nvidia con il file .run viaggia su tutte le distro.

Problemi con ati ne ho sentiti di tutti i colori mentre il primo che cerca di installare i driver nvidia ha solitamente un solo problema: non riesce a chiudere bene X e dunque l'installazione non parte.

Ovviamente la colpa avrai capito non essere di linux ma di ati :D
Basta solo pensare alla creazione di un howto per l'installazione dei driver ati e una per quelli nvidia che ci si rende contro che basta una sola pagina per descrivere l'installazione su qualsiasi distro dei driver nvidia mente ce ne vogliono chissà quante per realizzare una guida per tutte le distro linux.

Spero di essere stato il più chiaro possibile. CiàuZ

PiloZ
04-07-2004, 22:30
mi è venuto in mente anche qualeche altro motivo..ma preferisco evitare di scriverlo per non scoraggiare bob_marley_23 :D :D :D

Albi89
05-07-2004, 09:19
ma la cosa + impressionante è che... i 2 file da lanciare per eseguire l'installazione dei driver ati... non sono marcati eseguibili :sofico:

ed anche una volta che li hai fatti andare non sò... ut 2004 non ha lo stesso feeling :(

PiloZ
05-07-2004, 10:47
verooo :eek: me ne ero scordato :D

ma ve ne rendete conto... bisogna anche chmodare il make.sh :eek: :eek: :eek: il chè è ridicolo e assurdo.

CONFERMO, a forza di provare riuscii ad installare al mio collega i driver con il rendering su YES,...ma...guai ad avviare ut2004 perchè si hanno errori come se gli ati non gustano molto :p

gesù gesù :cool:

PiloZ
05-07-2004, 10:56
io quasi quasi mando una mail a striscia la notizia :rotfl: :sofico:

linuxx
05-07-2004, 11:27
Io da completo niubbio nn avevo avuto particolari problemi ad installare i driver ati per una 8500 su di una gentoo... Peccato per le prestazione che non erano davvero all'altezza.

Infatti ora mi sono preso una 4200, va benissimo! :)

PiloZ
05-07-2004, 11:50
sulle schede fino alla 9200 mi pare di aver capito che per lo meno si può fare uso del driver DRI, cosa che con schede dalla 9500 in su non è possibile... se poi ci aggiungi in accoppiata un kernel 2.6.x e un chipset nforce si salvi chi può :D :O

bob_marley_23
05-07-2004, 11:56
ahem... un bel casino..cmq sia il prblema è che

Section "DRI"
Mode 0666
EndSection

ci sta ...quindi nn capisco cosa cavolo devo fare x questo direct rendering:yes

cmq ribadisco che
/lib/modules/fglrx/build_mod ---> make.sh
/lib/modules/fglrx/ make_install.sh

mi davano errore se li lanciavo

cmq sia quello che ho fatto è stato questo:
ho messo i sorgenti del kernel con doppio click sull' rpm da voi segnalatomi...
poi ho lanciato rpm -Uh --force fglrx-4.3.0-3.9.0.i386.rpm

e mi ha installato i drivers...

ora che devo fare??:confused: :muro:

AnonimoVeneziano
05-07-2004, 15:36
Originariamente inviato da CONFITEOR
e mi sapresti dire perchè ATI o Linux(di chi la colpa?) non risolvono il problema?

Non mi pare una buona cosa quando un SO è legato a un'hardware specifico, allora chi vuole ATI sarebbe legato a winsozz, e di converso nvidia avrebbe un'inaccettabile rendita di posizione in linux.


La colpa è tutta di ati che

1) non rilascia specifiche per drivers Open

2) Non rilascia drivers decenti

Anche NVIDIA manca nella prima , ma almeno ha una buona seconda . Ati ai tempi della 8500 almeno rilasciava qualche specifica tecnica in modo da creare un driver Open semidecente , ma adesso che ha preso la leadership non ci pensa nemmeno :mad:

Alla fine sono tutti uguali , ATI, NVIDIA , quando prendono il potere diventano tutti uguali .

Perchè ATI non risolve il problema? Perchè ad ATI non interessa il mercato linux , chi ha una ATI si tiene il 2D , punto e stop , oppure tenta di installare i loro scadenti drivers .

NVIDIA la sua posizione dominante sul mercato Linux se la merita, semplicemente perchè il suo avversario non riesce a contrastarla non perchè non riesce , ma perchè se ne sbatte totalmente

Ciao

PiloZ
05-07-2004, 16:39
ecco così ti voglio :yeah:

bob_marley_23
05-07-2004, 16:41
:muro: :muro: :muro:

PiloZ
05-07-2004, 16:51
ora appunto visto che hai installato l'rpm devi compilarli e dunque:
cd /lib/modules/fglrx/build_mod
chmod 771 make.sh
./make.sh
cd ..
./make_install.sh

postare gli errori sarebbe l'ideale.:)

Albi89
05-07-2004, 17:17
dopo il cd.. devi fare anche

chmod 771 make_install.sh

e poi

./make_install.sh

^_^

bob_marley_23
05-07-2004, 17:52
Grazie!:D

allora ecco ciò che mi è apparso:

[root@localhost build_mod]# chmod 771 make.sh
[root@localhost build_mod]# ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
[root@localhost build_mod]# cd..
[root@localhost fglrx]# chmod 771 make_install.sh
[root@localhost fglrx]# ./make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
fglrx: Device or resource busy
done.
[root@localhost fglrx]#

ed ora?

bob_marley_23
05-07-2004, 18:12
allora mi sono loggato da superuser con "su"

e poi ho digitato il comando glxinfo | ...

e mi ha dato directrendering su yes

solo che nn ho capito dove si trova il pannello di controllo ATI e, cosa + importante ho strani blocchi di sistema.. ogni tanto si impalla e sono costretto a resettare..

poi al boot quando mi dice premere S per eseguire controllo, io lo premo..ma è come se nn facesse nulla...

non è che dipende dall' utilizzo del agp esterno o interno? (tra l' altro nn ho capito molto di questo aspetto)...cmq sia vi posto anche il mio Xf86config-4:

# File: XF86Config-4
# File generated by fglrxconfig (C) ATI Research, a substitute for xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
# Group 100 # users
# Mode 0660
EndSection

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

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

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

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

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86
# Option "XkbRules" "xfree86"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"

Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "it"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

# Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 68.7
VertRefresh 60 - 85
Option "DPMS"

# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# installed.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000800"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:2:0:0" # vendor=1002, device=4e49
Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###




:mc: :mc:

bob_marley_23
06-07-2004, 00:44
upp...

NA01
06-07-2004, 08:11
non è che hai i dri installati?
lsmod?

cia

bob_marley_23
06-07-2004, 09:54
:confused: :confused: :confused:

bob_marley_23
07-07-2004, 10:50
scusatemi ma il pannello di controllo come si lancia?:confused:

Albi89
07-07-2004, 10:53
dai un lsmod da root e poi posta quello che ti esce ^^

bob_marley_23
07-07-2004, 12:42
Ecco qua:



[root@localhost bob]# lsmod
Module Size Used by Tainted: P
udf 88736 0 (autoclean)
lp 8160 0 (autoclean) (unused)
parport 34472 0 (autoclean) [lp]
fglrx 198216 186
agpgart 48292 22 (autoclean)
snd-seq-oss 32000 0
snd-seq-midi-event 6080 0 [snd-seq-oss]
snd-seq 42544 2 [snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 43652 0
snd-mixer-oss 14200 0 [snd-pcm-oss]
snd-intel8x0 22020 2
snd-pcm 79588 0 [snd-pcm-oss snd-intel8x0]
snd-timer 18436 0 [snd-seq snd-pcm]
snd-ac97-codec 45720 0 [snd-intel8x0]
snd-mpu401-uart 4704 0 [snd-intel8x0]
snd-rawmidi 17760 0 [snd-mpu401-uart]
snd-seq-device 5832 0 [snd-seq-oss snd-seq snd-rawmidi]
snd-page-alloc 9044 0 [snd-intel8x0 snd-pcm]
snd 41380 2 [snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 6340 0 [snd]
ppp_synctty 7520 1 (autoclean)
ppp_generic 24292 3 (autoclean) [ppp_synctty]
slhc 6564 0 (autoclean) [ppp_generic]
n_hdlc 7616 1 (autoclean)
af_packet 14856 0 (autoclean)
sr_mod 19384 0 (autoclean)
floppy 55932 0
usbmouse 2936 0 (unused)
ohci1394 27696 0 (unused)
ieee1394 201284 0 [ohci1394]
mousedev 5428 1
keybdev 2756 0 (unused)
hid 24164 0 (unused)
input 5696 0 [usbmouse mousedev keybdev hid]
nls_cp850 4284 1 (autoclean)
vfat 11820 1 (autoclean)
fat 38040 0 (autoclean) [vfat]
nls_iso8859-15 4060 2 (autoclean)
ntfs 77292 1 (autoclean)
supermount 84032 4 (autoclean)
ide-cd 33956 0
cdrom 32608 0 [sr_mod ide-cd]
ide-scsi 11376 0
scsi_mod 106176 2 [sr_mod ide-scsi]
printer 8576 0
ehci-hcd 19212 0 (unused)
usb-ohci 21080 0 (unused)
usbcore 74988 2 [usbmouse hid printer ehci-hcd usb-ohci]
rtc 9004 0 (autoclean)
ext3 60048 2
jbd 39264 2 [ext3]

bob_marley_23
08-07-2004, 00:52
uppete...

NA01
08-07-2004, 07:30
sembra essere già caricato....

bob_marley_23
08-07-2004, 09:52
davvero? e come lo lancio il pannello di controllo ati?:confused:

Albi89
08-07-2004, 13:09
aspeta... nn vedo il modulo per l'agp del tuo chipset (tipo intel-agp) che però a me si è caricato automaticamente insieme con il modulo agpgart... che chipset hai?

bob_marley_23
08-07-2004, 15:17
Nforce2 Ultra

ho la MB a7n8x Deluxe rev 2.0...

PS
x provare a vedere se non si bloccava +, ho eliminato la
voce acpi=ht nel lilo.conf...

ho fatto bene?