Xinerama con XFree86
Daniel Di Stasio
daniel.distasio a lugbs.linux.it
Lun 1 Set 2003 12:51:04 UTC
Ho provato a far rivivere questa vecchio "rallentatore grafico" come
dice Luca Giuzzi, per godere del Xinerama supportato da XFree86.
Ho installato: Glide_V3-DRI-3.10.0-0.20010309.7.i586.rpm e Mesa-5.0.1.
Ovviamente ho letto il 3dfx-HOWTO, e sbirciato qua e là per trovare
informazioni utili, ma ancora non sono riuscito nell'impresa
Da qualche parte ho letto che nella sezione Device del XF86Config, per
tali schede devo mettere come driver "glide", solo che in :
/usr/X11R6/lib/modules/drivers/ questo driver non c'è. Ho trovato un
"tdfx_drv.o" e quindi al driver nella sezione Device gli ho assegnato
"tdfx".
alcune info:
$ less /proc/pci:
.......
Bus 0, device 11, function 0:
Multimedia video controller: 3Dfx Interactive, Inc. Voodoo (rev 2).
Prefetchable 32 bit memory at 0xd8000000 [0xd8ffffff].
.......
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation RIVA TNT2 Model 64
(rev 21).
IRQ 10.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xd6000000 [0xd6ffffff].
Prefetchable 32 bit memory at 0xd4000000 [0xd5ffffff].
Quindi ho configurato il seguente
/etc/X11/XF86Config
=======================================================================
# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7
# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance
# Module loading section
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen "Screen0"
Screen "Screen1" RightOf "Screen0"
Option "Xinerama" "true"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "unix/:7100"
EndSection
Section "Module"
# 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
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
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
# Modified by mouseconfig
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "IBM G54"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 69.0
VertRefresh 50.0 - 120.0
ModeLine "640x480" 45.8 640 672 768 864 480 488 494 530
-hsync -vsync
ModeLine "640x480" 25.2 640 664 760 800 480 491 493 525
ModeLine "640x480" 31.5 640 680 720 864 480 488 491 521
ModeLine "640x480" 31.5 640 656 720 840 480 481 484 500
-hsync -vsync
ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509
-hsync -vsync
ModeLine "320x200" 12.6 320 336 384 400 200 204 205 225
doublescan
ModeLine "320x240" 12.6 320 336 384 400 240 245 246 262
doublescan
ModeLine "320x240" 15.8 320 336 384 400 240 244 246 262
doublescan
Option "dpms"# 640x480 @ 100 Hz, 53.01 kHz hsync
EndSection
Section "Monitor"
Identifier "Philips 14C"
HorizSync 31.5 - 35.5
VertRefresh 50.0 - 100.0
EndSection
Section "Device"
Identifier "RIVA TNT2"
Driver "nvidia"
BoardName "Unknown"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Linux Frame Buffer"
Driver "fbdev"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "3dfx"
Driver "tdfx"
BusID "PCI:0:11:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "RIVA TNT2"
Monitor "IBM G54"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "600x480"
"320x240"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "3dfx"
Monitor "Philips 14C"
SubSection "Display"
Depth 24
Modes "800x600" "600x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
============================================================================
dando un'occhiata a /var/log/XFree86.0.log
scopro che:
(WW) Warning, couldn't open module GLcore
(II) UnloadModule: "GLcore"
(EE) Failed to load module "GLcore" (module does not exist, 0)
......
....
(WW) NVIDIA(0): OpenGL is not fully supported in Xinerama
(II) UnloadModule: "tdfx"
(II) Unloading /usr/X11R6/lib/modules/drivers/tdfx_drv.o
Il secondo monitor non da segnali di vita, cosa devo fare?
RedHat 9.0, PIII 800Mhz, RAM 256Mb, HD 20 Gb.
Scusate per la lungheza del mail.
taluego
Daniel
Maggiori informazioni sulla lista
Lug
|