Sandy Bridge GPU and Linux support

By: Linus Torvalds (, January 4, 2011 11:53 am
Room: Moderated Discussions
David Kanter ( on 1/3/11 wrote:
>Can anyone with perhaps more direct experience with Linux graphics comment on the
>issues here? It seems like this is relatively benign, given that products aren't
>on sale yet. Even if the release lags by a few days, it shouldn't be a huge issue...

The problem is that it's not looking like "a few days".
Because all the distros are using stable versions from
several months ago (or more), it really doesn't help that
the support "exists" in newer source trees.

So I have a SB system, and it works, but it was annoying
to actually get working. This is the "hard core" way of
doing it:

- install a distro using "safe video" (slow, VESA) from
a DVD with full development environment

- compile a new kernel just to get support for networking
(which the distro kernel likely doesn't support either,
because it's been in the mainline kernel for only six

Because networking doesn't work, use a USB stick to get
the kernel source tree over.

- compile support for intel graphics while you're at it,
but disable it at runtime by using "nomodeset", because
otherwise your VESA-based safe graphics setup won't be
working when you reboot.

- install the kernel, reboot. You now have networking,
which makes the following steps much easier..

- upgrade the distro to the latest version.

- curse, because it still doesn't actually have the X
support for sandybridge graphics

- compile your own version of "libdrm" and the intel
graphics driver (which involves things like setting
PKG_CONFIG_PATH by hand to let the thing know that
you have your private drivers in magic places)

- tell X to use the new driver module, and now you can
boot with the kernel mode setting enabled.

That's to get just basic graphics working. But it won't
actually get you any real 3D accelerated graphics, because
all the system libraries are still the old ones that don't
know how to do 3D on sandybridge (the above just does the
core X graphics driver itself).

In short: if you're happy building a lot of stuff yourself,
you can certainly do it. It's not hard, it's just annoying.
And you do have to know how to avoid the problems that crop
up before you've installed the new versions (which I guess
does count as "hard").

And if you actually want to do any real work instead of
messing around with these bits, wait for the distros to
support it.

Today, I think you can do the Ubuntu 11.04 alpha ("Natty
Narwhal"), and you'll have working graphics and networking.
Probably more reasonable than the above games that I went
through. Get the "daily build", since you're pretty bleeding
edge anyway, so you might as well be as recent as possible.

But the actual release schedule for those distros are not
"a few days". They're more like "April 2011". Before that,
you'll have to find things like daily builds or do your

(Of course, I do hope that most distros end up backporting
the drivers to their stable repository before that. So it
may be a bit better than the above fairly soon, as people
start buying the new hardware)

< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
Sandy Bridge ReviewsDavid Kanter2011/01/03 12:00 AM
  Sandy Bridge ReviewsMichael S2011/01/03 03:11 AM
    VS2008 compilation testMichael S2011/01/03 03:39 AM
      VS2008 compilation testajensen2011/01/03 05:44 AM
      VS2008 compilation testIntelUser20002011/01/03 06:24 AM
  Sandy Bridge ReviewsCarlie Coats2011/01/03 10:41 AM
    Sandy Bridge ReviewsLinus Torvalds2011/01/03 11:00 AM
      Sandy Bridge ReviewsCarlie Coats2011/01/03 11:30 AM
      Sandy Bridge ReviewsAnon2011/01/03 03:55 PM
        Sandy Bridge Reviewsa reader2011/01/03 05:34 PM
        Sandy Bridge ReviewsLinus Torvalds2011/01/03 06:11 PM
          Sandy Bridge ReviewsAaron Spink2011/01/04 01:56 PM
          Sandy Bridge ReviewsEduardoS2011/01/04 02:38 PM
          Sandy Bridge ReviewsAzazel2011/01/10 01:27 AM
            Sandy Bridge ReviewsSteve Underwood2011/01/10 04:28 AM
              Sandy Bridge ReviewsAntti-Ville Tuunainen2011/01/10 05:56 AM
            Sandy Bridge ReviewsAnon2011/01/10 08:19 PM
              Sandy Bridge Reviewssomeone2011/01/11 11:26 AM
              Sandy Bridge ReviewsGroo2011/01/11 01:08 PM
              Sandy Bridge ReviewsLinus Torvalds2011/01/11 04:25 PM
        Sandy Bridge ReviewsAaron Spink2011/01/04 01:54 PM
        Sandy Bridge ReviewsAzazel2011/01/10 01:32 AM
    Sandy Bridge ReviewsEric Bron2011/01/03 12:17 PM
      Sandy Bridge ReviewsCarlie Coats2011/01/03 01:03 PM
        Sandy Bridge ReviewsMichael S2011/01/03 01:18 PM
          Sandy Bridge Reviewsanon2011/01/04 02:03 AM
            Sandy Bridge ReviewsMichael S2011/01/04 03:12 AM
              Sandy Bridge ReviewsCarlie Coats2011/01/04 06:33 AM
        Sandy Bridge ReviewsEric Bron2011/01/05 01:39 AM
          Sandy Bridge ReviewsMichael S2011/01/05 08:10 AM
            Sandy Bridge ReviewsEric Bron2011/01/05 12:01 PM
              Sandy Bridge ReviewsMichael S2011/01/05 03:59 PM
                Sandy Bridge ReviewsMS2011/01/06 09:53 AM
                  Sandy Bridge ReviewsMichael S2011/01/06 10:35 AM
                    Sandy Bridge ReviewsMS2011/01/06 11:32 AM
            Sandy Bridge ReviewsEduardoS2011/01/05 12:57 PM
              Sandy Bridge ReviewsMichael S2011/01/05 03:57 PM
                Sandy Bridge ReviewsEduardoS2011/01/06 01:31 PM
  Sandy Bridge GPU and Linux supportDavid Kanter2011/01/03 09:07 PM
    Sandy Bridge GPU and Linux supportJack2011/01/03 10:05 PM
    Sandy Bridge GPU and Linux supportWes Felter2011/01/03 10:22 PM
      Sandy Bridge GPU and Linux supportanon2011/01/04 01:37 AM
        Sandy Bridge GPU and Linux supportDavid Kanter2011/01/04 03:33 AM
          Sandy Bridge GPU and Linux supportanon2011/01/04 05:29 AM
            Sandy Bridge GPU and Linux supportDavid Kanter2011/01/04 05:45 AM
              Sandy Bridge GPU and Linux supportGroo2011/01/08 10:57 PM
                Sandy Bridge GPU and Linux supportMichael S2011/01/09 05:44 AM
                Sandy Bridge GPU and Linux supportFoo_2011/01/09 07:22 AM
    Sandy Bridge GPU and Linux supportEric Bron2011/01/04 04:20 AM
    Sandy Bridge GPU and Linux supportRohit2011/01/04 07:08 AM
    Sandy Bridge GPU and Linux supportLinus Torvalds2011/01/04 11:53 AM
      Sandy Bridge GPU and Linux supportAaron Spink2011/01/04 01:48 PM
        Sandy Bridge GPU and Linux supportLinus Torvalds2011/01/04 03:23 PM
          Sandy Bridge GPU and Linux supportPaul2011/01/04 03:44 PM
          Sandy Bridge GPU and Linux supportRob Thorpe2011/01/04 06:20 PM
        Sandy Bridge GPU and Linux supportGroo2011/01/08 11:09 PM
      Sandy Bridge GPU and Linux supportPaul D2011/01/08 08:12 AM
        Sandy Bridge GPU and Linux supportFoo_2011/01/08 02:27 PM
    What were you expecting from the Michael Moore of the IT net press? (NT)Nikolas2011/01/05 02:33 AM
      Blame nVidia?Mark Roulo2011/01/05 09:31 AM
Reply to this Topic
Body: No Text
How do you spell avocado?