LWN: Comments on "FOSDEM09: RandR 1.3 and multimedia processing extensions for X" https://lwn.net/Articles/319897/ This is a special feed containing comments posted to the individual LWN article titled "FOSDEM09: RandR 1.3 and multimedia processing extensions for X". en-us Tue, 14 Oct 2025 09:47:31 +0000 Tue, 14 Oct 2025 09:47:31 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Acceleration Architectures, state of the art. https://lwn.net/Articles/321280/ https://lwn.net/Articles/321280/ daenzer <div class="FormattedComment"> <font class="QuotedText">&gt; is EXA a one-for-one replacement for XAA, or just for some use cases?</font><br> <p> EXA is designed for modern compositing environments, whereas XAA is<br> excessively optimized for every little bit of core X11 rendering operations<br> and hasn't really evolved much this millenium. So while EXA should be on par<br> or faster with modern applications (especially with a compositing manager,<br> even just xcompmgr -a) it'll probably never be able to match XAA in all<br> cases with older applications, at least not without turning into the same<br> kind of monster.<br> </div> Sat, 28 Feb 2009 13:10:25 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/321279/ https://lwn.net/Articles/321279/ daenzer <div class="FormattedComment"> <font class="QuotedText">&gt; On the other hand, UXA is used by the intel driver to play nice with GEM</font><br> <font class="QuotedText">&gt; and KMS. It started as a straight clone of EXA, though. I don't know if</font><br> <font class="QuotedText">&gt; the UXA features can be ported back to EXA in the server. You'd probably</font><br> <font class="QuotedText">&gt; have to ask keithp or anholt.</font><br> <p> And take their answers with a big grain of salt... There's nothing to be<br> ported back, really. UXA basically just removes the EXA code the intel<br> driver doesn't need. However, it could 'play nice with GEM and KMS' (i.e.<br> use buffer objects for pixmap storage) in pretty much the same way with EXA,<br> and the code that was removed would be inactive.<br> </div> Sat, 28 Feb 2009 12:53:44 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/321076/ https://lwn.net/Articles/321076/ phdm <div class="FormattedComment"> For the image part, this reminds me of XIE (X11 Image Extension), that 15 years ago allowed X servers to display jpeg images sent uncompressed using the X protocol. I miss XIE, that was dropped 5 years ago by xorg (or was it xfree ?), but nowadays we should have XMME (multimedia), not XIE + audio.<br> </div> Fri, 27 Feb 2009 12:51:13 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/320857/ https://lwn.net/Articles/320857/ Duncan <div class="FormattedComment"> AFAIK, in theory at least, RandR 1.2 supported not panning, but specifying <br> the viewport location. At least xrandr had parameters for it. It is/was <br> thus possible (in theory) to use xrandr (my usage was in a script) to set <br> the viewport to wherever one wanted it, and one could (in theory) <br> programatically pan by repeatedly invoking said script or application to <br> move X and Y pixels.<br> <p> You'll note the "in theory"s however. Apparently not all video drivers <br> implemented the settable viewport functionality. The resolution change <br> and virtual size functions of my xrandr invoking script worked just fine, <br> but I've never been able to get the viewport parameters to work -- xrandr <br> takes them -- they just don't do anything. When the resolution is set <br> below the maximum virtual size, the viewport stays nailed to the top left <br> corner, no matter /what/ position parameters I give xrandr. This is with <br> xf86-video-ati, 6.9 and 6.10 at least, and I think I tried it with 6.8 but <br> that was far enough back IDR for sure, on a Radeon 9200SE AGP with dual <br> outputs, DVI-I and VGA, formerly running dual 22" CRT analog monitors in <br> 1600x1200 stacked for 1600x2400, now running dual 24" LCDs 1920x1200 <br> stacked for 1920x2400. (Yes, I need to upgrade video cards.)<br> <p> Thus I could change resolution with the orientation staying correct, but <br> for the most part it wasn't of much use since all I could see at the lower <br> resolutions was the top left corner of the screen, no matter where I told <br> it to put the viewport. Still, I was able to work around that problem to <br> split-resolution top and bottom to play the only piece of proprietaryware <br> I have left, Master of Orion original DOS edition (1993 update copyright), <br> full-screen (single-screen) in DOSBOX at 640x480, while keeping the other <br> screen normal resolution to run my ksysguard graphs and a music player, <br> etc. That worked even tho I couldn't pan, because I could use kwin's <br> absolute positioning options to put dosbox/orion right under the 640x480 <br> viewport of the one screen, while keeping the other at normal resolution.<br> </div> Thu, 26 Feb 2009 15:10:08 +0000 Why bother? https://lwn.net/Articles/320825/ https://lwn.net/Articles/320825/ muwlgr <div class="FormattedComment"> Exactly. Hardly anyone would want to stream a sequence fo JPEGs over the network. Streaming of MP3/MP4/AVI/OGG/Theora right to the X-server, then decoding and playing it there, would look much more savvy and tasty. I think so.<br> </div> Thu, 26 Feb 2009 11:24:27 +0000 Why bother? https://lwn.net/Articles/320395/ https://lwn.net/Articles/320395/ jlokier <div class="FormattedComment"> Yet I still have to kill the PulseAudio daemon sometimes before some apps produce sound. I don't believe the hype about PA's ability to imitate everything else, because it plainly fails at it.<br> </div> Tue, 24 Feb 2009 03:20:59 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320326/ https://lwn.net/Articles/320326/ dbnichol <div class="FormattedComment"> It has definitely been the plan for a long time to get all drivers onto EXA. XAA is only receiving bug fixes in the server. On the other hand, UXA is used by the intel driver to play nice with GEM and KMS. It started as a straight clone of EXA, though. I don't know if the UXA features can be ported back to EXA in the server. You'd probably have to ask keithp or anholt.<br> </div> Mon, 23 Feb 2009 17:48:02 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320305/ https://lwn.net/Articles/320305/ jcristau <div class="FormattedComment"> Only the old type1 libXfont backend has been removed, support for type1 fonts from the freetype backend is still there.<br> </div> Mon, 23 Feb 2009 16:54:32 +0000 Why bother? https://lwn.net/Articles/320272/ https://lwn.net/Articles/320272/ helge.bahmann <div class="FormattedComment"> "Audio over network" works well with for example PulseAudio, but what <br> doesn't work is "audio+video+synchronization over network". While you <br> could tie X+PulseAudio server close enough together to make this feasible, <br> I suspect the result is going to be quite messy.<br> <p> As for MPEG-4... the idea would of course be to provide an AVC <br> decompressor accessible through the X protocol as well -- reencoding at <br> the client is quite obviously highly undesirable (maybe useful as an <br> emergency fallback, but that's it).<br> <p> And last time I checked, there was no media player that could play <br> through "ssh -X" :)<br> </div> Mon, 23 Feb 2009 12:04:38 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/320271/ https://lwn.net/Articles/320271/ helge.bahmann <div class="FormattedComment"> That would work, but it requires quite a bit of "protocol" between the X <br> server and the decompressor (select which compressed/uncompressed images <br> to retain or delete inside the decompressor process).<br> <p> Getting the concurrency benefits is however more tricky -- if a client <br> calls "Decompress" in the X server, the X server must delegate the <br> operation to the helper process, suspend the calling client's request <br> queue (the X server is single-threaded!), receive completion, resume the <br> client's request queue etc.<br> <p> One thing I dislike about the "helper process" approach is that I am not <br> yet sure how the interface should look like -- currently all decompressors <br> are for efficiency reasons (cache locality) "iterator-based": you pass <br> compressed data (as well as decoding dependencies) in, and what you get is <br> an iterator that traverses the image top to bottom and yields <br> horizontal "bands" of the image. Currently you receive pixels, usually in <br> some sort of YCrCb format, which must then be converted to RGB etc. (but <br> the interface should later also allow getting e.g. DCT coeffecients + <br> motion vectors for hardware-assisted decode). Mapping this model to the <br> X/decompressor process is probably not going to work due to excessive <br> context switches.<br> </div> Mon, 23 Feb 2009 11:57:41 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320229/ https://lwn.net/Articles/320229/ roblucid <div class="FormattedComment"> <font class="QuotedText">&gt; Surely 99.999% of graphics implementations will be one of Intel, Nvida, </font><br> <font class="QuotedText">&gt; AMD/ATI and Via (I've not come across anything else for years now, and </font><br> <font class="QuotedText">&gt; certainly not one which allows you to use multiple adapters).</font><br> <p> Some of us still have Matrox cards, which were a well supported card if you liked Open Source drivers, not so long ago and thus reccomended. I don't know if the dual monitor output still works, but it'd be bad form to drop support of cards that were FOSS favoured, only five years ago.<br> </div> Sat, 21 Feb 2009 14:00:58 +0000 Why bother? https://lwn.net/Articles/320162/ https://lwn.net/Articles/320162/ shapr <div class="FormattedComment"> The point is that ssh -X would one day be able to forward sound and video across the network, as if you were sitting in front of the computer itself.<br> </div> Fri, 20 Feb 2009 17:10:52 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320149/ https://lwn.net/Articles/320149/ jamesh <p>LibXfont is pretty much just the core font support library. Any application that has been ported to fontconfig (using Xft or cairo) won't be using it, and should retain Type1 support through the use of freetype.</p> <p>Looking at the <a href="http://lists.freedesktop.org/archives/xorg/2009-February/043849.html">libXfont 1.4.0 release notes</a>, it looks like you were correct about Type1 fonts not working with the new version. That said, I totally understand the desire to reduce the size/complexity of the core font code: the feature is deprecated, but can't easily be removed as it is not an extension to the X protocol.</p> <p>If they can support Type1 fonts through FreeType with minimal effort, then great. If they can't, it isn't a huge loss.</p> Fri, 20 Feb 2009 14:47:07 +0000 Why bother? https://lwn.net/Articles/320138/ https://lwn.net/Articles/320138/ nix <div class="FormattedComment"> esd gives you audio over the network. The advantage of pulseaudio over it <br> is its pluggability, its lower CPU consumption, its lower latencies, its <br> huge swarms of extra features, the way it can imitate or output to <br> virtually anything, its active development, and the fact that it generally <br> doesn't suck.<br> </div> Fri, 20 Feb 2009 11:03:29 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320134/ https://lwn.net/Articles/320134/ nix <div class="FormattedComment"> It's possible. I'm not entirely sure *where* libXfont is used, to be <br> honest (something or other to do with core fonts). I used to know; I need <br> a prosthetic memory.<br> <p> </div> Fri, 20 Feb 2009 10:44:51 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320099/ https://lwn.net/Articles/320099/ jamesh <div class="FormattedComment"> While the Type1 code is gone from libXfont, it still has the FreeType backend. Given that FreeType can read Type1 fonts, is it possible that they were just removing a superfluous backend and switching to the code base that everyone else uses? (including the apps that use Xft).<br> </div> Fri, 20 Feb 2009 05:05:52 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320077/ https://lwn.net/Articles/320077/ wookey <div class="FormattedComment"> Those manufacturers may account for nearly all PC/x86 type machines, but that is not the whole X space. Modern ARM chips, as used in things like smartphones, and soon to be seen in netbooks, now have 3D graphics cores in them, such as the powerVR from Imagination in Cortex A8-based CPUs. This looks likely to be a non-trivial fraction of devices in the future, so X shouldn't be ignoring them, although my understanding is that Imagination are about as helpful as nVidia when it comes to free drivers. <br> </div> Fri, 20 Feb 2009 00:57:12 +0000 Why bother? https://lwn.net/Articles/320054/ https://lwn.net/Articles/320054/ NAR <div class="FormattedComment"> Exactly what's the point of these multimedia extensions? We already have at least one framework for audio over network (I've heard that this is the advantage of pulseaudio over e.g. esd) and I don't really see why would anyone decode e.g. MPEG4, then encode the result picture to JPEG, send over the network, then decode it again. Isn't that one decoding step lossy enough? On the other hand mediaplayers nowadays are usually able to play over network directly.<br> </div> Thu, 19 Feb 2009 20:15:29 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320046/ https://lwn.net/Articles/320046/ kingdon <div class="FormattedComment"> Those four vendors are about 92% based on the statistics at <a href="http://smolt.fedoraproject.org/static/stats/by_class_VIDEO.html">http://smolt.fedoraproject.org/static/stats/by_class_VIDE...</a> .<br> <p> </div> Thu, 19 Feb 2009 18:59:37 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/320002/ https://lwn.net/Articles/320002/ nix <div class="FormattedComment"> As far as I can tell the intention is for EXA to replace XAA entirely. As of (very) recently it even does core fonts nice and fast, so unless you rely on things like stipple acceleration (!) I'd say it's getting there quite well.<br> <p> (downside: it looks like Speedo and Type1 core fonts are about to stop working, as the code to handle them has been torn out of libXfont 1.4.0. I doubt anyone misses Speedo, but Type1 may very well be missed, because they *do* still work client-side.)<br> </div> Thu, 19 Feb 2009 12:48:53 +0000 Acceleration Architectures, state of the art. https://lwn.net/Articles/319991/ https://lwn.net/Articles/319991/ ctg <div class="FormattedComment"> It is a little hard to see where development is going:<br> <p> is EXA a one-for-one replacement for XAA, or just for some use cases?<br> Is UXA a replacement for EXA, or a branch of some ideas that will be remerged?<br> <p> Surely 99.999% of graphics implementations will be one of Intel, Nvida, AMD/ATI and Via (I've not come across anything else for years now, and certainly not one which allows you to use multiple adapters).<br> <p> Is there a case for streamlining X down to EXA/UXA and drivers which support one of those....?<br> <p> I've rootled around on xorg.freedesktop.org, but can't really find obvious answers to these sorts of questions.<br> <p> Users of, say Matrox, would probably be pretty content with the feature set of Xorg 7.current.<br> <p> </div> Thu, 19 Feb 2009 10:02:30 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/319967/ https://lwn.net/Articles/319967/ aleXXX <div class="FormattedComment"> Are these multimedia extensions similar to MAS ? Does this actually still <br> exist ?<br> <p> Regarding RandR: I was quite surprised when I noticed that suddenly <br> virtual screens (now called panning) didn't work anymore after upgrading <br> my distro (to Slackware 12.1). The keyword "virtual" is still supported <br> in xorg.conf, but it does something different now. It sets up a frame <br> buffer of the given size, but you can't see it, since you can't move to <br> make it visible :-/<br> IMO it's not very good style to keep a keyword/function with the same <br> name but make it do something very different. If they would have just <br> removed support for "virtual", X would have told me that this is not <br> longer supported, which would have saved me a lot of time.<br> <p> Alex<br> <p> </div> Thu, 19 Feb 2009 07:20:20 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/319949/ https://lwn.net/Articles/319949/ daniels <div class="FormattedComment"> I think our current position on threads could probably be summed up as 'we did it once and it went really badly; doing it again is going to be really, really hard'. It doesn't mean it's a bad idea, though. :)<br> </div> Thu, 19 Feb 2009 02:57:16 +0000 FOSDEM09: RandR 1.3 and multimedia processing extensions for X https://lwn.net/Articles/319947/ https://lwn.net/Articles/319947/ quotemstr <div class="FormattedComment"> Why not spin the decompression off into a separate process and use some kind of shared-memory ring buffer instead? You get the concurrency benefits without the security problems, since the spun-off process can have vastly reduced privileges.<br> </div> Thu, 19 Feb 2009 02:44:25 +0000