Entra

View Full Version : problemi con framebuffer con ati rage 128 su rh 7.3


xfulviox
15-12-2002, 21:18
ho seguito la seguente howto per settare il framebuffer:
http://www.linuxhelp.net/guides/atirage/
ma nonostante abbia seguito tutti i passi (sperando siano quelli corretti) ho notevoli problemi nell'esecuzione di file che richiedono grossi sforzi da parte della scheda video: xine blocca X quando passo in modalità full screen (schermo nero con led lampeggiante!) e idem qualsiasi gioco emulato con wine, compresi vecchi "must" cga anni 80...
come posso fare?

ilsensine
15-12-2002, 21:22
Il layer framebuffer dei kernel 2.4.x è sufficientemente br0ken da dare problemi con molti (quasi tutti) i driver, tant'è che nel 2.5 è stata fatta una riscrittura radicale.
Se usi X non hai particolari necessità del framebuffer; disattivalo o usa il fb vesa (che ancora pare funzionare decentemente, per ora...nel kernel 2.4.18 hanno "rotto" anche il fb tdfx, per la gioia della mia voodoo3)

dOnDa
15-12-2002, 22:10
Confermo!... usa il framebuffer vesa!

xfulviox
18-12-2002, 10:41
mmmm... siccome uso X, come faccio a disattivare il framebuffer? X mi si bloccava anche prima che tentassi in qualche modo di settare ul framebuffer. come faccio a sapere se stia venendo utilizzato o meno?

ilsensine
18-12-2002, 11:03
Inserisci, tra i parametri del kernel, l'opzione vga=normal.

xfulviox
18-12-2002, 11:40
intendi in etc/lilo.conf sotto a read-only? ora ho la riga vga = 0x317... la cambio in vga = normal?

ilsensine
18-12-2002, 11:47
Sì, poi ricordati di rieseguire "lilo" per rendere effettiva la modifica.

xfulviox
19-12-2002, 08:17
uff, niente da fare... X continua a bloccarsi irrimediabilmente, anche solo se passo una finestra sopra alla console in cui xine sta eseguendo il video. lo stesso mi accade con mplayer... vi incollo qui sotto la sezione screen del mio file XF86Config, sperando riusciate a trovare una soluzione al mio problema o per lo meno a instradarmi verso di essa.. purtroppo le varie soluzioni che ho trovato sul web mi conducono allo stesso risultato. ah! con xine player uso il driver Xv.

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

# The Colour SVGA server

Section "Screen"
Driver "FBDev" # è normale che qui ci siano due driver e due device?
Driver "svga"
Device "Generic VGA"
Device "ATI|Rage 128 RF/SG AGP"
Monitor "570V TFT"
Subsection "Display"
Depth 16
Modes (null)
ViewPort 0 0
EndSubsection
EndSection

# The 16-color VGA server

#Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "570V TFT"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The Mono server

#Section "Screen"
Driver "vga2"
Device "Generic VGA"
Monitor "570V TFT"
Subsection "Display"
Modes "640x480" "800x600"
ViewPort 0 0
EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32, Mach64
# I128, and S3V)
#Section "Screen"
Driver "accel"
Device "ATI|Rage 128 RF/SG AGP"
Monitor "570V TFT"
DefaultColorDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection

ilsensine
19-12-2002, 11:30
Quello è il file di configurazione per l'xfree 3.3! Per l'xfree 4 (che SPERO vivamente sia quello che usi) devi modificare XF86Config-4.
Per controllare la tua versione di xfree, esegui
X -version

xfulviox
19-12-2002, 13:55
ah! :D

ecco allora il mio XF86Config-4... dimmi se devo apportare qualche modifica!

# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "record" # X event recorder
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "570V TFT"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30 - 61
VertRefresh 50 - 75
Option "dpms"
EndSection

Section "Device"
Identifier "ATI|Rage 128 RF/SG AGP"
Driver "r128"
BoardName "Unknown"
EndSection

Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection

Section "Screen"
Identifier "Screen0"
Device "ATI|Rage 128 RF/SG AGP"
Monitor "570V TFT"
DefaultDepth 16
Subsection "Display"
Depth 16
Modes "1024x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

ilsensine
19-12-2002, 15:56
Mi sembra sostanzialmente corretto, sicuro che X -version ti riporta la versione 4? ("X" è solo un link e può puntare all'xfree 4 o 3.3.6)

xfulviox
19-12-2002, 16:15
si, guarda qui:

[root@localhost xfulviox]# X -version

XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.17-0.13smp i686 [ELF]
Build Host: daffy.perf.redhat.com

Module Loader present

ilsensine
19-12-2002, 16:43
... se lanci soltanto X che errore ti da? (nota che su alcuni sistemi gli errori vengono ridiretti su un file di log; ad es. sulla Mandrake in /var/log/XFree86.0.log)

xfulviox
19-12-2002, 16:57
ecco, appunto... cerca il 3d aperto da me intitolato "problemi con startx su redhat 7.3" o qualcosa di simile.... nel frattempo cerco il file di log :)

xfulviox
19-12-2002, 19:04
ho risolto!!! :D
mi è bastato installare i driver per la mia ati rage 128 che ho trovato su www.linuxvideo.org!
per chi ne avesse bisogno, i driver si trovano al seguente indirizzo
http://gatos.sourceforge.net/ati.2.php

tutto molto semplice ed edificante come al solito!

ilsensine
19-12-2002, 20:27
E' strano che i driver nativi di xfree non funzionano e i gatos sì...
Puoi fare una prova? Al posto del driver r128 (che ora credo hai sostituito con ati.2), puoi provare anche il driver ati?