[MPlayer-users] is fbdev broken ?

jarek darnowski skyridee at wp.pl
Mon Jan 31 09:41:51 CET 2005


hello!
i have few problems with mplayer since first version 1.0xxx, when
fbdev code changes a lot. there is a strange screen behaviour
when running fbdev and fbdev2.
my hardware is athlon xp 1700+, 3dfx voodoo 3 3000 16mb. my
software is kernel 2.6.10, udev 0.30 and gcc 3.4.3 (linux from
scratch).
when i run mplayer -vo fbdev movie.avi i get strange screen
flicker effect. osd and subtitles (freetype) are not properly
displayed. movie position bar is displayed partially on the edge
of the movie area and partially beyond. subtitles are displayed
far away from "the movie area" and they put on to themselves
without cleaning the old ones. also movie plays slower than
normally should.
so my screen looks like this:
 
--------------------------fbdev
1024x768-------kernel-2.6.10---vga=791------------------------------
* 00:10:32/1:23:21 <--- flicking                  *             
                                         -
*                                                            *  
                                                    -
*           MOVIE AREA                             *            
                                         -
*                                                            *  
                                                    -
*                                                            *  
                                                    -
*                                                            *  
                                                    -
*                                                            *  
                                                    -
*      >>>>>>>>>>>>>>>>                      *                  
                                    -
******>>>>>>>>>>>>>>>>******************                        
                              -
-       >>>>>>>>>>>>>>>>    <-------------------- progress bar
(flicking)                   -
-                                                               
                                                    -
-                                                               
                                                    -
-    FirstLineOfTheMovieSubs             ------------> both     
                                   -
-        And2ndLineOfSubs                  ------------> 
flicking                                    -
-                                                               
                                                    -
-                                                               
                                                    -
-                                                               
                                                    -
-                                                               
                                                    -
-                                                               
                                                    -
--------------------------fbdev
1024x768-------kernel-2.6.10---vga=791-----------------------------
 
running mplayer -vo fbdev -v -v movie.avi i have noticed this output:
 
[...]
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1,89:1 - prescaling to correct movie aspect.
VO Config (576x304->576x304,flags=0,'MPlayer',0x32315659)
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
REQ: flags=0x403  req=0x0
VO: [fbdev] 576x304 => 576x304 BGR 16-bit
VO: Description: Framebuffer Device
VO: Author: Szabolcs Berecz <szabi at inf.elte.hu>
Can't set graphics mode: Invalid argument            <----
[what's wrong??]
var info:
xres: 1024
yres: 768
xres_virtual: 1024
yres_virtual: 768
xoffset: 0
yoffset: 0
bits_per_pixel: 16
grayscale: 0
red: 11 5 0
green: 5 6 0
blue: 0 5 0
transp: 0 0 0
nonstd: 0
fix info:
framebuffer size: 3145728 bytes  <--- [is it correct ??]
[...] 
 
i have compiled mplayer with the following configure options:
./configure --prefix=/usr --disable-network --disable-ftp
--disable-tv --disable-vidix
 
Second thing is -vo fbdev2.
Fbdev2 works almost ok except fullscreen.
when running: mplayer -vo fbdev2 -vop scale -xy 1024 -zoom -fs
movie.avi (typed from memory) video is resized, centered and
occupy full screen except last line, where mplayer's output is
displayed. it looks like this:
 
A:   1,2 V:   1,2 A-V:  0,010 ct:  0,090  30/ 30 18% 11%  1,9% 0
0 98% 
 
and changes. screen becomes damaged when i hit space bar for
pause, because whole output moves one line up. also when mplayer
detects bug in video screen and displays something like frame
xxxxx concealing xxx errors etc screen becomes damaged for a
while (moving output up).
subtitles and osd are displayed propertly without distortion.
here's my ldd output:
 
ldd /usr/bin/mplayer

        linux-gate.so.1 =>  (0xffffe000)
        libmad.so.0 => /usr/lib/libmad.so.0 (0xb7fd5000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7fac000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7fa7000)
        liblzo.so.1 => /usr/lib/liblzo.so.1 (0xb7f8c000)
        libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb7ed6000)
        libxvidcore.so.4 => /usr/lib/libxvidcore.so.4 (0xb7db2000)
        libm.so.6 => /lib/libm.so.6 (0xb7d7d000)
        libpng.so.3 => /usr/lib/libpng.so.3 (0xb7d45000)
        libz.so.1 => /lib/libz.so.1 (0xb7d32000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7d13000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7ca1000)
        libcdda_interface.so.0 => /usr/lib/libcdda_interface.so.0
(0xb7c94000)
        libcdda_paranoia.so.0 => /usr/lib/libcdda_paranoia.so.0
(0xb7c8c000)
        libungif.so.4 => /usr/lib/libungif.so.4 (0xb7c84000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1
(0xb7c5c000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0xb7b16000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0xb7ae0000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0
(0xb7add000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0xb7ab7000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7ab3000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7aa4000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb79d8000)
        libaa.so.1 => /usr/lib/libaa.so.1 (0xb79c1000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7946000)
        libXxf86dga.so.1 => /usr/X11R6/lib/libXxf86dga.so.1
(0xb7940000)
        libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0xb793b000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1
(0xb7935000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1
(0xb7932000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb791d000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7891000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb787f000)
        libartsc.so.0 => /usr/lib/libartsc.so.0 (0xb7879000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0
(0xb7875000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0
(0xb7871000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb77f0000)
        libc.so.6 => /lib/libc.so.6 (0xb76d9000)
        /lib/ld-linux.so.2 (0xb7feb000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb76b9000)
        libslang.so.1 => /usr/lib/libslang.so.1 (0xb7646000)
        libgpm.so.1 => /usr/lib/libgpm.so.1 (0xb7640000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb756f000)
        libncurses.so.5 => /usr/lib/libncurses.so.5 (0xb752e000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7525000)
 
and finally (as you have noticed i own 3dfx voodoo 3 3000 16 mb
agpx2) tdfxfb driver don't work for me too :(
i have compiled TDFXFB directly into the kernel and i run it with
video=tdfxfb:1280x1024-32 at 100.
framebuffer console works fine, i have nice hires video output
with 100Hz refresh rate.
but when i run mplayer -vo tdfxfb movie.avi i get something like
this:
{...}
tdfxfb: Couldn't map memory areas: Zły argument
Error opening/initializing the selected video_out (-vo) device. 
{...}
 
is this bug have something with fbdev bugs ?
 
Can anyone reproduce these errors ?
 
best wishes
Jarek
 

----------------------------------------------------
Reklama Twojej strony WWW już od 20 groszy? - Oczywiście!
To nie jest żadna ściema! - Sprawdź:
http://klik.wp.pl/?adr=http%3A%2F%2Fbiznes.szukaj.wp.pl%2Fboksy.html&sid=299





More information about the MPlayer-users mailing list