gnewsense-dev
[Top][All Lists]
Advanced

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

[Gnewsense-dev] Re: [loongson-dev] Re: Just fixed xorg's siliconmotion d


From: Erwan Lerale
Subject: [Gnewsense-dev] Re: [loongson-dev] Re: Just fixed xorg's siliconmotion driver
Date: Mon, 04 May 2009 18:48:14 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090429)

Zhang Le wrote:
As can be seen from the ticket on fdo's bugzilla, my original patch is only an
ugly hack for the chipset used in yeeloong only. Because not all LYNXEMplus has
4 Mb of video ram. However since I am not familiar with it, that's all what I
can currently deliver.

Francisco's patch would be included instead:
https://bugs.freedesktop.org/attachment.cgi?id=25404

But the AccelMethod should be EXA instead of XAA. I have attached a xorg.conf
which I am currently using.

As a bonus, this also solves the BadAlloc problem.




Hello,

These are very good news ! I was becoming crazy with this fbdev driver :p

I have compiled the driver with Francisco's patch and your xorg.conf, i's not
segfaulting anymore but the screen is flickering (frequency pb ?).

Xorg.0.log attached. The only weird thing I can see is :
(WW) SMI(0): invalid frequency 157.000 MHz  [freq <= 135.000 MHz]

If anyone has an idea :)

Cheers
Erwan


X.Org X Server 1.6.0
Release Date: 2009-2-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.29.1 mips64 
Current Operating System: Linux xiwen 2.6.29.1 #8 Sat Apr 25 10:52:55 CEST 2009 
mips64
Build Date: 04 May 2009  10:36:16AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon May  4 18:34:29 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "card0"
(**) Option "NoTrapSignals"
(**) Option "AIGLX" "false"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
        If no devices become available, reconfigure HAL or disable 
AllowEmptyInput.
(II) Loader magic: 0x5b0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(address@hidden:8:0) Silicon Motion, Inc. SM712 LynxEM+ rev 176, Mem 
@ 0x50000000/16777216
(II) No APM support in BIOS or kernel
(II) System resource ranges:
(WW) "glx" will not be loaded unless you've specified it to be loaded elsewhere.
(WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
(II) "extmod" will be loaded by default.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded even though the default is to disable it.
(II) "dri" will be loaded even though the default is to disable it.
(II) "dri2" will be loaded by default.
(II) LoadModule: "vgahw"
(II) Loading /usr/lib/xorg/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 0.1.0
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) LoadModule: "exa"
(II) Loading /usr/lib/xorg/modules//libexa.so
(II) Module exa: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 2.4.0
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "xaa"
(II) Loading /usr/lib/xorg/modules//libxaa.so
(II) Module xaa: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.2.1
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "int10"
(II) Loading /usr/lib/xorg/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.0.0
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.1.0
        ABI class: X.Org Video Driver, version 5.0
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "siliconmotion"
(II) Loading /usr/lib/xorg/modules/drivers//siliconmotion_drv.so
(II) Module siliconmotion: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 1.7.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 5.0
(II) SMI: driver (version 1.7.0) for Silicon Motion Lynx chipsets: Lynx,
        LynxE, Lynx3D, LynxEM, LynxEM+, Lynx3DM, Cougar3DR, MSOC
(WW) xf86EnableIOPorts: map iobase (2b328000)
(II) Primary Device is: PCI address@hidden:08:0
(WW) Falling back to old probe method for siliconmotion
(--) Chipset LynxEM+ found
(II) resource ranges after xf86ClaimFixedResources() call:
(II) resource ranges after probing:
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Reloading /usr/lib/xorg/modules//libvgahw.so
(==) SMI(0): Depth 24, (--) framebuffer bpp 32
(==) SMI(0): RGB weight 888
(==) SMI(0): Default visual is TrueColor
(**) SMI(0): Option "pci_burst" "true"
(**) SMI(0): Option "HWCursor" "false"
(**) SMI(0): Option "SWCursor" "true"
(**) SMI(0): Option "UseBIOS" "false"
(**) SMI(0): Option "AccelMethod" "EXA"
(**) SMI(0): Option "PanelSize" "1024x600"
(**) SMI(0): PCI Burst enabled
(==) SMI(0): PCI Retry enabled
(**) SMI(0): Using Software Cursor
(**) SMI(0): Option: UseBIOS disabled.
(--) SMI(0): Chipset: "LynxEM+"
(==) SMI(0): Dual head disabled
(**) SMI(0): Using EXA acceleration architecture
(--) SMI(0): videoram: 4096kB
(II) SMI(0): Cursor Offset: 003FFC00
(II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) SMI(0): Reserved: 003FF800
(II) SMI(0): OFF Panel Size = 1024x600
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) SMI(0): I2C bus "I2C bus" initialized.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(==) SMI(0): Using gamma correction (1.0, 1.0, 1.0)
(II) SMI(0): MCLK = 157.000
(II) SMI(0): Output LVDS using monitor section Generic Monitor
(II) SMI(0): Output VGA has no monitor section
(II) SMI(0): I2C device "I2C bus:E-EDID segment register" registered at address 
0x60.
(II) SMI(0): I2C device "I2C bus:ddc2" registered at address 0xA0.
(--) SMI(0): No DDC signal
(II) SMI(0): Output LVDS connected
(II) SMI(0): Output VGA connected
(II) SMI(0): Using user preference for initial modes
(II) SMI(0): Output LVDS using initial mode 1024x600
(II) SMI(0): Output VGA using initial mode 1024x768
(==) SMI(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Reloading /usr/lib/xorg/modules//libfb.so
(II) Loading sub module "exa"
(II) LoadModule: "exa"
(II) Reloading /usr/lib/xorg/modules//libexa.so
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
(II) SMI(0): Cursor Offset: 003FFC00
(II) SMI(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) SMI(0): Reserved: 003FF800
(WW) SMI(0): invalid frequency 157.000 MHz  [freq <= 135.000 MHz]
(II) SMI(0): EXA offscreen memory manager enabled.
(II) EXA(0): Offscreen pixmap area of 4192256 bytes
(II) EXA(0): Driver registered support for the following operations:
(II)         Solid
(II)         Copy
(II)         Composite (RENDER acceleration)
(II) SMI(0): EXA Acceleration enabled.
(**) Option "dpms" "false"
(II) SMI(0): I2C device "I2C bus:SAA 7111A" registered at address 0x48.
(II) SMI(0): I2C device "I2C bus:SAA 7111A" removed.
(II) SMI(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) SMI(0): Setting screen physical size to 270 x 158
(II) config/hal: Adding input device ImExPS/2 Generic Explorer Mouse
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.6.0, module version = 2.2.1
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 4.0
(**) ImExPS/2 Generic Explorer Mouse: always reports core events
(**) ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event1"
(II) ImExPS/2 Generic Explorer Mouse: Found 5 mouse buttons
(II) ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
(II) ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
(II) ImExPS/2 Generic Explorer Mouse: Configuring as mouse
(**) ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
(**) ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" 
(type: MOUSE)
(**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
(**) ImExPS/2 Generic Explorer Mouse: (accel) filter chain progression: 2.00
(**) ImExPS/2 Generic Explorer Mouse: (accel) filter stage 0: 20.00 ms
(**) ImExPS/2 Generic Explorer Mouse: (accel) set acceleration profile 0
(II) config/hal: Adding input device AT Translated Set 2 keyboard
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: 
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) ImExPS/2 Generic Explorer Mouse: Close
(II) UnloadModule: "evdev"
(II) AT Translated Set 2 keyboard: Close
(II) UnloadModule: "evdev"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]