On 18:55 Sun 03 May , Zhang Le wrote: > On 17:18 Sun 03 May , Zhang Le wrote: > > https://bugs.freedesktop.org/show_bug.cgi?id=21528 > > Now a new problem: > > when playing videos using mplayer's xv video output, there is only blue > background in mplayer's window, and there is output like this in stdout: > > X11 error: BadAlloc (insufficient resources for operation)6.7% 5 0 > X11 error: BadAlloc (insufficient resources for operation)6.7% 5 0 > X11 error: BadAlloc (insufficient resources for operation)6.7% 5 0 > X11 error: BadAlloc (insufficient resources for operation)6.7% 5 0 > X11 error: BadAlloc (insufficient resources for operation)6.6% 5 0
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. -- Zhang, Le Gentoo/Loongson Developer http://zhangle.is-a-geek.org 0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
Option "AIGLX" "false"
EndSection
Section "ServerFlags"
Option "NoTrapSignals"
EndSection
Section "Module"
Load "vgahw"
Load "fb"
Load "exa"
Load "xaa"
Load "int10"
Load "ddc"
Load "i2c"
Load "vbe"
Disable "glx"
Disable "dri"
EndSection
Section "Device"
Identifier "card0"
Driver "siliconmotion"
VendorName "Silicon Motion, Inc."
BoardName "SM712 LynxEM+"
BusID "PCI:0:8:0"
Option "AccelMethod" "EXA"
Option "pci_burst" "true"
Option "HWCursor" "false"
Option "SWCursor" "true"
Option "UseBIOS" "false"
Option "PanelSize" "1024x600"
#Option "DualHead" "true"
EndSection
Section "Device"
Identifier "card1"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS" "false"
HorizSync 30-70
VertRefresh 50-80
EndSection
Section "Screen"
Identifier "Default Screen"
Device "card0"
Monitor "Generic Monitor"
SubSection "Display"
Depth 24
Modes "1024x600"
EndSubSection
EndSection
pgpSC11FEaW0A.pgp
Description: PGP signature
_______________________________________________ gNewSense-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/gnewsense-dev
