Bug 10961 - mplayer cannot play video with option -vo dga
Summary: mplayer cannot play video with option -vo dga
Status: VERIFIED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Gordon Jin
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-15 21:41 UTC by zy
Modified: 2008-12-08 19:11 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (3.62 KB, text/plain)
2007-05-15 21:58 UTC, zy
no flags Details
Xorg.0.log (13.75 KB, text/plain)
2007-05-15 21:58 UTC, zy
no flags Details
Xorg.0.log (56.85 KB, text/plain )
2007-05-15 23:24 UTC, zy
no flags Details

Description zy 2007-05-15 21:41:06 UTC
x has loaded the DGA 2.0,but mplayer cannot play video with -vo
dga 

1. with vesa driver ,error:
----when Backtrace:
Fatal server error:
Caught signal 11.  Server aborting
X connection to :0.0 broken (explicit kill or server shutdown).
[2]-  Aborted                 (core dumped) x

2. with intel driver ,main error:
----vo_dga: Framebuffer mapping failed!!!
  FATAL: Cannot initialize video driver.
  FATAL: Could not initialize video filters (-vf) or video output (-vo).

3. both of them have the problem:
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
alsa-init: using device default
alsa-lib: confmisc.c:672:(snd_func_card_driver) cannot find card '0'
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
alsa-lib: confmisc.c:1072:(snd_func_refer) error evaluating name
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
alsa-lib: conf.c:3961:(snd_config_expand) Evaluate error: No such device
alsa-lib: pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
alsa-init: playback open error: No such device
[AO ARTS] can't connect to aRts soundserver
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
[AO ESD] esd_open_sound failed: Connection refused
[AO SDL] Samplerate: 32000Hz Channels: Stereo Format s16le
alsa-lib: confmisc.c:672:(snd_func_card_driver) cannot find card '0'
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
alsa-lib: confmisc.c:1072:(snd_func_refer) error evaluating name
alsa-lib: conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
alsa-lib: conf.c:3961:(snd_config_expand) Evaluate error: No such device
alsa-lib: pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
ALSA lib conf.c:3492:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:3961:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
AO: [null] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
VO: [dga] 320x240 => 320x240 BGR 16-bit
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  640 x  480 @  73 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 320 x 240, depth 16, bitspp 16.
Comment 1 zy 2007-05-15 21:58:33 UTC
Created attachment 9979 [details]
xorg.conf
Comment 2 zy 2007-05-15 21:58:53 UTC
Created attachment 9980 [details]
Xorg.0.log
Comment 3 zy 2007-05-15 23:02:03 UTC
915GM with intel driver it can't work 
with vesa driver it can work

Q965 neither intel or vesa driver can work 
Backtrace:
0: X(xf86SigHandler+0x7e) [0x80b197e]
1: [0xffffe420]
2: /opt/X11R7/lib/xorg/modules//libfb.so(fbCopyNtoN+0x20c) [0xb7cd4a2c]
3: /opt/X11R7/lib/xorg/modules//libfb.so(fbCopyRegion+0x8e) [0xb7cd393e]
4: /opt/X11R7/lib/xorg/modules//libfb.so(fbDoCopy+0x46f) [0xb7cd3f7f]
5: /opt/X11R7/lib/xorg/modules//libfb.so(fbCopyArea+0x78) [0xb7cd4148]
6: X [0x8165db6]
7: X [0x8110d34]
8: X [0x8122961]
9: X [0x81637f0]
10: X [0x8163a17]
11: X [0x8163ef0]
12: X(compPaintWindowBackground+0x6d) [0x80f72cd]
13: X(miWindowExposures+0xfa) [0x8112daa]
14: X(miHandleValidateExposures+0x78) [0x812a3c8]
15: X [0x80dab18]
16: /opt/X11R7/lib/xorg/modules/drivers//vesa_drv.so [0xb7f2484f]
17: X [0x80bfb63]
18: /opt/X11R7/lib/xorg/modules/drivers//vesa_drv.so [0xb7f23e9d]
19: X(xf86SetDGAMode+0x166) [0x80c46b6]
20: X [0x80c0d8d]
21: X(DGASetMode+0x3f) [0x80c369f]
22: /opt/X11R7/lib/xorg/modules/extensions//libextmod.so [0xb7e26b44]
23: X [0x81436ce]
24: X(Dispatch+0x2bb) [0x808590b]
25: X(main+0x495) [0x806cf85]
26: /lib/libc.so.6(__libc_start_main+0xdc) [0x469397e4]
27: X(FontFileCompleteXLFD+0xa1) [0x806c2b1]

Fatal server error:
Caught signal 11.  Server aborting
Comment 4 zy 2007-05-15 23:24:19 UTC
Created attachment 9981 [details]
Xorg.0.log
Comment 5 zy 2007-05-23 21:37:26 UTC
915gm with vesa driver cannot work to support "-vo dga"

AO: [oss] 32000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
SwScaler: using unscaled yuv420p -> bgr565 special converter
VO: [dga] 320x240 => 320x240 BGR 16-bit
vo_dga: DGA 2.0 available :-) Can switch resolution AND depth!
vo_dga: Selected hardware mode  640 x  480 @  73 Hz @ depth 16, bitspp 16.
vo_dga: Video parameters by codec: 320 x 240, depth 16, bitspp 16.
(EE) VESA(0): vm86() syscall generated signal 4.
(EE) VESA(0): vm86() syscall generated signal 4.
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  12.3 V:  12.3 A-V:  0.013 ct: -0.066 269/269  4%  2%  0.5% 1 0
Fatal server error:
bogus pointer event from ddx
(EE) VESA(0): vm86() syscall generated signal 4.  4%  2%  0.5% 1 0
(EE) VESA(0): vm86() syscall generated signal 4.

(EE) VESA(0): Set VBE Mode failed!
X connection to :0.0 broken (explicit kill or server shutdown).1 0
[1]+  Exit 1                  X

Comment 6 Gordon Jin 2008-12-08 19:06:31 UTC
we don't test dga now.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.