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: Zhang Le
Subject: [Gnewsense-dev] Re: [loongson-dev] Re: Just fixed xorg's siliconmotion driver
Date: Tue, 5 May 2009 11:18:10 +0800
User-agent: Mutt/1.5.19 (2009-01-05)

On 18:48 Mon 04 May     , Erwan Lerale wrote:
> 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
> 
> 
> 
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups 
> "loongson-dev" group.
> To post to this group, send email to address@hidden
> To unsubscribe from this group, send email to address@hidden
> For more options, visit this group at 
> http://groups.google.com/group/loongson-dev?hl=en
> -~----------~----~----~----~------~----~------~--~---
> 

> 
> 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

Here. This is really weird.

-- 
Zhang, Le
Gentoo/Loongson Developer
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973

Attachment: pgpjWBMaWYdEj.pgp
Description: PGP signature


reply via email to

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