[MPlayer-users] "Couldn't open /dev/3dfx"

Alban Bedel albeu at free.fr
Wed Apr 24 22:18:37 CEST 2002


Hi Geoff Stanbury,

on Wed, 24 Apr 2002 13:57:05 -0400 you wrote:

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Wed, 24 Apr 2002 15:21:07 +0200
> mplayer-users-request at mplayerhq.hu wrote:
> 
> > From: Alban Bedel <albeu at free.fr>
> > on Wed, 24 Apr 2002 12:28:36 +0200 (MEST) you wrote:
> > > > geoff:/$ ls -l /dev/3dfx
> > > > crw-r--r--    1 root     admin    120,   0 Apr 24 01:21 /dev/3dfx
> > > > 
> > > > But that didn't seem to change anything.
> > > > 
> > > > Does anybody know what exactly the problem is, and/or what the
> > > > solution is?  Thanks a lot for your help.  
> > > 
> > > Do a Google search for "Device3Dfx", and download and install it.
> > > BTW, my /dev/3dfx has a major number of 107, not 120.  That may have
> > > changed, though...
> > > 
> > You may also try tdfxfb wich has hw scalling, YUV support and direct rending
> > support.
> > 	Albeu
> 
> Ok, I built tdfxfb as a module and compiled MPlayer using --with-tdfxfb.  To be on the safe side, I did "modprobe tdfxfb" (which, incidentally, did some weird stuff to my screen while in console--see bottom).  MPlayer is still not working, though--when I try to open a movie by running "mplayer -vo tdfxfb filename", it says "tdfxfb: can't open /dev/fb0: Permission denied."  This despite the fact that my login is in the group that /dev/fb0 is in.
> 
> I tried opening a movie in the same way while logged in as root, but again it fails, saying "tdfxfb: can't open /dev/fb0: No such device" which is incorrect:
> 
> geoff:~$ ls -l /dev/fb0
> crw--w--w-    1 root     tty       29,   0 Dec 27 21:05 /dev/fb0
> 
> Any thoughts or ideas?
> 
> 
> As for the "weird stuff" when I load tdfxfb, when I do it in the console, the screen goes black for a second, and then comes back, but the cursor is HUGE.  Maybe an inch and a half tall, and proportionally wide.  The font is a little squished, vertically, as well.  Everything else still works alright.  When I try loading the module in X-Window, the screen goes black permanantly.

You'd better compile it the kernel and not as module. And don't enable the vesa fb.
I never got it working as module.
	Albeu




More information about the MPlayer-users mailing list