AW: AW: [MPlayer-users] Mplayer compile --with-xvmc fails

Ethan Arnold ethan at arnold.net
Mon Jan 2 11:22:57 CET 2006


Ok, I just spent all night re-doing a new clean system, with xorg-6.8.99-15
and mplayer mplayer-1.0_pre7-r1, using only released gentoo packages. Yes I
know that version of mplayer is "ancient" :-) I'd just like to stick with
packages and at least try my best to get it running that way before
installing CVS code (which I've spent all last week trying).


When I'm done, I run:
mplayer -vo xvmc -vc ffmmeg12mc ~/ntv-dvbs.mpeg

And I get (pasted relevant lines only):
Cache fill:  9.18% (770048 bytes)    MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
Error opening/initializing the selected video_out (-vo) device.


mplayer -vo xv -vc ffmmeg12mc ~/ntv-dvbs.mpeg gives me:

VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
vo: X11 running at 1856x1392 with depth 16 and 16 bpp (":0.0" => local
display)
Forced video codec: ffmmeg12mc
Cannot find codec matching selected -vo and video format 0x10000002.
Video: no video
Starting playback...


mplayer -vo xv ~/ntv-dvbs.mpeg gives me:

MPlayer 1.0pre7try2-3.3.5-20050130 (C) 2000-2005 MPlayer Team
CPU: IDT/Centaur/VIA C3 Nehemiah (Family: 6, Stepping: 8)
Detected cache-line size is 32 bytes
MMX2 supported but disabled
SSE supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX
Cache fill:  7.03% (589824 bytes)    MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
vo: X11 running at 1856x1392 with depth 16 and 16 bpp (":0.0" => local
display)
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12
X11 error: BadAccess (attempt to access private resource denied)


mplayer -vo x11 ~/ntv-dvbs.mpeg DOES WORK, but without any hardware accel:
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 2)  25.000 fps  15000.0 kbps (1875.0
kbyte/s)
vo: X11 running at 1856x1392 with depth 16 and 16 bpp (":0.0" => local
display)
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
Starting playback...
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [x11] 720x576 => 768x576 Planar YV12  [fs]
Shared memory error,disabling ( seg id error )
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
A:   5.1 V:   5.4 A-V: -0.260 ct: -0.408 103/103 32% 72%  4.8% 36 0 24%
Exiting... (Quit)


The "xvinfo" of my new install:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "XV_SWOV"
    number of ports: 1
    port base: 68
    operations supported: PutImage
    supported visuals:
      depth 16, visualID 0x22
      depth 16, visualID 0x23
      depth 16, visualID 0x24
      depth 16, visualID 0x25
      depth 16, visualID 0x26
      depth 16, visualID 0x27
      depth 16, visualID 0x28
      depth 16, visualID 0x29
      depth 16, visualID 0x2a
      depth 16, visualID 0x2b
      depth 16, visualID 0x2c
      depth 16, visualID 0x2d
    number of attributes: 6
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2081)
      "XV_BRIGHTNESS" (range 0 to 10000)
              client settable attribute
              client gettable attribute (current value is 5000)
      "XV_CONTRAST" (range 0 to 20000)
              client settable attribute
              client gettable attribute (current value is 10000)
      "XV_SATURATION" (range 0 to 20000)
              client settable attribute
              client gettable attribute (current value is 10000)
      "XV_HUE" (range -180 to 180)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
    maximum XvImage size: 1920 x 1200
    Number of image formats: 5
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x434d5658 (XVMC)
        guid: 56494100-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 1
        type: YUV (planar)
      id: 0x35315652 (RV15)
        guid: 52563135-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 15
        red, green, blue masks: 0x7c00, 0x3e0, 0x1f
      id: 0x36315652 (RV16)
        guid: 52563136-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0xf800, 0x7e0, 0x1f

My xorg.conf:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "glx"
        Load  "type1"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        Identifier  "Card0"
        Driver      "via"
        VendorName  "Unknown Vendor"
        BoardName   "Unknown Board"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


My dmesg says:
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode


lsmod says:
Module                  Size  Used by
via                    37920  1
drm                    65140  2 via
via_agp                 7392  1
agpgart                29576  2 drm,via_agp
snd_pcm_oss            48288  0
snd_mixer_oss          17024  1 snd_pcm_oss
snd_via82xx            22272  0
snd_ac97_codec         91208  1 snd_via82xx
snd_pcm                80232  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21412  1 snd_pcm
snd_ac97_bus            1760  1 snd_ac97_codec
snd_page_alloc          8456  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6176  1 snd_via82xx
snd_rawmidi            19936  1 snd_mpu401_uart
snd                    44356  8
snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_m
pu401_uart,snd_rawmidi
soundcore               7584  1 snd
uhci_hcd               30256  0
via_rhine              19396  0


Now please someone tell me whats wrong? Please? I've earned it, really :-)

Ethan


-----Ursprüngliche Nachricht-----
Von: mplayer-users-bounces at mplayerhq.hu
[mailto:mplayer-users-bounces at mplayerhq.hu] Im Auftrag von RC
Gesendet: Sonntag, 1. Januar 2006 21:09
An: MPlayer usage questions, feature requests, bug reports
Betreff: Re: AW: [MPlayer-users] Mplayer compile --with-xvmc fails

On Sun, 1 Jan 2006 12:25:20 +0100
"Ethan Arnold" <ethan at arnold.net> wrote:

> Update: I get the same errors when I run mplayer with "-vo xv":
> 
> X11 error: BadAccess (attempt to access private resource denied) 
> 
> So I guess it's not Openchrome's fault, and maybe not mplayer's fault
> either.

Run 'xvinfo' to see if you have XV support at all.

It may very well be "Openchrome's fault".

_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list