|
|
Nvidia (geforce4 420 go) + Beryl + AiGLX
|
Il risultato è qualcosa che nei video si vede da tempo, ma che non pensavo mai di poter realizzare sul mio pc. Invece dopo 4 giorni di stress sono giunto al termine, ora ho una postazione Ubuntu Edgy + AiGLX + Nvidia + Beryl. Non pochi sono i problemi che ho incontrato, segue un report della mia esperienza.
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
Iniziamo a capire che scheda grafica abbiamo
$: lspci -v
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 420 Go] (rev a3) (prog-if 00 [VGA])
Subsystem: Toshiba America Info Systems Unknown device 0010
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 10
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at dc000000 (32-bit, prefetchable) [size=64M]
Memory at dbf80000 (32-bit, prefetchable) [size=512K]
[virtual] Expansion ROM at dbf00000 [disabled] [size=128K]
Installiamo i driver
Potete usare nvidia-glx che è un pacchetto precompilato con i driver nvidia
oppure
Potete scaricare l'installer ufficiale Nvidia dal sito www.Nvidia.com e compilarli a mano.
Appena scaricato il pacchetto nvidia-glx ho notato che si bloccava il sistema (freeze).
Ho pensato quindi di toglierli subito e di compilare a mano.
La distro in uso è Ubuntu.
Elimino eventuali conflitti
apt-get --purge remove nvidia-kernel-common
Pacchetti richiesti dall'installer dei driver nvidia
apt-get install build-essential
apt-get install linux-headers-$(uname -r)
apt-get install xserver-xorg-dev
sh NVIDIA-Linux-x86-1.0-versione-pkg1.run
Io ho usato l'installer per compilare i driver beta, ho quindi abilitato AiGLX in xorg.
Segue il mio file xorg.conf
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
#ATTIVO AIGLX
Option "AIGLX" "true"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
#IMPORTANTE: ELIMINATE DRI ed OPENGL
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
# /dev/input/event
# for USB
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/wacom" # Change to
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 28.0 - 51.0
VertRefresh 43.0 - 60.0
Option "DPMS"
#OPZIONI
#Option "ExactModeTimingsDVI"
#Option "ModeValidation" "NoEdidDFPMaxSizeCheck, NoVesaModes"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
BusID "PCI:1:0:0"
#IMPORTANTE: PASSA DA BLACK SCREEN A GOOD SCREEN :)
#cambiare 1024x768 con la dimensione che preferite
Option "TwinView"
Option "MetaModes" "NULL,1024x768"
#ALTRE OPZIONI
# Option "NoRenderExtension" "0"
# Option "DPMS" "true"
# Option "IgnoreEDID" "true"
# Option "IgnoreEdidFreqs" "true"
# Option "GenerateRTList" "0"
# Option "OverridePolarity" "1"
# Option "NvAGP" "1"
Option "XAANoOffscreenPixmaps" "1"
Option "AllowGLXWithComposite" "1"
Option "RenderAccel" "1"
Option "TripleBuffer" "true"
#Se avete un AGP rate fino a 8x mettete 8
Option "AGPMode" "4"
Option "AGPFastWrite" "True"
EndSection
Section "Screen"
Option "ExactModeTimingsDVI" "TRUE"
Option "ModeValidation" "DFP-0: NoEdidDFPMaxSizeCheck, NoVesa
Option "AddARGBGLXVisuals" "True"
#Option "DisableGLXRootClipping" "True"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "true"
Option "DAMAGE" "true"
EndSection
Purtroppo non è finita qui.
Questa scheda è un po' biricchina, e non ci fa dormire sereni!
Quindi nelle options di modprobe.d (in ubuntu è /etc/modprobe.d/options ) aggiungiamo
options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=4 NVreg_EnableAGPFW=1 NVreg_EnableAGPSBA=0
e se la vostra scheda supporta anche SBA, allora cambiate
NVreg_EnableAGPSBA=0
con
NVreg_EnableAGPSBA=1
a questo punto... dovreste stare come me e quindi avere Xorg configurato per bene.
Ulteriori informazioni:
$: cat /proc/driver/nvidia/cards/0
Model: GeForce4 420 Go
IRQ: 10
Video BIOS: 04.17.00.59.f9
Card Type: AGP
DMA Size: 32 bits
DMA Mask: 0xffffffff
$: cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x1f000114
$: cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: PCI device 8086:1a30
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000114
Lungo il mio percorso, durato 4 giorni, mi sono imbattuto in freeze, black screen, e vari esaurimenti...
ora però grazie a Beryl tutto si è risolto. Compiz continua a non funzionare, la barra di titolo infatti non me l'ha mai visualizzata. Con Beryl è tutta un'altra storia.
Il link per installare Beryl è:
http://maxgallina.it/?p=33
Spero di esservi stato un minimo di aiuto e di evitare ad altri notte insonne come le mie :)
Ciao.
Update I
|
NeCoSi
- 31 10 2006
- 16:37
Scrivi |
Commenti (14)
Letture: 22392
|
Commenti
o ho un toshiba satellite 2450-401 ho risolto aggiungendo
Option "UseDisplayDevice" "DFP"
a xorg.conf
sembra che il driver trovi un CRT fantasma collegato
se vuoi prova a collegare un monitor esterno a vedere se ti funziona Inviato da: x_fight il 4 4 2007 alle ore 17:12 | Top
Regolamento
GeekPlace.org è uno spazio aperto a vostra disposizione, è creato per confrontarsi direttamente. L'immediatezza della pubblicazione dei vostri commenti non permette filtri preventivi. L'utilità del sito dipende dalla vostra collaborazione per questo motivo voi siete i reali ed unici responsabili del contenuto e delle sue sorti.
Avvertenze da leggere prima di inviare un commento
Non sono consentiti:
- messaggi non inerenti al post
- messaggi pubblicitari
- messaggi con linguaggio offensivo
- messaggi che contengono turpiloquio
- messaggi con contenuto razzista o sessista
- messaggi il cui contenuto costituisce una violazione delle leggi italiane (istigazione a delinquere o alla violenza, diffamazione, ecc.)
Comunque il proprietario del blog potrà in qualsiasi momento, a suo insindacabile giudizio, cancellare i messaggi.
In ogni caso il gestore del sito non potrà essere ritenuto responsabile per eventuali messaggi lesivi di diritti di terzi.
Inserisci il tuo commento
|