[MPlayer-users] Re: -vo xv with bpp 16 unsupported?
Robert Henney
robh at rut.org
Tue Apr 10 18:38:17 CEST 2007
I think I found the answer in the Xorg.0.log files. at depth 16 xorg
finds enough videoram for a back buffer and proceeds to grab it, leaving
1280 * 203 * 2 memory left over for xv, which by no coincidence is the
exact cutoff point I have found that I can "-vf scale" the video to.
_16bpp_
(II) MGA(0): Memory manager initialized to (0,0) (1280,1227)
(II) MGA(0): Largest offscreen area available: 1280 x 203
(II) MGA(0): Reserved back buffer at offset 0x300000
(II) MGA(0): Reserved depth buffer at offset 0x580000
(II) MGA(0): Reserved 0 kb for textures at offset 0x800000
_24bpp_
(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
(EE) MGA(0): Need at least 15360 kB video memory at this resolution, bit depth
(II) MGA(0): Using 614 lines for offscreen memory.
at depth 24 the attempt to allocate a back buffer fails, leaving [at
least] a plentiful 1280 * 614 * 2 of memory available to xv.
so yeah, this isn't an xorg (or debian) or mplayer issue. I should be
able to force xorg to not allocate the back buffer in 16 bpp, and avoid
the resulting lack of avaible memory.
-------------- next part --------------
--- Xorg.0.log_16 2007-04-10 11:55:38.000000000 -0400
+++ Xorg.0.log_24 2007-04-10 11:56:23.000000000 -0400
@@ -11,7 +11,7 @@
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: Tue Apr 10 11:55:21 2007
+(==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 10 11:56:09 2007
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
@@ -291,8 +291,8 @@
compiled for 7.1.1, module version = 0.1.0
ABI class: X.Org Video Driver, version 1.0
(--) MGA(0): Chipset: "mgag200"
-(++) MGA(0): Depth 16, (--) framebuffer bpp 16
-(==) MGA(0): RGB weight 565
+(++) MGA(0): Depth 24, (--) framebuffer bpp 32
+(==) MGA(0): RGB weight 888
(==) MGA(0): Using AGP 1x mode
(==) MGA(0): Using XAA acceleration
(--) MGA(0): Linear framebuffer at 0xF6000000
@@ -422,17 +422,17 @@
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
(II) MGA(0): Not using default mode "1600x1200" (hsync out of range)
(II) MGA(0): Not using default mode "800x600" (hsync out of range)
-(II) MGA(0): Not using default mode "1792x1344" (hsync out of range)
+(II) MGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
-(II) MGA(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "1792x1344" (insufficient memory for mode)
(II) MGA(0): Not using default mode "896x672" (hsync out of range)
-(II) MGA(0): Not using default mode "1856x1392" (hsync out of range)
+(II) MGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
-(II) MGA(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "1856x1392" (insufficient memory for mode)
(II) MGA(0): Not using default mode "928x696" (hsync out of range)
-(II) MGA(0): Not using default mode "1920x1440" (hsync out of range)
+(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
-(II) MGA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
(II) MGA(0): Not using default mode "1152x768" (vrefresh out of range)
(II) MGA(0): Not using default mode "576x384" (vrefresh out of range)
@@ -444,17 +444,17 @@
(II) MGA(0): Not using default mode "700x525" (hsync out of range)
(II) MGA(0): Not using default mode "1400x1050" (hsync out of range)
(II) MGA(0): Not using default mode "700x525" (hsync out of range)
-(II) MGA(0): Not using default mode "1920x1200" (hsync out of range)
+(II) MGA(0): Not using default mode "1920x1200" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x600" (hsync out of range)
-(II) MGA(0): Not using default mode "1920x1200" (hsync out of range)
+(II) MGA(0): Not using default mode "1920x1200" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x600" (hsync out of range)
-(II) MGA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "1920x1440" (insufficient memory for mode)
(II) MGA(0): Not using default mode "960x720" (hsync out of range)
-(II) MGA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
-(II) MGA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
-(II) MGA(0): Not using default mode "2048x1536" (bad mode clock/interlace/doublescan)
+(II) MGA(0): Not using default mode "2048x1536" (insufficient memory for mode)
(II) MGA(0): Not using default mode "1024x768" (hsync out of range)
(II) MGA(0): Not using default mode "1680x1050" (width too large for virtual size)
(II) MGA(0): Not using default mode "1400x1050" (width too large for virtual size)
@@ -575,6 +575,7 @@
(II) Module ramdac: vendor="X.Org Foundation"
compiled for 7.1.1, module version = 0.1.0
ABI class: X.Org Video Driver, version 1.0
+(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0 0xf7800000 - 0xf7ffffff (0x800000) MX[B]
@@ -604,29 +605,9 @@
(II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) MGA(0): 64 DWORD fifo
(==) MGA(0): Default visual is TrueColor
-(II) MGA(0): [drm] bpp: 16 depth: 16
-(II) MGA(0): [drm] Sarea 2200+664: 2864
-drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 10, (OK)
-drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 10, (OK)
-drmOpenByBusid: Searching for BusID pci:0000:01:00.0
-drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 10, (OK)
-drmOpenByBusid: drmOpenMinor returns 10
-drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
-(II) MGA(0): [drm] DRM interface version 1.2
-(II) MGA(0): [drm] created "mga" driver at busid "pci:0000:01:00.0"
-(II) MGA(0): [drm] added 8192 byte SAREA at 0xc8a17000
-(II) MGA(0): [drm] mapped SAREA 0xc8a17000 to 0xb73a1000
-(II) MGA(0): [drm] framebuffer handle = 0xf6000000
-(II) MGA(0): [drm] added 1 reserved context for kernel
-(II) MGA(0): [dri] visual configs initialized
-(II) MGA(0): Memory manager initialized to (0,0) (1280,1227)
-(II) MGA(0): Largest offscreen area available: 1280 x 203
-(II) MGA(0): Reserved back buffer at offset 0x300000
-(II) MGA(0): Reserved depth buffer at offset 0x580000
-(II) MGA(0): Reserved 0 kb for textures at offset 0x800000
+(EE) MGA(0): Static buffer allocation failed, not initializing the DRI
+(EE) MGA(0): Need at least 15360 kB video memory at this resolution, bit depth
+(II) MGA(0): Using 614 lines for offscreen memory.
(II) MGA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
@@ -641,16 +622,12 @@
Offscreen Pixmaps
Driver provided FillMono8x8PatternRects replacement
Setting up tile and stipple cache:
- 10 128x128 slots
+ 20 128x128 slots
+ 5 256x256 slots
(==) MGA(0): Backing store disabled
(==) MGA(0): Silken mouse enabled
(II) MGA(0): Using overlay video
-(II) MGA(0): X context handle = 0x1
-(II) MGA(0): [drm] installed DRM signal handler
-(II) MGA(0): [DRI] installation complete
-(II) MGA(0): [drm] Mapped 128 DMA buffers
-(II) MGA(0): [drm] dma control initialized, using IRQ 9
-(II) MGA(0): Direct rendering enabled
+(WW) MGA(0): Direct rendering disabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
@@ -666,31 +643,14 @@
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
-drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 11, (OK)
-drmOpenByBusid: Searching for BusID pci:0000:01:00.0
-drmOpenDevice: node name is /dev/dri/card0
-drmOpenDevice: open result is 11, (OK)
-drmOpenByBusid: drmOpenMinor returns 11
-drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
-(WW) AIGLX: 3D driver claims to not support visual 0x23
-(WW) AIGLX: 3D driver claims to not support visual 0x24
-(WW) AIGLX: 3D driver claims to not support visual 0x25
-(WW) AIGLX: 3D driver claims to not support visual 0x26
-(WW) AIGLX: 3D driver claims to not support visual 0x27
-(WW) AIGLX: 3D driver claims to not support visual 0x28
-(WW) AIGLX: 3D driver claims to not support visual 0x29
-(WW) AIGLX: 3D driver claims to not support visual 0x2a
-(WW) AIGLX: 3D driver claims to not support visual 0x2b
-(WW) AIGLX: 3D driver claims to not support visual 0x2c
-(WW) AIGLX: 3D driver claims to not support visual 0x2d
-(WW) AIGLX: 3D driver claims to not support visual 0x2e
-(WW) AIGLX: 3D driver claims to not support visual 0x2f
-(WW) AIGLX: 3D driver claims to not support visual 0x30
-(WW) AIGLX: 3D driver claims to not support visual 0x31
-(WW) AIGLX: 3D driver claims to not support visual 0x32
-(II) AIGLX: Loaded and initialized /usr/lib/dri/mga_dri.so
-(II) GLX: Initialized DRI GL provider for screen 0
+(EE) AIGLX: Screen 0 is not DRI capable
+(II) Loading local sub module "GLcore"
+(II) LoadModule: "GLcore"
+(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
+(II) Module GLcore: vendor="X.Org Foundation"
+ compiled for 7.1.1, module version = 1.0.0
+ ABI class: X.Org Server Extension, version 0.3
+(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(**) Option "CoreKeyboard"
(**) Generic Keyboard: Core Keyboard
(**) Option "Protocol" "standard"
@@ -722,6 +682,4 @@
xkb_symbols { include "pc(pc105)+us" };
xkb_geometry { include "pc(pc104)" };
(II) Configured Mouse: ps2EnableDataReporting: succeeded
-(II) MGA(0): [drm] removed 1 reserved context for kernel
-(II) MGA(0): [drm] unmapping 8192 bytes of SAREA 0xc8a17000 at 0xb73a1000
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.
More information about the MPlayer-users
mailing list