X11 configuration on YeeLoong (Português)

From ParabolaWiki
Jump to: navigation, search

Como em outras máquinas, o xorg-server e xf86-input-evdev são pacotes necessários para executar o X e ter dispositivos de entrada de trabalho.

Embora um touchpad seja usado com frequencia, não é suportada pelo pacote xf86-input-synaptics, ja que o seu controlador do núcleo não fornece o movimento absoluto do cursor (isso pode ser mudado com o tempo).

Há dois drivers gráficos trabalhando em um YeeLoong: o xf86-video-fbdev e o xf86-video-siliconmotion. O primeiro deles é estável mas é muito lento, o segundo deles tem um suporte limitado de 2D e de aceleração de vídeo, mas neste caso pode ser menos estável que a primeira opção.

É necessário ter o exemplo da configuração do /etc/X11/xorg.conf (ver abaixo) para usar o driver xf86-video-siliconmotion:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
EndSection

Section "Module"
	# Some of these modules won't be needed, but the driver needs them.
	Load	 "int10"
	Load	 "exa"
	Load	 "xaa"
	Load	 "vgahw"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "siliconmotion"
	Option      "UseBIOS" "off"
	Option	    "PanelSize" "1024x600"
	# Changing this to EXA might affect performance and will probably cause hangs.
	Option	    "AccelMethod" "XAA"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	# The device has best support for 16-bit color depth.
	DefaultDepth 16
	SubSection "Display"
		Depth 16
		# Manually setting Virtual might be needed in some cases to avoid requiring too much memory.
                Virtual 1024 600
		Modes "1024x600"
	EndSubSection
EndSection