Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

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.
Rispondi
Avatar utente
CampoLinux
Linux 0.x
Linux 0.x
Messaggi: 10
Iscritto il: sab 7 giu 2008, 16:42
Slackware: 12.1
Località: Milano

Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da CampoLinux »

Ciao a tutti
da oggi sto combattendo con la 12.1 e non riesco a configurare la mia vecchia scheda Radeon 9600 sul monitor HP w1907v (16/9), definizione 1400x900.

Il monitor rimane ai canonici 1024x768 e l'installazione dei driver ATI scaricati dal sito, non portano a nulla di buono pur ritoccando il file xorg.conf.

Il log dell'installazione dei driver (ati-driver-installer-8-5-x86.x86_64.run) /usr/share/ati/fglrx-install.log è di seguito:


[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
Assuming default VMAP API
Assuming default munmap API
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:889: warning: function declaration isn't a prototype
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_pci_enable_device_bars':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1684: warning: passing argument 1 of 'pci_read_config_word' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1696: warning: passing argument 1 of 'pci_write_config_word' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__che_check_pci':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2126: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__che_pci_find_slot':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3048: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493)
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.




Qualcuno saprebbe dirmi cosa/come dovrei procedere ?

La configurazione della mia macchina è questa:
kernel 2.6.24.5-smp
scheda video ATI Radeon 9600
Monitor HP w1907v

Grazie dell'attenzione
Happy Slackware!

Avatar utente
murdock
Linux 2.x
Linux 2.x
Messaggi: 477
Iscritto il: ven 25 mag 2007, 12:58
Slackware: 64 14.1
Kernel: 3.18.3
Desktop: KDE 4.14.3
Contatta:

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da murdock »

Prova da root a lanciare:

Codice: Seleziona tutto

aticonfig --initial --input=/etc/X11/xorg.conf
e

Codice: Seleziona tutto

aticonfig --dtop=horizontal
Altrimenti vai a modificare le "Modes" in xorg.conf, aggiungendo 1400x900 all'inizio, per ogni depth (caricando il driver fglrx nell'apposita sezione).

Saluti,
MuRdOcK

Avatar utente
CampoLinux
Linux 0.x
Linux 0.x
Messaggi: 10
Iscritto il: sab 7 giu 2008, 16:42
Slackware: 12.1
Località: Milano

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da CampoLinux »

già fatto ma con lo startx va i crash :-(

Avatar utente
tigerwalk
Linux 3.x
Linux 3.x
Messaggi: 895
Iscritto il: lun 25 feb 2008, 22:08
Nome Cognome: Giuliano della Vecchia
Slackware: 13.37-14.2
Kernel: 3.10.17-tiger / 4.4.88-smp
Desktop: kde4/xfce4
Località: Napoli

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da tigerwalk »

stando al log la compilazione fallisce e quindi il driver non funziona. Ad un certo punto ti viene consigliato di guardare il README lo hai fatto?

Avatar utente
Plaoo
Linux 3.x
Linux 3.x
Messaggi: 809
Iscritto il: gio 10 apr 2008, 17:40
Slackware: 14 64
Kernel: 3.2.9
Desktop: KDE
Località: Ittiri (SS)

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da Plaoo »

Come ho consigliato a pigeta in chat (penso che sia tu) utilizza i driver 8.4 i nuovi 8.5 hanno parecchi problemi
Il canale ufficiale di slacky.eu si trova sui server irc.syrolnet.org canale #slackware

Avatar utente
CampoLinux
Linux 0.x
Linux 0.x
Messaggi: 10
Iscritto il: sab 7 giu 2008, 16:42
Slackware: 12.1
Località: Milano

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da CampoLinux »

Ho scaricato i driver ati-driver-installer-8-4-x86.x86_64.run e nel file di log non compaiono più errori.
Passo a manopolare xorg.conf per aggiungere la risoluzione che mi interessa (1440x900) ma non la sente...resta a 1024x768.
# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# 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 "1400x900" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection


:?

Avatar utente
tigerwalk
Linux 3.x
Linux 3.x
Messaggi: 895
Iscritto il: lun 25 feb 2008, 22:08
Nome Cognome: Giuliano della Vecchia
Slackware: 13.37-14.2
Kernel: 3.10.17-tiger / 4.4.88-smp
Desktop: kde4/xfce4
Località: Napoli

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da tigerwalk »

edita anche le altre Depth aggiungendo la risoluzione desiderata in tutte le sezioni.

Akito
Linux 2.x
Linux 2.x
Messaggi: 285
Iscritto il: dom 3 set 2006, 13:12
Nome Cognome: Alessandro Bianconi
Slackware: 13.1
Desktop: XFCE
Località: Limite sull'Arno (FI)

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da Akito »

Le frequenze di refresh del monitor sono corrette??
Le hai prese dal manuale del monitor??


Riporta il contenuto dei files:
1- /etc/X11/xorg.conf
2- /var/log/X.0.log

Avatar utente
CampoLinux
Linux 0.x
Linux 0.x
Messaggi: 10
Iscritto il: sab 7 giu 2008, 16:42
Slackware: 12.1
Località: Milano

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da CampoLinux »

Ho installato i driver ati-driver-installer-8-4-x86.x86_64.run scaricati dal sito della ATI.
Il log è pulito.

Riporto invece i due file (xorg.conf ed Xorg.0.log).
xorg.conf:
# File generated by xf86config.

Section "Module"

Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"

EndSection

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

Section "Files"
RgbPath "/usr/share/X11/rgb"

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

EndSection

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

Section "ServerFlags"


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

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

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

EndSection


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

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

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


Option "Device" "/dev/mouse"
EndSection

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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

HorizSync 31.5 - 50.0
VertRefresh 40-90

EndSection


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

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "vesa"
#VideoRam 4096
# Insert Clocks lines here if appropriate
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 "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

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

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# 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 "1440x900@60" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

EndSection

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

Section "ServerLayout"

Identifier "Simple Layout"
Screen "Screen 1"

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

EndSection


Alcune righe dal log /var/log/Xorg.0.log:

395 (II) VESA(0): Supported additional Video Mode:
396 (II) VESA(0): clock: 106.5 MHz Image Size: 408 x 255 mm
397 (II) VESA(0): h_active: 1440 h_sync: 1520 h_sync_end 1672 h_blank_end 1904 h_border: 0
398 (II) VESA(0): v_active: 900 v_sync: 903 v_sync_end 909 v_blanking: 934 v_border: 0
399 (II) VESA(0): Ranges: V min: 50 V max: 76 Hz, H min: 24 H max: 83 kHz, PixClock max 140 MHz
400 (II) VESA(0): Monitor name: HP w1907




2113 (II) VESA(0): Total Memory: 1024 64KB banks (65536kB)
2114 (II) VESA(0): My Monitor: Using hsync range of 31.50-50.00 kHz
2115 (II) VESA(0): My Monitor: Using vrefresh range of 40.00-90.00 Hz
2116 (II) VESA(0): My Monitor: Using maximum pixel clock of 140.00 MHz
2117 (II) VESA(0): Not using mode "1440x900@60" (no mode of this name)
2118 (--) VESA(0): Virtual size is 1024x768 (pitch 1024)
2119 (**) VESA(0): *Built-in mode "1024x768"
2120 (**) VESA(0): *Built-in mode "800x600"
2121 (**) VESA(0): *Built-in mode "640x480"
2122 (**) VESA(0): Built-in mode "640x400"
2123 (**) VESA(0): Built-in mode "640x350"
2124 (**) VESA(0): Display dimensions: (410, 260) mm
2125 (**) VESA(0): DPI set to (63, 75)
2126 (II) VESA(0): Attempting to use 60Hz refresh for mode "1024x768" (118)
2127 (II) VESA(0): Attempting to use 72Hz refresh for mode "800x600" (115)
2128 (II) VESA(0): Attempting to use 85Hz refresh for mode "640x480" (112)
2129 (II) VESA(0): Attempting to use 85Hz refresh for mode "640x400" (185)
2130 (II) VESA(0): Attempting to use 85Hz refresh for mode "640x350" (1c5)
2131 (**) VESA(0): Using "Shadow Framebuffer"
2132 (II) Loading sub module "shadow"
2133 (II) LoadModule: "shadow"
2134 (II) Loading /usr/lib/xorg/modules//libshadow.so
2135 (II) Module shadow: vendor="X.Org Foundation"
2136 compiled for 1.4.0.90, module version = 1.1.0
2137 ABI class: X.Org ANSI C Emulation, version 0.3
2138 (II) Loading sub module "fb"
2139 (II) LoadModule: "fb"
2140 (II) Loading /usr/lib/xorg/modules//libfb.so
2141 (II) Module fb: vendor="X.Org Foundation"
2142 compiled for 1.4.0.90, module version = 1.0.0
2143 ABI class: X.Org ANSI C Emulation, version 0.3
2144 (==) Depth 24 pixmap format is 32 bpp
2145 (II) do I need RAC? No, I don't.
2146 (II) resource ranges after preInit:





Da quel che ho capito, i driver ATI sembrerebbero installati ma non lo sono.
Infatti:
Driver "vesa"
e non fglrx

...invece il monitor è stato riconosciuto:
400 (II) VESA(0): Monitor name: HP w1907

Grazie per i vostri interventi!

Avatar utente
danix
Staff
Staff
Messaggi: 3289
Iscritto il: ven 27 ott 2006, 19:32
Nome Cognome: Danilo M.
Slackware: 64 current
Kernel: 6.12.13 x86_64
Desktop: i3
Località: Verona (VR)
Contatta:

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da danix »

sostituisci i driver vesa con fglrx e vedi se parte, altrimenti prova i radeon, se non ho capito male la tua scheda ha un chipset RV350, quindi dovrebbe essere supportata... un'altra cosa, se hai impostato bene le frequenze di hsync e vrefresh, puoi togliere @60 dal mode per il 24 bit... X utilizzerà da solo la frequenza corretta...

PS
stavo per dimenticarmi, quando si copincollano dei files così lunghi è meglio metterli nel tag code, in questo modo eviti di dover diminuire il carattere e tutto è più leggibile (oltre ad evitare di rendere il post kilometrico)... ho dovuto zoomare varie volte per leggere tutto quello che hai riportato (ho qualche problemino di vista e non sono l'unico)... ;)


Ciau
danix
danix ha scritto:non sono molto presente sul forum, e di ciò mi scuso con tutti

Akito
Linux 2.x
Linux 2.x
Messaggi: 285
Iscritto il: dom 3 set 2006, 13:12
Nome Cognome: Alessandro Bianconi
Slackware: 13.1
Desktop: XFCE
Località: Limite sull'Arno (FI)

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da Akito »

Allora, alcune cose devono essere corrette.

Prima di tutto hai impostato frequenze di refresh errate.
Dal manuale del tuo monitor reperibile qui, User's Guide,
pagina 44 per la versione in lingua inglese e 46 per quella
in italiano, risulta

model w1907
...
Horizontal Frequency (analog mode): 24 to 83 kHz
Vertical Refresh Rate (analog mode): 50 to 76 Hz
...

Da notare che nel tuo X.0.log è scritto
Ranges: V min: 50 V max: 76 Hz, H min: 24 H max: 83 kHz, PixClock max 140 MHz
Secondo me è necessario controllare che l'installazione dei
driver proprietari sia andata a buon fine provando il driver
fglrx: per ora hai usato vesa. Poi puoi pensare alla risoluzione.

Il mio suggerimento consiste nel leggere questa ottima guida,
almeno la parte relativa ai driver proprietari (installazione e
configurazione di X). E' un riferimento utile.

Detto ciò credo sia utile procedere con un xorg.conf pulito e chiaro,
ecco perché ho provato a "sistemare" il tuo. Ho rimosso tutti i
commenti per accorciare il file.
Praticamente occorre:

1) fare un copia-incolla del testo che segue, salvare il tutto con
nome "xorg.conf", copiarlo in /etc/X11/ avendo cura di fare un
backup del tuo attuale xorg.conf;
2) provare la configurazione lanciando startx

Se il file è corretto e l'installazione dei driver proprietari è andata
a buon fine dovrebbe funzionare tutto (anche se non ancora con la
risoluzione che vuoi tu).

Premessa: con i driver ATI io ho pochissima esperienza (praticamente nulla),
quindi chiedo ad altri utenti più esperti di controllare l'xorg.conf.
Il file che segue è modellato sul mio xorg.conf, creato con xorgconfig,
Slackware 12.0.
# INIZIO xorg.conf
Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
Load "dri" # Accelerazione 3d
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/cyrillic/"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "ServerFlags"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it" # Per la tastiera italiana
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "0"
EndSection

Section "Monitor"
Identifier "Monitor_1"
VendorName "HP"
ModelName "w1907"
HorizSync 24-83 # Valori corretti presi dal manuale
VertRefresh 50-76
EndSection

Section "Device"
Identifier "ATI_1"
VendorName "ATI Technologies Inc."
BoardName "ATI Radeon 9600"
Driver "fglrx"
Screen 0
EndSection

Section "Screen"
Identifier "Screen_1"
Device "ATI_1"
Monitor "Monitor_1"
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
EndSection

Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen_1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection
# FINE xorg.conf

Avatar utente
CampoLinux
Linux 0.x
Linux 0.x
Messaggi: 10
Iscritto il: sab 7 giu 2008, 16:42
Slackware: 12.1
Località: Milano

Re: Slack 12.1: Driver ATI Radeon 9600 - Monitor HP 16/9

Messaggio da CampoLinux »

Ciao
ecco come ho risolto la questione:
ho lanciato il comando <<xorgsetup>> ponendo attenzione alle frequenze orizzontale/verticale del monitoring.

Lanciato lo startx, come per magia vedo una definizione decente (quella che cercavo: 1440x900).
I driver utilizzati non sono gli ATI (fglrx) ma radeon come si evince dal file di configurazione:
....
Section "Device"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon RV100 QY [Radeon 7000/VE]"
BusID "PCI:1:0:0"


Non sono felicissimo ma per ora va bene così.

Ringrazio tutti per i proficui consigli.

Happy Slackware!
CampoLinux \:D/

Rispondi