PDA

View Full Version : Ati su Debian etch 4.0r6


Francesco_if
01-02-2009, 15:40
Ciao a tutti,
ho Debian etch su un vecchio PIII 1GHz, 650 Mb di mem, hd 60gb ide, scheda video Ati Radeon 9200 se (R280) così viene rilevata da Debian, sk rete e Creative sound blaster Live!
Il tutto funziona alla grande senza intoppi anche con 3-4 applicazioni pesanti che girano contemporaneamente e non ho problemi con il 2D. Volevo installare Compiz+Beryl, ma non ha mai funzionato. Ho letto un sacco di guide al riguardo, ma in ogni installazione di drive proprietari o open source, qualcosa andava storto
qualcuno è riuscito ad installare un qualsia driver ufficiale o open source per il 3D Ati?
Potreste indicarmi una guida "sicura"?

Aiutatemi sono alla frutta!

Grazie

Gimli[2BV!2B]
01-02-2009, 17:15
Hai provato i driver radeon di xorg?

Poco tempo fa ho configurato una 9600SE (RV350) e con i radeon funziona *a meraviglia* con il composite di Kde4.

Stando alla documentazione anche la serie 9200 è stabile e performante anche nella parte DRI(3D) (http://dri.freedesktop.org/wiki/ATIRadeon#head-5ef8508ce5c9cc711eba4118f52f2c9feb0ab064), e, se non ricordo male, è stata anche una delle prime supportata per bene.

Per utilizzare i radeon basta avere installato xserver-xorg-video-radeon e scrivere radeon nell'apposita sezione xorg.conf.
Questa è la mia Section "Device":
Section "Device"
Identifier "Radeon 9600SE"
Driver "radeon"
BusID "PCI:1:0:0"
Option "EXAVSync" "true" #VSync: evita lo sfarfallio
Option "EnablePageFlip" "on" #Accelera il 3D ma in alcuni casi è INSTABILE
EndSection

Francesco_if
01-02-2009, 21:12
Ho provato come hai detto tu, sia radeon che ati, il risultato è lo stesso, non carica X

questo è il mio file org.conf........spero di non aver incasinato tutto installando e disiinstallando più volte i drivers Ati sia quelli proprietari che quelli open source

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "ATI Technologies Inc RV280 [Radeon 9200 SE]"
Driver "vesa"
BusID "PCI:1:0:0"
EndSection

Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RV280 [Radeon 9200 SE]"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "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







Grazie :)

Francesco_if
01-02-2009, 21:12
...parte solo in vesa

Gimli[2BV!2B]
01-02-2009, 21:29
Disinstalla gli Ati (http://adinugro.blogspot.com/2007/08/uninstall-linux-ati-driver.html): esegui da root lo script /usr/share/fglrx/fglrx-uninstall.sh
Assicurati di avere installato xserver-xorg-video-radeon
Reinstalla libgl1-mesa-glx e libgl1-mesa-dri
Modifica la section in questa maniera:
Section "Device"
Identifier "ATI Technologies Inc RV280 [Radeon 9200 SE]"
Driver "radeon"
BusID "PCI:1:0:0"
# Option "EXAVSync" "true" #VSync: evita lo sfarfallio
# Option "EnablePageFlip" "on" #Accelera il 3D ma in alcuni casi è INSTABILE
EndSection


Per la reinstallazione dei pacchetti glx e dri (parte 3D di xorg):

se usi Synaptic, tasto Dx sui pacchetti, "Marca per la reinstallazione"
da linea di comando (da root) apt-get install --reinstall libgl1-mesa-glx libgl1-mesa-dri

Francesco_if
02-02-2009, 17:00
ho disinstallato gli ati, le 2 cartelle da te indicate non esistono share/ati e share/fglrx. Da synaptic non c'è marcato nessun pacchetto fglrx, e non c'è xserver-xorg-video-radeon...come lo installo? Con apt?
Grazie e scusa per la poca praticità, ma ho iniziato da 2 settimane.

Francesco_if
02-02-2009, 18:06
Credo di aver installato bene i driver se il risultato è questo:

Debian:/home/francesco# glxinfo | grep rendering
direct rendering: Yes
Debian:/home/francesco#

a questo punto posso utilizzare Compiz-Fusion?


Grazie delle dritte!!!!!!!!!!:)

Gimli[2BV!2B]
02-02-2009, 19:45
Ok, dovresti esserci.
Se il percorso che ho indicato per disinstallare i driver non ce l'hai mi vien da dire che hai provato i driver dei repository, non quelli scaricati dal sito Ati, vero? O han spostato l'uninstall??

Cavolo, ho visto ora che l'xserver-xorg-video-radeon non c'era ancora in Etch! Hai usato i repository testing?

Francesco_if
03-02-2009, 11:45
xserver-xorg-video-radeon l'ho messo dentro con apt-get seguendo anche la disussione che c'è su debianclan. Il rendering me lo da yes, i drivers sono quelli "radeon" in xorg.conf, ora vorrei seguire quello che dice debian clan, dimmi tu se è corretto

http://www.debianclan.org/index.php?option=com_content&task=view&id=52&Itemid=38

Francesco_if
03-02-2009, 21:28
allora compiz funziona...benino, anche in shell mi da questo errore:

Debian:/home/francesco# compiz --help
libGL warning: 3D driver claims to not support visual 0x4b
Usage: /usr/bin/compiz.real [--display DISPLAY] [--bg-image PNG] [--refresh-rate RATE]
[--fast-filter] [--indirect-rendering] [--strict-binding] [--test-mode]
[--replace] [--sm-disable] [--sm-client-id ID] [--version]
[--use-cow] [--help] [PLUGIN]...
Debian:/home/francesco#


e questo è org.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"

Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "bitmap"
Load "int10"
Load "vbe"

EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "Device"
Identifier "ATI Technologies Inc RV280 [Radeon 9200 SE]"
Driver "radeon"
BusID "PCI:1:0:0"
# Option "EXAVSync" "true" #VSync: evita lo sfarfallio
# Option "EnablePageFlip" "on" #Accelera il 3D ma in alcuni casi è INSTABILE
Option "XAANoOffscreenPixmaps" "true"
Option "RenderAccel" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "AccelMethod" "XAA"
Option "AGPMode" "8"
Option "GARTSize" "64"
Option "EnablePageFlip" "1"
Option "ColorTiling" "1"

EndSection


Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
HorizSync 30-81
VertRefresh 56-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc RV280 [Radeon 9200 SE]"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection





SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"

Option "Composite" "Enable"
Option "RENDER" "true"
Option "DAMAGE" "true"

EndSection



c'è da modificare qualcosa?

Gimli[2BV!2B]
03-02-2009, 22:51
La guida Debianclan non è iper-recente ma è ancora attuale su Etch.
Alla fine ho visto che i radeon erano integrati nel pacchetto ati.

Sull'errore che ricevi, non è un vero errore, solo un warning abbastanza comune (http://www.google.com/search?q=%223D+driver+claims+to+not+support+visual%22&ie=utf-8&oe=utf-8&aq=t&rls=org.debian:it:unofficial&client=iceweasel-a) riguardo ad una lacuna del driver; potrebbe pregiudicare in parte le prestazioni, ma salvo aggiornamenti al codice del driver non è possibile evitarlo.

Un solo consiglio: vacci piano con la smania di buttare tutte le opzioni che vedi in giro, potrebbero essere controproducenti oltre a ridurre la leggibilità del file di configurazione.

Per esempio
Option "RenderAccel" "true"
Option "AccelMethod" "XAA"
Option "ColorTiling" "1"
sono i valori di default del driver. (http://linux.die.net/man/4/radeon)

Mentre non mi risulta che queste opzioni riguardino i radeon:
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Se non ricordo male sono spesso consigliati per gli fglrx.

Se sei curioso puoi dare una controllata a /var/log/Xorg.0.log
Di solito è un log piuttosto verboso, per filtrare solo warning ed errori puoi usare grep -E \[\(\]EE\[\)\]\|\[\(\]WW\[\)\] /var/log/Xorg.0.log

Francesco_if
04-02-2009, 21:26
non so se i due file generati siano di Beryl (che avevo provato ad installare), comunque li ho "remmati" con #, compiz non mi fa vedere le barre degli strumenti delle finestre quindi così è praticamente inutile averlo solo per il cubo rotante. Comunque grazie per i preziosi consigli, adesso conosco un po di più il file xorg!
Per conoscere a fondo Linux penso che devi essere per forza curioso, tu hai letto dei libri particolari oltre allo "smanettamento" quotidiano?

Gimli[2BV!2B]
04-02-2009, 22:13
Mi son perso quando parli di file... volevi dire che hai provato a commentare le righe?

Riguardo ai libri, non ricordo di aver letto qualcosa di particolare.
Se un argomento mi serve o mi interessa lo approfondisco.
Se voglio ottenere una funzionalità oppure qualcosa non funziona come desidero, consulto la documentazione ufficiale, faccio prove, cerco guide, invoco soavemente divinità... fino a che non raggiungo o mi avvicino il più possibile al mio obiettivo.
Alla fine man, Google e la mia curiosità formano il mio libro preferito su GNU/Linux.

Francesco_if
05-02-2009, 14:40
si volevo dire che ho commentato le righe.
Ok grazie ancora ;)