LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-17-2011, 05:44 PM   #1
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Rep: Reputation: 29
Getting the framebuffer up and running in Linux 3.0.4


Hey everybody
I have been working on getting my very own Linux distro up and running. I have a few questions, but I will separate them into separate post since they have nothing really to do with each other.
Right now I have a bootable linux system, it will boot on real hardware, but for development purposes I am using qemu. Once the system boots, it opens a getty on /dev/tty0. That works great, but I want graphics. So I have installed an Xserver, but I wanted to keep it small so I went with Kdrive Xfbdev, which needs a framebuffer device at /dev/fb0. I had it working with Linux 2.6.34, on boot I had to add "vga=792" to the kernel command line along with enabling vesafb in the kernel .config. That worked and I could get X running. Now, I have upgraded to kernel 3.0.4, and I did everything the same, enabled vesafb and added the same kernel options, but now on boot, the kernel asks me which video mode to use, no matter what I select, the framebuffer device does not show up in /dev/. How do I get vesafb working in Linux 3.0.4 and why has it changed from previous versions?
 
Old 10-18-2011, 09:07 AM   #2
prushik
Member
 
Registered: Mar 2009
Location: Pennsylvania
Distribution: Lubuntu, BetterLinux
Posts: 370

Original Poster
Rep: Reputation: 29
Quote:
Originally Posted by prushik View Post
Hey everybody
I have been working on getting my very own Linux distro up and running. I have a few questions, but I will separate them into separate post since they have nothing really to do with each other.
Right now I have a bootable linux system, it will boot on real hardware, but for development purposes I am using qemu. Once the system boots, it opens a getty on /dev/tty0. That works great, but I want graphics. So I have installed an Xserver, but I wanted to keep it small so I went with Kdrive Xfbdev, which needs a framebuffer device at /dev/fb0. I had it working with Linux 2.6.34, on boot I had to add "vga=792" to the kernel command line along with enabling vesafb in the kernel .config. That worked and I could get X running. Now, I have upgraded to kernel 3.0.4, and I did everything the same, enabled vesafb and added the same kernel options, but now on boot, the kernel asks me which video mode to use, no matter what I select, the framebuffer device does not show up in /dev/. How do I get vesafb working in Linux 3.0.4 and why has it changed from previous versions?
OOPS!
Turns out that linux 3.0.4 works exactly the way it used to as far as vesafb is concerned. I was just booting from the wrong kernel the whole time. My bad.
 
  


Reply

Tags
/dev/fb0, 3.0.4, framebuffer, kdrive, xserver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux framebuffer janardhana Linux - Newbie 4 12-06-2009 11:23 AM
framebuffer confusion with Hauppauge PVR 350 framebuffer /dev/fb0 tofino_surfer Linux - General 4 09-19-2008 12:36 AM
two linux logo on framebuffer. sblantipodi Fedora 2 11-11-2007 07:12 AM
Can I redirect console to another framebuffer device when machine is running twomol Linux - Software 1 06-14-2006 12:52 PM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 04:21 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration