|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
problemi con framebuffer con ati rage 128 su rh 7.3
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? |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
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)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
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?
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Inserisci, tra i parametri del kernel, l'opzione vga=normal.
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
intendi in etc/lilo.conf sotto a read-only? ora ho la riga vga = 0x317... la cambio in vga = normal?
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Sì, poi ricordati di rieseguire "lilo" per rendere effettiva la modifica.
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
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 |
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
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
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#10 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
ah!
![]() 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 |
![]() |
![]() |
![]() |
#11 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
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)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#12 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
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 |
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
... 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)
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
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
![]() |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Oct 2002
Città: bologna
Messaggi: 541
|
ho risolto!!!
![]() 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! |
![]() |
![]() |
![]() |
#16 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
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?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 20:33.