<p><br>
On Apr 13, 2011 10:29 PM, &quot;Dushara Jayasinghe&quot; &lt;<a href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Thanks for the reply.<br>
&gt;<br>
&gt; Somehow I stuffed up the post with all the relevant info. I&#39;ve pasted it here again:<br>
&gt;<br>
&gt; ----------------------------------- &gt;8  ----------------------------------------<br>
&gt; DISPLAY wasn&#39;t the issue. To cut a long story short... I needed to update some stuff on buildroot. <br>
&gt;<br>
&gt; However, it&#39;s still not working properly. I had to add the attached patch to get it to work with the frame buffer device I&#39;m using. Xfbdev runs fine now but when I execute xlogo, nothing is displayed on the screen. The part of the screen gets &#39;cleared&#39; so I know that it writes something to /dev/fb0. <br>

&gt;<br>
&gt; The output of fbset -i: <br>
&gt;<br>
&gt; # fbset -i <br>
&gt;<br>
&gt; mode &quot;240x128-158&quot; <br>
&gt; # D: 5.000 MHz, H: 20.325 kHz, V: 157.560 Hz <br>
&gt; geometry 240 128 240 128 1 <br>
&gt; timings 200000 3 1 0 0 2 1 <br>
&gt; rgba 0/0,0/0,0/0,0/0 <br>
&gt; endmode <br>
&gt;<br>
&gt; Frame buffer device information: <br>
&gt; Name : DISP0 BG <br>
&gt; Address : 0x906b8000 <br>
&gt; Size : 4096 <br>
&gt; Type : PACKED PIXELS <br>
&gt; Visual : MONO01 <br>
&gt; XPanStep : 1 <br>
&gt; YPanStep : 1 <br>
&gt; YWrapStep : 0 <br>
&gt; LineLength : 32 <br>
&gt; Accelerator : No <br>
&gt; # <br>
&gt;<br>
&gt; ----------------------------------- &gt;8  ----------------------------------------<br>
&gt;<br>
&gt; I&#39;m using Xfbdev because, this is for an embedded product and I want to keep things as small as possible.<br>
&gt;<br>
&gt; The framebuffer driver I&#39;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>
&gt;<br>
&gt; Thanks. <br>
&gt; Dushara <br>
&gt;<br>
&gt; P.S. What is preferred on this ML top/bottom posts?<br>
&gt;<br>
&gt;<br>
&gt; On 14/04/2011 12:03 PM, <a href="mailto:zt.tmzt@gmail.com">zt.tmzt@gmail.com</a> wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Hi.<br>
&gt;&gt; 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?<br>
&gt;&gt;<br>
&gt;&gt; Xfbdev is not a nested server, don&#39;t see how setting DISPLAY would help.<br>
&gt;&gt;<br>
&gt;&gt; If you can, please strace Xfbdev and include that as well. I assume an IOCTL is failing though I don&#39;t see any detailed logs. Xfbdev is based on the kdrive X server, it doesn&#39;t have the same configuration or logging as Xorg servers do. Why do you need to use Xfbdev, does Xorg (fbdev driver) not work?<br>

&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Timothy Meade<br>
&gt;&gt; tmzt on #xorg and #xorg-users<br>
&gt;&gt;<br>
&gt;&gt; On Apr 13, 2011 7:50 PM, &quot;Dushara Jayasinghe&quot; &lt;<a href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Sorry reposting this coz I stuffed up the subject...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On 13/04/2011 4:34 PM, Dushara Jayasinghe wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;  On 12/04/2011 11:06 AM, <a href="mailto:xorg-devel-request@lists.x.org">xorg-devel-request@lists.x.org</a> wrote: <br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Date: Mon, 11 Apr 2011 21:55:27 +0200 <br>
&gt;&gt; &gt;&gt;&gt; From: Abdoulaye Walsimou GAYE&lt;<a href="mailto:awg@embtoolkit.org">awg@embtoolkit.org</a>&gt; <br>
&gt;&gt; &gt;&gt;&gt; Subject: Re: Xfbdev fails with &quot;no screens found&quot; <br>
&gt;&gt; &gt;&gt;&gt; To: <a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a> <br>
&gt;&gt; &gt;&gt;&gt; Message-ID:&lt;<a href="mailto:4DA35CAF.1090708@embtoolkit.org">4DA35CAF.1090708@embtoolkit.org</a>&gt; <br>
&gt;&gt; &gt;&gt;&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot; <br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; On 04/11/2011 10:01 AM, Dushara Jayasinghe wrote: <br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Hi all, <br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; I&#39;m trying to use Xfbdev on an embedded linux device with a monochrom LCD display. However, the command returns the following error: <br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Fatal server error: <br>
&gt;&gt; &gt;&gt;&gt;&gt; no screens found <br>
&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;&gt; Using xserver_xorg-server-1.7.5 <br>
&gt;&gt; &gt;&gt;&gt;&gt; with kdrive/fbdev <br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; Hello, <br>
&gt;&gt; &gt;&gt;&gt; does the following command line, before starting Xfbdev, fixes the issue: <br>
&gt;&gt; &gt;&gt;&gt; export DISPLAY=:0 <br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt;&gt; <a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
&gt;&gt; &gt;&gt;&gt; Archives: <a href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a><br>
&gt;&gt; &gt;&gt;&gt; Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; -- <br>
&gt;&gt; &gt; Dushara Jayasinghe | Senior Software Engineer<br>
&gt;&gt; &gt; <a href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a> | +61 3 8573 5221<br>
&gt;&gt; &gt; Hydrix: Our Expertise – Your Competitive Advantage<br>
&gt;&gt; &gt; <a href="http://www.hydrix.com">www.hydrix.com</a> | fax +61 3 9572 2686 | phone +61 3 8573 5299<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; <a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
&gt;&gt; &gt; Archives: <a href="http://lists.x.org/archives/xorg-devel">http://lists.x.org/archives/xorg-devel</a><br>
&gt;&gt; &gt; Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
&gt;<br>
&gt;<br>
&gt; -- <br>
&gt; Dushara Jayasinghe | Senior Software Engineer<br>
&gt; <a href="mailto:dushara.jayasinghe@hydrix.com">dushara.jayasinghe@hydrix.com</a> | +61 3 8573 5221<br>
&gt; Hydrix: Our Expertise – Your Competitive Advantage<br>
&gt; <a href="http://www.hydrix.com">www.hydrix.com</a> | fax +61 3 9572 2686 | phone +61 3 8573 5299</p>
<p>I believe bottom, I couldn&#39;t figure out which of the quoted messages to reply to.</p>
<p>I don&#39;t believe the visual is getting setup right, I&#39;m pretty sure this going to need changes to the server though Keith or someone else on the list might know for sure. You might do better with overlay support, or something that supports a single bit depth. I also wonder if the rgba mask has anything to do with it. I haven&#39;t looked at this code recently, but I&#39;m pretty sure it&#39;s using MI/FB to create a visual from the FBIO fixed structure. You can try -screen parameter if you can figure out the right one, but it will probably still try to set the config back to the fbdev and fail. If somebody knows how to create a monochrome visual/root pixmap you could modify the server to do that, or properly support the visual flags in your fbset output.</p>

<p>--<br>
Timothy Meade<br>
tmzt on #xorg-devel on freenode</p>