<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Thanks for the reply.<br>
<br>
Somehow I stuffed up the post with all the relevant info. I've
pasted it here again:<br>
<br>
----------------------------------- >8
----------------------------------------<br>
DISPLAY wasn't the issue. To cut a long story short... I needed to
update some stuff on buildroot.
<br>
<br>
However, it's still not working properly. I had to add the attached
patch to get it to work with the frame buffer device I'm using.
Xfbdev runs fine now but when I execute xlogo, nothing is displayed
on the screen. The part of the screen gets 'cleared' so I know that
it writes <span class="moz-txt-star"><span class="moz-txt-tag"></span><i>something</i><span
class="moz-txt-tag"></span></span> to /dev/fb0.
<br>
<br>
The output of fbset -i:
<br>
<br>
# fbset -i
<br>
<br>
mode "240x128-158"
<br>
# D: 5.000 MHz, H: 20.325 kHz, V: 157.560 Hz
<br>
geometry 240 128 240 128 1
<br>
timings 200000 3 1 0 0 2 1
<br>
rgba 0/0,0/0,0/0,0/0
<br>
endmode
<br>
<br>
Frame buffer device information:
<br>
Name : DISP0 BG
<br>
Address : 0x906b8000
<br>
Size : 4096
<br>
Type : PACKED PIXELS
<br>
Visual : MONO01
<br>
XPanStep : 1
<br>
YPanStep : 1
<br>
YWrapStep : 0
<br>
LineLength : 32
<br>
Accelerator : No
<br>
#
<br>
<br>
----------------------------------- >8
----------------------------------------<br>
<br>
I'm using Xfbdev because, this is for an embedded product and I want
to keep things as small as possible.<br>
<br>
The framebuffer driver I'm using is for a monochrome LCD panel
running on an iMX.25 based system (I tweaked the driver supplied by
Freescale to suite our needs.<br>
<br>
Thanks.
<br>
Dushara
<br>
<br>
P.S. What is preferred on this ML top/bottom posts?<br>
<br>
On 14/04/2011 12:03 PM, <a class="moz-txt-link-abbreviated" href="mailto:zt.tmzt@gmail.com">zt.tmzt@gmail.com</a> wrote:
<blockquote
cite="mid:BANLkTimzHkQ-O+-gVOtSrgWBqEXxXjoS0w@mail.gmail.com"
type="cite">
<p><br>
Hi.<br>
Could you explain in more detail what you are trying to do,
include the output of fbset on your hardware and what
framebuffer driver you are using?</p>
<p>Xfbdev is not a nested server, don't see how setting DISPLAY
would help.</p>
<p>If you can, please strace Xfbdev and include that as well. I
assume an IOCTL is failing though I don't see any detailed logs.
Xfbdev is based on the kdrive X server, it doesn't have the same
configuration or logging as Xorg servers do. Why do you need to
use Xfbdev, does Xorg (fbdev driver) not work?</p>
<p>Thanks,<br>
Timothy Meade<br>
tmzt on #xorg and #xorg-users</p>
<p>On Apr 13, 2011 7:50 PM, "Dushara Jayasinghe" <<a
moz-do-not-send="true"
href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a>>
wrote:<br>
><br>
> Sorry reposting this coz I stuffed up the subject...<br>
><br>
> On 13/04/2011 4:34 PM, Dushara Jayasinghe wrote:<br>
>><br>
>> On 12/04/2011 11:06 AM, <a moz-do-not-send="true"
href="mailto:xorg-devel-request@lists.x.org">xorg-devel-request@lists.x.org</a>
wrote: <br>
>>><br>
>>> Date: Mon, 11 Apr 2011 21:55:27 +0200 <br>
>>> From: Abdoulaye Walsimou GAYE<<a
moz-do-not-send="true" href="mailto:awg@embtoolkit.org">awg@embtoolkit.org</a>>
<br>
>>> Subject: Re: Xfbdev fails with "no screens found" <br>
>>> To: <a moz-do-not-send="true"
href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>
<br>
>>> Message-ID:<<a moz-do-not-send="true"
href="mailto:4DA35CAF.1090708@embtoolkit.org">4DA35CAF.1090708@embtoolkit.org</a>>
<br>
>>> Content-Type: text/plain; charset="iso-8859-1";
Format="flowed" <br>
>>><br>
>>> On 04/11/2011 10:01 AM, Dushara Jayasinghe wrote: <br>
>>>><br>
>>>> Hi all, <br>
>>>><br>
>>>> I'm trying to use Xfbdev on an embedded linux
device with a monochrom LCD display. However, the command
returns the following error: <br>
>>>><br>
>>>> Fatal server error: <br>
>>>> no screens found <br>
>>>><br>
>>>> Using xserver_xorg-server-1.7.5 <br>
>>>> with kdrive/fbdev <br>
>>><br>
>>> Hello, <br>
>>> does the following command line, before starting
Xfbdev, fixes the issue: <br>
>>> export DISPLAY=:0 <br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> <a moz-do-not-send="true"
href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>:
X.Org development<br>
>>> Archives: <a moz-do-not-send="true"
href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a><br>
>>> Info: <a moz-do-not-send="true"
href="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
><br>
><br>
> -- <br>
> Dushara Jayasinghe | Senior Software Engineer<br>
> <a moz-do-not-send="true"
href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a>
| +61 3 8573 5221<br>
> Hydrix: Our Expertise – Your Competitive Advantage<br>
> <a moz-do-not-send="true" href="http://www.hydrix.com">www.hydrix.com</a>
| fax +61 3 9572 2686 | phone +61 3 8573 5299<br>
><br>
> _______________________________________________<br>
> <a moz-do-not-send="true"
href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>:
X.Org development<br>
> Archives: <a moz-do-not-send="true"
href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a><br>
> Info: <a moz-do-not-send="true"
href="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</p>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<span style="font-size: 12pt;"> Dushara Jayasinghe | Senior
Software Engineer</span><br>
<span style="font-size: 10pt; color: blue;"><a class="moz-txt-link-abbreviated" href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a></span><span
style="font-size: 8pt;"> | +61 3 8573 5221</span><br>
<span style="font-size: 10pt;">Hydrix: <i>Our Expertise – Your
Competitive Advantage</i></span><br>
<span style="font-size: 10pt; color: blue;"><a class="moz-txt-link-abbreviated" href="http://www.hydrix.com">www.hydrix.com</a></span><span
style="font-size: 10pt;"> | fax +61 3 9572 2686 | phone +61 3
8573 5299</span><br>
</div>
</body>
</html>