[MPlayer-users] How to use mga_vid?

Marko Randjelovic markoran at eunet.yu
Sun Sep 5 18:14:16 CEST 2004


System is Slackware 10.0 with default kernel (2.4.26). Same happens with 
xmga. I cannot load mga_vid.o, although it was compiled. I changed gid 
for /dev/mga_vid to video. Before that error was "open: Permission denied"

----------------------------------------------

root at main:~/install/mplcvs/main/vidix/drivers# insmod mga_vid.o
mga_vid.o: couldn't find the kernel version the module was compiled for
root at main:~# ls -l /dev/mga_vid
crw-rw----  1 root video 178, 0 2001-03-25 23:04 /dev/mga_vid
mr at main:/fat3/pp/ab$ mplayer -vo mga film.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale

MPlayer dev-CVS-040822-14:12-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2047 MHz (Family: 
6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/mr/.mplayer/config
Reading /home/mr/.mplayer/codecs.conf: Can't open 
'/home/mr/.mplayer/codecs.conf': No such file or directory
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: /home/mr/.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 /home/mr/.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 film.avi.
AVI file format detected.
VIDEO:  [DIV3]  560x240  24bpp  29.994 fps  653.4 kbps (79.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: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
open: No such device
vo_mga: Couldn't open /dev/mga_vid
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)

----------------------------------------------

mr at main:~$ ls -l /lib/libc[.-]*
-rwxr-xr-x  1 root root 1250840 2004-05-25 06:44 /lib/libc-2.3.2.so*
lrwxrwxrwx  1 root root      13 2004-07-11 00:54 /lib/libc.so.6 -> 
libc-2.3.2.so*
mr at main:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking 
--with-gnu-ld --verbose --target=i486-slackware-linux 
--host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
mr at main:~$ ld -v
GNU ld version 2.15.90.0.3 20040415
mr at main:~$ as --version
GNU assembler 2.15.90.0.3 20040415
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-slackware-linux'.
mr at main:~$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Athlon(tm) XP 2600+
stepping        : 1
cpu MHz         : 2058.263
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 4102.55

----------------------------------------------

Video card: Matrox G400 DH 16MB
Driver: X built in (xorg 6.7.0)

----------------------------------------------




More information about the MPlayer-users mailing list