View previous topic :: View next topic |
Author |
Message |
wizard_ct n00b

Joined: 08 Dec 2003 Posts: 37
|
Posted: Sun May 02, 2004 10:58 pm Post subject: [solved] blank video xine/mplayer after updating |
|
|
After moving to 2.6.6-r2 and emerge -U world (xine-libs and mplayer were among updated packages), video is unplayable on my system.
In xine, the screen just stays blank but the seek bar continues to move. Occurs with .avi, .mpeg, dvd:/ and all others I tried. Changing the render driver (auto, xv, sdl) makes no difference. No particularily interesting console output:
Code: | wizard_ct@moothecow wizard_ct $ xine
This is xine (X11 gui) - a free video player v0.9.23.
(c) 2000-2003 The xine Team. |
Mplayer is a little different - it opens for a split second then crashes out playing any format using any driver. Console output:
Code: | wizard_ct@moothecow wizard_ct $ mplayer /dev/cdroms/cdrom0
MPlayer 1.0pre4-3.3.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 2317 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/wizard_ct/.mplayer/config
Reading /home/wizard_ct/.mplayer/codecs.conf: Can't open '/home/wizard_ct/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 66 audio & 176 video codecs
font: can't open file: /home/wizard_ct/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: No such file or directory (/dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/wizard_ct/.mplayer/input.conf: No such file or directory
Input config file /usr/share/mplayer/input.conf parsed: 53 binds
Playing /dev/cdroms/cdrom0.
Cache fill: 16.41% (1376256 bytes) MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 9000.0 kbps (1125.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
No accelerated IMDCT transform found
AC3: 2.0 (stereo) 48000 Hz 224.0 kbit/s
No accelerated resampler found
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Disabling DPMS
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (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.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 720 x 480 (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] 720x480 => 720x540 Planar YV12
X11 error: BadAlloc (insufficient resources for operation) 0.0% 0 0 12%
MPlayer interrupted by signal 6 in module: flip_page
- MPlayer crashed. This shouldn't happen.
It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
gcc version. If you think it's MPlayer's fault, please read
DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
won't help unless you provide this information when reporting a possible bug.
Successfully enabled DPMS
Xlib: unexpected async reply (sequence 0x61)! |
That insufficient resources line is particularily interesting. I have 768mb ram and it's never any more than half full - so I can't figure out what resources it's talking about. I'm wondering if this has something to do with the fact that I upgraded my kernel, but am still using a version of xorg I compiled on the last kernel
Code: | wizard_ct@moothecow wizard_ct $ X -version
Release Date: 18 December 2003
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.6.3 i686 [ELF]
Current Operating System: Linux moothecow 2.6.6-rc2 #2 SMP Sun May 2 00:45:14 GMT 2004 i686
Build Date: 20 April 2004
|
Xorg worked fine with both xine and mplayer before the update.
Does anyone have any idea what's going on? Search failed to yield anything promising and this is rather frustrating. Thanks in advance.
Edit - I hate it when answers are stupidly obvious. Logged out and back into x, everything was fine then, heh. |
|
Back to top |
|
 |
Erika_Meier n00b

Joined: 20 Oct 2003 Posts: 5
|
Posted: Wed May 05, 2004 8:45 pm Post subject: |
|
|
I have exactly the same problem except for the fix.
I restarted my box and it still does not work. restarting X wont fix it either.
any Ideas? |
|
Back to top |
|
 |
Boris27 Guru


Joined: 05 Nov 2003 Posts: 562 Location: Almelo, The Netherlands
|
Posted: Wed May 05, 2004 9:08 pm Post subject: |
|
|
You 2 on ATi cards? X Overlay is broken...
Use the X11 driver (xshm in xine, x11 in mplayer), and it'll work. _________________ we are microsoft, lower your firewalls and surrender your pc's. we will add your biological and technological distinctiveness to our own. your culture will adapt and service us. resistance is futile. |
|
Back to top |
|
 |
Erika_Meier n00b

Joined: 20 Oct 2003 Posts: 5
|
Posted: Wed May 05, 2004 10:54 pm Post subject: |
|
|
I have an ATI Rage 128
I just found out that it works when I runmplayer as root
or with root privileges...
still I do not like to do this generally
the x11 driver is too slow for my hardware: I havee only a 450 mhz machine so I could not view it fullscreen... |
|
Back to top |
|
 |
Cocobo-1 Apprentice


Joined: 18 Dec 2003 Posts: 166 Location: Sweden
|
Posted: Wed May 19, 2004 7:33 pm Post subject: |
|
|
I have xinerama with a geforce 2 and a voodoo 3 card. Today I noticed that xvideo diden't work on the voodoo3 screen. It did that before. The only thing I changed was installing xorg and the latest mplayer. It works fine when I run gmplayer as root, just plane mplayer or a movie with small resolution with gmplayer. |
|
Back to top |
|
 |
schutten Tux's lil' helper


Joined: 29 Apr 2002 Posts: 120 Location: Veldhoven, the Netherlands
|
Posted: Wed Jun 30, 2004 12:57 pm Post subject: |
|
|
I posted a workaround to the bug #47755 to the gentoo bugzilla:
The workaround is:
add
Option "XaaNoOffscreenPixmaps"
to
/etc/X11/xorg.conf
in Section "Device" describing the ATI card.
my versions:
xorg-x11 6.7.0
ati-drivers 3.7.6-r1
my screen resolution: 1024x768 @ 32 bits colour depth
so far I have seen no adverse effects of using this option... |
|
Back to top |
|
 |
Robelix l33t


Joined: 21 Jul 2002 Posts: 760 Location: in a World created by a Flying Spaghetti Monster
|
Posted: Fri Jul 02, 2004 8:55 pm Post subject: |
|
|
schutten wrote: | I posted a workaround to the bug #47755 to the gentoo bugzilla:
The workaround is:
add
Option "XaaNoOffscreenPixmaps"
to
/etc/X11/xorg.conf
in Section "Device" describing the ATI card.
|
Thanks! It also works with a Matrox G550.
Robelix _________________ mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec) |
|
Back to top |
|
 |
|