[LUG.ro] Xinerama XFree86, Matrox y S3Virge

Federico Lazcano lugro@lugro.org.ar
Thu, 24 Nov 2005 11:15:13 +0100


Samigos:

Estoy tratando de configurar xinerama con dos monitores y dos placas de
video. Adjunto la salida de lspci [1] y el archivo de configuración de
XFree86 [2].

Uso la placa Matrox es la principal, ya que es la AGP.

El problema es el video y los colores. Funcionalmente está todo bien.
Estoy usando en un principio una resolución de 1182 x 864 a 75Hz y
24bits de color. Probé con otras resoluciones y colores, pero el
resultado es el mismo. Google no es mi amigo esta vez.

Detalle del problema.
Cuando abro algunas aplicaciones (por lo que veo hasta ahora son las
no-nativas de KDE, como Firefox y Evolution) es como si disminuyeran la
cantidad de colores, se invierten los mismos, etc, etc, etc.-
No sirve de nada un snapshot para mostrar el error, pues los colores
salen bien ahí. Creo que el problema está por el lado de la placas de
video, pero no lo encuentro.

Actualmente uso KDE, pero con XFCE el resultado es el mismo.

Esto es Debian GNU/Linux Sarge, kernel 2.6.8-2-686 #1  y con XFree86
Version 4.3.0.1 (Debian 4.3.0.dfsg.1-14sarge1 20050901212727

Si alguien quiere más datos, le adjunto el log de XFree86 y lo que haga
falta.
También puedo hacer otras pruebas, si a alguien se le ocurre alguna.


Desde ya muchas gracias.
______________________________________________________________

[1]: Salida de lspci

0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP
bridge (rev 03)
0000:00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
0000:00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev
01)
0000:00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97]
(rev 06)
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
0000:00:0c.0 VGA compatible controller: S3 Inc. 86c325 [ViRGE] (rev 06)
0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200
AGP (rev01)

______________________________________________________________

[1]: Archivo de configuración /etc/X11/XF86Config-4


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

Section "Files"
        FontPath        "unix/:7100"                    # local font
server
        # if the local font server has problems, we can fall back on
these
        FontPath        "/usr/lib/X11/fonts/misc"
#        FontPath        "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/CID"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load    "GLcore"
        Load    "bitmap"
	Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
	Load	"xtrap"
EndSection

Section "InputDevice"
	Identifier      "Keyboard0"
	Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "es"
EndSection

Section "InputDevice"
	Identifier      "Mouse0"
	Driver          "mouse"
	Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "OEC"
	ModelName    "211"
	Option	    "DPMS"
        HorizSync       30-68
        VertRefresh     50-85
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "OEC"
	ModelName    "211"
	Option	    "DPMS"
        HorizSync       30-68
        VertRefresh     50-85
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "PciRetry"           	# [<bool>]
        #Option     "SyncOnGreen"        	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "Overlay"            	# [<str>]
        #Option     "MGASDRAM"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "SetMclk"            	# <freq>
        #Option     "OverclockMem"       	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "Rotate"             	# [<str>]
        #Option     "TexturedVideo"      	# [<bool>]
        #Option     "Crtc2Half"          	# [<bool>]
        #Option     "Crtc2Ram"           	# <i>
        #Option     "Int10"              	# [<bool>]
        #Option     "AGPMode"            	# <i>
        #Option     "AGPSize"            	# <i>
        #Option     "DigitalScreen1"     	# [<bool>]
        #Option     "DigitalScreen2"     	# [<bool>]
        #Option     "TV"                 	# [<bool>]
        #Option     "TVStandard"         	# [<str>]
        #Option     "CableType"          	# [<str>]
        #Option     "NoHal"              	# [<bool>]
        #Option     "SwappedHead"        	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "MergedFB"           	# [<bool>]
        #Option     "Monitor2HSync"      	# [<str>]
        #Option     "Monitor2VRefresh"   	# [<str>]
        #Option     "Monitor2Position"   	# [<str>]
        #Option     "MetaModes"          	# [<str>]
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox Graphics, Inc."
	BoardName   "MGA G200 AGP"
	BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "slow_edodram"       	# [<bool>]
        #Option     "slow_dram"          	# [<bool>]
        #Option     "fast_dram"          	# [<bool>]
        #Option     "fpm_vram"           	# [<bool>]
        #Option     "pci_burst"          	# [<bool>]
        #Option     "fifo_conservative"  	# [<bool>]
        #Option     "fifo_moderate"      	# [<bool>]
        #Option     "fifo_aggressive"    	# [<bool>]
        #Option     "pci_retry"          	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "early_ras_precharge" 	# [<bool>]
        #Option     "late_ras_precharge" 	# [<bool>]
        #Option     "lcd_center"         	# [<bool>]
        #Option     "set_lcdclk"         	# <i>
        #Option     "set_mclk"           	# <freq>
        #Option     "set_refclk"         	# <freq>
        #Option     "show_cache"         	# [<bool>]
        #Option     "HWCursor"           	# [<bool>]
        #Option     "SWCursor"           	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "UseFB"              	# [<bool>]
        #Option     "mxcr3afix"          	# [<bool>]
        #Option     "XVideo"             	# [<bool>]
	Identifier  "Card1"
	Driver      "s3virge"
	VendorName  "S3 Inc."
	BoardName   "86c325 [ViRGE]"
	BusID       "PCI:0:12:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Depth     1
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
#	SubSection "Display"
#		Depth     24
#		Modes           "1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Depth     1
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes           "1024x768" "800x600" "640x480"
	EndSubSection
#	SubSection "Display"
#		Depth     24
#		Modes           "1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
EndSection


-- 
Federico Lazcano <flazcano@riseup.net>