Any help gratefully received.

The problem:
XvMC is loaded and provides acceleration, but fails when using any
resolution higher than 800x600 (in 16 bit colour depth) or 640x480 (32
bits).
(II) CHROME(0): [XvMC] Registering chromeXvMC.
(II) CHROME(0): [XvMC] Initialized XvMC extension.

This is using the latest svn trunk + mplayer patch.
mplayer is launched using:
mplayer -fs -ao null -vo xvmc,xv -vc ffmpeg12mc, /path/to/file.mpg

The ram (64M set in bios) is detected correctly by the system:
* By the kernel / framebuffer driver if one is loaded, ie:
[    0.373173] viafb: framebuffer size = 64 Mb
* By the X server:
(==) CHROME(0): Will try to allocate 32768 kB of AGP memory.
(II) CHROME(0): [drm] Using 56355552 bytes for DRM memory heap.

Tried tweaking:
* Bios settings (aperture, video memory, PnP)
* command line (noapic, acpi, ...)
* all xorg.conf options (XAA vs EXA, dma, dri,...)
* various framebuffer modes (disabled, vesa, viafb, vt8623, uvesafb,..)

Suspicions:
* in X log:
(EE) CHROME(0): [Xv] Port 0: Bandwidth is insufficient. Check bios
memory settings.
(there are no settings in the bios)
* in mplayer stderr:
X11 error: BadAlloc (insufficient resources for operation)?,?% 1 0


There is one case of memory detection failing with the vt8623fb module:

[ 0.364823] vt8623fb 0000:01:00.0: memory size detection failed (1 40), suppose 16 MB
[    0.473315] Console: switching to colour frame buffer device 80x30
[    0.477132] fb0: VIA VT8623 on 0000:01:00.0, 16 MB RAM

--
Clive
X11 error: BadAlloc (insufficient resources for operation)?,?% 1 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 2 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 3 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation)?,?% 4 0 
X11 error: BadAlloc (insufficient resources for operation) 4.0% 4 0 

[    0.000000] ACPI: RSDT 0BFF0000, 0028 (r1 AMIINT VIA_P6         10 MSFT      
 97)
[    0.000000] ACPI: FACP 0BFF0030, 0081 (r1 AMIINT VIA_P6         11 MSFT      
 97)
[    0.000000] ACPI: DSDT 0BFF0120, 2E1E (r1    VIA APOLLO-P     1000 MSFT  
100000D)
[    0.000000] Kernel command line: ro root=/dev/hda5 video=viafb 
splash=silent,fadein,theme:gentoo console=tty1 quiet silent
[    0.061518] CPU: Centaur VIA Nehemiah stepping 0a
[    0.133473] usbcore: registered new interface driver usbfs
[    0.133653] usbcore: registered new interface driver hub
[    0.133781] usbcore: registered new device driver usb
[    0.299374] PCI: VIA PCI bridge detected. Disabling DAC.
[    0.371808] Real Time Clock Driver v1.12ac
[    0.372311] viafb: VIA UNICHROME framebuffer 1.0 initializing
[    0.373162] viafb: viafb : CC880000
[    0.373173] viafb: framebuffer size = 64 Mb
[    0.376206] viafb: Found Device Rev:0
[    0.376248] viafb: X:720 Y:576
[    0.376261] viafb: mode=720  bpp=32  refresh=255  TVon=0  TVtype=2 
[    0.376273] viafb: VQ start:3FC0000  end:3FFFFFF  size:40000
[    0.376284] viafb: Cursor start:3FBF000  end:3FBFFFF  size:1000
[    0.376296] viafb: mode=720  bpp=32  refresh=255  TVon=0  TVtype=2 
[    0.939006] viafb: No IRQ handler installed, IRQ 0 is busy. Check BIOS.
[    1.034459] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
[    1.042087] eth0: VIA Rhine II at 0xdffffe00, 44:4d:50:e1:c3:c0, IRQ 11.
[    1.048055] Uniform Multi-Platform E-IDE driver
[    1.053428] VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on 
pci0000:00:11.1
[    1.449004] hda: Hitachi HTS541680J9AT00, ATA DISK drive
[    2.694715] ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00, driver 10 Dec 
2004
[    2.827473] USB Universal Host Controller Interface driver v3.0
[    3.162873] usbcore: registered new interface driver libusual
[    3.246370] i2c /dev entries driver
[    3.279897] padlock: Using VIA PadLock ACE for AES algorithm.
[    3.279907] padlock: VIA PadLock Hash Engine not detected.
[    3.282761] usbcore: registered new interface driver usbhid
[    3.282786] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
[    3.285875] Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu 
Jan 31 16:40:16 2008 UTC).
[    4.522547]   #0: VIA 8235 with VIA1612A at 0xe800, irq 5
[    4.522701] Netfilter messages via NETLINK v0.30.
[    4.524880] IPv4 over IPv4 tunneling driver
[    4.526917] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    9.863396] agpgart: Detected VIA CLE266 chipset
[   78.182522] [drm] Initialized drm 1.1.0 20060810
[   78.194594] [drm] Initialized via 2.11.1 20070202 on minor 0

01: None 00.0: 10105 BIOS
  [Created at bios.174]
  Unique ID: rdCR.lZF+r4EgHp4
  Hardware Class: bios
  VESA BIOS Version: 3.0
  Current VESA Mode: 0x0003
  BIOS Keyboard LED Status:
    Scroll Lock: off
    Num Lock: on
    Caps Lock: off
  Serial Port 0: 0x3f8
  Parallel Port 0: 0x278
  Base Memory: 639 kB
  PnP BIOS: @@@0000
  BIOS32 Service Directory Entry: 0xfdb30
  Config Status: cfg=new, avail=yes, need=no, active=unknown

00:00.0 Host bridge: VIA Technologies, Inc. VT8623 [Apollo CLE266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP]
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 50)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623 [Apollo 
CLE266] integrated CastleRock graphics (rev 03)

00:00.0 Host bridge: VIA Technologies, Inc. VT8623 [Apollo CLE266]
        Subsystem: VIA Technologies, Inc. Unknown device 0000
        Flags: bus master, 66MHz, medium devsel, latency 8
        Memory at e0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [a0] AGP version 2.0
        Capabilities: [c0] Power Management version 2
        Kernel driver in use: agpgart-via
        Kernel modules: via-agp

00:01.0 PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (prog-if 
00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        Memory behind bridge: dde00000-dfefffff
        Prefetchable memory behind bridge: d5d00000-ddcfffff
        Capabilities: [80] Power Management version 2

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 80) (prog-if 00 [UHCI])
        Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at ec00 [size=32]
        Capabilities: [80] Power Management version 2
        Kernel driver in use: uhci_hcd

00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) (prog-if 20 
[EHCI])
        Subsystem: VIA Technologies, Inc. USB 2.0
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at dfffff00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2
        Kernel driver in use: ehci_hcd

00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
        Subsystem: VIA Technologies, Inc. Unknown device 0000
        Flags: bus master, stepping, medium devsel, latency 0
        Capabilities: [c0] Power Management version 2
        Kernel modules: via-ircc

00:11.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a 
[Master SecP PriP])
        Subsystem: VIA Technologies, Inc. 
VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE
        Flags: bus master, medium devsel, latency 32, IRQ 255
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
        I/O ports at fc00 [size=16]
        Capabilities: [c0] Power Management version 2
        Kernel driver in use: VIA_IDE

00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 50)
        Subsystem: VIA Technologies, Inc. K7VT2 motherboard
        Flags: medium devsel, IRQ 5
        I/O ports at e800 [size=256]
        Capabilities: [c0] Power Management version 2
        Kernel driver in use: VIA 82xx Audio

00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
        Subsystem: VIA Technologies, Inc. VT6102 [Rhine II] Embeded Ethernet 
Controller on VT8235
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at e400 [size=256]
        Memory at dffffe00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 2
        Kernel driver in use: via-rhine

01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623 [Apollo 
CLE266] integrated CastleRock graphics (rev 03) (prog-if 00 [VGA controller])
        Subsystem: VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated 
CastleRock graphics
        Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
        Memory at d8000000 (32-bit, prefetchable) [size=64M]
        Memory at de000000 (32-bit, non-prefetchable) [size=16M]
        Expansion ROM at dfef0000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
        Capabilities: [70] AGP version 2.0
        Kernel driver in use: viafb


VBE Version 3.0
VIA CLE266

[256] 640x400 (256 color palette)
[257] 640x480 (256 color palette)
[259] 800x600 (256 color palette)
[261] 1024x768 (256 color palette)
[263] 1280x1024 (256 color palette)
[270] 320x200 (5:6:5)
[271] 320x200 (8:8:8)
[273] 640x480 (5:6:5)
[274] 640x480 (8:8:8)
[276] 800x600 (5:6:5)
[277] 800x600 (8:8:8)
[279] 1024x768 (5:6:5)
[280] 1024x768 (8:8:8)
[282] 1280x1024 (5:6:5)
[283] 1280x1024 (8:8:8)
[285] 640x400 (5:6:5)
[286] 640x400 (8:8:8)
[305] 320x240 (256 color palette)
[307] 320x240 (5:6:5)
[308] 320x240 (8:8:8)
[321] 400x300 (256 color palette)
[323] 400x300 (5:6:5)
[324] 400x300 (8:8:8)
[337] 512x384 (256 color palette)
[339] 512x384 (5:6:5)
[340] 512x384 (8:8:8)
[348] 848x480 (256 color palette)
[349] 848x480 (5:6:5)
[351] 848x480 (8:8:8)
[353] 1152x864 (256 color palette)
[355] 1152x864 (5:6:5)
[356] 1152x864 (8:8:8)
[369] 720x480 (256 color palette)
[371] 720x480 (5:6:5)
[373] 720x480 (8:8:8)
[380] 720x576 (256 color palette)
[382] 720x576 (5:6:5)
[383] 720x576 (8:8:8)
[415] 320x200 (256 color palette)

Section "Files"
    RgbPath     "/usr/share/X11/rgb"

    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/100dpi"

EndSection

Section "Module"
    Load        "dbe"
    SubSection  "extmod"
        Option  "omit xfree86-dga"
    EndSubSection
    Load        "freetype"
EndSection


Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes

    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"

EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "kbd"
    Option      "XkbModel"      "pc104"
    Option      "XkbLayout"     "gb"
EndSection


Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "auto"
    Option      "Device"        "/dev/input/mice"
EndSection

Section "Monitor"
    Identifier  "Generic Monitor"
EndSection

Section "Device"
    Identifier  "Openchrome"
    Driver      "openchrome"
    Option      "EnableAGPDMA"          "On"
    #Option     "Center"                "On"
    #Option     "AGPMem"                "65536"
    #Option     "DisableIRQ"
    #Option     "NoXVDMA"               "true"
    #Option     "AccelMethod"           "EXA"
    #Option     "AccelMethod"           "XAA"
    #Option     "ExaScratchSize"        "8192"
    #Option     "MaxDRIMem"             "65536"
    #Option     "MigrationHeuristic"    "greedy"
    #BusID      "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Openchrome"
    Monitor     "Generic Monitor"

    DefaultDepth 16

    SubSection "Display"
        Depth           32
        Modes           "1280x1024" "1024x768" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        Modes           "1280x1024" "1024x768" "640x480"
    EndSubsection
EndSection

#Section "Extensions"
# Option "Composite" "Enable"
#EndSection

Section "ServerLayout"
    Identifier  "simple layout"
    Screen      "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Attachment: Xorg.0.log.bz2
Description: application/bzip

_______________________________________________
openchrome-users mailing list
[email protected]
http://wiki.openchrome.org/mailman/listinfo/openchrome-users
Main page:
http://www.openchrome.org
Wiki:
http://wiki.openchrome.org
User Forum:
http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1

Reply via email to