<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Texts on Tiago Vignatti</title><link>https://vignatti.com/posts/</link><description>Recent content in Texts on Tiago Vignatti</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Tiago Vignatti</copyright><lastBuildDate>Tue, 27 Oct 2026 12:00:00 -0300</lastBuildDate><atom:link href="https://vignatti.com/posts/index.xml" rel="self" type="application/rss+xml"/><item><title>The Psychoses of 2026</title><link>https://vignatti.com/posts/the-psychoses-of-2026/</link><pubDate>Tue, 27 Oct 2026 12:00:00 -0300</pubDate><guid>https://vignatti.com/posts/the-psychoses-of-2026/</guid><description>Political psychosis, AI psychosis.</description></item><item><title>Excuse me while I kiss the sky 🌅🍄‍🟫</title><link>https://vignatti.com/posts/excuse-me-while-i-kiss-the-sky/</link><pubDate>Thu, 09 Jul 2026 11:16:03 -0300</pubDate><guid>https://vignatti.com/posts/excuse-me-while-i-kiss-the-sky/</guid><description>My brother&amp;rsquo;s award-winning book.</description></item><item><title>Accessibility and PDF documents</title><link>https://vignatti.com/posts/accessibility-and-pdfs/</link><pubDate>Wed, 04 Mar 2026 10:00:00 -0300</pubDate><guid>https://vignatti.com/posts/accessibility-and-pdfs/</guid><description>Making PDFs readable for everyone.</description></item><item><title>From Chromium to Community</title><link>https://vignatti.com/posts/from-chromium-to-community/</link><pubDate>Fri, 15 Aug 2025 11:28:03 -0300</pubDate><guid>https://vignatti.com/posts/from-chromium-to-community/</guid><description>Co-op principles for everyone.</description></item><item><title>Organizações Sustentáveis: Lições da Igalia</title><link>https://vignatti.com/posts/organizacoes-sustentaveis/</link><pubDate>Wed, 09 Apr 2025 11:05:16 -0300</pubDate><guid>https://vignatti.com/posts/organizacoes-sustentaveis/</guid><description>Princípios para qualquer organização.</description></item><item><title>Sustainable Organizations: Lessons from Igalia</title><link>https://vignatti.com/posts/sustainable-organizations/</link><pubDate>Wed, 02 Apr 2025 14:52:37 -0300</pubDate><guid>https://vignatti.com/posts/sustainable-organizations/</guid><description>Principles for any organization.</description></item><item><title>Using Chromium for Building Apps</title><link>https://vignatti.com/posts/chromium-for-building-apps/</link><pubDate>Wed, 04 Dec 2024 10:36:37 -0300</pubDate><guid>https://vignatti.com/posts/chromium-for-building-apps/</guid><description>Beyond the browser.</description></item><item><title>Good fortune 복</title><link>https://vignatti.com/posts/good-fortune/</link><pubDate>Tue, 19 Nov 2024 12:00:28 -0300</pubDate><guid>https://vignatti.com/posts/good-fortune/</guid><description>Chromium and friends in Seoul.</description></item><item><title>Short blog post from Madrid's bus</title><link>https://vignatti.com/posts/from-madrid-bus/</link><pubDate>Tue, 21 Jun 2022 00:34:34 +0200</pubDate><guid>https://vignatti.com/posts/from-madrid-bus/</guid><description>Wildfires and Igalia&amp;rsquo;s 20th.</description></item><item><title>My Startup Dream</title><link>https://vignatti.com/posts/my-startup-dream/</link><pubDate>Fri, 06 Aug 2021 00:00:00 +0000</pubDate><guid>https://vignatti.com/posts/my-startup-dream/</guid><description>Skateboards to VR.</description></item><item><title>Stars Aligned</title><link>https://vignatti.com/posts/stars-aligned/</link><pubDate>Mon, 08 Mar 2021 22:04:11 -0300</pubDate><guid>https://vignatti.com/posts/stars-aligned/</guid><description>Wedding, baby, and grandma&amp;rsquo;s birthday.</description></item><item><title>Quilombo</title><link>https://vignatti.com/posts/quilombo/</link><pubDate>Tue, 23 Feb 2021 21:07:43 -0300</pubDate><guid>https://vignatti.com/posts/quilombo/</guid><description>A beach.</description></item><item><title>Oculus Quest</title><link>https://vignatti.com/posts/oculus-quest/</link><pubDate>Mon, 15 Oct 2018 17:21:23 +0000</pubDate><guid>https://vignatti.com/posts/oculus-quest/</guid><description>It won&amp;rsquo;t run Rift apps.</description></item><item><title>Chromium Ozone-GBM explained</title><link>https://vignatti.com/posts/chromium-ozone-gbm-explained/</link><pubDate>Thu, 09 Oct 2014 16:46:29 +0000</pubDate><guid>https://vignatti.com/posts/chromium-ozone-gbm-explained/</guid><description>&lt;div style="text-align:justify; strong{color:#00b1ff;}"&gt;&#10; &lt;p&gt;About a year ago &lt;a href="https://chromium.googlesource.com/chromium/src/&amp;#43;/HEAD/docs/ozone_overview.md" target="_blank" rel="noreferrer"&gt;Ozone platform abstraction layer&lt;/a&gt; started to take its shape in Chromium and we were excited how easily we could s&lt;a href="https://vignatti.com/posts/welcome-to-chromiums-ozone-wayland/" target="_blank" rel="noreferrer"&gt;upport Wayland platform&lt;/a&gt; using it. Everything went great and we helped a few Chromium targets like &lt;a href="https://en.wikipedia.org/wiki/Crosswalk_Project" target="_blank" rel="noreferrer"&gt;Crosswalk&lt;/a&gt; to debut in the Tizen ecosystem for example. More recently, different Ozone platforms have been implemented and only now it&amp;rsquo;s becoming evident the significance of Ozone for Chromium Linux, generally speaking.&lt;/p&gt;&#10;&lt;p&gt;In this post I will focus in the Ozone-GBM platform, which is the platform that gives support for hardware-accelerated graphics and input support in Linux, without relying on any traditional windowing system like X11, Wayland etc. I hope that after reading this document besides a better knowledge on Ozone-GBM itself, the reader will also have an overall idea how Linux graphics and Chromium architecture function together.&lt;/p&gt;&#10;&lt;p&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="auto"&#10; alt="Chromium Ozone-GBM architecture"&#10; width="960"&#10; height="720"&#10; src="https://vignatti.com/images/2014_ozone_arch_hu_c90abb5fb7c04d4f.png"&#10; srcset="https://vignatti.com/images/2014_ozone_arch_hu_c90abb5fb7c04d4f.png 800w, https://vignatti.com/images/2014_ozone_arch.png 1280w"&#10; sizes="(min-width: 768px) 50vw, 65vw"&#10; data-zoom-src="https://vignatti.com/images/2014_ozone_arch.png"&gt;&lt;/figure&gt;&#10;&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;LINUX, OPENGL, EGL, GBM AND MESA&#10; &lt;div id="linux-opengl-egl-gbm-and-mesa" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#linux-opengl-egl-gbm-and-mesa" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;When building modern and beautiful UIs, the GPU is the hardware engine responsible to produce compelling graphics representation of their images and output them to the screen. On the software side, OpenGL is the well-established API for rendering graphics using a GPU and Mesa is the Linux open-source library implementing it.&lt;/p&gt;&#10;&lt;p&gt;In practice, OpenGL (and its subsets OpenGL ES 1, OpenGL ES 2, etc) usually comes accompanied with a few other APIs to handle platform and system details, one of them being EGL. EGL is the generic interface for dealing with different windowing systems operations like surfaces binding, rendering synchronization, among others. Besides EGL, there&amp;rsquo;s also the KMS/DRM kernel subsystem together with its userspace library used for performing display mode setting and frame-buffer related operations. But when we are mixing together these three major components &amp;ndash; GL, EGL and KMS/DRM &amp;ndash; there is a missing component for performing memory allocation. Previously this was solved by hardware specific drivers on X window system (X11), but if we wanted the &lt;strong&gt;user application directly allocate memory&lt;/strong&gt; then it would be a real problem, which would be solved only later by &lt;strong&gt;Mesa GBM&lt;/strong&gt;.&lt;/p&gt;&#10;&lt;p&gt;Mesa GBM (Generic Buffer Manager) basically provides a EGL native window type (just like Wayland and X11), so one could obtain a real EGL surface and create render target buffers. With that then, GL can be used to render into these buffers, which will be shown to the display by queuing a page flip via KMS/DRM API.&lt;/p&gt;&#10;&lt;p&gt;It&amp;rsquo;s important to note that the only public implementation of GBM is the one based on KMS/DRM, therefore although it&amp;rsquo;s a &amp;ldquo;generic&amp;rdquo; library for accelerated buffers so far we have seen only one out there (!). Besides, by now you may have noted that Ozone-GBM is probably not the most suggestive name about what is in fact this platform.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;CHROMIUM UI FRAMEWORK, AURA AND VIEWS&#10; &lt;div id="chromium-ui-framework-aura-and-views" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#chromium-ui-framework-aura-and-views" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Jumping now to Chromium, in the graphics side of the things we have Aura/Views UI framework. Aura is the acceleration graphics system in Chromium. Views is the widget toolkit based on Aura, so one could build buttons, dialogs etc easily with Views but not with Aura. Aura has a very simple concept of window which receives messages for input event handling, painting, and other low level tasks. On the other hand, Views widgets (&lt;code&gt;views::NativeWidget&lt;/code&gt;) are responsible for translating platform-specific notifications into cross platform events.&lt;/p&gt;&#10;&lt;p&gt;For example in Chrome Browser, what we see in our desktop screen including the Web contents (&amp;ldquo;renderer&amp;rdquo;), main tool bar, window frame, search bar (&amp;ldquo;omnibox&amp;rdquo;) and etc are constructed basically from a bunch of Views, each backed up by a Aura window, which in turn are hosted within one single Aura root window (&lt;code&gt;aura::WindowTreeHost&lt;/code&gt;, one per display actually).&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;aura::WindowTreeHost&lt;/code&gt; bridges between Aura windows and the native root window, i.e. where the real platform-specific code lives. Depending on the platform there will be a root window that wraps one X11 window (&lt;code&gt;aura::WindowTreeHostX11&lt;/code&gt;) or one that wraps an entire and robust graphics system (&lt;code&gt;ui::DriWindow&lt;/code&gt;), in case of Ozone-GBM.&lt;/p&gt;&#10;&lt;p&gt;Before we move on, it&amp;rsquo;s important to explain a few concepts used in Chromium. Compositing is the phase of rendering that combines layer’s textures into a final screen image. Drawing is the compositor combining layers into the final screen image; while painting is the population of layers’ backings (bitmaps with software rasterization; textures in hardware rasterization).&lt;/p&gt;&#10;&lt;p&gt;That being said, the root window inherits the compositor object (&lt;code&gt;ui::Compositor&lt;/code&gt;), so whenever a draw is triggered in the root window &lt;code&gt;aura::WindowTreeHost&lt;/code&gt;, Chromium compositor walks through the child windows, painting the invalidated regions of them and making sure the final result will be presented on the screen (&lt;code&gt;ScheduleDraw()&lt;/code&gt;).&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;FULLSCREEN VS. DESKTOP TARGETS&#10; &lt;div id="fullscreen-vs-desktop-targets" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#fullscreen-vs-desktop-targets" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;There&amp;rsquo;s a variety of targets that Chromium lets us build such as Chrome Browser, ChromeOS, Chromecast, Crosswalk runtime and many others. We basically can split these targets in two classes, depending how the user-interface behaves on each target:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;the first class, where a Chromium target controls the entire display, e.g. ChromeOS or Chromecast&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;second class, the ones that are only part of a multi-window desktop UI, e.g. Chrome Browser in a desktop system&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;In the second class of targets, &lt;code&gt;aura::WindowTreeHost&lt;/code&gt; (more recently actually split into &lt;code&gt;ui::PlatformWindow&lt;/code&gt;) needs to implement all the interactions with the windowing system (resize, maximize, close, etc) and controls the dispatch of the native input events to high-level delegated Chromium interfaces. This is rather complex mechanism and although it&amp;rsquo;s difficult to get it correctly this type of support was the first that existed in Linux Aura infrastructure (&amp;ldquo;Aura-X11&amp;rdquo;). Interestingly, this same support was being used so far for the first class of targets. Note though that the underlying windowing system for these fullscreen targets could be very simple, because the platform window corresponds practically to a physical display (&amp;ldquo;why maximize or resize a root window? It doesn&amp;rsquo;t make sense&amp;rdquo;).&lt;/p&gt;&#10;&lt;p&gt;In other words, &lt;strong&gt;fullscreen Chromium targets require minimal interaction with the windowing system&lt;/strong&gt; and the few other tasks that were being carried through it, like input devices, display management or media support, one would argue that are not tasks inherently of the window system.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;OZONE-GBM&#10; &lt;div id="ozone-gbm" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#ozone-gbm" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;p&gt;Finally, and now speaking with authority, we can define it: &lt;strong&gt;Ozone-GBM is the native fullscreen-only platform that delegates the composition tasks of Aura root window to a new Chromium platform window based on KMS/DRM&lt;/strong&gt;, &lt;code&gt;ui::DriWindow&lt;/code&gt;. In &lt;code&gt;ui::DriWindow&lt;/code&gt;, EGL is used for drawing and OpenGL ES 2.0 for rendering. Also, display synchronization (&amp;ldquo;page flip&amp;rdquo;), display configurations are handled by this platform. A smart logic to use hardware display planes (&amp;ldquo;overlay&amp;rdquo;) is also implemented in there.&lt;/p&gt;&#10;&lt;p&gt;Besides, Ozone-GBM has an internal implementation of the Linux evdev subsystem (&lt;code&gt;ui::EventFactoryEvdev&lt;/code&gt;), so events emitted by input devices can be processed and handled accordingly to the needs of Chromium targets &amp;ndash; touchscreen devices, touchpads, keyboards and mice are somewhat supported by Ozone&amp;rsquo;s evdev driver.&lt;/p&gt;&#10;&#10;&lt;h2 class="relative group"&gt;SUMMARY&#10; &lt;div id="summary" class="anchor"&gt;&lt;/div&gt;&#10; &#10; &lt;span&#10; class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;&#10; &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#summary" aria-label="Anchor"&gt;#&lt;/a&gt;&#10; &lt;/span&gt;&#10; &#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Ozone is a platform abstraction layer beneath the Aura window system that is used for low level input and graphics.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;In Linux graphics, Mesa GBM provides the ability for user application directly allocate accelerated graphics buffers.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Fullscreen Chromium targets such as ChromeOS, Chromecast among others require minimal interaction with the native windowing system.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Ozone-GBM is the native fullscreen-only platform that delegates the composition tasks of the root window to a new platform window based on KMS/DRM. It uses EGL/GLES2 for accelerated rendering. Besides, Ozone-GBM has an internal implementation of the Linux evdev subsystem.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Fullscreen Chromium targets can use Ozone-GBM to remove unnecessary dependency on full-fledged window systems like X11, Wayland, DirectFB, etc.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Out of the scope of this article but worth to mention, is Ozone-DRI implementation. It uses KMS/DRM infrastructure as well but scanout content is displayed via software rendering, using double-buffered Skia surfaces. This implementation could be particularly useful for budget devices, for example those that don&amp;rsquo;t have GPU at all. (Besides, Ozone-DRI also has a quite bad nomenclature because &amp;ldquo;DRI&amp;rdquo; refers to X11 direct rendering, even though X11 is not used at all there).&lt;/p&gt;&#10;&#10;&lt;/div&gt;</description></item><item><title>[video] Chromium Browser on Wayland</title><link>https://vignatti.com/posts/video-chromium-browser-on-wayland/</link><pubDate>Fri, 07 Feb 2014 09:00:33 +0000</pubDate><guid>https://vignatti.com/posts/video-chromium-browser-on-wayland/</guid><description>&lt;p&gt;Some state-of-the-art progress of the project we&amp;rsquo;re proudly working with:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=EJB2pznc6iY" target="_blank" rel="noreferrer"&gt;https://www.youtube.com/watch?v=EJB2pznc6iY&lt;/a&gt;&lt;/p&gt;</description></item><item><title>developing Chromium on Wayland</title><link>https://vignatti.com/posts/developing-chromium-on-wayland/</link><pubDate>Mon, 07 Oct 2013 14:42:17 +0000</pubDate><guid>https://vignatti.com/posts/developing-chromium-on-wayland/</guid><description>&lt;p&gt;A &lt;a href="http://vignatti.com/2013/09/18/welcome-to-chromiums-ozone-wayland/" target="_blank" rel="noreferrer"&gt;few weeks ago&lt;/a&gt; we released Ozone-Wayland and now we&amp;rsquo;d like to detail for you the development process and strategy behind it&amp;hellip; ah, and the title is not developing Chromium, the browser; it&amp;rsquo;s developing Chromium,** the project**! You will understand why next.&lt;/p&gt;</description></item><item><title>Welcome to Chromium's Ozone-Wayland</title><link>https://vignatti.com/posts/welcome-to-chromiums-ozone-wayland/</link><pubDate>Wed, 18 Sep 2013 13:34:24 +0000</pubDate><guid>https://vignatti.com/posts/welcome-to-chromiums-ozone-wayland/</guid><description>&lt;p&gt;The following message was sent out this morning &amp;ndash; I&amp;rsquo;m copying it here and attaching a cute screenshot of my desktop :)&lt;/p&gt;&#10;&lt;hr&gt;&#10;&lt;p&gt;Ozone is a set of C++ classes in Chromium for abstracting different window systems on Linux. It provides abstraction for the construction of accelerated surfaces underlying Aura UI framework, input devices assignment and event handling.&lt;/p&gt;</description></item><item><title>UI customization on Wayland</title><link>https://vignatti.com/posts/ui-customization-on-wayland/</link><pubDate>Tue, 05 Mar 2013 15:00:00 +0000</pubDate><guid>https://vignatti.com/posts/ui-customization-on-wayland/</guid><description>&lt;p&gt;Let&amp;rsquo;s forget for a second about video drivers, whether it has acceleration or not, and all the related issues with hardware support on Wayland. This is &lt;a href="http://ppaalanen.blogspot.com/2012/11/on-supporting-wayland-gl-clients-and.html" target="_blank" rel="noreferrer"&gt;all solved&lt;/a&gt;. Let&amp;rsquo;s talk about the user interface (UI) and ways to customize it all over the computing continuum &amp;ndash; from phones, tablets and TV box to desktop PCs, Invehicle Infotainment (IVI), aeroplane systems, among others.&lt;/p&gt;</description></item><item><title>the damn small Wayland API</title><link>https://vignatti.com/posts/the-damn-small-wayland-api/</link><pubDate>Wed, 17 Oct 2012 13:15:38 +0000</pubDate><guid>https://vignatti.com/posts/the-damn-small-wayland-api/</guid><description>&lt;p&gt;&lt;a href="http://lists.freedesktop.org/archives/wayland-devel/2012-October/005878.html" target="_blank" rel="noreferrer"&gt;Wayland 1.0 release is knocking the door&lt;/a&gt; and people keep asking &amp;ldquo;why Wayland if we got X already&amp;rdquo;, or things like performance, memory consumption, power savings and other kind of advantages on having Wayland instead X. Those are very important points to consider, of course, but for one individual actually programming the graphics system the answer should be straightforward: Wayland API is damn small.&lt;/p&gt;</description></item><item><title>X on Wayland</title><link>https://vignatti.com/posts/x-on-wayland/</link><pubDate>Wed, 13 Jun 2012 14:01:32 +0000</pubDate><guid>https://vignatti.com/posts/x-on-wayland/</guid><description>&lt;p&gt;A rather cool feature on Weston compositor is xwayland, to support X11 native applications on Wayland. It&amp;rsquo;s a quite important feature because gives the compatibility with the &amp;ldquo;old&amp;rdquo; windowing system, so say you have an application written on Motif/Xt or even something more &amp;ldquo;fancy&amp;rdquo; like a Web browser all tied with GTK2 and whatever dependency, then you better not bother yourself re-writing it to native Wayland or porting to a modern toolkit &amp;ndash; it should just work seamlessly on it. Hence, X on Wayland fits pretty well with our overall transition plan.&lt;/p&gt;</description></item><item><title>starting on Wayland development</title><link>https://vignatti.com/posts/starting-on-wayland-development/</link><pubDate>Wed, 18 Jan 2012 13:53:43 +0000</pubDate><guid>https://vignatti.com/posts/starting-on-wayland-development/</guid><description>&lt;p&gt;Do you wanna contribute to a funky open-source project? Are you tired of your nerdy and boring community of developers? Are you the one that wants to get rid of X because it&amp;rsquo;s a giant, old and fat dinosaur in your system? :) Cool, I have a project to solve your problems!&lt;/p&gt;</description></item><item><title>Qt on wayland: howto</title><link>https://vignatti.com/posts/qt-on-wayland-howto/</link><pubDate>Mon, 19 Dec 2011 23:31:29 +0000</pubDate><guid>https://vignatti.com/posts/qt-on-wayland-howto/</guid><description>&lt;p&gt;To run Qt applications on Wayland is fairly simple nowadays. Thank to Qt developers, they are following up quite well our last changes on Wayland protocol and updating accordingly on Qt5 code base &amp;ndash; by the way, the fresh and just released Qt 4.8 &lt;a href="https://qt.gitorious.org/qt/qt/blobs/4.8/src/plugins/platforms/wayland/wayland_sha1.txt" target="_blank" rel="noreferrer"&gt;does not ship the latest&lt;/a&gt; protocol additions, so that&amp;rsquo;s not the one I&amp;rsquo;m referring.&lt;/p&gt;</description></item><item><title>... if I didn't say</title><link>https://vignatti.com/posts/if-i-didnt-say/</link><pubDate>Thu, 22 Sep 2011 15:55:54 +0000</pubDate><guid>https://vignatti.com/posts/if-i-didnt-say/</guid><description>&lt;p&gt;Hello Intel Finland :) Here I am now; four months already at OTC big team.&lt;/p&gt;</description></item><item><title>X characterization for MeeGo</title><link>https://vignatti.com/posts/x-characterization-for-meego/</link><pubDate>Wed, 20 Apr 2011 13:35:44 +0000</pubDate><guid>https://vignatti.com/posts/x-characterization-for-meego/</guid><description>&lt;p&gt;Actually this is not a big news but it&amp;rsquo;s nice to see on practice X being used on the advanced age :) Here I&amp;rsquo;ve played with some UI configuration settings, browsed for while, toyed with facebook, opened some photos in the viewer and etc, all for about 5 minutes:&lt;/p&gt;</description></item><item><title>X Census (for 1.10)</title><link>https://vignatti.com/posts/x-census-for-1-10/</link><pubDate>Mon, 28 Feb 2011 20:31:05 +0000</pubDate><guid>https://vignatti.com/posts/x-census-for-1-10/</guid><description>&lt;p&gt;Following is the census of 1.10 window for all X infrastructure - raw numbers &lt;a href="http://people.freedesktop.org/~vignatti/xdevelopment/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;. I did it in a similar way as the &lt;a href="http://vignatti.wordpress.com/2010/09/02/x-census-for-1-9/" target="_blank" rel="noreferrer"&gt;previous version&lt;/a&gt;. Worth to mention that there&amp;rsquo;s almost no relation between the cycles of development from each of the components listed below, which can lead to some misunderstanding. Anyway, still a nice indicative to see and evaluate how the free desktop community behaved.&lt;/p&gt;</description></item><item><title>X.Org Foundation elections</title><link>https://vignatti.com/posts/x-org-foundation-elections/</link><pubDate>Fri, 18 Feb 2011 13:31:43 +0000</pubDate><guid>https://vignatti.com/posts/x-org-foundation-elections/</guid><description>&lt;p&gt;I am a candidate for the elections 2011 of the board of directors :) Following are my answers based on the questionnaire formulated by the members. You can check other candidates answers &lt;a href="http://www.x.org/wiki/BoardOfDirectors/Elections/2011/qa" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>late Christmas gift: freedesktop's Xorg for MeeGo</title><link>https://vignatti.com/posts/late-christmas-gift-freedesktops-xorg-for-meego/</link><pubDate>Wed, 29 Dec 2010 19:46:07 +0000</pubDate><guid>https://vignatti.com/posts/late-christmas-gift-freedesktops-xorg-for-meego/</guid><description>&lt;p&gt;Moikka.&lt;/p&gt;&#10;&lt;p&gt;If you follow &lt;a href="http://gitorious.org/meego-w40" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt; [0] you will see a set of Debian packages that Graphics team at Nokia are continuously working to deploy a X11 implementation for &lt;a href="http://wiki.meego.com/Glossary#M" target="_blank" rel="noreferrer"&gt;MeeGo-Harmattan&lt;/a&gt;, where we target embedded systems only. Feel free to use it!&lt;/p&gt;</description></item><item><title>X Census (for 1.9)</title><link>https://vignatti.com/posts/x-census-for-1-9/</link><pubDate>Thu, 02 Sep 2010 13:41:11 +0000</pubDate><guid>https://vignatti.com/posts/x-census-for-1-9/</guid><description>&lt;p&gt;Topic&amp;rsquo;s name is a funny (and friendly) devotion to &lt;a href="http://blogs.gnome.org/bolsh/2010/07/28/gnome-census/" target="_blank" rel="noreferrer"&gt;GNOME Census&lt;/a&gt;. So let&amp;rsquo;s take a look at some numbers from the time &lt;a href="http://wiki.x.org/wiki/Server19Branch" target="_blank" rel="noreferrer"&gt;Xorg 1.9 was in development&lt;/a&gt; - raw data is &lt;a href="http://people.freedesktop.org/~vignatti/xdevelopment/" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Would be unfair to measure only the work that happened e.g. in X server or in the drivers being developed and come up with the statistics about &amp;ldquo;who developed X&amp;rdquo;. X and X development community are quite extensive and don&amp;rsquo;t concern only &amp;ldquo;graphics&amp;rdquo; related, i.e., pixel information that appears on your display screen. This is a very common mistake.&lt;/p&gt;</description></item><item><title>Xorg server 1.9 minimal</title><link>https://vignatti.com/posts/xorg-server-1-9-minimal/</link><pubDate>Wed, 18 Aug 2010 15:22:26 +0000</pubDate><guid>https://vignatti.com/posts/xorg-server-1-9-minimal/</guid><description>&lt;p&gt;That&amp;rsquo;s what I&amp;rsquo;m using for MeeGo now. Autoconf parameters, theeere we go:&lt;/p&gt;&#10;&lt;p&gt;&amp;ndash;disable-static &amp;ndash;disable-aiglx &amp;ndash;disable-config-dbus &amp;ndash;disable-config-hal &amp;ndash;disable-dbe &amp;ndash;disable-dga &amp;ndash;disable-dpms &amp;ndash;disable-dri &amp;ndash;disable-glx &amp;ndash;disable-glx-tls &amp;ndash;disable-int10-module &amp;ndash;disable-ipv6 &amp;ndash;disable-screensaver &amp;ndash;disable-secure-rpc &amp;ndash;disable-tcp-transport &amp;ndash;disable-vbe &amp;ndash;disable-vgahw &amp;ndash;disable-xdm-auth-1 &amp;ndash;disable-xinerama &amp;ndash;disable-xwin &amp;ndash;disable-xaa &amp;ndash;disable-xace &amp;ndash;disable-xdmcp &amp;ndash;disable-xf86vidmode &amp;ndash;disable-xfree86-utils &amp;ndash;disable-xnest &amp;ndash;disable-xvmc &amp;ndash;disable-libdrm &amp;ndash;enable-config-udev &amp;ndash;enable-dri2 &amp;ndash;enable-null-root-cursor &amp;ndash;enable-record &amp;ndash;enable-unit-tests &amp;ndash;enable-visibility &amp;ndash;enable-xorg &amp;ndash;with-sha1=libsha1&lt;/p&gt;</description></item><item><title>Linux Graphics for Small Devices at FISL</title><link>https://vignatti.com/posts/linux-graphics-for-small-devices-at-fisl/</link><pubDate>Fri, 30 Jul 2010 16:38:58 +0000</pubDate><guid>https://vignatti.com/posts/linux-graphics-for-small-devices-at-fisl/</guid><description>&lt;p&gt;Last week I&amp;rsquo;ve been in Brazil at 11th International Free Software Forum (FISL) talking about Linux Graphics for Small Devices*. I tried to cover a bit of everything that I learned in the world I&amp;rsquo;ve been immersed in some near past - I guess there aren&amp;rsquo;t many news for &lt;em&gt;freedesktopers&lt;/em&gt; though. Anyway, everyone is very welcome to give any kind of feedback and comment on it. Just follow &lt;a href="http://people.freedesktop.org/~vignatti/talks/FISL11-LinuxGraphicsForSmallDevices.pdf" target="_blank" rel="noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Attracting reviewers in your patch series</title><link>https://vignatti.com/posts/attracting-reviewers-in-your-patch-series/</link><pubDate>Mon, 12 Jul 2010 12:56:01 +0000</pubDate><guid>https://vignatti.com/posts/attracting-reviewers-in-your-patch-series/</guid><description>&lt;p&gt;Usually faster the number of commits, faster the development process. But development without strict reviewing doesn&amp;rsquo;t guarantee quality on the code. Unfortunately, rarely you will see people willing or even just being able to review the changes you are proposing. Attract reviewers is hard!&lt;/p&gt;</description></item><item><title>adopt a child and make multi-card work on Linux</title><link>https://vignatti.com/posts/adopt-a-child-and-make-multi-card-work-on-linux/</link><pubDate>Wed, 23 Jun 2010 15:12:11 +0000</pubDate><guid>https://vignatti.com/posts/adopt-a-child-and-make-multi-card-work-on-linux/</guid><description>&lt;p&gt;&lt;em&gt;Previously, the &lt;a href="http://vignatti.wordpress.com/2010/06/15/toolkit-please-xlib-xcb/" target="_blank" rel="noreferrer"&gt;message was for toolkit&lt;/a&gt;, now it targets new upcoming developers&amp;hellip; okay, if I&amp;rsquo;d be offensive I could say it targets vendor distributions which care for desktop on Linux :)&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Toolkit, please: Xlib -&gt; XCB</title><link>https://vignatti.com/posts/toolkit-please-xlib-xcb/</link><pubDate>Tue, 15 Jun 2010 15:24:11 +0000</pubDate><guid>https://vignatti.com/posts/toolkit-please-xlib-xcb/</guid><description>&lt;p&gt;We all know since 2006 (?) that the world is turning to use XCB instead Xlib as the interface between X clients and the server. The advantages of using XCB is &lt;a href="http://xcb.freedesktop.org/Features/" target="_blank" rel="noreferrer"&gt;well know&lt;/a&gt; but, even so, it&amp;rsquo;s being adopted very slowly for some reason - for instance no toolkits yet ported it. If this serves as a motivation, &lt;a href="http://blogs.sun.com/alanc/" target="_blank" rel="noreferrer"&gt;Alan&lt;/a&gt; got a really &lt;a href="http://lists.freedesktop.org/archives/xcb/2010-June/006111.html" target="_blank" rel="noreferrer"&gt;nice measurements&lt;/a&gt; porting a simple X app.&lt;/p&gt;</description></item><item><title>Scrutinizing X memory, part 2: what's taking all that memory?</title><link>https://vignatti.com/posts/scrutinizing-x-memory-part-2-whats-taking-all-that-memory/</link><pubDate>Thu, 25 Mar 2010 18:01:10 +0000</pubDate><guid>https://vignatti.com/posts/scrutinizing-x-memory-part-2-whats-taking-all-that-memory/</guid><description>&lt;p&gt;So here goes some statistics of the Xorg process running. All the informations were fetch from /proc/&lt;code&gt;pidof Xorg&lt;/code&gt;/{smaps, status}. I used also a &lt;a href="http://wingolog.org/pub/mem_usage.py" target="_blank" rel="noreferrer"&gt;script&lt;/a&gt; found on the &lt;a href="http://wingolog.org/archives/2007/11/27/reducing-the-footprint-of-python-applications" target="_blank" rel="noreferrer"&gt;Web&lt;/a&gt; to parse and organize these informations; Mikhail Gusarov has &lt;a href="http://github.com/dottedmag/mem-usage" target="_blank" rel="noreferrer"&gt;extended&lt;/a&gt; this script to show a very useful &lt;a href="http://people.freedesktop.org/~vignatti/scrutinizing-x-mem/x-standalone-memory-per-libraries.txt" target="_blank" rel="noreferrer"&gt;output&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Scrutinizing X Memory, part 1: overview</title><link>https://vignatti.com/posts/scrutinizing-x-memory-part-1-overview/</link><pubDate>Thu, 25 Mar 2010 17:58:47 +0000</pubDate><guid>https://vignatti.com/posts/scrutinizing-x-memory-part-1-overview/</guid><description>&lt;p&gt;This series of documents explore how the memory is used by the Xorg server. They aim to eventually shrinks the memory footprint of the server and its related components, like X clients, modules being loaded and drivers. Embedded devices with constrained resources are the main focus here. All texts are mostly based on x86 and ARM architectures, under Linux 2.6.33 with Xorg from upstream.&lt;/p&gt;</description></item><item><title>Customization and true modularization of Xorg</title><link>https://vignatti.com/posts/xorg-customization-and-true-modularization/</link><pubDate>Sat, 23 Jan 2010 17:20:25 +0000</pubDate><guid>https://vignatti.com/posts/xorg-customization-and-true-modularization/</guid><description>&lt;p&gt;For the first time in life, Xorg is being used in &lt;a href="http://maemo.org/" target="_blank" rel="noreferrer"&gt;a single platform&lt;/a&gt; and for &lt;a href="http://maemo.nokia.com/n900/" target="_blank" rel="noreferrer"&gt;a given device&lt;/a&gt; only (other devices have used an X11 implementation but using other non-canonical servers, such kdrive&amp;rsquo;s based - Tiny-X).&lt;/p&gt;</description></item><item><title>New blog interface</title><link>https://vignatti.com/posts/new-blog-ui-2/</link><pubDate>Tue, 29 Dec 2009 01:42:19 +0000</pubDate><guid>https://vignatti.com/posts/new-blog-ui-2/</guid><description>&lt;p&gt;I like UI and I&amp;rsquo;m not gay.&lt;/p&gt;&#10;&lt;p&gt;Some time ago someone posted a &lt;a href="http://vignatti.wordpress.com/2009/01/14/cursors-update-inside-kernel-only/#comment-1614" target="_blank" rel="noreferrer"&gt;comment&lt;/a&gt;, complaining about the white fonts over the dark background in my blog, which makes the read be difficult. The guy teased me, recommending an &lt;a href="http://www.ironicsans.com/owmyeyes/" target="_blank" rel="noreferrer"&gt;ironic page&lt;/a&gt; where shows how hard is to read texts like this. He was right&amp;hellip;&lt;/p&gt;</description></item><item><title>Xorg: What is it, and what does it mean?</title><link>https://vignatti.com/posts/xorg-what-is-it-and-what-does-it-mean/</link><pubDate>Sat, 26 Dec 2009 18:36:49 +0000</pubDate><guid>https://vignatti.com/posts/xorg-what-is-it-and-what-does-it-mean/</guid><description>&lt;p&gt;&lt;a href="http://talk.maemo.org/showthread.php?p=440448#post440448" target="_blank" rel="noreferrer"&gt; Just a thought is this something that should be deleted? This seems to be using about 7% of my RAM&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;I don&amp;rsquo;t have words for it.&lt;/p&gt;</description></item><item><title>my dear diary... (some not-so-old memories)</title><link>https://vignatti.com/posts/my-dear-diary-some-not-so-old-memories/</link><pubDate>Mon, 09 Nov 2009 01:47:17 +0000</pubDate><guid>https://vignatti.com/posts/my-dear-diary-some-not-so-old-memories/</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Portland, OR&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;I was so proud for the forth time be part of the X crew, this time in Portland. Really amazing the city. I had the opportunity to play tourist and visit &lt;a href="http://www.flickr.com/photos/tiagovignatti/sets/72157622611218823/" target="_blank" rel="noreferrer"&gt;some nice places&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>multiseat with multiple X servers (or "the right way")</title><link>https://vignatti.com/posts/multiseat-with-multiple-x-servers-or-the-right-way/</link><pubDate>Fri, 24 Jul 2009 13:56:33 +0000</pubDate><guid>https://vignatti.com/posts/multiseat-with-multiple-x-servers-or-the-right-way/</guid><description>&lt;p&gt;So last week I &lt;a href="http://lkml.org/lkml/2009/7/16/243" target="_blank" rel="noreferrer"&gt;posted&lt;/a&gt; on lkml an old patch that we were carrying for a long time in the Linux community. It basically brings the multiple (old) video cards functionally again on Linux and X server (and this time doing on the right and beauty way). For the people that was following multiseat implementations, this is a HUGE step: we will finally be able to discard the old and ugly hack (a mix of Xorg, several Xephyr servers + evdev) and and go to a clean way, starting multiple X servers in parallel. Cool! Well, not that much, because it might take some time to be in your beloved distribution :)&lt;/p&gt;</description></item><item><title>Nokia, FI...</title><link>https://vignatti.com/posts/nokia-fi/</link><pubDate>Fri, 12 Jun 2009 07:06:59 +0000</pubDate><guid>https://vignatti.com/posts/nokia-fi/</guid><description>&lt;p&gt;&amp;hellip; here I&amp;rsquo;am :)&lt;/p&gt;</description></item><item><title>personal news</title><link>https://vignatti.com/posts/personal-news/</link><pubDate>Sun, 17 May 2009 20:22:49 +0000</pubDate><guid>https://vignatti.com/posts/personal-news/</guid><description>&lt;p&gt;Being quick about my last months: finished my Master course, moving to Helsinki tomorrow (!), got my first real job. Yessh, three great steps in my crazy life and I&amp;rsquo;m very happy with it! Hope to stay closer with the desktop communities again ;)&lt;/p&gt;</description></item><item><title>Cursor's update inside kernel only</title><link>https://vignatti.com/posts/cursors-update-inside-kernel-only/</link><pubDate>Wed, 14 Jan 2009 22:48:44 +0000</pubDate><guid>https://vignatti.com/posts/cursors-update-inside-kernel-only/</guid><description>&lt;p&gt;One thing that I learned with open communities is when you send a proposal idea and no one replies. This seems to be odd at first but it &lt;em&gt;isn&amp;rsquo;t&lt;/em&gt;. If you did something strange or wrong then at least someone will reply. OTOH if you did something that can be promiser &lt;em&gt;and&lt;/em&gt; no one objects, then great! 99% that you did something interesting :)&lt;/p&gt;</description></item><item><title>multiseat - documentation and references</title><link>https://vignatti.com/posts/multiseat-documentation-and-references/</link><pubDate>Fri, 09 Jan 2009 04:25:51 +0000</pubDate><guid>https://vignatti.com/posts/multiseat-documentation-and-references/</guid><description>&lt;p&gt;Trying to put some order with all the multiseat documentation found on Web, today I updated the following:&lt;/p&gt;&#10;&lt;p&gt;Multiseat&amp;rsquo;s article, in X.Org Foundation wiki:&#10;&lt;a href="http://wiki.x.org/wiki/Development/Documentation/Multiseat" target="_blank" rel="noreferrer"&gt;http://wiki.x.org/wiki/Development/Documentation/Multiseat&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Multiseat&amp;rsquo;s history, in Wikipedia:&#10;&lt;a href="http://en.wikipedia.org/wiki/Multiseat#History" target="_blank" rel="noreferrer"&gt;http://en.wikipedia.org/wiki/Multiseat#History&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;So if you are trying to setup or help in development, probably the foundation&amp;rsquo;s wiki has the most up to date and centralized references. Also, please, if you have more helpful information, don&amp;rsquo;t be afraid to update the wikis. Our future grandsons will be thankful  :)&lt;/p&gt;</description></item><item><title>multiseat - roadmap</title><link>https://vignatti.com/posts/multiseat-roadmap/</link><pubDate>Tue, 23 Sep 2008 04:52:08 +0000</pubDate><guid>https://vignatti.com/posts/multiseat-roadmap/</guid><description>&lt;p&gt;This week our laboratory at university &lt;a href="http://lists.freedesktop.org/archives/xorg/2008-September/038674.html" target="_blank" rel="noreferrer"&gt;released&lt;/a&gt; the &lt;a href="http://cgit.freedesktop.org/xorg/app/mdm/" target="_blank" rel="noreferrer"&gt;MDM&lt;/a&gt; utility to ease the process of installation and configuration of a multiseat box. The idea is that the end-user should not use some boring and hard howtos anymore to deploy it. Just installing a distro package must be enough now. Try it, use it, report the bugs and send the patches! :)&lt;/p&gt;</description></item><item><title>Parallel events (panic) with X</title><link>https://vignatti.com/posts/parallel-events-panic-with-x/</link><pubDate>Mon, 18 Aug 2008 22:02:16 +0000</pubDate><guid>https://vignatti.com/posts/parallel-events-panic-with-x/</guid><description>&lt;p&gt;Unfortunately that model which I &lt;a href="http://vignatti.wordpress.com/2008/08/07/keep-it-going/" target="_blank" rel="noreferrer"&gt;described some weeks ago&lt;/a&gt; to put the input event delivery of the X server in a separate thread wouldn&amp;rsquo;t be an advantage. I precipitated myself thinking that it could be feasible. Sorry :(&lt;/p&gt;</description></item><item><title>Priorities and scheduling hints for X server threads</title><link>https://vignatti.com/posts/priorities-and-scheduling-hints-for-x-server-threads/</link><pubDate>Thu, 07 Aug 2008 23:33:57 +0000</pubDate><guid>https://vignatti.com/posts/priorities-and-scheduling-hints-for-x-server-threads/</guid><description>&lt;p&gt;Input events routed through another thread/process can have bad effects on latency because we can&amp;rsquo;t guarantee that it will get scheduled at the right moment. Although this is hard to see happening with the current X server threaded implementation, we must design something to avoid it. One way to improve the responsiveness is to give a high priority to the input thread and also adjust the CPU scheduling. (Note that this will not avoid problems related with &lt;a href="http://vignatti.wordpress.com/2007/08/10/mlocking-adventure/" target="_blank" rel="noreferrer"&gt;page faults&lt;/a&gt; which usually happen in the X input flow.)&lt;/p&gt;</description></item><item><title>keep it going...</title><link>https://vignatti.com/posts/keep-it-going/</link><pubDate>Thu, 07 Aug 2008 23:22:27 +0000</pubDate><guid>https://vignatti.com/posts/keep-it-going/</guid><description>&lt;p&gt;Given that GSoC &amp;lsquo;08 is getting close to the end, &lt;a href="http://vignatti.wordpress.com/2008/07/29/improving-input-latency/" target="_blank" rel="noreferrer"&gt;strategy number 2&lt;/a&gt; showed more feasible to proceed my work. Strategy #3 would be a lot of fun but would imply a hell massive codification as well (also a little out of &lt;a href="http://vignatti.wordpress.com/2008/04/29/google-summer-of-code-2008/" target="_blank" rel="noreferrer"&gt;our scope&lt;/a&gt;). Unfortunately no-no for now.&lt;/p&gt;</description></item><item><title>Improving input latency</title><link>https://vignatti.com/posts/improving-input-latency/</link><pubDate>Wed, 30 Jul 2008 01:09:31 +0000</pubDate><guid>https://vignatti.com/posts/improving-input-latency/</guid><description>&lt;p&gt;GSoC summary #1 - July 29&lt;/p&gt;&#10;&lt;p&gt;The current implementation of X Window System relies in a signal scheme to manage the input event coming from hardware devices. This scheme frequently get blocked when lot of IO is occurring (for instance, when the process is swapping in/out). Get blocked means for instance a jumping cursor on the screen and in GUI is always desirable to prioritize the system responsiveness for end users. The human/computer interface should be smooth and this is the most user visible aspect of a system.&lt;/p&gt;</description></item><item><title>cursor handling and updates inside DRM</title><link>https://vignatti.com/posts/cursor-handling-and-updates-inside-drm/</link><pubDate>Thu, 10 Jul 2008 07:03:49 +0000</pubDate><guid>https://vignatti.com/posts/cursor-handling-and-updates-inside-drm/</guid><description>&lt;p&gt;The current DRM kernel modesetting tree is already taking care to update the cursor registers and paint it to the screen. Very cool [0].&lt;/p&gt;&#10;&lt;p&gt;What I&amp;rsquo;ve done today is a shortcut between the kernel input layer and DRM to update the cursor directly on screen without the X server be notified always. Of course, a lot of issues raised up together. So let&amp;rsquo;s try to delegates the tasks again.&lt;/p&gt;</description></item><item><title>to thread the X server (?)</title><link>https://vignatti.com/posts/to-thread-the-x-server/</link><pubDate>Tue, 17 Jun 2008 23:39:53 +0000</pubDate><guid>https://vignatti.com/posts/to-thread-the-x-server/</guid><description>&lt;p&gt;I really don&amp;rsquo;t like to read large blog posts. Anyway&amp;hellip;&lt;/p&gt;&#10;&lt;p&gt;What I did so far is a separated thread that takes care only the injection stage on the X server queue. Who is interested with the results, please read some past posts in my blog. It is currently in a very good shape (synced with post-mpx merge, all input devices are inside the thread and etc). The implementation looks like this:&#10;&lt;code&gt;thread #1 deals with - injection of input events from devices thread #2 deals with - processing of input events to clients - requests from known clients (rendering things) - new client that tries to connect (pretty easy to do)&lt;/code&gt;&lt;/p&gt;</description></item><item><title>fakemouse -- a driver that emulates a mouse</title><link>https://vignatti.com/posts/fakemouse-a-driver-that-emulates-a-mouse/</link><pubDate>Wed, 28 May 2008 02:36:09 +0000</pubDate><guid>https://vignatti.com/posts/fakemouse-a-driver-that-emulates-a-mouse/</guid><description>&lt;p&gt;For my SoC &lt;a href="http://vignatti.wordpress.com/2008/04/29/google-summer-of-code-2008/" target="_blank" rel="noreferrer"&gt;project&lt;/a&gt; I need some mechanism to evaluate the improvement of the input thread inside X. So I wrote a simple kernel driver that emulates the mouse device moving and emitting bits of a simple pattern. I don&amp;rsquo;t know if something like this already exists or if there are other ways to do it, but the fact is that the solution I thought took me only few hours between the moment that I imagined, collected some ideas on the Web and implemented it.&lt;/p&gt;</description></item><item><title>Google Summer of Code 2008</title><link>https://vignatti.com/posts/google-summer-of-code-2008/</link><pubDate>Tue, 29 Apr 2008 21:31:27 +0000</pubDate><guid>https://vignatti.com/posts/google-summer-of-code-2008/</guid><description>&lt;p&gt;I&amp;rsquo;m very happy to say that I was selected &lt;strong&gt;again&lt;/strong&gt; to work on Google Summer of Code with X.Org Foundation. &lt;a href="http://www.fooishbar.org/blog" target="_blank" rel="noreferrer"&gt;Daniel&lt;/a&gt; will be my mentor again. Thanks Google. Thanks X.Org!&lt;/p&gt;&#10;&lt;p&gt;In the last year we did a nice work separating the input event generation code of the X server into a different thread. We saw some performance improvement there specially because the implementation is not using signals anymore to wake up the server when some device emits an event. The reason why is that when a process is in the uninterruptible sleep (D state) signals are delayed and the mouse cursor lags.&lt;/p&gt;</description></item><item><title>Traversing X11 clients behind NAT (or X11 end-to-end connectivity)</title><link>https://vignatti.com/posts/traversing-x11-clients-behind-nat-or-x11-end-to-end-connectivity/</link><pubDate>Fri, 21 Mar 2008 20:29:33 +0000</pubDate><guid>https://vignatti.com/posts/traversing-x11-clients-behind-nat-or-x11-end-to-end-connectivity/</guid><description>&lt;p&gt;I was thinking how we could make remotely X clients totally connective with the server when &lt;strong&gt;both&lt;/strong&gt; are behind a NAT/firewall.&lt;/p&gt;&#10;&lt;p&gt;We can imagine one big motivation to do this: a scenario where someone using his thin and poor machine wants to use the resources of some &amp;ldquo;fat&amp;rdquo; machines which he simply doesn&amp;rsquo;t know where they are seated. Those fat machines could be arranged through a P2P network of &amp;ldquo;X11 pool of resources&amp;rdquo; and the list of machines displayed to the user select his desired one (e.g. with minor lag/load). Someone more capitalist than me could go further and imagine a provider selling X11 resources to mobile devices. Or just open your home machine&amp;rsquo;s web browser in any place of the world. Well, the field of applications would be huge.&lt;/p&gt;</description></item><item><title>VgaArbiter wiki</title><link>https://vignatti.com/posts/vgaarbiter-wiki/</link><pubDate>Mon, 25 Feb 2008 21:59:17 +0000</pubDate><guid>https://vignatti.com/posts/vgaarbiter-wiki/</guid><description>&lt;p&gt;Today, &lt;a href="http://przanoni.blogspot.com/" target="_blank" rel="noreferrer"&gt;Paulo Zanoni&lt;/a&gt; help me to put in a shape the VgaArbiter wiki page.&#10;The primary intention of that page is to bring more developers in that&#10;project and some users++ who could also help testing. Feedback is very&#10;welcome. &lt;a href="http://wiki.x.org/wiki/VgaArbiter" target="_blank" rel="noreferrer"&gt;Here&lt;/a&gt; is the link.&lt;/p&gt;</description></item><item><title>Benchmarking it all</title><link>https://vignatti.com/posts/benchmarking-it-all/</link><pubDate>Thu, 21 Feb 2008 23:53:39 +0000</pubDate><guid>https://vignatti.com/posts/benchmarking-it-all/</guid><description>&lt;p&gt;After a long journey I come back in this&amp;hellip; So I did a set of benchmarks to evaluate the VGA arbitration versus the RAC usage. My goal is to evaluate the performance difference of a multi-head/multi-card environment, i.e., an Xorg using the RAC to another using the arbitration.&lt;/p&gt;</description></item><item><title>VGA arbiter: removing RAC</title><link>https://vignatti.com/posts/vga-arbiter-removing-rac/</link><pubDate>Thu, 20 Dec 2007 01:18:39 +0000</pubDate><guid>https://vignatti.com/posts/vga-arbiter-removing-rac/</guid><description>&lt;p&gt;The Resource Access Control inside Xorg is the guy responsible to take care of the various resources of memory and to share them in a wise manner when two or more graphics devices are active (think multi-head). As an alternative from RAC we can rely on &lt;a href="http://vignatti.wordpress.com/2007/11/23/the-vga-arbiter/" target="_blank" rel="noreferrer"&gt;VGA arbiter&lt;/a&gt;. So me and Paulo Zanoni spent the last days implementing &amp;ldquo;the glue&amp;rdquo; of Xorg to use the arbiter code with this purpose.&lt;/p&gt;</description></item><item><title>The VGA arbiter</title><link>https://vignatti.com/posts/the-vga-arbiter/</link><pubDate>Fri, 23 Nov 2007 15:26:39 +0000</pubDate><guid>https://vignatti.com/posts/the-vga-arbiter/</guid><description>&lt;p&gt;So we finally have a working code to do the arbitration of the VGA legacy instructions. The code is separated in three pieces: vgaarb module [0], which is the arbiter itself inside Linux; the libvgaaccess [1], a set of user space functions to access the arbiter; and xf86VGAarbiter [2], the implementation of the library inside Xorg.&lt;/p&gt;</description></item><item><title>Realistic :(</title><link>https://vignatti.com/posts/realistic/</link><pubDate>Fri, 09 Nov 2007 19:43:36 +0000</pubDate><guid>https://vignatti.com/posts/realistic/</guid><description>&lt;p&gt;&lt;a href="http://vignatti.files.wordpress.com/2007/11/phd1029.gif" target="_blank" rel="noreferrer"&gt;&lt;figure&gt;&lt;img&#10; class="my-0 rounded-md"&#10; loading="lazy"&#10; decoding="async"&#10; fetchpriority="low"&#10; alt="whyarewedoingthis"&#10; src="http://vignatti.files.wordpress.com/2007/11/phd1029.gif"&#10; &gt;&lt;/figure&gt;&#10;&#10;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>MacOSX -&gt; GNU/Linux</title><link>https://vignatti.com/posts/macosx-gnulinux/</link><pubDate>Wed, 26 Sep 2007 04:06:33 +0000</pubDate><guid>https://vignatti.com/posts/macosx-gnulinux/</guid><description>&lt;p&gt;I used a part of the money that I earned on the SoC 2007 to buy a laptop to me. My university friends found a good price of a MacBook and we went to the shop in a total of 6 people (!) to buy this laptop trying to get some discount. It cost R$ 3400 (about USD 1800), a very cheap value to the Brazil standards.&lt;/p&gt;</description></item><item><title>Xorg input thread - summary or something #3</title><link>https://vignatti.com/posts/xorg-input-thread-summary-or-something-3/</link><pubDate>Tue, 28 Aug 2007 02:32:41 +0000</pubDate><guid>https://vignatti.com/posts/xorg-input-thread-summary-or-something-3/</guid><description>&lt;p&gt;Not so much, but here are the news:&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt; * For the final evaluation period on the Summer of Code, Daniel suggest me to start my [own X server tree](http://gitweb.freedesktop.org/?p=users/vignatti/xserver.git;a=summary). So I'm maintaining this one with the last bits of the X server input thread implementation and always trying to keep all the things up to date with the upstream tree. Everyone is very welcome to test it and report me the few - I expect - bugs.&#10; * The last new regarding the thread implementation is that we're unfortunately dealing with **critical sections** inside the X event queue (mi/mieq.c), so mutex is needed there (just to note: currently, mutex is only implemented using pthread (X11/Xthreads.h), so we also need implement something that is pthread-independent). Probably can exist other pieces of code that might be in an unpredictable way resulting some race conditions (didn't note anything strange yet!).&#10; * I finally managed how to implement the page fault notifier without any patch inside the kernel. The read_cr2() can be called directly since the page fault notifier runs with interrupts disabled. The implementation can be found [here](http://web.inf.ufpr.br/vignatti/code/page_fault_notifier.c).&#10;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>mlock()'ing adventure</title><link>https://vignatti.com/posts/mlocking-adventure/</link><pubDate>Fri, 10 Aug 2007 22:30:07 +0000</pubDate><guid>https://vignatti.com/posts/mlocking-adventure/</guid><description>&lt;p&gt;It&amp;rsquo;s being a great adventure to lock the X input thread on the memory. I&amp;rsquo;m touching a lot of things that I&amp;rsquo;d never imagined before :)&lt;/p&gt;&#10;&lt;p&gt;To trace the pages that are faulting when I move the device pointer I&amp;rsquo;m using my own &lt;a href="http://web.inf.ufpr.br/vignatti/code/page_fault_notifier.c" target="_blank" rel="noreferrer"&gt;ultra mega super kernel&amp;rsquo;s page fault notifier&lt;/a&gt;. It&amp;rsquo;s very simple, but as the things are not always perfect, it needs a little &lt;a href="http://lkml.org/lkml/diff/2007/7/26/512/1" target="_blank" rel="noreferrer"&gt;patch&lt;/a&gt; in the kernel.&lt;/p&gt;</description></item><item><title>Page fault notifier</title><link>https://vignatti.com/posts/page-fault-notifier/</link><pubDate>Fri, 27 Jul 2007 05:24:05 +0000</pubDate><guid>https://vignatti.com/posts/page-fault-notifier/</guid><description>&lt;p&gt;This week I tried to lock in the physical memory the Xorg&amp;rsquo;s input code using mlock(). To do this I traced the code minutely and locked all the text and data related to input. I didn&amp;rsquo;t get success. The mouse still lags when the system is paging (you might remember that with mlockall() all worked wonderful &lt;em&gt;except&lt;/em&gt; that it eats much memory). So what might be happening is that something is not locked yet. To guarantee it I searched for a user-space tool that traces page fault. I only found the &amp;rsquo;truss&amp;rsquo; command on Solaris. Linux (my OS) doesn&amp;rsquo;t provide no one (&amp;lsquo;strace&amp;rsquo; don&amp;rsquo;t do this).&lt;/p&gt;</description></item><item><title>Xorg input thread - summary or something #2</title><link>https://vignatti.com/posts/xorg-input-thread-summary-or-something-2/</link><pubDate>Wed, 18 Jul 2007 02:14:13 +0000</pubDate><guid>https://vignatti.com/posts/xorg-input-thread-summary-or-something-2/</guid><description>&lt;p&gt;In the last week, I did some cool experiments to see the effects of the D state acting on the X server process when I start it with and without the input thread and always mlock&amp;rsquo;ing it.&lt;/p&gt;</description></item><item><title>Xorg input thread - summary or something</title><link>https://vignatti.com/posts/xorg-input-thread-summary-or-something/</link><pubDate>Fri, 06 Jul 2007 03:13:09 +0000</pubDate><guid>https://vignatti.com/posts/xorg-input-thread-summary-or-something/</guid><description>&lt;p&gt;This mail that I&amp;rsquo;ve sent to xorg mailing list tells the current state of my project.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;cut here -&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Hi guys.&lt;/p&gt;&#10;&lt;p&gt;As you might noted here [1], my GSoC&amp;rsquo;s project is to do a separate mouse thread for the X server. Now, I&amp;rsquo;m really stucked with it and I need some good ideas from you before go to the next steps.&lt;/p&gt;</description></item><item><title>Moving the mouse handling code into a separate thread</title><link>https://vignatti.com/posts/moving-the-mouse-handling-code-into-a-separate-thread/</link><pubDate>Sat, 16 Jun 2007 19:12:23 +0000</pubDate><guid>https://vignatti.com/posts/moving-the-mouse-handling-code-into-a-separate-thread/</guid><description>&lt;p&gt;(In a puny attempt to write my SoC project progress to my mentor, I&#10;decided to expand it and share my thoughts with you)&lt;/p&gt;&#10;&lt;p&gt;Today, we have two methods to register the pointer devices on &lt;strong&gt;Xorg&#10;server&lt;/strong&gt;: (1) under SIGIO and (2) put they fd on EnableDevices set.&#10;There is also the silken mouse concept, which means updates fired during&#10;sigio handler (in the case of hw cursor).&lt;/p&gt;</description></item><item><title>multiseat input hotplug</title><link>https://vignatti.com/posts/multiseat-input-hotplug/</link><pubDate>Sat, 02 Jun 2007 04:34:00 +0000</pubDate><guid>https://vignatti.com/posts/multiseat-input-hotplug/</guid><description>&lt;p&gt;This week I spent a good time trying to understand the new input hotplug of devices on X and liked a lot. With this new subsystem the multiseat&amp;rsquo;s life will becomes easier. I&amp;rsquo;ll briefly explain here to you.&lt;/p&gt;</description></item><item><title>Google Summer of Code 2007</title><link>https://vignatti.com/posts/google-summer-of-code-2007/</link><pubDate>Wed, 02 May 2007 04:11:17 +0000</pubDate><guid>https://vignatti.com/posts/google-summer-of-code-2007/</guid><description>&lt;p&gt;Certainly, my great new is that I was accepted as a student of &lt;a href="http://www.x.org/" target="_blank" rel="noreferrer"&gt;X.Org Foundation&lt;/a&gt; sponsored by Google, on &lt;a href="http://en.wikipedia.org/wiki/Google_Summer_of_Code" target="_blank" rel="noreferrer"&gt;Summer of Code&lt;/a&gt; 2007. The project&amp;rsquo;s name is &lt;strong&gt;Moving the mouse handling code into a separate thread&lt;/strong&gt; and in this &lt;a href="http://people.freedesktop.org/~vignatti/SoC_input-handling-proposal.html" target="_blank" rel="noreferrer"&gt;link &lt;/a&gt;you can see what does this mean specifically.&lt;/p&gt;</description></item><item><title>FISL8</title><link>https://vignatti.com/posts/fisl8/</link><pubDate>Wed, 02 May 2007 04:02:57 +0000</pubDate><guid>https://vignatti.com/posts/fisl8/</guid><description>&lt;p&gt;&lt;a href="http://web.inf.ufpr.br/vignatti/talks/apresentacao-fisl2007.pdf" target="_blank" rel="noreferrer"&gt;Here&lt;/a&gt; is the presentation I&amp;rsquo;ve given on 8th International Free Software Forum, at Porto Alegre. My first (really) public talk was really cool and I&amp;rsquo;ll show to you the video/photos when the organizers get it done.&lt;/p&gt;</description></item><item><title>The conception and the future of multiseat...</title><link>https://vignatti.com/posts/the-conception-and-the-future-of-multiseat/</link><pubDate>Tue, 10 Apr 2007 03:27:36 +0000</pubDate><guid>https://vignatti.com/posts/the-conception-and-the-future-of-multiseat/</guid><description>&lt;p&gt;&amp;hellip;this is the subject of my talk which will be held at FISL (International Free Software Forum)  on this saturday, April 14th. I&amp;rsquo;ll post the feedbacks here.&lt;/p&gt;</description></item><item><title>X server semantics - number of users per server</title><link>https://vignatti.com/posts/x-server-semantics-number-of-users-per-server/</link><pubDate>Thu, 29 Mar 2007 03:26:39 +0000</pubDate><guid>https://vignatti.com/posts/x-server-semantics-number-of-users-per-server/</guid><description>&lt;p&gt;Here is mail that I sent to xorg list a week ago. No one replied it :(&lt;/p&gt;&#10;&lt;p&gt;On IRC I talked with some developers and asked why they didn&amp;rsquo;t said nothing about my comments and the answer summarized was that no one is really interested on multiseat (well, at least on first world countries). Strangely, it really give me a good perspective and motivation to keep the work :)&lt;/p&gt;</description></item><item><title>X Address Translation</title><link>https://vignatti.com/posts/x-adress-translation/</link><pubDate>Sat, 24 Feb 2007 16:59:28 +0000</pubDate><guid>https://vignatti.com/posts/x-adress-translation/</guid><description>&lt;p&gt;&lt;a href="http://wearables.unisa.edu.au/mpx/" target="_blank" rel="noreferrer"&gt;MPX&lt;/a&gt; brought to us a new idea of multiseat system.&lt;/p&gt;&#10;&lt;p&gt;Xat is an application that serves as an intermediary between the X clients and a multiheaded X server. Xat deceives its clients which have the impression that the server has only one head. The objective is that each head behaves like several distinct X servers. We can imagine a scenario where we have a xserver on display :1 with four screens (:1.0, :1.1, :1.2 and :1.3). After Xat being connected we have four displays (:2, :3, :4 and :5) and just one screen per display.&lt;/p&gt;</description></item><item><title>Multiseat state on Linux</title><link>https://vignatti.com/posts/multiseat-state-on-linux/</link><pubDate>Fri, 23 Feb 2007 03:50:18 +0000</pubDate><guid>https://vignatti.com/posts/multiseat-state-on-linux/</guid><description>&lt;p&gt;For some reason &lt;a href="http://en.wikipedia.org/wiki/Multiseat" target="_blank" rel="noreferrer"&gt;multiseat&lt;/a&gt; doesn&amp;rsquo;t call much attention in countries that are not of the third world. I can be radical, but in my humble opinion there is no reason to not apply this model of computation in certain types of environment (I&amp;rsquo;m talking about kiosks, Internet cafe, office, schools, etc). The &lt;strong&gt;money saved&lt;/strong&gt; is enormous, and this is only one of the advantages that I am enumerating here.&lt;/p&gt;</description></item><item><title>Hello world!</title><link>https://vignatti.com/posts/hello-world/</link><pubDate>Sun, 11 Feb 2007 04:12:56 +0000</pubDate><guid>https://vignatti.com/posts/hello-world/</guid><description>&lt;p&gt;This is my first post and even my first blog. Well, the blog&amp;rsquo;s intention is to bring in evidence my interests about linux (and maybe music).&lt;/p&gt;</description></item></channel></rss>