Problema installazione driver ATI.

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

ekxius ha scritto:io ho una mobility radeon 9700 con i driver open che funzionano alla perfezione e il direct rendering abilitato, quindi vai tranquillo 8)
Grazie, ekxius, modificherò l'xorg.conf seguendo le tue indicazioni.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

e di che? ;)

posta il comando glxgears una volta configurata la scheda e la section device della tua scheda video, così vediamo di trovare una configurazione adeguata, io con alcune opzioni in xorg.conf sono riuscito ad incrementare i fps

ciao

ps: ma la tua è una radeon o una mobility radeon?

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

ekxius ha scritto:ps: ma la tua è una radeon o una mobility radeon?
Una mobility radeon.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

johnny_Squartacinghiali
Linux 0.x
Linux 0.x
Messaggi: 11
Iscritto il: sab 30 giu 2007, 17:32

Messaggio da johnny_Squartacinghiali »

Beh, scusate raga' ma sono proprio nella me**a assoluta e non posso più usare slackware temporaneamente :shock: :shock: :shock:

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

ekxius ha scritto:e di che? ;)

posta il comando glxgears una volta configurata la scheda e la section device della tua scheda video, così vediamo di trovare una configurazione adeguata, io con alcune opzioni in xorg.conf sono riuscito ad incrementare i fps [CUT]
Ekxius, ho seguito alla lettera le tue indicazioni contenute nella prima pagina di questo thread, ma c'è qualcosa che non va.
Questo è il messaggio che mi dà X all'avvio:

Codice: Seleziona tutto

Parse error on line 417 of section Device in file /etc/X11/xorg.conf
        "Section" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
Posto anche la sezione incriminta dell'xorg.conf:

Codice: Seleziona tutto

Section "Screen" (riga 417)
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
Non penso si tratti di nulla di grave, ma di sicuro la sezione "Screen" dell'xorg.conf dovrà essere ritoccata.
Any ideas?

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

posta questo comando, così dò un'occhiata, dovrebbe solamente essere un errore di sintassi...

Codice: Seleziona tutto

grep -v "#" /etc/X11/xorg.conf
ekxius

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

ekxius ha scritto:posta questo comando, così dò un'occhiata, dovrebbe solamente essere un errore di sintassi...

Codice: Seleziona tutto

grep -v "#" /etc/X11/xorg.conf
ekxius
Questo è l'output:

Codice: Seleziona tutto

Section "Module"

    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "freetype"

    Load       "glx"
    Load       "dri"

EndSection


Section "Files"


    RgbPath	"/usr/share/X11/rgb"

    FontPath 	"/usr/share/fonts/misc"
    FontPath 	"/usr/share/fonts/OTF"
    FontPath 	"/usr/share/fonts/TTF"
    FontPath 	"/usr/share/fonts/Type1"
    FontPath 	"/usr/share/fonts/Speedo"
    FontPath 	"/usr/share/fonts/75dpi:unscaled"
    FontPath 	"/usr/share/fonts/100dpi:unscaled"
    FontPath 	"/usr/share/fonts/cyrillic"
    FontPath 	"/usr/local/share/fonts"
EndSection


Section "ServerFlags"


EndSection



Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

    Option     "XkbLayout"     "it"



EndSection



Section "InputDevice"


    Identifier	"Mouse1"
    Driver	"mouse"



    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping" "4 5"
Option "Emulate 3Buttons" "no"


    Option "Device"      "/dev/mouse"

EndSection


Section "Monitor"

    Identifier  "My Monitor"


    HorizSync   31.5 - 50.0



    VertRefresh 40-90

EndSection

Section "Device"
    Driver  "radeon"
    Option  "DRI"            "true"
    Option  "TripleBuffer"   "true"
    Option  "RenderAccel"    "true" 


Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"


   DefaultDepth 24


    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"
    Option   "AIGLX"     "true"


    Screen "Screen 1"


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

EndSection


Option      "RENDER"    "enable"

EndSection


Mode 0666

EndSection
Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

1) Dentro la

Codice: Seleziona tutto

Section "Device"
manca la riga

Codice: Seleziona tutto

Identifier   "VESA Framebuffer"
E' un nome simbolico, lo puoi anche cambiare, l'importante è che coincida con quello della Section "Screen" -> Device
non ne sono sicuro, ma anche senza questo dovrebbe funzionare comunque.

...EDIT...

2) Prima di

Codice: Seleziona tutto

Option "RENDER"  "enable"
manca:

Codice: Seleziona tutto

Section "Extensions"
3) Prima di

Codice: Seleziona tutto

Mode 0666
manca:

Codice: Seleziona tutto

Section "DRI"
Dovrebbe essere tutto.
Fammi spere.

ekxius
Ultima modifica di ekxius il sab 28 lug 2007, 16:46, modificato 1 volta in totale.

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

No, Ekxius, la situazione non è cambiata di granché.
Questo è il log di X:

Codice: Seleziona tutto

Parse error on line 431 of section Screen in file /etc/X11/xorg.conf
        "DefaultDepth" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
Le righe incriminate di xorg.conf sono queste:

Codice: Seleziona tutto

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

EndSection

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
#   DefaultDepth 16
    DefaultDepth 24 ----- riga 431
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection
Da ultimo, questo è l'output di

Codice: Seleziona tutto

grep -v "#" /etc/X11/xorg.conf
:

Codice: Seleziona tutto

Section "Module"

SubSection  "extmod"
EndSubSection

    Load        "type1"
    Load        "freetype"

    Load       "glx"
    Load       "dri"

EndSection


Section "Files"


    RgbPath     "/usr/share/X11/rgb"

    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/OTF"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/Speedo"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/local/share/fonts"
EndSection


Section "ServerFlags"


EndSection



Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

   Option     "XkbLayout"     "it"

EndSection



Section "InputDevice"


    Identifier  "Mouse1"
    Driver      "mouse"

    Option "Protocol"    "IMPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate 3Buttons" "no"

    Option "Device"      "/dev/mouse"

EndSection

Section "Monitor"

    Identifier  "My Monitor"


    HorizSync   31.5 - 50.0

    VertRefresh 40-90

EndSection

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver  "radeon"
    Option  "DRI"            "true"
    Option  "TripleBuffer"   "true"
    Option  "RenderAccel"    "true"

EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

EndSection


   DefaultDepth 24


    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"
    Option   "AIGLX"     "true"


    Screen "Screen 1"


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

EndSection


Section "Extensions"

Option "RENDER" "enable"

EndSection


Section "DRI"

Mode 0666

EndSection
Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

scusa ho sbagliato io :oops:

prima di DefaultDepth devi togliere la

EndSection, perchè fa ancora parte della Section "Screen"

abbi pazienza, sono proprio fuso :D

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Problema risolto, Ekxius, grazie per la pazienza che mi hai dimostrato! :-)
C'è una cosa però che non mi convince ancora: dopo aver cambiato la configurazione dell'xorg.conf ho notato (cosa non nuova, l'avevo sperimentata anche installando i driver proprietari in passato) che la dimensione dei font di sistema (io uso il Bitstream Vers Sans) si rimpicciolisce notevolmente, con un effetto non proprio gradevole, almeno IMHO.
Hai qualche suggerimento anche per questo?

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

bene sono contento che hai risolto ;)

per la storia dei fonts è un problema di molti. penso che cambi da font a font, ad esempio quelli a spaziatura fissa o variabile.

sinceramente non so da cosa dipenda perchè non mi è mai capitato e non mi sono posto il problema :D

comunque io con il driver "radeon" non ho problemi di fonts.
il consiglio che ti posso dare è di ricompilarti il pacchetto freetype abilitando il supporto per l'antialiasing dei caratteri come ho fatto io, dato che di defaults è disabilitato.

ekxius

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Ekxius, ho appena consultato la tua (ottima) guida e stavo verificando che l'installazione dei driver open fosse andata a buon fine.
Ora, l'output di glxinfo | grep OpenGL mi restituisce i valori che tu indichi nell'how-to, ma se do un:

Codice: Seleziona tutto

glxinfo | grep direct rendering
ottengo un:

Codice: Seleziona tutto

grep: rendering: No such file or directory
Ho già controllato il log di X e non risulta nulla di strano.
Da cosa potrebbe dipendere questo messaggio d'errore?

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

Burroughs ha scritto:Ekxius, ho appena consultato la tua (ottima) guida e stavo verificando che l'installazione dei driver open fosse andata a buon fine.
Ora, l'output di glxinfo | grep OpenGL mi restituisce i valori che tu indichi nell'how-to, ma se do un:

Codice: Seleziona tutto

glxinfo | grep direct rendering
ottengo un:

Codice: Seleziona tutto

grep: rendering: No such file or directory
Ho già controllato il log di X e non risulta nulla di strano.
Da cosa potrebbe dipendere questo messaggio d'errore?

Burroughs.
allora, ti ringrazio per aver consultato la mia guida, così mi hai aiutato a trovare un errore. in effetti quel comando presentava un imperfezione che ho corretto. ora dovrebbe essere a posto.

ciao.

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

ekxius ha scritto:allora, ti ringrazio per aver consultato la mia guida, così mi hai aiutato a trovare un errore. in effetti quel comando presentava un imperfezione che ho corretto. ora dovrebbe essere a posto.

ciao.
Ok, adesso funziona tutto! ;-)
Complimenti per la guida; a proposito, hai mai pensato di renderla disponibile anche in PDF?
Ciao e ancora grazie!

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Rispondi