r/slackware•
xseeks

No /dev/fb* devices? Mplayer TTY difficulties.

Is there a way to get /dev/fb* devices on a slackware system? Specifically, /dev/fb0. The reason I ask is because I'd like to use mplayer to watch movies on a TTY, and you can do that with the 'fbdev' video output. Problem is, it requires a framebuffer device.

I think it's a pretty common thing; Arch and Ubuntu both come 'stock' with a /dev/fb0.

I guess my question is: How do I create a /dev/fb0 that will work with mplayer's 'fbdev' video output?

or

How else can I watch videos without using X (other than aa or caca, because those are pretty shitty and not very convenient on a 16:9 display).

edit: Solved, more or less.

The way I did it was to edit /etc/lilo.conf (after backing it up of course). Find the line that says 'vga=normal', comment it out, then uncomment one of the other video modes to get whatever you want. I went with the one that says 'vga=791'. Save, exit, and then run the 'lilo' command.

You'll know that it's worked when you're booting. Right after 'Loading Linux...', your monitor should change modes and you should see some Tuxes at the top of the screen.

All of this seems to automatically create a /dev/fb0 device, so I guess that takes care of my problem. It doesn't seem to affect X performance in any way.

Posted Mar 31, 2013, 9:49 PM UTC · edited

26
Loading comments…