<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. https://www.livejournal.com/bots/  -->
<rss version='2.0'  xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>The irregular Radeon Development Companion</title>
  <link>https://tirdc.livejournal.com/</link>
  <description>The irregular Radeon Development Companion - LiveJournal.com</description>
  <lastBuildDate>Sat, 24 Aug 2013 13:55:04 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>tirdc</lj:journal>
  <lj:journalid>12809006</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://l-userpic.livejournal.com/61087632/12809006</url>
    <title>The irregular Radeon Development Companion</title>
    <link>https://tirdc.livejournal.com/</link>
    <width>80</width>
    <height>80</height>
  </image>

  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/29551.html</guid>
  <pubDate>Sat, 24 Aug 2013 13:55:04 GMT</pubDate>
  <title>Update dri-log Android app</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/29551.html</link>
  <description>I&amp;#39;d like to announce an update for the &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dde.egore911.drilog&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;dri-log Android app&lt;/a&gt; users, the mobile version the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2F&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;DRI IRC log&lt;/a&gt;. The app recently gained with a complete redesigned UI and now is in a really good state for everyday use. Feel free to test it, use it, grab the &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fgithub.com%2Fegore%2Fdri-log-client%2F&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;code&lt;/a&gt; (GPL-2) or &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fgithub.com%2Fegore%2Fdri-log-client%2Fissues&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;report bugs&lt;/a&gt; and feature requests. It will work from Android 2.2 (Froyo) and later and should be good to use one phones and tables.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://ic.pics.livejournal.com/tirdc/12809006/928/928_original.png&quot; target=&quot;_blank&quot; target=&quot;_blank&quot;&gt;&lt;img alt=&quot;dri-log-App&quot; height=&quot;900&quot; src=&quot;https://ic.pics.livejournal.com/tirdc/12809006/928/928_900.png&quot; title=&quot;dri-log-App&quot; width=&quot;540&quot; fetchpriority=&quot;high&quot; /&gt;&lt;/a&gt;</description>
  <comments>https://tirdc.livejournal.com/29551.html?view=comments#comments</comments>
  <category>android app irc</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/29257.html</guid>
  <pubDate>Sun, 01 Apr 2012 22:04:04 GMT</pubDate>
  <title>Clover moves to the main mesa repository</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/29257.html</link>
  <description>Until now Clover was developed in a &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fclover&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;separate git repository&lt;/a&gt;&amp;nbsp;(and some &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fgithub.com%2Fsteckdenis%2FClover&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;forks on github&lt;/a&gt; as well). But today&amp;nbsp;Francisco Jerez started preparing to add Clover to the mesa tree. Right now the work is happening in &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fmesa%2Flog%2F%3Fh%3Dgallium-compute&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;the &amp;#39;gallium-compute&amp;#39; branch&lt;/a&gt;. Just a few hours ago the Clover state tracker was &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fmesa%2Fcommit%2F%3Fh%3Dgallium-compute%26id%3D4465cc1fcec720486f32c245fed415c63e275b4c&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;imported &lt;/a&gt; into that branch.&lt;br /&gt;&lt;br /&gt;Right now one still needs a separate branch to use this state tracker, but it&amp;#39;s a good sign that Colver is finally moving upstream (i.e. the mesa git repository).&amp;nbsp;And there are also customizations to gallium to allow the AMD LLVM backend to be used. All in all: great achievement.&lt;br /&gt;</description>
  <comments>https://tirdc.livejournal.com/29257.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/29114.html</guid>
  <pubDate>Thu, 29 Mar 2012 18:02:03 GMT</pubDate>
  <title>DRI-log Android App</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/29114.html</link>
  <description>Did you ever wonder what is discussed between graphics hardware developers? If so, you might have found the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2F%3Fdate%3Dtoday&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;IRC Logs&lt;/a&gt;. It is a handy and small web tool to read IRC logs of #dri-devel, #radeon and #nouveau. It is also &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2F%7Ecbrill%2Fdri-log&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;open source&lt;/a&gt; (GPL-2) so you could easily host your own IRC log webpage.&lt;br /&gt;&lt;br /&gt;But today everybody just loves to use Apps for everything, because Apps provide direct access to information you are interested in. That&amp;#39;s why a &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dde.egore911.drilog&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;DRI-log App&lt;/a&gt; was written. It is a free of charge Android App, supporting Android 2.2 and newer. But what can be done with it? It allows show the IRC log of selected users, so you can easily follow the latest communication regarding your favorite topics.&lt;br /&gt;&lt;br /&gt;Feel free to test this App and give feedback!</description>
  <comments>https://tirdc.livejournal.com/29114.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/28897.html</guid>
  <pubDate>Mon, 05 Mar 2012 20:38:40 GMT</pubDate>
  <title>OpenCL on r600g</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/28897.html</link>
  <description>Just a quick note about the great new of OpenCL running on R600+ hardware using open source drivers:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fdummdida.blogspot.com%2F2012%2F03%2Fthey-did-it-smallish-opencl-example.html&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;http://dummdida.blogspot.com/2012/03/they-did-it-smallish-opencl-example.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fdummdida.blogspot.com%2F2012%2F03%2Fthey-did-it-smallish-opencl-example.html&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;I&lt;/a&gt;t&amp;#39;s great to see that the work done over the years is slowly but finally reaching the (almost) average user.</description>
  <comments>https://tirdc.livejournal.com/28897.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/28471.html</guid>
  <pubDate>Sun, 19 Jun 2011 08:52:08 GMT</pubDate>
  <title>Setting the power_profile for your Radeon graphics card using systemd</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/28471.html</link>
  <description>As of now pretty much everyone has heard of &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fwww.freedesktop.org%2Fwiki%2FSoftware%2Fsystemd&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;systemd&lt;/a&gt;, the next generation init system for Linux. Next to the fact that if provides a really fast boot (on different systems tested approximately 50% of the original boot time) and a clean solution for dependencies of services it also offers the capability to write services in a very simple manner. So today we are going to write a simple service to set your power profile (&lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Flists.freedesktop.org%2Farchives%2Fdri-devel%2F2010-May%2F000492.html&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;as introduced last year&lt;/a&gt;). Note that you (obviously) need a systemd enabled system like &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Ffedoraproject.org%2Fget-fedora&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;Fedora 15&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First of all we need to know how to set set power profile. This requires three things: a fairly recent kernel, a Radeon graphics card that supports power modes on Linux and sysfs enabled in your kernel. A simple way to test this is to execute the following command:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
test -f /sys/class/drm/card0/device/power_profile &amp;&amp; echo &quot;power_profile supported&quot; || echo &quot;power_profile NOT supported&quot;
&lt;/pre&gt;&lt;br /&gt;&lt;i&gt;Note: This assumes that your Radeon card is the &quot;first card&quot; (i.e. &quot;card0&quot;). This might vary from system to system.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;The will show you if the power modes are supported by your system. If your system is supported you need two files:&lt;br /&gt;&lt;br /&gt;1.) The systemd service file in /etc/systemd/system/radeon-power_profile&lt;br /&gt;&lt;pre&gt;
[Unit]
Description=Radeon Power Profile

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/radeon-power_profile low

[Install]
WantedBy=multi-user.target
&lt;/pre&gt;&lt;br /&gt;2.) A small helper script to set the power mode in /usr/local/sbin/radeon-power_profile&lt;br /&gt;&lt;pre&gt;
#!/bin/sh

EXEC_NAME=`basename $0`;

TARGET=&quot;/sys/class/drm/card0/device/power_profile&quot;
CURRENT_PROFILE=`cat ${TARGET}`

append_profile() {
        local PROFILE=$1
        echo -n &quot;  ${PROFILE}&quot;
        if [ &quot;x${CURRENT_PROFILE}x&quot; == &quot;x${PROFILE}x&quot; ]; then
                echo -n &quot; (current)&quot;
        fi
        echo
}

if [ $# != 1 ]; then
        echo &quot;usage: ${EXEC_NAME} &lt;profile&gt;&quot;
        echo
        echo &quot;Valid profiles:&quot;
        for AVAILABLE_PROFILE in low high default auto; do
                append_profile ${AVAILABLE_PROFILE}
        done
        exit 0
fi

PROFILE=&quot;$1&quot;

if [ &quot;x${PROFILE}x&quot; == &quot;xlowx&quot; ] || [ &quot;x${PROFILE}x&quot; == &quot;xhighx&quot; ] || [ &quot;x${PROFILE}x&quot; == &quot;xautox&quot; ] || [ &quot;x${PROFILE}x&quot; == &quot;xdefaultx&quot; ]; then
        echo &quot;${PROFILE}&quot; &amp;gt; ${TARGET}
else
        logger &quot;[${EXEC_NAME}] WARN: Invalid power_profile &apos;${PROFILE}&apos;&quot;
        exit 1
fi

exit 0
&lt;/pre&gt;&lt;br /&gt;&lt;i&gt;Note: If your card is not &quot;card0&quot; you need to change the value of TARGET to the proper value.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;After you create the scripts you should &lt;u&gt;test&lt;/u&gt; if this works for you. The service is meant to set your power mode to low which is the best for mobile devices running on battery or to cool down your system. To test the service call:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
/usr/local/sbin/radeon-power_profile
&lt;/pre&gt;&lt;br /&gt;This will print out which profile is currently active (&quot;default&quot; in most cases). Now you can start the service&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
systemctl start radeon-power_profile.service
&lt;/pre&gt;&lt;br /&gt;This will most likely cause a single flicker of the display (this might be a &lt;a href=&quot;https://www.livejournal.com/away?to=https%3A%2F%2Fbugs.freedesktop.org%2Fshow_bug.cgi%3Fid%3D38465&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;bug&lt;/a&gt; as it does not happen when GPU and memory clock changes happen on Microsoft Windows). After that a second call to /usr/local/sbin/radeon-power_profile should show your clock is now at &quot;low&quot;. Verify that your system is running stable and smooth as before. &lt;i&gt;Note: Setting the power mode to low will obviously cause your 3D rendering to be slower.&lt;/i&gt; If everything works as expected you can enable the service by default using&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
systemctl enable radeon-power_profile.service
&lt;/pre&gt;&lt;br /&gt;Now your system will set the power mode during boot. On my systems it really extended the battery life time and my passive (fan-less) card went from 70°C to 45°C.</description>
  <comments>https://tirdc.livejournal.com/28471.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/28270.html</guid>
  <pubDate>Fri, 11 Mar 2011 20:36:13 GMT</pubDate>
  <title>Updates to libtxc_dxtn</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/28270.html</link>
  <description>Marek Olšák has made some bug fixes to the libtxc_dxtn library (a library for mesa to allow S3TC). First of all you can download the updated version from &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Flibtxc_dxtn%2Flibtxc_dxtn-1.0.0.tar.gz&apos; rel=&apos;nofollow&apos;&gt;http://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-1.0.0.tar.gz&lt;/a&gt;. Next to that the source code location changed (the code can be found at &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2F%7Emareko%2Flibtxc_dxtn%2F&apos; rel=&apos;nofollow&apos;&gt;http://cgit.freedesktop.org/~mareko/libtxc_dxtn/&lt;/a&gt;). Marek also replaced the build system of the library by autotools, but this is not released yet.&lt;br /&gt;&lt;br /&gt;A recent discussion about if this library should be added to mesa shows that this is not a desired option. This is because it would require the end user to recmpile the whole mesa instead of this single package.</description>
  <comments>https://tirdc.livejournal.com/28270.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/27939.html</guid>
  <pubDate>Wed, 13 Oct 2010 18:49:35 GMT</pubDate>
  <title>Getting libtxc_dxtn.so</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/27939.html</link>
  <description>Sadly the site &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fhomepage.hispeed.ch%2Frscheidegger%2Fdri_experimental%2Fs3tc_index.html&apos; rel=&apos;nofollow&apos;&gt;http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html&lt;/a&gt; is no longer available. &lt;br /&gt;&lt;br /&gt;I got the latest release form my local archive and put it to &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Flibtxc_dxtn%2Flibtxc_dxtn070518.tar.gz&apos; rel=&apos;nofollow&apos;&gt;http://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn070518.tar.gz&lt;/a&gt; (md5sum 03beb907c13df6484cde210ce219f4b8) for anyone interested.&lt;br /&gt;&lt;br /&gt;I also put a copy of the website to &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Flibtxc_dxtn&apos; rel=&apos;nofollow&apos;&gt;http://people.freedesktop.org/~cbrill/libtxc_dxtn&lt;/a&gt; and updated the links to point to the freedesktop DRI-pages instead of the abandoned sourceforge ones.</description>
  <comments>https://tirdc.livejournal.com/27939.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/27857.html</guid>
  <pubDate>Thu, 26 Aug 2010 09:34:52 GMT</pubDate>
  <title>Gallium R300 as drop-in replacement</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/27857.html</link>
  <description>Dave Airlie made a &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fmesa%2Fcommit%2F%3Fid%3D37f0654fa56a97c6f4ea6220c97758ee95267e0b&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;small commit&lt;/a&gt; changing the name of the R300 gallium driver from radeong to r300.&lt;br /&gt;&lt;br /&gt;And what does that mean? It basically means that the classic r300 driver and the gallium based one share the same filename. So you can switch between the two drivers by simply replacing the one with the other.&lt;br /&gt;&lt;br /&gt;This is really helpful for developers. And it might also be the first sign that the gallium based driver might become the default driver for r300.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;From an anonymous comment:&lt;br /&gt;&lt;br /&gt;&lt;cite&gt;It also means that you cannot easily package both drivers in rpm packages.&lt;/cite&gt;</description>
  <comments>https://tirdc.livejournal.com/27857.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>8</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/27484.html</guid>
  <pubDate>Sun, 22 Aug 2010 12:27:14 GMT</pubDate>
  <title>f-spot rant</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/27484.html</link>
  <description>This is a totally radeon-unrelated rant:&lt;br /&gt;&lt;br /&gt;&amp;lt;rant&amp;gt;&lt;br /&gt;&lt;br /&gt;I decided to import some old photos into f-spot today to check for duplicates and organize them to folders corresponding to the date (i.e. yyyy/mm/dd). I assumed that f-spot would read the EXIF-metadata to extract the date (which is what it did before). After the import I was shocked to see that all images where put into 2001/01/01 ... which is totally wrong (the pictures dated 2005)! After looking at the images names (e.g. &quot;01010008.jpg&quot;) I found out that the date was extracted from the filename (which is wrong as the camera does not name the images by date but by whatever else). I though: Ok, forget f-spot and let&apos;s use &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fyorba.org%2Fshotwell%2F&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;shotwell&lt;/a&gt;. Sadly shotwell imported the pictures into the same folders. I looked at the exif metadata of the images before and after the f-spot import ... before the date was correct, after the import the date was wrong.&lt;br /&gt;&lt;br /&gt;f-spot replaced the exif timestamp by something that it assumed to be the correct timestamp. That&apos;s really evil.&lt;br /&gt;&lt;br /&gt;Next to that f-spot was not able to import a large library (~10000 pictures) without using ~2.5GB RAM ... which caused my system to be swapping a lot (while still importing). This slowed down importing a single photo to ~5 seconds. Unusable.&lt;br /&gt;&lt;br /&gt;I happily dropped f-spot and will never return. Shotwell performs much better (though it&apos;s still not as feature-rich). I&apos;m happy to use a .NET/mono application less and I can only recommend that to you, too.&lt;br /&gt;&lt;br /&gt;&amp;lt;/rant&amp;gt;&lt;br /&gt;&lt;br /&gt;Next to that Jerome Glisse and Dave Airlie keep rocking implementing r600g.</description>
  <comments>https://tirdc.livejournal.com/27484.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>7</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/27350.html</guid>
  <pubDate>Tue, 15 Jun 2010 07:37:42 GMT</pubDate>
  <title>r300g performance</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/27350.html</link>
  <description>Lately Marek Olšák has been focusing on r300g performance. He did a bunch of commits the last days that remove useless code and duplicated security checks. While doing so he also wrapped some debugging code to be enabled/disabled at compile time.&lt;br /&gt;&lt;br /&gt;When a developer is focusing on performance this is generally a good sign, because it basically means that the groundwork is done.&lt;br /&gt;&lt;br /&gt;On his way he also rewrote occlusion queries. The following commit line shows his intention:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;This fixes flickering in Enemy Territory: Quake Wars. The driver &lt;b&gt;now renders everything correctly&lt;/b&gt; in this game and the graphics is awesome.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;I&apos;ll most likely grab myself a copy of the Enemy Territory: Quake Wars demo and test his latest achievements.</description>
  <comments>https://tirdc.livejournal.com/27350.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>8</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/26960.html</guid>
  <pubDate>Fri, 04 Jun 2010 06:38:14 GMT</pubDate>
  <title>gdm multihead xrandr workaround</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/26960.html</link>
  <description>This is totally unrelated to Radeon development, but I couldn&apos;t find a good guide for that.&lt;br /&gt;&lt;br /&gt;I&apos;m using a Laptop with an external TFT attached to it for my work. It works great using gnome-display-properties to setup the displays when I&apos;m logged in. But it really lacks a &quot;Apply for all users&quot; setting. So it always bothered me that gdm was using mirror mode (or clone mode) for the login. That looks really awful. And since I&apos;m not a big fan of hard coding display settings in my xorg.conf(.d) (and the external display is not connected all the time as this is a laptop) I came up with the following solution:&lt;br /&gt;&lt;br /&gt;1.) Open /etc/gdm/Init/Default in your favorite editor&lt;br /&gt;&lt;br /&gt;2.) Put the following code right before &quot;/sbin/initctl -q emit login-session-start DISPLAY_MANAGER=gdm&quot;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;VGA1_PRESENT=`xrandr | grep &quot;VGA1 connected&quot;`&lt;br /&gt;if [ &quot;x${VGA1_PRESENT}x&quot; != &quot;xx&quot; ]; then&lt;br /&gt;        xrandr --output LVDS1 --auto --pos 0x0 --primary&lt;br /&gt;        xrandr --output VGA1 --auto --right-of LVDS1&lt;br /&gt;fi&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;3.) Restart X.org&lt;br /&gt;&lt;br /&gt;There might be better solutions to this but I could not find any. I hope it helps other that face the same issue.</description>
  <comments>https://tirdc.livejournal.com/26960.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/26715.html</guid>
  <pubDate>Tue, 01 Jun 2010 23:01:50 GMT</pubDate>
  <title>IRC log interruption and updates</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/26715.html</link>
  <description>Due to technical reasons (the logging daemon was not running) the IRC logs of the last two days are missing. I fixes that and now &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2F%3Fdate%3Dtoday&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;my favorite site&lt;/a&gt; is back online.&lt;br /&gt;&lt;br /&gt;Now to the interesting part:&lt;br /&gt;&lt;br /&gt;The r300g driver keeps moving forward thanks to Marek Olšák. He&apos;s picking up the work that Corbin Simpson started and implements more features and improves stability. He also started looking at the r600g driver started by Jermone Glisse (and others).&lt;br /&gt;&lt;br /&gt;Jerome now work for Red Hat after he finished his academic studies. I&apos;m not sure what he&apos;s doing exactly but the r600g was done in his free time.&lt;br /&gt;&lt;br /&gt;Dave Airlie is doing a great job maintaining the DRM stuff in the kernel. The merge window for 2.6.35 is just over and he got plenty of good stuff pushed upstream. He&apos;s also doing experiments to do TFP in the software rasterizer.&lt;br /&gt;&lt;br /&gt;Corbin is our &apos;information dispatcher&apos;. Whenever a user pops up on IRC having a question or a weird problem Corbin is on the spot delivering information to users and gathering information from users.&lt;br /&gt;&lt;br /&gt;And finally Alex Deucher is still at AMD/ATI helping out with information and documentation.&lt;br /&gt;&lt;br /&gt;We also saw contributions from Maciej Cencora about 2 month ago regarding bugfixes in the class r300 driver.&lt;br /&gt;&lt;br /&gt;(I&apos;m sure I missed some people involved in this effort to bring free open source drivers for ATI/AMD Radeons to the world)&lt;br /&gt;&lt;br /&gt;Generally speaking: The progress on this topic might be slow, but static. New features keep popping up, performance improvements are made from time to time. I completely dropped fglrx from my system some time ago and I&apos;m using compiz on an old X1650 graphics card without any flaws.&lt;br /&gt;&lt;br /&gt;Good job, guys! Thank you!</description>
  <comments>https://tirdc.livejournal.com/26715.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/26600.html</guid>
  <pubDate>Thu, 01 Oct 2009 21:17:40 GMT</pubDate>
  <title>dri-devel IRC log back up</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/26600.html</link>
  <description>I could restore most parts of the frontend (major parts written in Javascript) from google cache so I proudly present the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2F&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;quick and dirty frontend to the dri-devel IRC logs&lt;/a&gt;. I&apos;m currently investigating in using the logs from pq and jcristau from IRC to restore the most recent logs. A big &quot;Thank you&quot; goes to both of these guys. Another &quot;Thank you&quot; goes to krh who happily tested if the logging works and was the first to notice that is was back :-)</description>
  <comments>https://tirdc.livejournal.com/26600.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/26330.html</guid>
  <pubDate>Thu, 01 Oct 2009 06:57:34 GMT</pubDate>
  <title>End of dri-devel IRC logs</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/26330.html</link>
  <description>As noted by &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fwww.fooishbar.org%2Fblog%2Ftech%2Ffdo%2FpsuPowerFail-2009-10-01-03-43.html&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;Daniel Stone&lt;/a&gt; and &lt;a href=&quot;http://ajaxxx.livejournal.com/62015.html&quot; target=&quot;_blank&quot;&gt;Adam Jackson&lt;/a&gt; people.freedesktop.org went down due to power failures and therefore lost /home. Unfortunately this was the main hosting place for the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2F%3Fdate%3Dtoday&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;dri-devel IRC logs&lt;/a&gt;. Unfortunately again, there are no backups. What does this mean?&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt; &lt;li&gt;All logs are gone (more than 2 years)&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The PHP frontend is gone&lt;/li&gt;&lt;br /&gt; &lt;li&gt;The IRC logging tool is gone&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;I currently don&apos;t have the time or the will to set it up again so I&apos;ll add a redirect to the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fwww.radeonhd.org%2F&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;(IMO) completely crappy phoronix IRC logs&lt;/a&gt;.</description>
  <comments>https://tirdc.livejournal.com/26330.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>7</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/25982.html</guid>
  <pubDate>Fri, 28 Aug 2009 14:18:31 GMT</pubDate>
  <title>Commit messages like commands</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/25982.html</link>
  <description>A colleague recently asked me why I&apos;m using commit messages that sound like commands or work orders (e.g. &quot;Fix bug XYZ&quot;, &quot;Replace method X by Y&quot;, etc.). I was wondering myself how I came to do that. So I started looking at &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2F&apos; rel=&apos;nofollow&apos;&gt;http://cgit.freedesktop.org/&lt;/a&gt; and pick several repositories. Among them mesa and glitz. All of these use this comment style. Next I looked up &lt;a href=&apos;https://www.livejournal.com/away?to=http%3A%2F%2Fgit.kernel.org%2F&apos; rel=&apos;nofollow&apos;&gt;http://git.kernel.org/&lt;/a&gt; and found that the repositories found there also use this commit message style.&lt;br /&gt;&lt;br /&gt;Is this the normal way to express something you&apos;ve done? I&apos;m not a native speaker, but thinking about it I came to the conclusion that &quot;Fix&lt;b&gt;ed&lt;/b&gt; bug XYZ&quot; and &quot;Replac&lt;b&gt;ed&lt;/b&gt; method X by Y&quot; sound better to me.&lt;br /&gt;&lt;br /&gt;Dear Interweb, what do you think?</description>
  <comments>https://tirdc.livejournal.com/25982.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>12</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/25538.html</guid>
  <pubDate>Wed, 01 Jul 2009 21:26:31 GMT</pubDate>
  <title>An now to something completely different</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/25538.html</link>
  <description>(I know, this blog is supposed to hold news about radeon development, but I just read something really cool on IRC)&lt;br /&gt;&lt;br /&gt;&lt;code&gt;09:02 #dri-devel: &amp;lt; Weiss&amp;gt; awesome - first picture on the screen using KMS on my FreeRunner! :D &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Yes, that&apos;s right. KMS is being worked on to run on the OpenMoko FreeRunner mobile devices. It&apos;s especially cool since I own such a thing :-D</description>
  <comments>https://tirdc.livejournal.com/25538.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/25274.html</guid>
  <pubDate>Tue, 09 Jun 2009 14:01:13 GMT</pubDate>
  <title>HW TCL glxgears in gallium</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/25274.html</link>
  <description>Do I need to add something else? Yes? Ok. Corbin Simpson got to the point where you can run glxgears on top of a gallium accelerated mesa. He figured out what the actual issues were and pushed the changes to git a few hours ago. Good job, Corbin!&lt;br /&gt;&lt;br /&gt;Next to that Dave Airlie will be looking into gallium, too. He&apos;s interested in porting over code (the fragment shader) form the radeon-rewrite branch of mesa to gallium to see if there are any performance improvements. Corbin objected though. He thinks that this part of code should be rewritten so that it could be maintained and extended. Currently nobody is working on it, so we&apos;ll see what the future brings.</description>
  <comments>https://tirdc.livejournal.com/25274.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/24963.html</guid>
  <pubDate>Sun, 17 May 2009 08:33:14 GMT</pubDate>
  <title>Forcing software rendering</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/24963.html</link>
  <description>Once in a while I need my system to do software rendering and not using any hardware acceleration. A few years ago (before the age of AIGLX) we had a environment variable named &lt;code&gt;LIBGL_ALWAYS_INDIRECT&lt;/code&gt;. But that does not disable hardware accelerated rendering. And since I&apos;m forgetting the new variable to force software rendering every time I need it I&apos;m going to explain both here.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;LIBGL_ALWAYS_INDIRECT&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This variable is used to force an application to always go the indirect rendering path. This means that the libGL (i.e. mesa) does not access the hardware directly but uses the X-servers GLX protocol for the access. The X-server will then use the hardware to render the request.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;LIBGL_ALWAYS_SOFTWARE&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This variable causes libGL to always use the swrast driver to render the frame in software. This will use no hardware acceleration (i.e. GPU acceleration) at all.&lt;br /&gt;&lt;br /&gt;I hope I can finally remember it now :-)&lt;br /&gt;&lt;br /&gt;&lt;b&gt;edit:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Of course there is another important environment variable:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;LIBGL_DRIVERS_PATH&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This variable causes mesa to search in the given directory for DRI drivers. This is handy when doing development since you can have a working driver installed by default and test your driver without breaking your installation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;edit from Corbin Simpson:&lt;/b&gt;&lt;br /&gt;Two more useful ones for Radeon people:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;RADEON_SOFTPIPE&lt;/b&gt;&lt;/code&gt;, when set, forces the Gallium Radeon driver into softpipe mode. This makes it quite slow, but it won&apos;t ever misrender or die. It even runs glxgears well.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;b&gt;RADEON_NO_TCL&lt;/b&gt;&lt;/code&gt; for Gallium or &lt;code&gt;&lt;b&gt;R300_NO_TCL&lt;/b&gt;&lt;/code&gt; for classic r300, will disable HW TCL even if you&apos;re not on an IGP chipset. This is useful for testing shaders, and doubly useful on Gallium since HW TCL is very broken there.</description>
  <comments>https://tirdc.livejournal.com/24963.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/24758.html</guid>
  <pubDate>Sat, 09 May 2009 22:13:36 GMT</pubDate>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/24758.html</link>
  <description>Corbin Simpson has been working on getting Gallium for Radeon into a more stable shape. Today he got the non-tcl code running more or less stable.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;00:47 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; Okay, so with what I&apos;ve just pushed, you can run glxgears with RADEON_NO_TCL for minutes upon minutes. Maybe even longer, didn&apos;t really try. Of course, it&apos;s still microgears.&lt;br /&gt;00:47 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; But yeah. BO handling&apos;s pretty stable now. &lt;br /&gt;&lt;/code&gt;</description>
  <comments>https://tirdc.livejournal.com/24758.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/24426.html</guid>
  <pubDate>Sat, 09 May 2009 22:09:46 GMT</pubDate>
  <title>Testing Jeromes Code</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/24426.html</link>
  <description>I took the time to test drive &lt;a href=&quot;http://jglisse.livejournal.com/1822.html&quot; target=&quot;_blank&quot;&gt;Jerome Glisses KMS/TTM/CS&lt;/a&gt; code.  From a first test it is solid and working fine. I haven&apos;t had a crash or lockup, so I&apos;m pretty happy with the code. I don&apos;t have any performance issues that bug me. I use it for my every day usage at my private computer and I&apos;m actually writing this entry while using it. So for me it&apos;s definitely ok for every day usage as long as you can accept a few issues:&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://imgprx.livejournal.net/23da93bb31cffe545aedb4f3179c840aeb73689c/vg6PeAIg_P53dpP9zb5LdKFpZ9Np_T9eM0wxPCxY11y5vXrjc_cB7X6vqM3PVF06N9w-JOjy1jLVtklVSnde6virCzrk2NjFKUte5Y6zWl0&quot; fetchpriority=&quot;high&quot; /&gt;&lt;br /&gt;As you can see in this picture there there seem some issues in the radeon-rewrite branch. I only could trigger this in blender.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://imgprx.livejournal.net/85dc0d6b5e1c0e0b6b0a2d583cbb2e02922eaad5/vg6PeAIg_P53dpP9zb5LdKFpZ9Np_T9eM0wxPCxY11y5vXrjc_cB7X6vqM3PVF06YHvn9H3t1aIUzVwIR7xEr_on3HTDzueyV4ctwsWvmHILA6jfodHvOb_3ufxhyYO6&quot; loading=&quot;lazy&quot; /&gt;&lt;br /&gt;I noticed a few rendering issues when looking web sites using epiphany that use background images for the body. Nothing worse because only the background looks weird while the content is looking normal.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://imgprx.livejournal.net/4dce25f2428af886c0826d132573fa2a1469785f/vg6PeAIg_P53dpP9zb5LdKFpZ9Np_T9eM0wxPCxY11y5vXrjc_cB7X6vqM3PVF06JzpwTY-ZQAYlCXRmcbSnoy4kJBPbXIY7WDWW_fPg8UUya6KGBJBgimt1BgUCcUHT&quot; loading=&quot;lazy&quot; /&gt;&lt;br /&gt;Video scaling is broken. You only see the upper left quarter of the video. As you can see in this picture clipping caused by windows in front of the window cause an even more strange behaviour. The upper part seems to be working more or less fine. The rest is ... well, weird :-)&lt;br /&gt;&lt;br /&gt;And last but not least:&lt;br /&gt;&lt;br /&gt;glxgears is noticably slower ... but who cares? glxgears is not a benchmark. And ioquake3 bases games are running slower without me ever noticing it.&lt;br /&gt;&lt;br /&gt;Respecting the changes done to radeon this is a rather short list of issues. Large central parts of the radeon driver at all levels have been rewritten. There is a new kernel module using TTM and providing KMS. You got a brand new command submission method used by the DDX and by mesa. You are using DRI2 and a rewritten radeon mesa driver. I must admit that I&apos;m pretty impressed of the stability of such early code. Let&apos;s say thanks to Jerome Glisse, Dave Airlie, Nicolai Haehnle, Alex Deucher and who else was involved working on the radeon code. Thanks guys!</description>
  <comments>https://tirdc.livejournal.com/24426.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/24141.html</guid>
  <pubDate>Sat, 04 Apr 2009 22:40:54 GMT</pubDate>
  <title>R300 gallium progess</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/24141.html</link>
  <description>Today Corbin simpson announced the following:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;02:45 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; To anybody that cares: r300-gallium now renders in both HW and SW TCL modes. Go check it out, lemme know if/when it locks up.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This means you should be able to run simple tests programs like glxgears now. Don&apos;t expect any big features right now but we are (slowly) moving towards that.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2Findex.php%3Fdate%3D2009-04-04%26channel%3Ddri-devel&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;Source&lt;/a&gt;</description>
  <comments>https://tirdc.livejournal.com/24141.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>6</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/24005.html</guid>
  <pubDate>Mon, 16 Feb 2009 02:55:14 GMT</pubDate>
  <title>Nearing OpenGL 1.4 support</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/24005.html</link>
  <description>The open source radeon driver is currently supporting all featuresfor OpenGL 1.3 support. This means that all features required by the specification were written and are available in the driver. But the driver has been in state for a long time. So what is missing for OpenGL 1.4 support? Or even OpenGL 2.0? Well, as we could read today on IRC:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;08:14 #radeon: &amp;lt; osiris_&amp;gt; osiris_: so were almost there with opengl1.4 support&lt;br /&gt;08:14 #radeon: &amp;lt;osiris_&amp;gt; talks to himself :/&lt;br /&gt;08:15 #radeon: &amp;lt; osiris_&amp;gt; as airlied said with his recent work on radeon-rewrite it should be pretty easy to add occulsion query,pbo and fbo support&lt;br /&gt;08:16 #radeon: &amp;lt; osiris_&amp;gt; so only glsl support will be necessary to advertise opengl2.0&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;(I really love the second line of this statement, it just made me laugh)&lt;br /&gt;&lt;br /&gt;Well, osiris has been working on point param and foog coord support. And he is making good progress. Today he gave a patch to Nicolai Haehnle to test point param on TCL capable hardware and it worked exactly as the software rasterizer from mesa.&lt;br /&gt;&lt;br /&gt;It&apos;s really great to see how fast the development on radeon is going forward, both in features and code quality. So we really have to thank you guys for putting so much effort into this project. Thanks!</description>
  <comments>https://tirdc.livejournal.com/24005.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/23805.html</guid>
  <pubDate>Mon, 12 Jan 2009 12:28:05 GMT</pubDate>
  <title>Gallium on Radeon coming along</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/23805.html</link>
  <description>Corbin simpson has been working hard on getting Gallium to run after he finally managed to build it. Today we could read the following lines:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;01:47 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; airlied: Awesome. Got my pipe to build, gonna start trying to get things drawing. &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;So what does it do right now? Well, to be honest: Nothing. But it&apos;s the point at where the groundwork should be (mostly) done and development can focus on actually implementing features. You can watch Corbin&apos;s progress in his &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2F%7Ecsimpson%2Fmesa%2Flog%2F%3Fh%3Dgallium-0.2-radeon&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;mesa branch&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2Findex.php%3Fpage%3Ddri-devel-2009-01-12.log&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;Source&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Branches&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;Speaking of branches, radeon development is right now happening in many places. It&apos;s hard to tell where to start since different developers are working at different features at different places. This is even agreed by leading radeon developers like Jermone Glisse.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;03:15 #dri-devel: &amp;lt; glisse&amp;gt; way too much branch in way too much place &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Radeon developers try to avoid conflicts with intel development (happening in the official mesa and drm trees) by using seperate private repositories. This avoids regressions in the intel side but increases complexity of the development process. The nouveau project does it&apos;s development in the official trees, too.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;00:49 #dri-devel: &amp;lt; pq&amp;gt; with Nouveau it&apos;s easy: just use drm.git drm.ko and nouveau.ko, and Nouveau&apos;s latest DDX &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Let&apos;s hope the work being done is sooner getting stable and will be slowly merged over to the official branches.&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Testing Gallium&lt;/h1&gt;&lt;br /&gt;&lt;br /&gt;I&apos;ll try to explain how to play with Gallium/KMS/DRI2/GEM/TTM by choosing the right branches. &lt;b&gt;Note that this is for testing and not every day usage.&lt;/b&gt; I can&apos;t tell if I get it right since I never did this myself. I can&apos;t test any of the commands listed below as I&apos;m writing this on a win32 system.&lt;br /&gt;&lt;br /&gt;First of all you need a Radeon KMS and GEM capable kernel. These are not yet available in any kernel release (and won&apos;t be in 2.6.29) so you need to clone the following tree.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir /usr/src/linux-radeon&lt;br /&gt;cd /usr/src/linux-radeon&lt;br /&gt;git clone git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git .&lt;br /&gt;git checkout --track -b drm-rawhide origin/drm-rawhide&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you need to build and install this kernel. Note that it&apos;s a 2.6.28-rc9 (IIRC) so it&apos;s not recommend for every day usage. You might also need to install GEM-capable kernel headers. There might be specific instructions for you distribution.&lt;br /&gt;&lt;br /&gt;After that you need a modesetting capable libdrm.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir /usr/src/drm&lt;br /&gt;cd /usr/src/drm&lt;br /&gt;git clone git://anongit.freedesktop.org/mesa/drm .&lt;br /&gt;git checkout --track -b modesetting-gem origin/modesetting-gem&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now you need a GEM aware DDX (2D X.org driver). I&apos;m not sure which one is the correct one.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir /usr/src/xf86-video-ati-airlied&lt;br /&gt;cd /usr/src/xf86-video-ati-airlied&lt;br /&gt;git clone git://anongit.freedesktop.org/~airlied/xf86-video-ati .&lt;br /&gt;git checkout --track -b radeon-gem-cs2 origin/radeon-gem-cs2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir /usr/src/xf86-video-ati-glisse&lt;br /&gt;cd /usr/src/xf86-video-ati-glisse&lt;br /&gt;git clone git://anongit.freedesktop.org/~glisse/xf86-video-ati .&lt;br /&gt;git checkout --track -b radeon-gem-cs-dri2 origin/radeon-gem-cs-dri2&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Both should be more or less the same, i.e. DRI2, KMS and GEM capable. This work will likely be done for xf86-video-radeonhd at a later point, too.&lt;br /&gt;&lt;br /&gt;Finally you need a Gallium Mesa tree.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;mkdir /usr/src/xf86-video-ati-glisse&lt;br /&gt;cd /usr/src/xf86-video-ati-glisse&lt;br /&gt;git clone git://anongit.freedesktop.org/~csimpson/mesa .&lt;br /&gt;git checkout --track -b gallium-0.2-radeon origin/gallium-0.2-radeon&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This might lead you the right way, or might eliminate your whole disk. There are no guarantees on this guide.</description>
  <comments>https://tirdc.livejournal.com/23805.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>9</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/23332.html</guid>
  <pubDate>Mon, 29 Dec 2008 00:07:42 GMT</pubDate>
  <title>LLVM gallium backends</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/23332.html</link>
  <description>&lt;code&gt;&lt;br /&gt;09:09 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; F*** yes! Got my LLVM backend to build! &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;With these Corbin Simpson (MostAwesomeDude on IRC) today got his R300 LLVM shader backend to compile. You wonder what a LLVM shader backend is? Well, in the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fcgit.freedesktop.org%2Fmesa%2Fmesa%2Flog%2F%3Fh%3Dgallium-0.2&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;gallium&lt;/a&gt; world shaders (both vertex and fragment) are translated into a hardware independent and shader independent format. This format will then be sent to LLVM to perform optimizations on them and, using a backend, turn it into a hardware dependend shader. Corbin is currently working on writing the vertex shader LLVM backend. But don&apos;t expect to much yet: &lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;09:43 #dri-devel: &amp;lt; mattst88&amp;gt; MostAwesomeDude, tell us more, what&apos;s it do, etc.&lt;br /&gt;09:45 #dri-devel: &amp;lt; MostAwesomeDude&amp;gt; mattst88: Segfault. &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;For the full details read the &lt;a href=&quot;https://www.livejournal.com/away?to=http%3A%2F%2Fpeople.freedesktop.org%2F%7Ecbrill%2Fdri-log%2Findex.php%3Fpage%3Ddri-devel-2008-12-28.log&quot; rel=&quot;nofollow&quot; rel=&quot;nofollow&quot;&gt;IRC logs&lt;/a&gt;.</description>
  <comments>https://tirdc.livejournal.com/23332.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
  </item>
  <item>
  <guid isPermaLink='true'>https://tirdc.livejournal.com/23284.html</guid>
  <pubDate>Mon, 04 Aug 2008 07:28:32 GMT</pubDate>
  <title>The way to bufmgr</title>
  <author>tirdc</author>
  <link>https://tirdc.livejournal.com/23284.html</link>
  <description>Recently more and more people start working on dri_bufmgr. This is a realtive new infrastructe within mesa to allow &quot;batch buffers&quot;. This means that all 3D stuff from userspace (i.e. glxgears) is packed into so called buffer objects and sumbitted in a batch to the graphics hardware (through the DRM). This has an obvious advantage: Less context switches from usermode to kernelmode. I guess there are even more advantages but I don&apos;t know the exact details.&lt;br /&gt;&lt;br /&gt;&lt;span  class=&quot;ljuser  i-ljuser  i-ljuser-type-P     &quot;  data-ljuser=&quot;airlied&quot; lj:user=&quot;airlied&quot; &gt;&lt;a href=&quot;https://airlied.livejournal.com/profile&quot;  target=&quot;_self&quot;  class=&quot;i-ljuser-profile&quot; &gt;&lt;img  class=&quot;i-ljuser-userhead&quot;  src=&quot;https://l-stat.livejournal.net/img/userinfo_v8.png?v=17080&amp;v=729&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://airlied.livejournal.com/&quot; class=&quot;i-ljuser-username&quot;   target=&quot;_self&quot;   &gt;&lt;b&gt;airlied&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; started working on this topic about a month ago and has done some major work. He did this during some major restructuring for KMS he was primarly working on. His tree also contains the latest changes &lt;span  class=&quot;ljuser  i-ljuser  i-ljuser-type-P     &quot;  data-ljuser=&quot;jglisse&quot; lj:user=&quot;jglisse&quot; &gt;&lt;a href=&quot;https://jglisse.livejournal.com/profile&quot;  target=&quot;_self&quot;  class=&quot;i-ljuser-profile&quot; &gt;&lt;img  class=&quot;i-ljuser-userhead&quot;  src=&quot;https://l-stat.livejournal.net/img/userinfo_v8.png?v=17080&amp;v=729&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://jglisse.livejournal.com/&quot; class=&quot;i-ljuser-username&quot;   target=&quot;_self&quot;   &gt;&lt;b&gt;jglisse&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; outlined how to do better command submission. Lately &lt;span  class=&quot;ljuser  i-ljuser  i-ljuser-deleted  i-ljuser-type-P     &quot;  data-ljuser=&quot;ajaxxx&quot; lj:user=&quot;ajaxxx&quot; &gt;&lt;a href=&quot;https://ajaxxx.livejournal.com/profile&quot;  target=&quot;_self&quot;  class=&quot;i-ljuser-profile&quot; &gt;&lt;img  class=&quot;i-ljuser-userhead&quot;  src=&quot;https://l-stat.livejournal.net/img/userinfo_v8.png?v=17080&amp;v=729&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://ajaxxx.livejournal.com/&quot; class=&quot;i-ljuser-username&quot;   target=&quot;_self&quot;   &gt;&lt;b&gt;ajaxxx&lt;/b&gt;&lt;/a&gt;&lt;/span&gt; picked up his work and has been working on it behind the scenes.&lt;br /&gt;&lt;br /&gt;This weekend Nicolai Hähnle started his own approach on how to get the r300 driver into the direction of dri_bufmgr. He encapsulated the current method within macros that can be exchanged to a dri_bufmgr at a later point. He also implemented the dri_bufmgr interface from mesa. This obviously lead to a discussion with Dave Airlie since both work on the same area. It was agreed that the code should wait until Mesa 7.1 was released (which should happen soon) before any work will be done on master. Dave Airlie also suggested to base the work on Nicolai&apos;s code instead of his own. Now the code landed in a branch named r300-bufmgr in the main mesa git repository. So now everyone will (hopefully) work on the same code.&lt;br /&gt;&lt;br /&gt;Let&apos;s look forward on what our wonderful open source radeon developers will do.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Update&lt;/b&gt;&lt;br /&gt;Nicolai Hähnle explained the reason for dri_bufmgr.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;The dri_bufmgr interface is essentially an abstraction for graphics memory management (and some related issues). Therefore, using dri_bufmgr in the 3D driver is a first step towards using a real, kernel-supported memory manager for graphics memory (i.e. GEM).&lt;br /&gt;&lt;br /&gt;This is important for any number of reasons, but personally I am interested in supporting render-to-texture efficiently (whether via CopyTexSubImage or EXT_framebuffer_object). Render-to-texture is vital for advanced effects such as bloom.&lt;br /&gt;&lt;br /&gt;Right now, when our driver uploads a texture into the graphics card&apos;s memory, this texture may be overwritten at essentially any time by another process once a context switch occurs. This makes it impossible to implement things like CopyTexSubImage and EXT_framebuffer_object efficiently in hardware.&lt;br /&gt;&lt;/code&gt;</description>
  <comments>https://tirdc.livejournal.com/23284.html?view=comments#comments</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
  </item>
</channel>
</rss>
