niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » embedded
Framebuffer problem
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Tim Mickelson
*nix forums beginner


Joined: 12 Jul 2006
Posts: 1

PostPosted: Wed Jul 12, 2006 11:13 am    Post subject: Framebuffer problem Reply with quote

Hi,

I'm trying to work with the framebuffer, but I'm stuck on basics and
I'm totaly new to the framebuffer stuff, and embedded Smile. I've tried to
compile a simple program that should just paint a square on the screen
(http://doc.trolltech.com/4.2/qtopiacore-testingframebuffer.html). My
problem is, that is not painting a square on the screen, instead it
paints a lot of noncence all over the screen as if something is terribly
wrong with the framebuffer. I'm totally new to this framebuffer stuff,
so I don't know where to look to resolve this problem.
My Linux Embedded is on a x86 architectur and lspci -vv is listed
below. Using make menuconfig I see that Device drivers --> Graphics
support -->
<M> VGA 16-color graphics support
<M> VESA VGA graphics support
VESA driver type (vesafb-tng)
(640x480@60) VESA default mode

and
Device drivers --> Graphics support --> Console display driver support
<M> Framebuffer Console support

in my grub.conf, I've tried lots and lots of different things, I've
ended upp with:
kernel /boot/vmlinuz root=/dev/hda3 video=sisfb:mode:1024x768x32

The output from the test program (except drawing lots of junk on screen) is:
The framebuffer device was opened successfully.
1024x768, 32bpp
The framebuffer device was mapped to memory successfully.


Please, help me, tell me what is wrong, or where to search for a solution??

lspci -vv:

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
65x/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
Subsystem: ASUSTeK Computer Inc. Unknown device 8081
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
Quote:
TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 11

BIST result: 00
Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
Region 1: Memory at e6800000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at d800 [size=128]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] AGP version 2.0
Status: RQ=16 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit-
FW- Rate=<none>
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 3:04 am | All times are GMT
navigation Forum index » *nix » Linux » embedded
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts bounce problem murkis Postfix 0 Sun Oct 08, 2006 3:45 pm

Internet Advertising | Credit Cards | Mobile Phones | Best Credit Cards | Loans
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.4041s ][ Queries: 16 (0.2399s) ][ GZIP on - Debug on ]