X11 configuration on YeeLoong

From ParabolaWiki
Jump to: navigation, search

Like on other machines, the xorg-server and xf86-input-evdev packages are required to run X and to have input devices working.

Although a touchpad is used, it's not supported by xf86-input-synaptics, since its kernel driver doesn't provide absolute cursor movement (this could be changed).

There are two graphics drivers working on a YeeLoong: xf86-video-fbdev and xf86-video-siliconmotion. The first one is stable and very slow, the second one support some 2d and video acceleration, but might be less stable.

A /etc/X11/xorg.conf like the one below is needed to use the xf86-video-siliconmotion driver:

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

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

Section "Device"
	Identifier  "Card0"
	Driver      "siliconmotion"
	Option      "UseBIOS" "off"
	Option	    "PanelSize" "1024x600"
	Option	    "AccelMethod" "EXA"

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	# The device has better support for 16-bit color depth, although it always crashes or hangs.
	DefaultDepth 24
	SubSection "Display"
		Depth 24
		# Manually setting Virtual might be needed in some cases to avoid requiring too much memory.
                Virtual 1024 600
		Modes "1024x600"