[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xfree 4.1.0.1 (nuevo error) XF86Config-4



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hola!

> Como ya he conseguido ver linux desde win adjunto el fichero de
> configuración por si alguien tiene tiempo de darle un vistazo:

Bien, hechémosle un vistazo...

> ### BEGIN DEBCONF SECTION
> # XF86Config-4 (XFree86 server configuration file) generated by dexconf,
> the # Debian X Configuration tool, using values from the debconf database.
> #
> # Edit this file with caution, and see the XF86Config-4 manual page.
> # (Type "man XF86Config-4" at the shell prompt.)
> #
> # If you want your changes to this file preserved by dexconf, only make
> changes # before the "### BEGIN DEBCONF SECTION" line above, and/or after
> the # "### END DEBCONF SECTION" line below.
> #
> # To change things within the debconf section, run the command:
> #   dpkg-reconfigure xserver-xfree86
> # as root.  Also see "How do I add custom sections to a dexconf-generated
> # XF86Config or XF86Config-4 file?" in
> /usr/share/doc/xfree86-common/FAQ.gz.
>
> 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/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    "pex5"
>          Load    "record"
>          Load    "speedo"
>          Load    "type1"
>          Load    "vbe"
>          Load    "xie"
> EndSection
>
> Section "InputDevice"
>          Identifier      "Generic Keyboard"
>          Driver          "keyboard"
>          Option          "CoreKeyboard"
>          Option          "XkbRules"      "xfree86"
>          Option          "XkbModel"      "pc102"

Si tienes un teclado de 105 teclas, tal vez quieras poner en la anterior 
opción "pc105".

>          Option          "XkbLayout"     "es"
> EndSection
>
> Section "InputDevice"
>          Identifier      "Configured Mouse"
>          Driver          "mouse"
>          Option          "CorePointer"
>          Option          "Device"                "/dev/mouse"
>          Option          "Protocol"              "Microsoft"
>          Option          "Emulate3Buttons"       "true"
>          Option          "ZAxisMapping"          "4 5"
> EndSection

Luego tienes un ratón de M$ de dos botones, y /dev/mouse es un enlace 
simbólico al dispositivo del ratón, ¿verdad?.

> Section "InputDevice"
>          Identifier      "Generic Mouse"
>          Driver          "mouse"
>          Option          "SendCoreEvents"        "true"
>          Option          "Device"                "/dev/input/mice"
>          Option          "Protocol"              "ImPS/2"
>          Option          "Emulate3Buttons"       "true"
>          Option          "ZAxisMapping"          "4 5"
> EndSection

Vaya, tienes dos secciones InputDevice... creo que deberías comentar la que no 
uses, poniendo el símbolo '#' delante de cada linea. Así lo verás todo más 
claro.

> Section "Device"
>          Identifier      "Generic Video Card"
>          Driver          "vga"
>          Option          "UseFBDev"              "true"
> EndSection

Puedes probar a comentar la opción "UseFBDev", o tal vez marcarla como false, 
pero antes lee lo que va a continuación...

> Section "Monitor"
>          Identifier      "Generic Monitor"
>          HorizSync       50-60
>          VertRefresh     100-210
>          Option          "DPMS"
> EndSection

En la sección Monitor DEBES definir las resoluciones que luego usas en la 
siguiente sección, que son "800x600" y "640x480". Así que, según lo que yo 
se, esta es una razón más que suficiente para que no te funcione el servidor 
gráfico... aunque claro, tampoco creo que esto sea responsable del error qe 
nos comentas...

En fin, el caso es que antes de la linea EndSection debes poner algo como 
esto:

# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
#Esta linea es válida para una resolución de 640x480, con 37,9KHz de 
#frecuencia horizontal, 72Hz de frecuencia vertical, y dot rate de 31.5MHz
ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync 
- -vsync

# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
#Esta linea es válida para una resolución de 800x600, con 48,1KHz de 
#frecuencia horizontal, 72Hz de frecuencia vertical, y dot rate de 50MHz
ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync 
+vsync

La información sobre las frecuencias horizontales y verticales, y el dot rate 
las puedes encontrar en el manual de tu monitor. Si estas coinciden con las 
del manual de tu monitor puedes utilizarlas, pero si no NO lo hagas, ya que 
tu monitor podría cascarse :-(. Ten en cuenta también que las medidas no 
tienen porque ser exactas... por ejemplo, aunque yo utilizo las frecuencias 
que te he puesto ahí arriba en mi monitor, las frecuencias reales del monitor 
(en 640x480, por ejemplo) son 37.861KHz, 72.810Hz y 31.5Mhz para el dor rate 
(este último si que coincide... de hecho, es un buen patrón para elegir tu 
resolución).

Te adjunto un fichero de configuración que aunque no es válido para usarlo 
entero, contiene un montón de lineas ModeLine, para que puedas escoger las 
que más se adapten a tu monitor. Por ejemplo, busca la resoluciones de 
640x480 que contengan un dot rate igual al de tu monitor, y de estre ellas 
escoge la que tenga las frecuencias horizontales y verticales más próximas a 
las tuyas. Recuerda que toda esa información está en el manual de tu 
monitor...

> Section "Screen"
>          Identifier      "Default Screen"
>          Device          "Generic Video Card"
>          Monitor         "Generic Monitor"
>          DefaultDepth    16

La verdad, no creo que el driver 'vga' soporte una profundidad de 16 
colores... pero vamos, que no se... si alguien por ahí lo sabe... :-?

>          SubSection "Display"
>                  Depth           8
>                  Modes           "800x600" "640x480"
>                  ViewPort        0 0
>          EndSubSection
>          SubSection "Display"
>                  Depth           16
>                  Modes           "800x600" "640x480"
>                  ViewPort        0 0
>          EndSubSection
>          SubSection "Display"
>                  Depth           24
>                  Modes           "800x600" "640x480"
>                  ViewPort        0 0
>          EndSubSection
> EndSection
>
> Section "ServerLayout"
>          Identifier      "Default Layout"
>          Screen          "Default Screen"
>          InputDevice     "Generic Keyboard"
>          InputDevice     "Configured Mouse"
>          InputDevice     "Generic Mouse"
> EndSection
>
> Section "DRI"
>          Mode    0666
> EndSection
>
> ### END DEBCONF SECTION


Y ya está... el resto parece correcto. Espero que esto te ayude a resolver tus 
problemas.

Un saludo,
Ignacio.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9X4OKkC21d1l2YQURAs14AKCiXsIlRYwHUmTNFqK6K5qqfCrTbwCg15/6
dyvyRCEM7w4uy6YgL7nhq7w=
=yIMP
-----END PGP SIGNATURE-----
# XF86Config (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-v3 manual page.
# (Type "man XF86Config-v3" at the shell prompt.)

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	"pex5.so"
	Load	"xie.so"
	Load    "GLcore"
	Load    "dri"
	Load    "glx"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
	Protocol	"Standard"
	XkbRules	"xfree86"
	XkbModel	"pc105"
	XkbLayout	"es"
EndSection

Section "Pointer"
	Device		"/dev/gpmdata"
	Protocol	"PS/2"
	Emulate3Buttons
	ZAxisMapping	4 5
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	VendorName	"Generic"
	ModelName	"Monitor"
	HorizSync	30-55
	VertRefresh	50-120
# 640x350 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync

# 640x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync

# 720x400 @ 85Hz (VESA) hsync: 37.9kHz
ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync

# 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
ModeLine "640x480"    25.2  640  656  752  800    480  490  492  525 -hsync -vsync

# 640x480 @ 72Hz (VESA) hsync: 37.9kHz
ModeLine "640x480"    31.5  640  664  704  832    480  489  491  520 -hsync -vsync

# 640x480 @ 75Hz (VESA) hsync: 37.5kHz
ModeLine "640x480"    31.5  640  656  720  840    480  481  484  500 -hsync -vsync

# 640x480 @ 85Hz (VESA) hsync: 43.3kHz
ModeLine "640x480"    36.0  640  696  752  832    480  481  484  509 -hsync -vsync

# 800x600 @ 56Hz (VESA) hsync: 35.2kHz
ModeLine "800x600"    36.0  800  824  896 1024    600  601  603  625 +hsync +vsync

# 800x600 @ 60Hz (VESA) hsync: 37.9kHz
ModeLine "800x600"    40.0  800  840  968 1056    600  601  605  628 +hsync +vsync

# 800x600 @ 72Hz (VESA) hsync: 48.1kHz
ModeLine "800x600"    50.0  800  856  976 1040    600  637  643  666 +hsync +vsync

# 800x600 @ 75Hz (VESA) hsync: 46.9kHz
ModeLine "800x600"    49.5  800  816  896 1056    600  601  604  625 +hsync +vsync

# 800x600 @ 85Hz (VESA) hsync: 53.7kHz
ModeLine "800x600"    56.3  800  832  896 1048    600  601  604  631 +hsync +vsync

# 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz
ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace

# 1024x768 @ 60Hz (VESA) hsync: 48.4kHz
ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync

# 1024x768 @ 70Hz (VESA) hsync: 56.5kHz
ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync

# 1024x768 @ 75Hz (VESA) hsync: 60.0kHz
ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync

# 1024x768 @ 85Hz (VESA) hsync: 68.7kHz
ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync

# 1152x864 @ 75Hz (VESA) hsync: 67.5kHz
ModeLine "1152x864"  108.0 1152 1216 1344 1600    864  865  868  900 +hsync +vsync

# 1280x960 @ 60Hz (VESA) hsync: 60.0kHz
ModeLine "1280x960"  108.0 1280 1376 1488 1800    960  961  964 1000 +hsync +vsync

# 1280x960 @ 85Hz (VESA) hsync: 85.9kHz
ModeLine "1280x960"  148.5 1280 1344 1504 1728    960  961  964 1011 +hsync +vsync

# 1280x1024 @ 60Hz (VESA) hsync: 64.0kHz
ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync

# 1280x1024 @ 75Hz (VESA) hsync: 80.0kHz
ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync

# 1280x1024 @ 85Hz (VESA) hsync: 91.1kHz
ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync

# 1600x1200 @ 60Hz (VESA) hsync: 75.0kHz
ModeLine "1600x1200" 162.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync

# 1600x1200 @ 65Hz (VESA) hsync: 81.3kHz
ModeLine "1600x1200" 175.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync

# 1600x1200 @ 70Hz (VESA) hsync: 87.5kHz
ModeLine "1600x1200" 189.0 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync

# 1600x1200 @ 75Hz (VESA) hsync: 93.8kHz
ModeLine "1600x1200" 202.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync

# 1600x1200 @ 85Hz (VESA) hsync: 106.3kHz
ModeLine "1600x1200" 229.5 1600 1664 1856 2160   1200 1201 1204 1250 +hsync +vsync

# 1792x1344 @ 60Hz (VESA) hsync: 83.6kHz
ModeLine "1792x1344" 204.8 1792 1920 2120 2448   1344 1345 1348 1394 -hsync +vsync

# 1792x1344 @ 75Hz (VESA) hsync: 106.3kHz
ModeLine "1792x1344" 261.0 1792 1888 2104 2456   1344 1345 1348 1417 -hsync +vsync

# 1856x1392 @ 60Hz (VESA) hsync: 86.3kHz
ModeLine "1856x1392" 218.3 1856 1952 2176 2528   1392 1393 1396 1439 -hsync +vsync

# 1856x1392 @ 75Hz (VESA) hsync: 112.5kHz
ModeLine "1856x1392" 288.0 1856 1984 2208 2560   1392 1393 1396 1500 -hsync +vsync

# 1920x1440 @ 60Hz (VESA) hsync: 90.0kHz
ModeLine "1920x1440" 234.0 1920 2048 2256 2600   1440 1441 1444 1500 -hsync +vsync

# 1920x1440 @ 75Hz (VESA) hsync: 112.5kHz
ModeLine "1920x1440" 297.0 1920 2064 2288 2640   1440 1441 1444 1500 -hsync +vsync
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	VendorName	"Generic"
	BoardName	"Video Card"
#	Driver          "tdfx"
EndSection

#Section "Screen"
#	Driver			"Accel"
#	Device			"Generic Video Card"
#	Monitor			"Generic Monitor"
#	DefaultColorDepth	32
#	SubSection "Display"
#		Depth		8
#		Modes		"1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#	SubSection "Display"
#		Depth		15
#		Modes		"1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#	SubSection "Display"
#		Depth		16
#		Modes		"1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#	SubSection "Display"
#		Depth		24
#		Modes		"1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#	SubSection "Display"
#		Depth		32
#		Modes		"1152x864" "1024x768" "800x600" "640x480"
#	EndSubSection
#EndSection
#Section "Screen"
#	Driver			"FBDev"
#	Monitor			"Generic Monitor"
#	DefaultColorDepth	32
#	SubSection "Display"
#		Depth		8
#		Modes		"default"
#	EndSubSection
#	SubSection "Display"
#		Depth		15
#		Modes		"default"
#	EndSubSection
#	SubSection "Display"
#		Depth		16
#		Modes		"default"
#	EndSubSection
#	SubSection "Display"
#		Depth		24
#		Modes		"default"
#	EndSubSection
#	SubSection "Display"
#		Depth		32
#		Modes		"default"
#	EndSubSection
#EndSection
Section "Screen"
	Driver			"SVGA"
	Device			"Generic Video Card"
	Monitor			"Generic Monitor"
	DefaultColorDepth	16
	SubSection "Display"
		Depth		8
		Modes		"1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
	#SubSection "Display"
	#	Depth		24
	#	Modes		"1152x864" "1024x768" "800x600" "640x480"
	#EndSubSection
	#SubSection "Display"
	#	Depth		32
	#	Modes		"1152x864" "1024x768" "800x600" "640x480"
	#EndSubSection
EndSection

# end of XF86Config

Reply to: