View Full Version : [Debian]Accelerazione 3D matrox g400
Ho la suddetta sk video con Debian Sid e non sono ancora riuscito ad attivare l'accelerazione 3D.Eppure mi sembra di aver fatto tutto quello che leggendo in giro dicevano di fare.Le sezioni interessate del mio XF86Config-4 sembrano corrette:
Section "Module"
......
Load "dri"
Load "glx"
......
EndSection
Section "Device"
Identifier "G400"
Driver "mga"
VideoRam 32768
EndSection
Section "Screen"
Identifier "Default Screen"
Device "G400"
Monitor "Generic Monitor"
DefaultDepth 24
......
EndSection
Section "DRI"
Mode 0666
EndSection
Se ad esempio do:
nemok@debian:~$ glxinfo
name of display: :0.0
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x29 24 dc 0 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x2a 24 dc 0 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
Qualcuno di voi la utilizza correttamente? :muro:
ti riporto ciò ch ho letto in una faq:
(http://www.mail-archive.com/debian-x@lists.debian.org/msg06123.html)
This is a FAQ.
*) I just upgraded the X server and it doesn't work; also, I'm using Matrox's
proprietary "mga_hal" driver module or NVidia's proprietary "nvidia" driver
module; what's going on?
Debian cannot officially support proprietary XFree86 driver modules such as
these for a few reasons:
1) we don't ship them;
2) they're not part of XFree86, but third-party add-ons;
3) (most importantly) we don't have the source code, so we cannot find and
fix bugs in them -- neither can (in general) the authors of XFree86
itself.
That said, one common problem with these proprietary modules is that you're
using a newer version of the XFree86 X server than the module was compiled
for. Take a look at your XFree86 log file, which is in the /var/log
directory. The file name is often "/var/log/XFree86.0.log" (the number
will be be different if the X server with a different server number, e.g.
XFree86.1.log for "DISPLAY=:1".)
Here's an example of server/driver version mismatch:
$ more /var/log/XFree86.0.log
[...]
XFree86 Version 4.2.1.1 (Debian 4.2.1-5 20030122074040 [EMAIL PROTECTED]) / X
Window System
[...]
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4191
Module class: XFree86 Video Driver
In the above, we see that the module was compiled for XFree86 4.0.2, but
the user is running XFree86 4.2.1.1, which is somewhat more recent. There
are roughly three courses of action a user with the above problem can
take:
1) downgrade the xserver-xfree86 package to a version compatible with the
driver (this may not be possible depending on what is available on the
Debian mirror network);
2) contact the technical support service of the company distributing the
proprietary server module, such as Matrox or NVidia, and request a
newer version of the module;
3) remove the proprietary server module and use free alternatives, such as
the "mga" or "nv" drivers that ship as part of the xserver-xfree86
package -- you may need to use the "dpkg-reconfigure xserver-xfree86"
command or edit the /etc/X11/XF86Config-4 file to instruct the X server
to use the free modules.
AnonimoVeneziano
09-05-2003, 15:34
Ti mancano le MESAgl , hai installato dei drivers Nvidia prima?
Prova ad installare i vari pacchetti "xlibmesa*" con apt o a reinstallarli
Ciao
Driver Nvidia?!No veramente non ne ho mai messi...ora provo quello che mi avete detto e vi faccio sapere.
Timewolf
10-05-2003, 15:11
Originally posted by "Nemok"
Driver Nvidia?!No veramente non ne ho mai messi...ora provo quello che mi avete detto e vi faccio sapere.
Che ci azzeccano i driver nvidia con la G400? :confused: :eek:
AnonimoVeneziano
10-05-2003, 15:12
No, pensavo che magari in precedenza ci aveva montato una Nvidia e adesso l'ha cambiata con questa, come avevo fatto io un po' di tempo fa :D
Ciao
Allora facciamo passi avanti :)
Adesso glxinfo non mi da più errori (mancava una libreria - libGLU.so.1).
Questo è l'output:
nemok@debian:~$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 Mesa 5.0.1
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_imaging, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x25 24 tc 0 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x29 24 dc 0 24 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x2a 24 dc 0 24 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
E funziona anche glxgears,quindi l'accelerazione dovrebbe essere attiva.Ad esempio:
nemok@debian:~$ glxgears
520 frames in 6.0 seconds = 86.667 FPS
500 frames in 5.0 seconds = 100.000 FPS
500 frames in 5.0 seconds = 100.000 FPS
400 frames in 5.0 seconds = 80.000 FPS
600 frames in 5.0 seconds = 120.000 FPS
619 frames in 5.0 seconds = 123.800 FPS
700 frames in 5.0 seconds = 140.000 FPS
600 frames in 5.0 seconds = 120.000 FPS
600 frames in 5.0 seconds = 120.000 FPS
600 frames in 5.0 seconds = 120.000 FPS
700 frames in 5.0 seconds = 140.000 FPS
Il problema è che se provo ad esempio tuxracer mi scatta in maniera assurda come se non fosse attiva l'accelerazione 3D!Eppure ai tempi di mandrake un'annetto fa mi ricordo che riuscivo a giocare tranquillamente a tux!
Ok tutto risolto, mancava semplicemente l'agpgart ,ce l'avevo come modulo nel kernel e mi scordavo di caricarlo.......
Tranquilli che ad insultarmi ci ha già pensato Arpeda su icq (mi ha dato lui la dritta......) :sofico:
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.