LWN.net Logo

Advertisement

GStreamer, Embedded Linux, Android, VoD, Smooth Streaming, DRM, RTSP, HEVC, PulseAudio, OpenGL. Register now to attend.

Advertise here

LinuxCon Brazil: Q&A with Linus and Andrew

By Jonathan Corbet
August 31, 2010
Linus Torvalds rarely makes appearances at conferences, and it's even less common for him to get up in front of the crowd and speak. He made an exception for LinuxCon Brazil, though, where he and Andrew Morton appeared in a question and answer session led by Linux Foundation director Jim Zemlin. The resulting conversation covered many aspects of kernel development, its processes, and its history.

Jim started things off by asking: did either Linus or Andrew ever expect Linux to get so big? Linus did not; he originally wrote the kernel as a stopgap project which he expected to throw away when something better came along. Between the GNU Project and various efforts in the BSD camp, he thought that somebody would surely make a more capable and professional kernel. Meanwhile, Linux was a small thing for his own use. But, in the end, nothing better ever did come along. [Andrew Morton] Andrew added that, as a kernel newbie (he has "only" been hacking on it for ten years), he has less of a long-term perspective on things. But, to him, the growth of Linux has truly been surprising.

How, Jim asked, do they handle the growth of the kernel? Andrew responded that, as the kernel has grown, the number of developers has expanded as well. Responsibility has been distributed over time, so that he and Linus are handling a smaller proportion of the total work. Distributors have helped a lot with the quality assurance side of things. At this point, Andrew says, responsibilities have shifted to where the kernel community provides the technology, but others take it from there and turn it into an actual product.

Linus noted that he has often been surprised at how others have used Linux for things which do not interest him personally at all. For example, he always found the server market to be a boring place, but others went for it and made Linux successful in that area. That, he says, is one of the key strengths of Linux: no one company is interested in all of the possible uses of the system. That means that nobody bears the sole responsibility of maintaining the kernel for all uses. And Linus, in particular, really only needs to concern himself with making sure that all of the pieces come together well. The application of a single kernel to a wide range of use cases is something which has never worked well in more controlled environments.

From there, Jim asked about the threat of fragmentation and whether it continues to make sense to have a single kernel which is applicable to such a wide range of tasks. Might there come a point where different versions of the kernel need to go their separate ways?

According to Linus, we are doing very well with a single kernel; he would hate to see it fragment. There are just too many problems which are applicable in all domains. So, for example, people putting Linux into phones care a lot about power management, but it turns out that server users care a lot too. In general, people in different areas of use tend to care about the same things, they just don't always care at the same time. Symmetric multiprocessing was once only of interest to high-end server applications; now it is difficult to buy a desktop which does not need SMP support, and multicore processors are moving into phones as well. Therein lies the beauty of the single kernel approach: when phone users need SMP support, Linux is there waiting for them.

Andrew claimed that its wide range of use is the most extraordinary technical attribute of the kernel. And it has been really easy to make it all work. It is true, though, that this process has been helped by the way that "small" devices have gotten bigger over time. Unfortunately, people who care about small systems are still not well represented in the kernel community. But the community as a whole cares about such systems, so we have managed to serve the embedded community well anyway.

[Andrew Morton and Linus Torvalds] Next question: where do kernel developers come from, and how can Brazilian developers in particular get more involved? Linus responded that it's still true that most kernel developers come from North America, Europe, and Australia. Cultural and language issues have a lot to do with that imbalance. When you run a global project, you need to settle on a common language, and, much to Linus's chagrin, that language wasn't Finnish. It can be hard to find people in many parts of the world who are simultaneously good developers and comfortable interacting in English. What often works is to set up local communities with a small number of people who are willing to act as gateways between the group and the wider development community.

Andrew pointed out that participation from Japan has grown significantly in recent years; he credited the work done by the Linux Foundation with helping to make that happen. He also noted that working via email can be helpful for non-native speakers; they can take as much time as needed at each step in a conversation. As for where to start, his advice was to Just Start: pick an interesting challenge and work on it.

Open source software, Linus said, is a great way to learn real-world programming. Unlike classroom projects, working with an active project requires interacting with people and addressing big problems. Companies frequently look at who is active in open source projects when they want to find good technical people, so working on such projects is a great way to get introduced to the world. In the end, good programmers are hard to find; they will get paid well, often for working on open source software. Andrew agreed that having committed changes makes a developer widely visible. At Google, he is often passed resumes by internal recruiters; his first action is always to run git log to see what the person has done.

Linus advised that the kernel might not be the best place for an aspiring developer to start, though. The kernel has lots of developers, and it can be kind of scary to approach sometimes. Smaller projects, instead, tend to be desperate for new developers and may well be a more welcoming environment for people who are just getting started.

At this point, a member of the audience asked about microkernel architectures. Linus responded that this question has long since been answered by reality: microkernels don't work. That architecture was seen as an easy way to compartmentalize problems; Linus, too, originally thought that it was a better way to go. But a monolithic kernel was easier to implement back at the beginning, so that's what he did. Since then, the flaw in microkernel architectures has become clear: the various pieces have to communicate, and getting the communication right is a very hard problem. A better way, he says, is to put everything you really need into a single kernel, but to push everything possible into user space.

What about tivoization - the process of locking down Linux-based systems so that the owner cannot run custom kernels? Linus admitted to having strong opinions on this subject. He likes the fundamental bargain behind version 2 of the GPL, which he characterizes as requiring an exchange [Linus Torvalds] of source code but otherwise allowing people to do whatever they want with the software. He does not like locked-down hardware at all, but, he says, it's not his hardware. He did not develop it, and, he says, he does not feel that he has any moral right to require that it be able to run any kernel. The GPLv2 model, he feels, is the right one - at least, for him. Licensing is a personal decision, and he has no problem with other projects making different choices.

Another member of the audience questioned the single-kernel idea, noting that Android systems are shipping kernels which differ significantly from the mainline. Jim responded that people who created forked versions of the kernel always come back - it's just too expensive to maintain a separate kernel. Andrew said that the Android developers are "motivated and anxious" to get their work upstream, both because it's the right thing to do and because the kernel changes too quickly. Nobody, he says, has the resources to maintain a fork indefinitely.

Linus cautioned that, while forks are generally seen as a bad thing, the ability to fork is one of the most important parts of the open source development model. They can be a way to demonstrate the validity of an idea when the mainline project is not ready to try it out. At times, forks have demonstrated that an approach is right, to the point that the kernel developers have put in significant work to merge the forked code back into the mainline. In the end, he says, the best code wins, and a fork can be a good way to show that specific code is the best. Rather than being scary, forks are a good way to let time show who is right.

Another audience member asked Linus if he would continue to work on the kernel forever. Are there any other projects calling to him? Linus said that "forever is a long time." That said, he'd originally thought that the kernel was a two-month project; he is still doing it because it stays interesting. There are always new problems to solve and new hardware to support; it has been an exciting project for 19 years and he is planning to continue doing it for a long time. He may have an occasional dalliance elsewhere, like he did when writing Git, but he always comes back to the kernel because that's where the interesting problems are.

[Closing the session]

Jim described Linus and Andrew as a couple of the most influential people in technology. They are, he said, at the same level as people like Bill Gates, Steve Jobs, and Larry Ellison. Those people are some of the richest in the world. His questions to Linus and Andrew were: "are you crazy?" and "what motivates you?"

Andrew replied that his work is helping people getting what they want done. It is cool that this work affects millions of people; that is enough for him. In typical fashion, Linus answered that he is just the opposite: "I don't care about all you people." He is, he says, in this for selfish reasons. He was worried about finding a way to have fun in front of a computer; the choice of the GPL for Linux made life more fun by getting people involved. He has been gratified that people appreciate the result - that, he says, gives meaning to life in a way that money does not. It is, he says, "taking by giving."

The session ended with a short speech from Jim on the good things that Linus and Andrew have done, followed by a standing ovation from the audience.


(Log in to post comments)

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Aug 31, 2010 23:29 UTC (Tue) by dskoll (subscriber, #1630) [Link]

...much to Linus's chagrin, that language wasn't Finnish.

I thought Linus's native language was Swedish. Am I wrong? (I guess he's fluent in Finnish too, having been brought up in Finland.)

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Aug 31, 2010 23:38 UTC (Tue) by jake (editor, #205) [Link]

> I thought Linus's native language was Swedish. Am I wrong?

No, you aren't wrong. I asked Jon the same question when I reviewed the article and that's what Linus said. Our presumption is that it is too complicated for him to explain a "Swedish" reference when he is known to be from Finland. Swedes and Finns would probably understand, but the rest of us might be puzzled :)

jake

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 0:16 UTC (Wed) by cesarb (subscriber, #6266) [Link]

I agree, unless I misheard Linus clearly said "Finnish".

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 6:00 UTC (Wed) by tajyrink (subscriber, #2750) [Link]

It's probably indeed easier to use "Finnish" as in "the languages spoken in Finland". Swedish is the native language of 5.5% of Finnish people, but most of the ones living in eg. metropolitan area have in practice native kind of Finnish as well. I guess it changes from person to person how one categorizes those, ie. is Swedish a specialty talked with Swedish speaking friends, or is Finnish a specialty but just talked with a majority of people. Usually if one categorizes oneself as Swedish-speaking Finn (usually when both parents have always spoken Swedish) like Linus and not bilingual, then it's Swedish that is the "normal" language.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 0:01 UTC (Wed) by marcH (subscriber, #57642) [Link]

I've read somewhere he was brought up in a Swedish-speaking part of Finland.

Swedish is one of the official languages of Finland. Finnish is also one of the official languages of Sweden. It's an interesting mix since Finnish is not even an Indo-European language.

Wikipedia has an incredible amount of information about natural languages.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 1:32 UTC (Wed) by Jonno (subscriber, #49613) [Link]

Correction Finnish is not an official language in Sweden. Finnish is an official minority language in parts of Sweden. See Wikipedia for more information (The Swedish article is better and has a map of affected areas.).

Swedish is however an official language in Finland, legally on equal footing with Finnish, but in practice the secondary language in most of Finland, and the primary language only in a few municipalities.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 5:53 UTC (Wed) by busman (subscriber, #7333) [Link]

> I've read somewhere he was brought up in a Swedish-speaking part of Finland.

Linux was brought up in Helsinki (Finnish capital) and while being officially a bilingual city (all street signs are in finnish and swedish) only ~7% of the population speaks swedish as their mother tongue. So it hardly qualifies as a "swedish-speaking part of Finland" ;)

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 12:58 UTC (Wed) by BenHutchings (subscriber, #37955) [Link]

I'm thankful for those Swedish signs as they're a lot easier to decipher for those of us who know English and German.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 9, 2010 14:17 UTC (Thu) by engla (guest, #47454) [Link]

And this is maybe Linus' point. Swedish has a closer relasionship to big western languages, such as english, and finnish is way more obscure (is said to be impossible to master if you are not born in a finnish-speaking family). A finnish-speaking linux kernel mailing list would truly be impossible for outsiders to understand.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 9, 2010 14:15 UTC (Thu) by engla (guest, #47454) [Link]

Helsinki is an area where you are likely to find swedish-speaking finns; unlike inland Finland. See map: http://en.wikipedia.org/wiki/File:Svenskfinland_municipal...

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 0:23 UTC (Wed) by cesarb (subscriber, #6266) [Link]

> [...] His questions to Linus and Andrew were: "are you crazy?"

IIRC, he framed this question as something he is asked often when talking to Brazilian businessmen. But after half a dozen talks, memories can get a bit hazy, so I do not recall exactly what he said.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 0:40 UTC (Wed) by jordanb (guest, #45668) [Link]

What crappy article. There's nothing here that anyone who reads LWN won't have known for years, besides some silly fluff.

I know it wasn't you asking the questions, Jon, and Jim Zemlin did about as well as I'd expect from him. But a zero-content Q and A isn't news just because it's Linus and Andrew up on the stage.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 0:54 UTC (Wed) by ncm (subscriber, #165) [Link]

How exalted our standards have become.

It's nice to have an article to direct newbies to that isn't years old.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 3:00 UTC (Wed) by jordanb (guest, #45668) [Link]

I wouldn't direct newbies to it, as the writing is sub-par for Jon's standards too. Do we really need to know that Jim gave gushing bios of Linus and Andrew or that there was an ovation at the end? That bit reads more like corny grade-school writing ("What I did on my vacation to Brazil") than that of an accomplished journalist.

Seems like Jon knew the material sucked, so he was phoning in the article.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 3, 2010 3:18 UTC (Fri) by niv (subscriber, #8656) [Link]

It's an article newbies and some of us oldies enjoyed reading. Perhaps the person to be directed away is yourself, jordanb? What else can one say to a reader who berates a journalist for writing about events the reader has no interest in?

I, for one, give thanks to Jon and Jake and everybody responsible for making LWN an outstanding journalistic institution (a rarity in their profession, these days), and for being of consistently exceptional value to the Linux Community.

We're damned lucky to have them.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 5, 2010 21:09 UTC (Sun) by Lennie (subscriber, #49641) [Link]

I don't know about anyone else, but I was also hoping for some new content.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 5, 2010 21:13 UTC (Sun) by Lennie (subscriber, #49641) [Link]

Let me add I was actually hoping for much more. Kinda like the Google Tech Talk about git. I think it was Linus best talk or interview, atleast that I've seen.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 3:32 UTC (Wed) by shapr (guest, #9077) [Link]

I enjoyed the article, I'm interested in the motives of the kernel developers, and their advice on getting into kernel coding.

I love the tech, but I like to know about the people as well.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 8:18 UTC (Wed) by rilder (guest, #59804) [Link]

I doubt the article or the discussion for that matter was meant to be a technical one. It was more of general discussion on the direction of Linux kernel project and such.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 12:19 UTC (Wed) by Hanno (guest, #41730) [Link]

I liked the article and, sorry, don't like your comment.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 13:26 UTC (Wed) by richardr (subscriber, #14799) [Link]

+1 - bizarre, unnecessary abuse. I enjoyed the article. I've been reading LWN for years, but I've never met any of the main kernel guys and hearing what they sound like in what passes for real life is interesting, whether you consider it to be fluff or not. Everything doesn't have to be about mutexes and memory management to be worth reading...

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 13:46 UTC (Wed) by MisterIO (guest, #36192) [Link]

I liked this soft article, though I wouldn't like to see many of the same kind.

A little notice:
"Jim described Linus and Andrew as a couple of the most influential people in technology. They are, he said, at the same level as people like Bill Gates, Steve Jobs, and Larry Ellison."

Is that an insult? :)

"Those people are some of the richest in the world."

Well, give them the noble prize in economics, but that doesn't say much about their merits in IT.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 22:49 UTC (Wed) by kragil (guest, #34373) [Link]

I don't know about Andrew, but I guess if Linus sold some of the stocks he got in 2000 at the right time he is probably a millionaire.

The added benefit from having billions instead of millions is very very small in real life. Linus probably could buy a bigger house or an old jet fighter or something, but maybe he just doesn't need those things.

People can be totally happy when they have love, security and a bigger purpose in life. No billions needed.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 9:58 UTC (Thu) by zzxtty (subscriber, #45175) [Link]

It's genuinely nice to see successful people not chasing money. I sometimes feel like I'm broken because I don't senselessly chase the stuff the way society makes me feel I should.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 3, 2010 15:20 UTC (Fri) by giraffedata (subscriber, #1954) [Link]

Bear in mind that the phrase "same level as Bill Gates, Steve Jobs, and Larry Ellison" in the context of the sentence before it doesn't mean the same level of goodness or respectability. It means the same level of influence.

Well, give them the Nobel prize in economics, but that doesn't say much about their merits in IT.

Astute, but then I didn't see any implication of merits in IT in what Jim said -- he mentioned only influence.

And it was pure puffing. Linus doesn't have even close to the influence of those people. Their money alone, even without their positions, lets them change the world and affect people far more than Linus can.

But giving them credit for their positions, Steve Jobs was (I presume) instrumental in changing the way people listen to recorded music and making tablet computers real. No patch Linus could have rejected would affect the world like that.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 5, 2010 22:13 UTC (Sun) by Tet (subscriber, #5433) [Link]

Steve Jobs was (I presume) instrumental in changing the way people listen to recorded music

That's a tough call. The ipod was far from the first such device to market. At best, you could say Jobs popularized the product for the mass market (largely due to good UI design and superior marketing).

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 5, 2010 22:55 UTC (Sun) by giraffedata (subscriber, #1954) [Link]

That's a tough call. The ipod was far from the first such device to market. At best, you could say Jobs popularized the product for the mass market (largely due to good UI design and superior marketing).
Ah, but that's exactly the point I'm trying to make. I'm distinguishing between invention and influence. Whoever made the first stored music player, or the first ten, didn't have much influence. People kept listening to tapes and CDs. Good UI design and superior marketing, if Jobs effected those, make him influential. But even if he had nothing to do with that, merely recognizing the potential and investing Apple money and reputation in building and selling millions of them would make Jobs highly influential.

And the fact that history shows this wasn't a fluke and he could well do it again lets me put Jobs' influence in the present tense.

And that's a level of influence Linus and Andrew simply don't have.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 7, 2010 12:40 UTC (Tue) by wookey (subscriber, #5501) [Link]

This is probably the most interesting point in the article.

What it actually says is a great deal about the difference between Free Software and proprietary software, or more accurately, between copyleft and copyright. The latter allows/causes enormous concentration of resources (wealth) when something is very successful, whilst the former doesn't, and as such could be deemed to be a more efficient use of resources overall. (It probably doesn't benefit the world much that Larry has such a huge yacht).

It's a complex question, because _some_ concentration of resource is useful for 'getting things done' (see 'popularising digital media players' below), but when it becomes excessive it ceases to be a benefit (overall). On the other hand the super rich do sometimes get useful things done that otherwise aren't getting done (see 'deep flight' submersibles, and contributions of messrs Fosset and Branson). Is that sort of thing a sufficient benefit to justify the general inequity of the model?

No doubt economists write books about this stuff.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 16:35 UTC (Wed) by PaulMcKenney (subscriber, #9624) [Link]

I liked this article. Perhaps not much new, but it felt very good to read it nevertheless. Of course, I am even more of a newbie than is Andrew Morton, so your mileage may vary. ;-)

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 20:42 UTC (Wed) by boog (subscriber, #30882) [Link]

I enjoyed reading the article. Round here Linus and Andrew are celebrity, and I occasionally like to read an interview with the stars.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 2:36 UTC (Thu) by cmccabe (guest, #60281) [Link]

I thought the article was well written. I agree that it didn't contain much new information, but it didn't fluff up the material. It seemed like a reasonable short summary of a meeting that wasn't that technical.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 7, 2010 5:06 UTC (Tue) by augustz (subscriber, #37348) [Link]

Liked the article.

Already know the content, but it is nice to cover something like this. Linus is a key player in the linux space and is not often out at conventions. This clearly wasn't intended to be a hard hitting tech talk, but covers good ground for new folks. I found it direct and to the point.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 7:19 UTC (Wed) by cyrus (guest, #36858) [Link]

Why is Linus wearing glasses? Didn't he get laser eye surgery years ago?

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 1, 2010 20:48 UTC (Wed) by mr_bean (subscriber, #5398) [Link]

Refraction can change after laser treatment so some people end up needing glasses again. Also Linus is getting to the age where presbyopia might be beginning to emerge and he could well need glasses to read.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 7:48 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

> Linus responded that this question has long since been answered by reality: microkernels don't work. [...] A better way, he says, is to put everything you really need into a single kernel, but to push everything possible into user space.

I'm not sure Linus is as diligent about that as he is suggesting. I'm sure that a lot more of for example the DRI/DRM stuff could be in user space without harming performance and possibly even making the code easier to use and understand.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 12:01 UTC (Thu) by nix (subscriber, #2304) [Link]

Um, it was. It didn't work. The DRM stuff that's in kernel space is hardware-bashing mode-setting and memory-management stuff. So we have hardware-bashing, arbitration among many processes and security (because the video card has access to all of memory and can be told to do stuff to it). Seems like stuff that belongs in the kernel to me.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 14:04 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

> The DRM stuff that's in kernel space is hardware-bashing mode-setting and memory-management stuff. So we have hardware-bashing, arbitration among many processes and security (because the video card has access to all of memory and can be told to do stuff to it). Seems like stuff that belongs in the kernel to me.

It is particularly the arbitration between processes that I am thinking of. As far as I know, the main reason that indirect rendering is significantly slower than direct rendering is due to the need to pass large structures through, mainly textures and arrays of vertices. So to me it would make sense for direct rendering to work mostly like indirect rendering, except for additional mechanisms - say mechanisms based on shared memory in some way, like giving the process with actual access to the video card device a means to selectively share portions of video RAM - for passing those data structures more efficiently. This would also remove the need for memory management of video RAM in the kernel, as it could be done by the process managing the rendering - i.e. the X server - which mapped the VRAM.

As usual, feel free to point out why this would never work, I am always happy to learn something new.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 2, 2010 17:12 UTC (Thu) by glisse (subscriber, #44837) [Link]

indirect rendering or direct rendering as little to do with the DRM infrastructure. Indirect rendering is when rendering goes through the X server, it's was glx extension offer. Direct rendering allow you to directly speak with the GL driver and thus stuff doesn't go through the X server.

In this picture the DRM infrastructure in kernel as no role to play, what DRM provide is use by lower level ie the GL driver or the X driver. Last you don't want X to handle memory what about GPGPU or others use of GPU ? GPU offer resource, you need a central place to allow proper sharing of resources among consumer and given the capabilities of GPU (capable of overwritting otherwise protected system memory like kernel structure) you likely don't want to have too much in userspace.

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 3, 2010 13:44 UTC (Fri) by Spudd86 (guest, #51683) [Link]

Not to mention that the DRI2 stuff means you can do direct rendering without an X server at all, you can even do it with just one process running on a framebuffer (this is essentially how Wayland does it's rendering).

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 3, 2010 14:04 UTC (Fri) by michaeljt (subscriber, #39183) [Link]

> Not to mention that the DRI2 stuff means you can do direct rendering without an X server at all, you can even do it with just one process running on a framebuffer (this is essentially how Wayland does it's rendering).

In my defense, I did say "i.e." the X Server. I could quite imagine the same thing being done at a lower level, say in Wayland. Of course, if you just have one application doing graphics you don't need to worry about multiplexing the graphics resources at all and can just talk to the kernel bits directly. I also suggested that direct rendering might "work mostly like" indirect rendering, not exactly like it. I don't really think that OpenGL is necessarily the best API to base the communication on - something closer to Gallium 3D might be better. As for GPGPU stuff, I must confess that I'm not very knowledgable about it - I thought that it mainly involved running shader programmes on data structures that were set up to look like vertices and things and interpreting the output.

What does seem trickier to me is that there are no good APIs that come to my mind that could be used to let one user space process manage memory for others to let them selectively map sections of the video RAM into their address space. And of course there is the small matter that after people have invested so much into DRI2 they are probably not raring to try alternative designs!

LinuxCon Brazil: Q&A with Linus and Andrew

Posted Sep 3, 2010 13:42 UTC (Fri) by Spudd86 (guest, #51683) [Link]

Also Indirect rendering doesn't do everything Direct does because the wire protocol for newer OpenGL stuff was never specified. (For example you don't get GLSL with indirect rendering)

microkernels

Posted Sep 10, 2010 10:41 UTC (Fri) by robbe (subscriber, #16131) [Link]

I sometimes wonder whether microkernels are a better fit to multiprocessor environments and may get in vogue again when we all have 64 cores in our laptop/tablet/phone-thingies in, say, 5 years.

Does anybody have pointers on research in that direction?

microkernels

Posted Sep 10, 2010 18:42 UTC (Fri) by patrick_g (subscriber, #44470) [Link]

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds