[SOLVED] How to activate framebuffer with Fedora 18?
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I boot into multi-user mode and like to use the framebuffer with mplayer to view videos. With
Code:
grub2-mkconfig -o /boot/grub2/grub.cfg
I know I can generate a new /boot/grub2/grub.cfg after editing a line in /etc/default/grub. Specifically the line "GRUB_CMDLINE_LINUX=". What should I add there? I had this information for the old grub backed up on another HDD but lost it to a nasty divorce. I'm using a Toshiba Satellite A665 with a wide screen. Thanks ahead of time.
EDIT: Apparently the framebuffer is working, it's a problem with mplayer, which I downloaded from rpmfusion. Here's the output from mplayer:
Code:
mplayer -vo fbdev some_video.mpg
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [fbdev] 720x480 => 720x540 BGRA
FATAL: Cannot initialize video driver.t
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Should I compile mplayer from source??
Last edited by SharpyWarpy; 04-29-2013 at 07:16 AM.
That's what I usually try when I can't get something to work.
I don't know how much experience you have building, but if you want to play it safe, pass --prefix=$HOME so you can install it as a non-priveleged user, so you don't have to worry about overwriting any files provided by "official" packages.
Or you might want to wait a few days and see if anybody more knowledgeable than myself replies.
That's what I usually try when I can't get something to work.
I don't know how much experience you have building, but if you want to play it safe, pass --prefix=$HOME so you can install it as a non-priveleged user, so you don't have to worry about overwriting any files provided by "official" packages.
Or you might want to wait a few days and see if anybody more knowledgeable than myself replies.
Thanks for the reply. I thinks that's what I'll do, I've done it several times in the past. Thanks again.
If I recall right, I too had to use fbdev2 last time I tried using the framebuffer with mplayer (because fbdev didn't work). I don't know why either.
Yeah, it's really weird. For others who want to use mplayer in a console environment I use this script I wrote that maximizes the screen - necessary for utilizing the entire screen instead of a little block in the middle:
Code:
#!/bin/bash
if [ ! $DISPLAY ]
then mplayer -vo fbdev2 -vf scale=1366:768 -mixer-channel Master -quiet $1
else mplayer -vo x11 -mixer-channel Master -quiet $1
fi
exit 0
The "-quiet" option is nice, removes all that stuff mplayer puts in the bottom of the screen. The "-mixer-channel Master" option is there because mplayer volume control doesn't work with the default "PCM" channel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.