LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Which package to install to use mplayer under console (tty) with fbdev / directfb ? (https://www.linuxquestions.org/questions/debian-26/which-package-to-install-to-use-mplayer-under-console-tty-with-fbdev-directfb-756535/)

frenchn00b 09-20-2009 05:46 AM

Which package to install to use mplayer under console (tty) with fbdev / directfb ?
 
Hello

Try :
Code:

mplayer -vo fbdev movie.avi
Does it work under no-X? If yes, how did you install it?
/dev/fb0 can be an usual error :(

--
literature:
http://kmandla.wordpress.com/2009/05...s-is-more-fun/

frenchn00b 09-20-2009 06:05 AM

it seems that debain stable has no /dev/fb0 into the kernel
:( stable debina

http://perso.netplus.ch/FCorthay/Ins...nstall_FB.html

Quote:

Framebuffer support
Kernel modules

The Linux framebuffer provides a direct access to graphic cards from the linux kernel.

Support for the framebuffer is made at kernel configuration time. Configuration of the framebuffer in Gentoo is done with

cd /usr/src/linux
make menuconfig


There, in the kernel configuration menus choose:

Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Processor type and features --->
[*] MTRR (Memory Type Range Register) support
Device Drivers --->
Block devices --->
<*> Loopback device support
<*> RAM disk support
(4096) Default RAM disk size
[*] Initial RAM disk (initrd) support
Graphics support --->
[*] Support for frame buffer devices
[*] VESA VGA graphics support
Console display driver support --->
[*] Video mode selection support
<*> Framebuffer Console support


After this configuration step, compile the kernel and reboot:

make && make modules_install (incremental system update)
make clean bzImage modules (fresh system)
mount /boot/
cp arch/i386/boot/bzImage /boot/
cp System.map /boot/
cp .config /boot/config
lilo
reboot


You can check your video mode boot information with:

dmesg | grep vesa


You can check your video mode with:

fbset


You might have to emerge fbset first. You can't change video settings with fbset: it is the vga mode in /etc/lilo.conf which determines them.


All times are GMT -5. The time now is 11:57 AM.