<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>We’re trying to get an Ubuntu 8.04.1 system running
based on the Intel Atom based motherboard D945GCLF. This will use the VLC
plugin to Firefox to play mpeg files which, with the player configured to
output via X11 and having DRI enabled seems to do a fine job. HOWEVER we also
want to possibly run the system with the screen rotated so we use “xrandr
–o left” to rotate it 90 degrees and now, when an attempt is made
to play the same video there’s a certain amount of “tearing”
seen which appears to be because screen updates are occurring without
synchronisation to Vsync. In order to try and combat this and because the Ubunut
8.04.1 is using a fairly old set of DRM support I’d like to try the
latest 2.5.1 set of Intel video drivers as there’s some suggestion on
various fora that this may be better for this kind of problem.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The issue I’ve got is knowing exactly how to go about
doing this. I pulled the latest xf86-video-intel and built that and as it had a
pre-requisite for a >2.4 version of libdrm I pulled that too and built it.
At first I tried to follow the instructions at:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a href="http://intellinuxgraphics.org/install.html">http://intellinuxgraphics.org/install.html</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>but some of that didn’t work as it talks about ./autogen.sh
and yet the packages I picked up needed ./configure instead. Also the
instructions mentioned a “linux-core” and yet the .tar.gz I picked
up did not have this. I did get to the point of X starting and the log file
identifying that “intel” version 2.5.1 was being used but at this
point the backend stuff in the kernel was “out of date” compared to
it as I hadn’t replaced drm.ko or i915.ko<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So I used GIT to get a libdrm that did include the
linux-source part of the tree but when I built it the i915.ko did not build and
looking at the Makefile it would appear to be because OS_HAS_GEM was not
defined. It was a search for the solution to that which brought me to a post in
the archive of this mailing list where I realised that a simple “export
OS_HAS_GEM=1” before building was NOT the solution to use.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>So I’m tempted to switch and use the GIT based
building method at <a href="http://wiki.x.org/wiki/Development/git">http://wiki.x.org/wiki/Development/git</a>
or even the jhbuild, more automated process documented at <a
href="http://wiki.x.org/wiki/JhBuildInstructions">http://wiki.x.org/wiki/JhBuildInstructions</a>
but what I’m not clear about is whether this will actually get me 2.5.1
or just some older version. In fact one thing I’m having a problem with
is determining the version numbers of .so and .ko’s that I’m
building anyway. I was kind of hoping that a modinfo on a .ko might identify
the version but I don’t see it there and I’m not sure how to
determine exactly what version of user space libs are being built. If I can get
X to start then /var/log/Xorg.0.log is very useful. But that requires me to get
a coherent system that will start up but to do that I really need first to know
that I’m gluing together the right version numbered components when I
build things like the kernel-DRM (i915.ko) then the libdrm, the intel_drv.ko and
so on.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I guess what I’m really asking is what’s the
sure-fire way to get an Ubuntu running with 2.5.1 level graphic driver support?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>BTW, as this is just for “2D” video playback I’m
assuming I can ignore building <st1:City w:st="on"><st1:place w:st="on">Mesa</st1:place></st1:City>
up to date – or is that a prerequisite too?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Cliff Lawson<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

</div>

</body>

</html>


<center><i>Scanned by MailDefender - managed email security from intY - www.maildefender.net</i></center>