Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-04-2009, 04:04 PM   #1
LQ Newbie
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Linux framebuffer


i am new to this linux frame buffer

I have a task to draw a line grah by taking x-axis and y-axis value
please i need a guide and code for that..please do needfull

thanks in advance
Old 12-04-2009, 04:06 PM   #2
Registered: Sep 2008
Distribution: fedora, gentoo, ubuntu
Posts: 148

Rep: Reputation: 23
Check out SDL or openGL. This is not a trivial task.
0 members found this post helpful.
Old 12-04-2009, 04:07 PM   #3
LQ Newbie
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0

Originally Posted by mk27 View Post
Check out SDL or openGL. This is not a trivial task.

which library i want to use...and how to use there any tutorial for that?
Old 12-06-2009, 09:40 AM   #4
Senior Member
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
as he said, SDL... that IS a library. there should be tuts on the web, just google.
Old 12-06-2009, 11:23 AM   #5
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
There are a number of libraries that can output to fb, as long as they are compiled with that feature. The most relevant options are probably libSDL and Allegro. I'd choose SDL over anything else because it makes porting to other environments trivial, and because it's well supported and broadly used.


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
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
Enabling linux framebuffer vidhyapria Linux - Software 1 08-12-2005 02:17 AM
Enabling linux framebuffer vidhyapria Linux - General 1 08-11-2005 09:44 AM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 04:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:34 PM.

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