my kernel was already compiled with all the frame buffer setting etc.. i genereated a few kernels to try different things and added them to lilo. so thats all cool. I'll give ./autogen.sh
Announcement
Collapse
No announcement yet.
G400 & Yoper Linux
Collapse
X
-
Ok i did the DirectFB thing again using ./autogen.sh then ran ./configure then make make install. That all went ok.
you still haven't said where the matroxfb script should go. I have /etc/init.d and /etc/rc.d directories. Anyway when running it i get the same error as i mentioned previously.
When trying to run mplayer with the command you listed i get the same error as before.
"Error opening/initializing the selected video_out (-vo) device."
Comment
-
Originally posted by englishpremier
Ok i did the DirectFB thing again using ./autogen.sh then ran ./configure then make make install. That all went ok.
you still haven't said where the matroxfb script should go. I have /etc/init.d and /etc/rc.d directories. Anyway when running it i get the same error as i mentioned previously.
About the error: Are you really sure that you've compiled the kernel and the modules? Are the modules i2c-dev and i2c-core present in /lib/modules/`uname -r`/kernel/drivers/i2c/ ?
When trying to run mplayer with the command you listed i get the same error as before.
"Error opening/initializing the selected video_out (-vo) device."Last edited by albatorsk; 30 September 2004, 15:19.
Comment
-
after installing the DirectFB i went ahead and rebuilt mplayer, no probs.
took a look in /lib/modules/2.6.8.1-7/kerenl/drivers/i2c and i only had i2c-dev there.
Anyway i've recompiled a kernel several times now and enabled the i2c things modules and both are now present.
So now when i run the ./matroxfb script i get this:
root@linux rc.d # ./matroxfb
Modprobing Matrox TV-out...
seemed promissing untill trying to run mplayer and getting the same error about initialising the selected video_out (vo) device.
Comment
-
Originally posted by englishpremier
after installing the DirectFB i went ahead and rebuilt mplayer, no probs.
took a look in /lib/modules/2.6.8.1-7/kerenl/drivers/i2c and i only had i2c-dev there.
Anyway i've recompiled a kernel several times now and enabled the i2c things modules and both are now present.
So now when i run the ./matroxfb script i get this:
root@linux rc.d # ./matroxfb
Modprobing Matrox TV-out...
seemed promissing untill trying to run mplayer and getting the same error about initialising the selected video_out (vo) device.
Comment
-
oops sorry if wasn't clear. Basically when irecompiling MPlayer after "./configure" i scrolled up a couple of lines and amongst other things there was definite refernce to DirectFB.
I ran "./configure" again, here is some of the output:
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
3.4.1, ok
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
head: `-1' option is obsolete; use `-n 1'.......
......Checking for DirectFB headers presence ... yes (using -I/usr/local/include/directfb)
Checking for DirectFB ... yes (921)"
The error message is as follows:
root@linux MPlayer-1.0pre5 # mplayer -vo dfbmga /home/carl/clf.avi
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2205 MHz (Family: 6, Stepping: 0)
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 /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayer release! at line 6
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds
Playing /home/carl/clf.avi.
Cache fill: 0.00% (0 bytes) AVI: Missing video stream!? Contact the author, it may be a bug
MPEG-PS file format detected.
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1150.0 kbps (143.8 kbyte/s)
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 28000->176400 (224.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
hope this stuff helps find the source of the problemLast edited by englishpremier; 1 October 2004, 08:35.
Comment
-
no prob, here goes:
root@linux MPlayer-1.0pre5 # mplayer -vo help
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2821 MHz (Family: 6, Stepping: 0)
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 /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Available video output drivers:
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
aa AAlib
png PNG file
jpeg JPEG file
gif89a animated GIF output
null Null video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
vesa VESA VBE 2.0 video output
xvidix X11 (VIDIX)
cvidix console VIDIX
tga Targa output
root@linux MPlayer-1.0pre5 #
Comment
-
There's your problem, you still don't have directfb output compiled in.
Are you sure you're running the copy of MPlayer you compiled? I notice you're running as root from the MPlayer source directory, and the current directory isn't normally in root's path. Try ./mplayer -vo help and see if it's any different.Blah blah blah nick blah blah confusion, blah blah blah blah frog.
Comment
-
well i don't get this. i compiled DirectFB, i then went and compiled MPlayer.
whenever i go into the console i change to root, but both mplayer and directfb are in /home/carl/directfb /home/programs/MPlayer******
to install DirectFB i extracted it, went to the directory where i extraced it and typed:
./autogen.sh
./configure
make
make install
I then extraced MPlayer and went to the directory where i extraced it and typed:
./configure
make
make install
Ist there something else i should have done?
here is ./mplayer -vo help (i only wish my cpu was really at 5163mhz
./mplayer -vo help
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 5163 MHz (Family: 6, Stepping: 0)
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/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Available video output drivers:
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
fbdev Framebuffer Device
fbdev2 Framebuffer Device
aa AAlib
png PNG file
jpeg JPEG file
gif89a animated GIF output
null Null video output
pgm PGM file
md5 MD5 sum
mpegpes Mpeg-PES file
yuv4mpeg yuv4mpeg output for mjpegtools (to "stream.yuv")
vesa VESA VBE 2.0 video output
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
xvidix X11 (VIDIX)
cvidix console VIDIX
tga Targa output
root@linux MPlayer-1.0pre5 #
Comment
-
Originally posted by englishpremier
directfb Direct Framebuffer Device
dfbmga DirectFB / Matrox G200/G400/G450/G550
MPlayer's make install will have installed it in /usr/local/bin (unless you changed it - you'll know if you did), which may well not be in root's path. Type echo $PATH to check. You can also use type mplayer to see where it's actually running it from. If it looks like it should be finding the new MPlayer, try rehash or hash -r to refresh the "path cache".
Anyway, can you play movies on the tv now you can run the right program?Blah blah blah nick blah blah confusion, blah blah blah blah frog.
Comment
-
I removed the previous version of mplayer "apt-get remove mplayer" then delete the one i compiled and i have now reinstalled it.
this is the error i get when trying to play a file:
root@linux MPlayer-1.0pre5 # mplayer -vo dfbmga /home/carl/tsl.avi
MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton 2205 MHz (Family: 6, Stepping: 0)
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/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: This codecs.conf is too old and incompatible with this MPlayerrelease! at line 6
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Playing /home/carl/tsl.avi.
Cache fill: 0.00% (0 bytes) AVI file format detected.
VIDEO: [XVID] 512x384 12bpp 29.970 fps 1050.5 kbps (128.2 kbyte/s)
Clip info:
Software: HUH?
Name:
Subject:
Artist:
Copyright:
Comments:
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
================================================== ========================
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.21 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (with MMX support) (2004-09-30 21:27)
(*) Direct/Memcpy: Forced to use SSE optimized memcpy()
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 8080)...
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 8089)...
(*) DirectFB/Input: IMPS/2 Mouse (1) 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 8090)...
(*) DirectFB/Input: IMPS/2 Mouse (2) 0.9 (convergence integrated media GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 8091)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(*) DirectFB/WM: Default 0.1 (Convergence GmbH)
(!) DirectFB/FBDev: No supported modes found in /etc/fb.modes and current mode not supported!
(!) DirectFB/FBDev: Current mode's pixelformat: rgba 6/0, 6/0, 6/0, 0/0 (4bit)
(!) DirectFB/Core/layers: Failed to initialize layer 0!
(!) DirectFB/Core: Could not initialize 'layers' core!
--> Initialization error!
vo_dfbmga: DirectFBCreate() failed - Initialization error!
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
Comment
-
Comment