You are not logged in.

#1 2016-03-19 14:33:47

Hawox
Member
Registered: 2016-03-19
Posts: 2

Xorg Siliconmotion LynxEM+ screen distortion with EXA acceleration

I cannot get the xf86-video-siliconmotion driver to work correctly with my Siliconmotion LynxEM+ SM712 (rev 0). The module is successfully loaded into Xorg, but the rendering of 2D objects was simply unacceptably slow. I can only resolve this issue by making a rule in /etc/X11/xorg.conf.d/ in which EXA acceleration is enabled in conjunction with the LynxEM. I specified various options that are known to resolve graphical issues with the "Lemote Yeelong" netbook and I copied the correct modelines and sync rates from a normal Xorg session without any rules applied. The result is a nicely 2D-accelerated Xorg, but there are lots of garbled horizontal lines flying across the display. The card is capable of 24-bit colour depth and I tried to use 16 and 8-bit as well. There is no distortion in 8-bit colour depth(?). I extensively tweaked the Xorg.conf rule for days and I cannot conclude if the added configuration is at fault, or whether the driver has a bug.

After some research I learned that most issues with this card are related to exceeding VRAM usage and that its known to segfault Xorg on Debian based distributions. However, the driver is loaded correctly and does not segfault.

output of lspci -v 

00:09.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev a0) (prog-if 00 [VGA controller])
	Subsystem: IBM Device 01aa
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 255
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>

00:00.0 Host bridge: Intel Corporation 82440MX Host Bridge (rev 01)
	Flags: bus master, medium devsel, latency 64

00:07.0 Bridge: Intel Corporation 82440MX ISA Bridge (rev 01)
	Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82440MX EIDE Controller (prog-if 80 [Master])
	Flags: bus master, medium devsel, latency 64
	[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 000003f0 (type 3, non-prefetchable)
	[virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
	[virtual] Memory at 00000370 (type 3, non-prefetchable)
	I/O ports at 1020 [size=16]
	Kernel driver in use: ata_piix
	Kernel modules: ata_piix, pata_acpi, ata_generic

00:07.2 USB controller: Intel Corporation 82440MX USB Universal Host Controller (prog-if 00 [UHCI])
	Flags: bus master, medium devsel, latency 64, IRQ 11
	I/O ports at 1000 [size=32]
	Kernel driver in use: uhci_hcd
	Kernel modules: uhci_hcd

00:07.3 Bridge: Intel Corporation 82440MX Power Management Controller
	Flags: medium devsel
	Kernel modules: i2c_piix4

00:09.0 VGA compatible controller: Silicon Motion, Inc. SM712 LynxEM+ (rev a0) (prog-if 00 [VGA controller])
	Subsystem: IBM Device 01aa
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 255
	Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>

00:0a.0 CardBus bridge: Texas Instruments PCI1211
	Subsystem: IBM Device 019a
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at 0c000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=00, secondary=01, subordinate=04, sec-latency=176
	Memory window 0: 10000000-13ffffff (prefetchable)
	Memory window 1: 14000000-17ffffff
	I/O window 0: 00001400-000014ff
	I/O window 1: 00001800-000018ff
	16-bit legacy interface ports at 0001
	Capabilities: <access denied>
	Kernel driver in use: yenta_cardbus
	Kernel modules: yenta_socket

00:0b.0 Multimedia audio controller: Cirrus Logic Crystal CS4281 PCI Audio (rev 01)
	Subsystem: IBM Device 01a9
	Flags: bus master, medium devsel, latency 64, IRQ 5
	Memory at fc010000 (32-bit, non-prefetchable) [size=4K]
	Memory at fc000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_cs4281
	Kernel modules: snd_cs4281

the file /etc/xorg.conf.d/20-siliconmotion.conf

Section "Device"
	Identifier	"Card0"
	Boardname	"Silicon Motion LynxEM+ (generic)"
	Busid		"PCI:0:9:0"
	Driver		"siliconmotion"
	Screen		0
	Vendorname	"Silicon Motion"
	Option		"HWCursor"	"false"
	Option		"SWCursor"	"true"
	Option 		"UseBIOS"	"false"
	Option		"VideoKey"	"4500"
#	Option 		"fifo_aggressive"
#	Option		"fifo_moderate"
	Option		"fifo_conservative"
	Option 		"pci_burst"	"on"
	Option 		"pci_retry"	"on"
	Option		"AccelMethod"	"EXA"
#	Option		"NoAccel"
	Option		"PanelSize"	"800x600"
#	Option		"mclk"		"120.000MHz"

EndSection

Section "Monitor"
	Identifier	"Monitor0"
	Vendorname	"Generic LCD Display"
	Modelname	"LCD Panel SVGA"
	Horizsync	31.5-48.0
	Vertrefresh	58.0 - 60.0
	Modeline	"800x600" 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync
	Gamma	1.0
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	Defaultdepth	24
	SubSection "Display"
		Viewport   0 0
		Depth	24
		Virtual	800	600
		Modes	"800x600@60"
		Modes	"800x600@60.30"
		Modes   "800x600@59.90"
	EndSubSection
EndSection

Xorg.log file of normal startup without any rules

[  4416.490] 
X.Org X Server 1.18.1
Release Date: 2016-02-08
[  4416.491] X Protocol Version 11, Revision 0
[  4416.491] Build Operating System: Linux 4.2.5-1-ARCH i686 
[  4416.491] Current Operating System: Linux netpad 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:54:30 CET 2016 i686
[  4416.492] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda2 rw initrd=../initramfs-linux.img
[  4416.492] Build Date: 11 February 2016  09:58:26AM
[  4416.493]  
[  4416.493] Current version of pixman: 0.34.0
[  4416.493] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4416.494] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4416.496] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 19 15:16:16 2016
[  4416.500] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4416.503] (==) No Layout section.  Using the first Screen section.
[  4416.503] (==) No screen section available. Using defaults.
[  4416.503] (**) |-->Screen "Default Screen Section" (0)
[  4416.503] (**) |   |-->Monitor "<default monitor>"
[  4416.509] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  4416.509] (==) Automatically adding devices
[  4416.509] (==) Automatically enabling devices
[  4416.509] (==) Automatically adding GPU devices
[  4416.509] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4416.534] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  4416.534] 	Entry deleted from font path.
[  4416.534] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  4416.535] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  4416.535] 	Entry deleted from font path.
[  4416.535] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  4416.535] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  4416.536] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4416.536] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4416.537] (II) Loader magic: 0x82a26c0
[  4416.537] (II) Module ABI versions:
[  4416.537] 	X.Org ANSI C Emulation: 0.4
[  4416.537] 	X.Org Video Driver: 20.0
[  4416.537] 	X.Org XInput driver : 22.1
[  4416.537] 	X.Org Server Extension : 9.0
[  4416.558] (++) using VT number 1

[  4416.558] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  4416.578] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[  4416.581] (--) PCI:*(0:0:9:0) 126f:0712:1014:01aa rev 160, Mem @ 0xfd000000/16777216
[  4416.582] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  4416.584] (II) LoadModule: "glx"
[  4416.586] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4416.616] (II) Module glx: vendor="X.Org Foundation"
[  4416.616] 	compiled for 1.18.1, module version = 1.0.0
[  4416.616] 	ABI class: X.Org Server Extension, version 9.0
[  4416.616] (==) AIGLX enabled
[  4416.617] (==) Matched siliconmotion as autoconfigured driver 0
[  4416.617] (==) Matched modesetting as autoconfigured driver 1
[  4416.617] (==) Matched fbdev as autoconfigured driver 2
[  4416.617] (==) Matched vesa as autoconfigured driver 3
[  4416.617] (==) Assigned the driver to the xf86ConfigLayout
[  4416.617] (II) LoadModule: "siliconmotion"
[  4416.620] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[  4416.621] (II) Module siliconmotion: vendor="X.Org Foundation"
[  4416.621] 	compiled for 1.18.0, module version = 1.7.8
[  4416.621] 	Module class: X.Org Video Driver
[  4416.621] 	ABI class: X.Org Video Driver, version 20.0
[  4416.621] (II) LoadModule: "modesetting"
[  4416.621] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4416.627] (II) Module modesetting: vendor="X.Org Foundation"
[  4416.627] 	compiled for 1.18.1, module version = 1.18.1
[  4416.628] 	Module class: X.Org Video Driver
[  4416.628] 	ABI class: X.Org Video Driver, version 20.0
[  4416.628] (II) LoadModule: "fbdev"
[  4416.628] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4416.631] (II) Module fbdev: vendor="X.Org Foundation"
[  4416.631] 	compiled for 1.18.0, module version = 0.4.4
[  4416.631] 	Module class: X.Org Video Driver
[  4416.631] 	ABI class: X.Org Video Driver, version 20.0
[  4416.631] (II) LoadModule: "vesa"
[  4416.632] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4416.635] (II) Module vesa: vendor="X.Org Foundation"
[  4416.635] 	compiled for 1.18.0, module version = 2.3.4
[  4416.635] 	Module class: X.Org Video Driver
[  4416.635] 	ABI class: X.Org Video Driver, version 20.0
[  4416.635] (II) SMI: driver (version 1.7.8) for Silicon Motion Lynx chipsets: Lynx,
	LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
[  4416.636] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4416.636] (II) FBDEV: driver for framebuffer: fbdev
[  4416.636] (II) VESA: driver for VESA chipsets: vesa
[  4416.637] (WW) Falling back to old probe method for siliconmotion
[  4416.637] (--) Assigning device section with no busID to primary device
[  4416.637] (--) Chipset LynxEM+ found
[  4416.637] (WW) Falling back to old probe method for modesetting
[  4416.637] (EE) open /dev/dri/card0: No such file or directory
[  4416.637] (WW) Falling back to old probe method for fbdev
[  4416.637] (II) Loading sub module "fbdevhw"
[  4416.637] (II) LoadModule: "fbdevhw"
[  4416.638] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  4416.640] (II) Module fbdevhw: vendor="X.Org Foundation"
[  4416.641] 	compiled for 1.18.1, module version = 0.0.2
[  4416.641] 	ABI class: X.Org Video Driver, version 20.0
[  4416.641] (EE) open /dev/fb0: No such file or directory
[  4416.641] (WW) Falling back to old probe method for vesa
[  4416.641] (II) Loading sub module "vgahw"
[  4416.641] (II) LoadModule: "vgahw"
[  4416.642] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[  4416.645] (II) Module vgahw: vendor="X.Org Foundation"
[  4416.645] 	compiled for 1.18.1, module version = 0.1.0
[  4416.645] 	ABI class: X.Org Video Driver, version 20.0
[  4416.645] (II) SMI(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  4416.645] (==) SMI(0): Depth 24, (--) framebuffer bpp 32
[  4416.646] (==) SMI(0): RGB weight 888
[  4416.646] (==) SMI(0): Default visual is TrueColor
[  4416.646] (==) SMI(0): PCI Burst enabled
[  4416.646] (==) SMI(0): PCI Retry enabled
[  4416.646] (==) SMI(0): Using Hardware Cursor
[  4416.646] (II) Loading sub module "int10"
[  4416.646] (II) LoadModule: "int10"
[  4416.647] (II) Loading /usr/lib/xorg/modules/libint10.so
[  4416.655] (II) Module int10: vendor="X.Org Foundation"
[  4416.655] 	compiled for 1.18.1, module version = 1.0.0
[  4416.655] 	ABI class: X.Org Video Driver, version 20.0
[  4416.665] (II) SMI(0): Primary V_BIOS segment is: 0xc000
[  4416.665] (II) Loading sub module "vbe"
[  4416.665] (II) LoadModule: "vbe"
[  4416.666] (II) Loading /usr/lib/xorg/modules/libvbe.so
[  4416.669] (II) Module vbe: vendor="X.Org Foundation"
[  4416.670] 	compiled for 1.18.1, module version = 1.1.0
[  4416.670] 	ABI class: X.Org Video Driver, version 20.0
[  4419.098] (II) SMI(0): VESA BIOS not detected
[  4419.098] (WW) SMI(0): VBE initialization failed: falling back to UseBIOS disabled.
[  4419.098] (--) SMI(0): Chipset: "LynxEM+"
[  4419.098] (==) SMI(0): Dual head disabled
[  4419.098] (==) SMI(0): Using XAA acceleration architecture
[  4419.099] (--) SMI(0): videoram: 4096kB
[  4419.101] (II) SMI(0): Cursor Offset: 003FFC00
[  4419.101] (II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[  4419.101] (II) SMI(0): Reserved: 003FF800
[  4419.101] (II) SMI(0): OFF Panel Size = 800x600
[  4419.101] (II) Loading sub module "i2c"
[  4419.101] (II) LoadModule: "i2c"
[  4419.101] (II) Module "i2c" already built-in
[  4419.102] (II) SMI(0): I2C bus "I2C bus" initialized.
[  4419.102] (II) Loading sub module "ddc"
[  4419.102] (II) LoadModule: "ddc"
[  4419.102] (II) Module "ddc" already built-in
[  4419.102] (==) SMI(0): Using gamma correction (1.0, 1.0, 1.0)
[  4419.102] (II) SMI(0): MCLK = 157.000
[  4419.102] (II) SMI(0): Output LVDS has no monitor section
[  4419.102] (II) SMI(0): Printing probed modes for output LVDS
[  4419.103] (II) SMI(0): Modeline "800x600"x59.9   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync (37.4 kHz)
[  4419.103] (II) SMI(0): Output LVDS connected
[  4419.103] (II) SMI(0): Using exact sizes for initial modes
[  4419.103] (II) SMI(0): Output LVDS using initial mode 800x600 +0+0
[  4419.103] (II) SMI(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  4419.105] (==) SMI(0): DPI set to (96, 96)
[  4419.105] (II) Loading sub module "fb"
[  4419.105] (II) LoadModule: "fb"
[  4419.106] (II) Loading /usr/lib/xorg/modules/libfb.so
[  4419.113] (II) Module fb: vendor="X.Org Foundation"
[  4419.113] 	compiled for 1.18.1, module version = 1.0.0
[  4419.113] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4419.114] (II) Loading sub module "xaa"
[  4419.114] (II) LoadModule: "xaa"
[  4419.117] (WW) Warning, couldn't open module xaa
[  4419.118] (II) UnloadModule: "xaa"
[  4419.118] (II) Unloading xaa
[  4419.118] (EE) SMI: Failed to load module "xaa" (module does not exist, 0)
[  4419.118] (WW) SMI(0): No acceleration
[  4419.118] (II) Loading sub module "ramdac"
[  4419.118] (II) LoadModule: "ramdac"
[  4419.118] (II) Module "ramdac" already built-in
[  4419.118] (II) UnloadModule: "modesetting"
[  4419.118] (II) Unloading modesetting
[  4419.118] (II) UnloadModule: "fbdev"
[  4419.118] (II) Unloading fbdev
[  4419.119] (II) UnloadSubModule: "fbdevhw"
[  4419.119] (II) Unloading fbdevhw
[  4419.119] (II) UnloadModule: "vesa"
[  4419.119] (II) Unloading vesa
[  4419.119] (--) Depth 24 pixmap format is 32 bpp
[  4419.121] (II) SMI(0): Cursor Offset: 003FFC00
[  4419.121] (II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[  4419.121] (II) SMI(0): Reserved: 003FF800
[  4419.518] (II) SMI(0): FrameBuffer Box: 0,0 - 800,1310
[  4419.550] (==) SMI(0): DPMS enabled
[  4419.550] (II) SMI(0): I2C device "I2C bus:SAA 7111A" registered at address 0x48.
[  4419.550] (II) SMI(0): I2C device "I2C bus:SAA 7111A" removed.
[  4419.551] (II) SMI(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  4419.551] (--) RandR disabled
[  4419.609] (II) AIGLX: Screen 0 is not DRI2 capable
[  4419.609] (EE) AIGLX: reverting to software rendering
[  4420.511] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  4420.517] (II) AIGLX: Loaded and initialized swrast
[  4420.517] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  4420.519] (II) SMI(0): Setting screen physical size to 211 x 158
[  4420.943] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  4420.943] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  4420.944] (II) LoadModule: "evdev"
[  4420.944] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  4420.961] (II) Module evdev: vendor="X.Org Foundation"
[  4420.961] 	compiled for 1.18.0, module version = 2.10.1
[  4420.961] 	Module class: X.Org XInput Driver
[  4420.961] 	ABI class: X.Org XInput driver, version 22.1
[  4420.967] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 12 paused 0
[  4420.967] (II) Using input driver 'evdev' for 'Power Button'
[  4420.967] (**) Power Button: always reports core events
[  4420.968] (**) evdev: Power Button: Device: "/dev/input/event3"
[  4420.968] (--) evdev: Power Button: Vendor 0 Product 0x1
[  4420.968] (--) evdev: Power Button: Found keys
[  4420.968] (II) evdev: Power Button: Configuring as keyboard
[  4420.968] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  4420.968] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  4420.969] (**) Option "xkb_rules" "evdev"
[  4420.974] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[  4420.974] (II) No input driver specified, ignoring this device.
[  4420.974] (II) This device may have been added with another device file.
[  4420.977] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  4420.977] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  4420.981] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 13 paused 0
[  4420.981] (II) Using input driver 'evdev' for 'Sleep Button'
[  4420.981] (**) Sleep Button: always reports core events
[  4420.981] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[  4420.982] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  4420.982] (--) evdev: Sleep Button: Found keys
[  4420.982] (II) evdev: Sleep Button: Configuring as keyboard
[  4420.982] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event1"
[  4420.982] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[  4420.982] (**) Option "xkb_rules" "evdev"
[  4420.987] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  4420.988] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  4420.991] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 14 paused 0
[  4420.992] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  4420.992] (**) AT Translated Set 2 keyboard: always reports core events
[  4420.992] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  4420.992] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  4420.992] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  4420.992] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  4420.992] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  4420.993] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[  4420.993] (**) Option "xkb_rules" "evdev"
[  4420.998] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event5)
[  4420.998] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[  4421.002] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 15 paused 0
[  4421.002] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[  4421.002] (**) TPPS/2 IBM TrackPoint: always reports core events
[  4421.002] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event5"
[  4421.003] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[  4421.003] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[  4421.003] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[  4421.003] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[  4421.003] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[  4421.003] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[  4421.003] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4421.003] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event5"
[  4421.003] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 9)
[  4421.004] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[  4421.005] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  4421.005] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  4421.005] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  4421.005] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  4421.008] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[  4421.008] (II) No input driver specified, ignoring this device.
[  4421.008] (II) This device may have been added with another device file.
[  4421.011] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[  4421.011] (II) No input driver specified, ignoring this device.
[  4421.011] (II) This device may have been added with another device file.

Xorg.log file with 20-siliconmotion.conf

[  4504.053] 
X.Org X Server 1.18.1
Release Date: 2016-02-08
[  4504.054] X Protocol Version 11, Revision 0
[  4504.054] Build Operating System: Linux 4.2.5-1-ARCH i686 
[  4504.054] Current Operating System: Linux netpad 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:54:30 CET 2016 i686
[  4504.055] Kernel command line: BOOT_IMAGE=../vmlinuz-linux root=/dev/sda2 rw initrd=../initramfs-linux.img
[  4504.055] Build Date: 11 February 2016  09:58:26AM
[  4504.055]  
[  4504.056] Current version of pixman: 0.34.0
[  4504.056] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4504.056] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4504.058] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 19 15:17:43 2016
[  4504.059] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  4504.060] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4504.063] (==) No Layout section.  Using the first Screen section.
[  4504.063] (**) |-->Screen "Screen0" (0)
[  4504.063] (**) |   |-->Monitor "Monitor0"
[  4504.064] (**) |   |-->Device "Card0"
[  4504.064] (==) Automatically adding devices
[  4504.064] (==) Automatically enabling devices
[  4504.064] (==) Automatically adding GPU devices
[  4504.064] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4504.065] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  4504.065] 	Entry deleted from font path.
[  4504.065] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  4504.065] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  4504.065] 	Entry deleted from font path.
[  4504.065] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  4504.065] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[  4504.065] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4504.065] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4504.065] (II) Loader magic: 0x82a26c0
[  4504.065] (II) Module ABI versions:
[  4504.065] 	X.Org ANSI C Emulation: 0.4
[  4504.065] 	X.Org Video Driver: 20.0
[  4504.065] 	X.Org XInput driver : 22.1
[  4504.065] 	X.Org Server Extension : 9.0
[  4504.072] (++) using VT number 1

[  4504.073] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  4504.089] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c2
[  4504.092] (--) PCI:*(0:0:9:0) 126f:0712:1014:01aa rev 160, Mem @ 0xfd000000/16777216
[  4504.093] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  4504.093] (II) LoadModule: "glx"
[  4504.094] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4504.126] (II) Module glx: vendor="X.Org Foundation"
[  4504.126] 	compiled for 1.18.1, module version = 1.0.0
[  4504.126] 	ABI class: X.Org Server Extension, version 9.0
[  4504.126] (==) AIGLX enabled
[  4504.126] (II) LoadModule: "siliconmotion"
[  4504.127] (II) Loading /usr/lib/xorg/modules/drivers/siliconmotion_drv.so
[  4504.130] (II) Module siliconmotion: vendor="X.Org Foundation"
[  4504.130] 	compiled for 1.18.0, module version = 1.7.8
[  4504.130] 	Module class: X.Org Video Driver
[  4504.130] 	ABI class: X.Org Video Driver, version 20.0
[  4504.130] (II) SMI: driver (version 1.7.8) for Silicon Motion Lynx chipsets: Lynx,
	LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
[  4504.131] (WW) Falling back to old probe method for siliconmotion
[  4504.131] (--) Chipset LynxEM+ found
[  4504.132] (II) Loading sub module "vgahw"
[  4504.132] (II) LoadModule: "vgahw"
[  4504.132] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[  4504.133] (II) Module vgahw: vendor="X.Org Foundation"
[  4504.133] 	compiled for 1.18.1, module version = 0.1.0
[  4504.133] 	ABI class: X.Org Video Driver, version 20.0
[  4504.134] (**) SMI(0): Depth 24, (--) framebuffer bpp 32
[  4504.134] (==) SMI(0): RGB weight 888
[  4504.134] (==) SMI(0): Default visual is TrueColor
[  4504.134] (**) SMI(0): Option "pci_burst" "on"
[  4504.134] (**) SMI(0): Option "pci_retry" "on"
[  4504.134] (**) SMI(0): Option "HWCursor" "false"
[  4504.134] (**) SMI(0): Option "SWCursor" "true"
[  4504.134] (**) SMI(0): Option "VideoKey" "4500"
[  4504.134] (**) SMI(0): Option "UseBIOS" "false"
[  4504.134] (**) SMI(0): Option "AccelMethod" "EXA"
[  4504.135] (**) SMI(0): Option "PanelSize" "800x600"
[  4504.135] (**) SMI(0): PCI Burst enabled
[  4504.135] (**) SMI(0): PCI Retry enabled
[  4504.135] (**) SMI(0): Using Software Cursor
[  4504.135] (**) SMI(0): Option: Video key set to 0x00001194
[  4504.135] (**) SMI(0): Option: UseBIOS disabled.
[  4504.135] (--) SMI(0): Chipset: "LynxEM+"
[  4504.135] (==) SMI(0): Dual head disabled
[  4504.135] (**) SMI(0): Using EXA acceleration architecture
[  4504.136] (--) SMI(0): videoram: 4096kB
[  4504.137] (II) SMI(0): Cursor Offset: 003FFC00
[  4504.138] (II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[  4504.138] (II) SMI(0): Reserved: 003FF800
[  4504.138] (II) SMI(0): OFF Panel Size = 800x600
[  4504.138] (II) Loading sub module "i2c"
[  4504.138] (II) LoadModule: "i2c"
[  4504.138] (II) Module "i2c" already built-in
[  4504.138] (II) SMI(0): I2C bus "I2C bus" initialized.
[  4504.138] (II) Loading sub module "ddc"
[  4504.138] (II) LoadModule: "ddc"
[  4504.138] (II) Module "ddc" already built-in
[  4504.139] (**) SMI(0): Using gamma correction (1.0, 1.0, 1.0)
[  4504.139] (II) SMI(0): MCLK = 157.000
[  4504.139] (II) SMI(0): Output LVDS using monitor section Monitor0
[  4504.139] (II) SMI(0): Printing probed modes for output LVDS
[  4504.139] (II) SMI(0): Modeline "800x600"x59.9   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync (37.4 kHz)
[  4504.139] (II) SMI(0): Output LVDS connected
[  4504.139] (II) SMI(0): Using exact sizes for initial modes
[  4504.139] (II) SMI(0): Output LVDS using initial mode 800x600 +0+0
[  4504.140] (II) SMI(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  4504.141] (==) SMI(0): DPI set to (96, 96)
[  4504.141] (II) Loading sub module "fb"
[  4504.141] (II) LoadModule: "fb"
[  4504.142] (II) Loading /usr/lib/xorg/modules/libfb.so
[  4504.144] (II) Module fb: vendor="X.Org Foundation"
[  4504.145] 	compiled for 1.18.1, module version = 1.0.0
[  4504.145] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4504.145] (II) Loading sub module "exa"
[  4504.145] (II) LoadModule: "exa"
[  4504.145] (II) Loading /usr/lib/xorg/modules/libexa.so
[  4504.153] (II) Module exa: vendor="X.Org Foundation"
[  4504.153] 	compiled for 1.18.1, module version = 2.6.0
[  4504.153] 	ABI class: X.Org Video Driver, version 20.0
[  4504.154] (--) Depth 24 pixmap format is 32 bpp
[  4504.155] (II) SMI(0): Cursor Offset: 003FFC00
[  4504.155] (II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[  4504.156] (II) SMI(0): Reserved: 003FF800
[  4504.538] (II) SMI(0): EXA offscreen memory manager enabled.
[  4504.538] (II) EXA(0): Offscreen pixmap area of 4192256 bytes
[  4504.539] (II) EXA(0): Driver registered support for the following operations:
[  4504.539] (II)         Solid
[  4504.539] (II)         Copy
[  4504.539] (II)         Composite (RENDER acceleration)
[  4504.539] (II) SMI(0): EXA Acceleration enabled.
[  4504.571] (==) SMI(0): DPMS enabled
[  4504.571] (II) SMI(0): I2C device "I2C bus:SAA 7111A" registered at address 0x48.
[  4504.572] (II) SMI(0): I2C device "I2C bus:SAA 7111A" removed.
[  4504.572] (II) SMI(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  4504.572] (WW) SMI(0): Option "fifo_conservative" is not used
[  4504.572] (--) RandR disabled
[  4504.624] (II) AIGLX: Screen 0 is not DRI2 capable
[  4504.624] (EE) AIGLX: reverting to software rendering
[  4504.838] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  4504.844] (II) AIGLX: Loaded and initialized swrast
[  4504.844] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  4504.847] (II) SMI(0): Setting screen physical size to 211 x 158
[  4505.150] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  4505.150] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  4505.150] (II) LoadModule: "evdev"
[  4505.151] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  4505.155] (II) Module evdev: vendor="X.Org Foundation"
[  4505.155] 	compiled for 1.18.0, module version = 2.10.1
[  4505.155] 	Module class: X.Org XInput Driver
[  4505.155] 	ABI class: X.Org XInput driver, version 22.1
[  4505.159] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 12 paused 0
[  4505.159] (II) Using input driver 'evdev' for 'Power Button'
[  4505.159] (**) Power Button: always reports core events
[  4505.159] (**) evdev: Power Button: Device: "/dev/input/event3"
[  4505.160] (--) evdev: Power Button: Vendor 0 Product 0x1
[  4505.160] (--) evdev: Power Button: Found keys
[  4505.160] (II) evdev: Power Button: Configuring as keyboard
[  4505.160] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  4505.160] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  4505.160] (**) Option "xkb_rules" "evdev"
[  4505.165] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[  4505.165] (II) No input driver specified, ignoring this device.
[  4505.165] (II) This device may have been added with another device file.
[  4505.168] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[  4505.168] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  4505.172] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 13 paused 0
[  4505.172] (II) Using input driver 'evdev' for 'Sleep Button'
[  4505.173] (**) Sleep Button: always reports core events
[  4505.173] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[  4505.173] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  4505.173] (--) evdev: Sleep Button: Found keys
[  4505.173] (II) evdev: Sleep Button: Configuring as keyboard
[  4505.173] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event1"
[  4505.173] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[  4505.173] (**) Option "xkb_rules" "evdev"
[  4505.178] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  4505.179] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  4505.183] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 14 paused 0
[  4505.183] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  4505.183] (**) AT Translated Set 2 keyboard: always reports core events
[  4505.183] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  4505.183] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  4505.183] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  4505.183] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  4505.184] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  4505.184] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[  4505.184] (**) Option "xkb_rules" "evdev"
[  4505.189] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event5)
[  4505.189] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[  4505.193] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 15 paused 0
[  4505.193] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[  4505.193] (**) TPPS/2 IBM TrackPoint: always reports core events
[  4505.193] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event5"
[  4505.193] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[  4505.193] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[  4505.194] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[  4505.194] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[  4505.194] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[  4505.194] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[  4505.194] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  4505.194] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event5"
[  4505.194] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 9)
[  4505.194] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[  4505.195] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  4505.196] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  4505.196] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  4505.196] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  4505.199] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
[  4505.199] (II) No input driver specified, ignoring this device.
[  4505.199] (II) This device may have been added with another device file.
[  4505.202] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[  4505.202] (II) No input driver specified, ignoring this device.
[  4505.202] (II) This device may have been added with another device file.

Last edited by Hawox (2016-12-06 22:17:23)


You drop 32 bit, and I drop you. So long Arch

Offline

#2 2016-12-06 22:10:48

Hawox
Member
Registered: 2016-03-19
Posts: 2

Re: Xorg Siliconmotion LynxEM+ screen distortion with EXA acceleration

Bumping with an update, the Xorg acceleration method called "EXA" does speed things up, and at the same time is ultimately responsible for all the garble (no other options or vsync/hsync timers are involved). The LynxEM+ is a rather slow card with a maximum of 24-bit colour dept, however changing it to 16 or 8 barely speeds up anything. All the issues are somewhat similiar to the xf86-video-trident driver. The only option I have left is to use the legacy Accelmethod XAA used by XFree86. This extension is still delivered by distributors like Ubuntu (libxaa.so). The new question is, where do I find and install it for Arch? And out of curiosity, how does EXA cause the garble?

EDIT: grabbing libxaa.so from xorg-xserver-core from ubuntu yields:

(EE) SMI: Failed to load module "xaa" (module requirements mismatch, 0)
(EE) AIGLX: reverting to software rendering

Last edited by Hawox (2016-12-06 22:35:33)


You drop 32 bit, and I drop you. So long Arch

Offline

Board footer

Powered by FluxBB