You are not logged in.

#1 2011-01-27 02:52:56

Who'sThere?
Member
From: Middle-Of-Nowhere-USA
Registered: 2010-12-09
Posts: 59

How to get frame-buffer working?

Hi all.

Sorry if this is something simple, but I'm at a loss. I'm try to get an older PC to run some video apps (Mplayer, VLC, Etc.) at a decent speed, with frame-buffer support.

I've booted into Arch using after appending the 'vga=n' command to the kernel. I then ran mplayer without any video options specified, but it ran way too slow in comparison with Xorg. I also specified the 'fbdev2' option, but I couldn't go fullscreen. Is there something I need to do, or is the frame-buffer just slower in general?

The card is a Matrox G200 (8 MB).

In the end, I guess these would be the applicable questions:
- Is the Arch kernel built with 'matroxfb' support by default, and if it is, how do I use it?
- Do I need the 'directfb' package for anything?
- Do I need to build the Matrox drivers myself?
- Do I need to build Mplayer, or VLC, myself with Matrox FB support?


Arch Linux: x86_64, Default Kernel.
Repos: Core, Extra, Community, Multilib.

Offline

#2 2011-01-27 04:12:38

d2ogch3n
Member
Registered: 2010-01-20
Posts: 42

Re: How to get frame-buffer working?

I use this on my system, maybe it will work for you, obviously you may need to change xxx:yyy
mplayer -vo fbdev -vf scale=1280:800

Offline

#3 2011-01-27 09:45:21

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: How to get frame-buffer working?

There is special support for Matrox in mplayer: -vo mga and -vo xmga

Run 'mplayer -vo help', see if those mentioned above are on the list. If not, you'll need to compile mplayer yourself. Though I have no idea what exactly the requisites are to get those working. If you can't get those to work, you're limited to fbdev which is indeed much slower than Xv, because colorspace conversion and scalign need to be done in software. So get vo mga working.

Offline

#4 2011-01-29 00:25:39

Who'sThere?
Member
From: Middle-Of-Nowhere-USA
Registered: 2010-12-09
Posts: 59

Re: How to get frame-buffer working?

Compiling Mplayer from the AUR provided the 'mga', and 'dfbmga' drivers.

But after a bit of reading, It looks like I need to compile the kernel with matrox frame-buffer support, instead of using the generic vesafb.

http://www.tldp.org/HOWTO/Framebuffer-HOWTO/

Last edited by Who'sThere? (2011-01-29 00:26:13)


Arch Linux: x86_64, Default Kernel.
Repos: Core, Extra, Community, Multilib.

Offline

Board footer

Powered by FluxBB