[Mplayer-users] can't initialize video driver

Douglas Epperson epperson at mail.desy.de
Sat Jul 14 01:02:33 CEST 2001


Ok,

I'm stuck again

I try and launch a basic .mpg and get the folowing error:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Couldn't open /dev/mga_vid
FATAL: Cannot initialize video driver!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

When I compiled the driver I got the following output:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
root at slugdug:/products/mplayer/MPlayer-0.18pre5/drivers# make
gcc -g -O2  -Wall -D__KERNEL__  -DMODULE         -include
/usr/src/linux/include/linux/modversions.h -I/usr/src/linux/include -c
mga_vid.c
In file included from /usr/src/linux/include/linux/string.h:37,
                 from /usr/src/linux/include/linux/signal.h:64,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from mga_vid.c:36:
/usr/src/linux/include/asm/string.h:476:17: warning: multi-line string
literals are deprecated
/usr/src/linux/include/asm/string.h:476:17: warning: multi-line string
literals are deprecated
/usr/src/linux/include/asm/string.h:476:17: warning: multi-line string
literals are deprecated
/usr/src/linux/include/asm/string.h:476:17: warning: multi-line string
literals are deprecated
In file included from /usr/src/linux/include/linux/sched.h:23,
                 from mga_vid.c:36:
/usr/src/linux/include/linux/signal.h: In function `siginitset':
/usr/src/linux/include/linux/signal.h:193: warning: deprecated use of
label at end of compound statement
/usr/src/linux/include/linux/signal.h: In function `siginitsetinv':
/usr/src/linux/include/linux/signal.h:205: warning: deprecated use of
label at end of compound statement
/tmp/cc9XYu9k.s: Assembler messages:
/tmp/cc9XYu9k.s:55: Warning: Ignoring changed section attributes for
.modinfo
/tmp/cc9XYu9k.s:1066: Warning: Ignoring changed section attributes for
.modinfo
gcc -g -O -Wall -I/usr/src/linux/include -o mga_vid_test mga_vid_test.c
mga_vid_test.c: In function `write_frame_g200':
mga_vid_test.c:45: warning: implicit declaration of function `memcpy'
root at slugdug:/products/mplayer/MPlayer-0.18pre5/drivers#   mknod
/dev/mga_vid c 178 0
root at slugdug:/products/mplayer/MPlayer-0.18pre5/drivers#   chmod go+rw 
/dev/mga_vid
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Does anyone have any suggestions?

I tried to search the dicussion board but the search wasn't working so I'm
sorry if this may be a repeat question.

Douglas Epperson 
University of California, Santa Cruz
phone 530-613-2439



_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list