PDA

View Full Version : Accelerazione Hardware 3d su Knoppix


LuPoZzO
22-10-2004, 17:12
Ragazzi ho dei problemi nell'attivare l'accelerazione 3d su una knoppix. Ho una matrox g400 e un athlon 800. Vorrei far partire sul mio sistema quake3 ma mi da il suddetto errore :

Sys_Error: GLimp_Init() - could not load OpenGL subsystem

Girando per la rete ho trovato che la mia knoppix non ha l'accelerazione hardware attiva:

root@LuPoZzO:~# glxinfo | grep 'direct'

OpenGL renderer string: Mesa GLX Indirect
root@LuPoZzO:~#

Sono andato sul sito matrox e ho scaricato i driver aggiornati per linux. Dopo averli installati il sistema è diventato instabile graficamente. Era impossibile settare refresh decenti e risoluzioni sopra la 800x600. Ho disinstallato i driver del sito e rimesso quelli funzionanti. Nel readme stava scritto...

If direct rendering is disabled, it may be possible that the
module exists but isn't loading. From a console or terminal, type:

lsmod

This lists the modules loaded. If "agpgart" and "mga" are on the
list then DRI should be enabled. If they aren't listed, you can
load them manually using the following commands:

insmod agpgart

insmod mga

Il modulo agpgart è nella lista di lsmod quello mga invece no e il comando

root@LuPoZzO:~# insmod mga
insmod: can't read 'mga': No such file or directory
root@LuPoZzO:~#

root@LuPoZzO:~/Lavoro/mgadrivers-3.0# lsmod | grep 'agp'
via_agp 11264 1
agpgart 30380 1 via_agp
root@LuPoZzO:~/Lavoro/mgadrivers-3.0#

Ho pensato che fosse il supporto matrox nel kernel ma invece ho notato che

│ │ <M> Matrox acceleration │ │
│ │ Millennium I/II support │ │
│ │ Mystique support │ │
│ │ G100/G200/G400/G450/G550 support │ │
│ │ <M> Matrox I2C support │ │
│ │ <M> G400 second head support

Già avevo abilitato tutto tempo fa in una ricompilazione.

Ho inserito anche in /etc/X11/XF86Config la riga

Section "Module"
Load "glx"
Load "dri"
EndSection

Ma il comando glxinfo mi sa sempre "direct rendering: No".

Ho esaurito le frecce al mio arco :( need help.

LuPoZzO
24-10-2004, 01:00
Nessuno ha mai attivato con successo il 3d su linux? :(

unarana
24-10-2004, 16:36
Che kernel hai? 2.6.x o 2.4.xx?

Per un 2.6.x ricompila il kernel abilitando character devices/Direct rendering manager/matrox g200-400 (il modulo si chiamerà mga)

Per un 2.4.xx vai su http://dri.sourceforge.net

In /etc/X11/XF86Config va aggiunta pure sta roba:


Section "Module"
Load "dri"
Load "glx"
...
EndSection
...
Section "Device"
Driver "mga"
...
EndSection
...
Section "dri"
Mode 0666
EndSection


Ciao :D

LuPoZzO
24-10-2004, 21:09
Originariamente inviato da unarana
Che kernel hai? 2.6.x o 2.4.xx?

Per un 2.6.x ricompila il kernel abilitando character devices/Direct rendering manager/matrox g200-400 (il modulo si chiamerà mga)

Per un 2.4.xx vai su http://dri.sourceforge.net

In /etc/X11/XF86Config va aggiunta pure sta roba:


Section "Module"
Load "dri"
Load "glx"
...
EndSection
...
Section "Device"
Driver "mga"
...
EndSection
...
Section "dri"
Mode 0666
EndSection


Ciao :D

Tnk, ora provo il tutto e speriamo bene :D ( Ho un 2.6.x )