Slashdot Mirror


Linux Kernel 4.10 Officially Released With Virtual GPU Support (softpedia.com)

"Linus Torvalds announced today the general availability of the Linux 4.10 kernel series, which add a great number of improvements, new security features, and support for the newest hardware components," writes Softpedia. prisoninmate quotes their report: Linux kernel 4.10 has been in development for the past seven weeks, during which it received a total of seven Release Candidate snapshots that implemented all the changes that you'll soon be able to enjoy on your favorite Linux-based operating system... Prominent new features include virtual GPU (Graphics Processing Unit) support, new "perf c2c" tool that can be used for analysis of cacheline contention on NUMA systems, support for the L2/L3 caches of Intel processors (Intel Cache Allocation Technology), eBPF hooks for cgroups, hybrid block polling, and better writeback management. A new "perf sched timehist" feature has been added in Linux kernel 4.10 to provide detailed history of task scheduling, and there's experimental writeback cache and FAILFAST support for MD RAID5... Ubuntu 17.04 (Zesty Zapus) could be the first stable OS to ship with Linux 4.10.
It required 13,000 commits, plus over 1,200 merges, Linus wrote in the announcement, adding "On the whole, 4.10 didn't end up as small as it initially looked."

51 of 90 comments (clear)

  1. Does this mean... by Zontar+The+Mindless · · Score: 4, Interesting

    ...that we'll finally get a Nouveau driver that isn't a crash-prone piece of crap?

    --
    Il n'y a pas de Planet B.
    1. Re:Does this mean... by whoever57 · · Score: 1

      I think you are confusing the Nouveau driver for the closed-source driver from nVidia. My experience with Nouveau is that it is very stable.

      --
      The real "Libtards" are the Libertarians!
    2. Re:Does this mean... by dbIII · · Score: 1

      No that's a real GPU so no luck there.
      In this case things like the "new" gnome (nearly ten years and still slow) which relies on a GPU may come up to the speed of the old one on hardware that isn't a 1337 gamer box.

    3. Re:Does this mean... by dbIII · · Score: 3, Informative

      Same with nvidia's own driver. Every time I've seen a machine where it looked like the nvidia driver was doing something wrong it's been a dead or dying fan on the card.
      The nouveau driver is great for what it does, but if someone is going to be using google earth you need the one from nvidia. Both are rock solid for what they do IMHO (and the fans on video cards are frequently shit).

    4. Re:Does this mean... by kuzb · · Score: 2

      It's stable enough, it just doesn't hold a candle to the binary drivers when it comes down to features and performance.

      Personally I prefer the driver which gets the job done, and while Nouveau is a solid effort, it just doesn't.

      --
      BeauHD. Worst editor since kdawson.
    5. Re:Does this mean... by Zontar+The+Mindless · · Score: 3, Interesting

      Your experience is the opposite of mine, then, which is that the *only* safe way to run Nouveau on a machine with an Nvidia card is to add nomodeset or acpi=OFF to GRUB_CMDLINE_LINUX_DEFAULT, or get used to random lockups. I've had this issue on 3 different machines (2 desktops and 1 laptop).

      --
      Il n'y a pas de Planet B.
    6. Re:Does this mean... by Zontar+The+Mindless · · Score: 1

      In theory it's possible to use the Nvidia driver on an Optimus laptop using something called bumblebee. I seem to recall there's a successor project to that now. In either case, all the detailed info I've been able to find online about it seems to be geared towards *disabling* the Nvidia card, which seems to me to be a big "WTF?".

      --
      Il n'y a pas de Planet B.
    7. Re:Does this mean... by Anonymous Coward · · Score: 1

      If you use the nvidia driver directly on a optimus laptop, the nvidia GPU is active all the time. The whole point of the optimus system was to turn off the power-hungry nvidia GPU and use only the intel GPU when it's sufficient (so pretty much all the time except when dealing with 3D graphics of any sort). AFAIK that's what the bumblebee project does - it enables the user to turn off the nvidia card when it's not needed. I'm not sure if it works, since my laptop (or as I've come to call it 'portable desktop') is plugged in all the time and I didn't want to risk it (I start X by hand on the off-chance that an update to something will break the whole setup).

    8. Re:Does this mean... by jawtheshark · · Score: 1

      I have an optimus laptop (Dell L502x) and run Ubuntu 14.04 on it. No issues. Installed just fine with the intel driver (Duh!). I do have the proprietary drivers installed now, but it works fine. Switching from Intel to NVidia and inversely does require a login/logout. Not very practical, but good enough if you really really really need that NVidia card for a game.

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    9. Re:Does this mean... by guidedbycthulhu · · Score: 1

      FYI, you don't need to log out to use your NVidia card on an Optimus laptop; just prefix the executable with primusrun. You can even use it in steam by adding the launch parameter "primusrun %command%".

    10. Re:Does this mean... by Gravis+Zero · · Score: 4, Funny

      Does this mean that we'll finally get a Nouveau driver that isn't a crash-prone piece of crap?

      Sure, it's virtually yours! ;)

      --
      Anons need not reply. Questions end with a question mark.
    11. Re:Does this mean... by jawtheshark · · Score: 1

      Cool. I'll try that! Thanks :-)

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    12. Re:Does this mean... by JImbob0i0 · · Score: 1

      My laptop is an Intel Skylake integrated GPU and Nvidia GTX 960m discrete GPU.

      Running Fedora 25 and nouveau works fine using PRIME to select whether something should run on the Intel or the Nvidia chip.

  2. Re:Backported to 2.6? by Anonymous Coward · · Score: 2, Interesting

    Well, even the newest kernels (I can vouch for 4.9.x at least) have no systemd requirement. I run that and am still happily systemd-free.

    The bigger question I have is re. virtual GPU: would it finally be possible to use Wayland in a QEMU-based VM? It would be nice to get see how that works--but still I wait for Wayland to have some ability to work across networks.

  3. Re:Just on Version 4? by johnsnails · · Score: 1

    But Linux runs Chrome and it will catch up for it.

  4. vGPU seems cool by Kjella · · Score: 5, Interesting

    Looks like you can get near-native performance even though you're sharing hardware. With this maybe instead of a dual boot PC you can have a dual VM PC, one runs Linux and the other Windows and both at near native performance and you don't have to dedicate a graphics card. That sounds like a real gateway drug, use Linux for the desktop and the games that run on it but be able to switch to your Wintendo and play that one must-have game your friends want. That said right now it looks like an an Intel tech, did anyone see anything about AMD/nVidia support? Because sharing that Intel iGPU wasn't really what I'm looking for....

    --
    Live today, because you never know what tomorrow brings
    1. Re: vGPU seems cool by dknj · · Score: 4, Informative

      there is definitely support for nvidia

      Vgpu seems very very cool. Now how can we turn this into something commercially viable?

      -dk

    2. Re:vGPU seems cool by ArchieBunker · · Score: 1

      Is this like the pass through feature on ESXI? I always thought about running OS X and Windows together.

      --
      Only the State obtains its revenue by coercion. - Murray Rothbard
    3. Re:vGPU seems cool by fuzzyfuzzyfungus · · Score: 5, Informative

      My understanding is that it is more extensive: PCI(mostly 'e' these days) passthrough allows you to assign a physical device to a VM; but the device can't be shared: if a given piece of hardware is being passed through to one of the guests, none of the other guests or the host OS can use it.

      This 'virtual GPU' stuff is supposed to make allocating GPU resources between VMs closer to how it is with CPU time or memory, where all the guests and the host can't exceed the capabilities of the machine they are running on; but they can all have access, with relatively modest overhead, to the same device.

      I don't know if things work as pleasantly as desired yet; but in principle it should be a lot more convenient than full device passthrough. Especially in cases where you might be interested in the GPU for its computational capabilities, video transcoder, etc.

    4. Re:vGPU seems cool by Poeli · · Score: 2

      AMD has something similar with their FirePro S series. The difference is those cards implement the SR-IOV standard to 'split' the GPU into 16 parts (at most). Unfortunately, the kernel driver is still not part of the kernel. There are patches floating around so it's probably for 4.11. The primary use case for this is virtualization. You can give several vm's a slice of the GPU and deliver near bare-metal performance. But it may be of interested for gamers too: the can share their GPU with a windows vm to play games under Linux. No hassling with an additional GPU or monitor. The intel (and nVidia) solution look interesting as it should work on all recent hardware while AMD only adds it to their S series. The advantage of SR-IOV is that it is a proven hardware solution.

    5. Re:vGPU seems cool by kscguru · · Score: 1

      ESXi does have a very similar mediated passthrough. Here's a quick google hit for installing vgpu on ESXi. The two approaches are approximately equivalent in functionality, and should be similar in performance.

      In a nutshell, there are four ways to do high-quality graphics in a virtual machine ... you can fully emulate a graphics card (which nearly everybody does, but it's slow); you can forward DirectX/OpenGL calls to the host (which works great for Mac-on-Mac, and not much else); you can directly pass through either the entire card or part of a card (via SR-IOV), which gives full functionality/perf but can't be shared; or you can use a mediation layer to mostly pass through but implement some interesting bits in software (vGPU, an nVidia trademark so you won't see many others using the term). VMware's approach requires custom code for each graphics card and only works with nVidia; this KVM approach is generic across graphics vendors, presuming your hypervisor is Linux/KVM (which rules out ESXi or Hyper-V).

      --

      A witty [sig] proves nothing. --Voltaire

  5. Re:Backported to 2.6? by epyT-R · · Score: 1

    I'm running 4.9.9. No systemd. The problem is your distro.

  6. Re: Backported to 2.6? by corychristison · · Score: 4, Informative

    Running 4.9 on 4 physical machines in my home. And also running 4.9 on over a dozen VMs in a datacenter without systemd.

    There are a few distributions that don't push it down your throat. There are even a few others that offer (optional) alternative kernels and init systems.

    Personally I use funtoo.

    Take a look at www.without-systemd.org for more.

  7. Virtual gpu? by Kohath · · Score: 3, Interesting

    Can someone link to a concise discussion of what this does and some use cases? Thanks.

    1. Re:Virtual gpu? by BradleyUffner · · Score: 1

      It's not exactly concise, but this video shows what it can do. https://www.youtube.com/watch?...

    2. Re:Virtual gpu? by Anonymous Coward · · Score: 1

      How about you get nothing, and like it?

      Jeez. Entitled little creeps.

    3. Re:Virtual gpu? by LubosD · · Score: 1

      I find it rather funny that an NVIDIA guy (in the video) is explaining GPU passthrough as how things used to be done up until now.

      The thing is both NVIDIA and AMD/ATI have been hard at work to block exactly this kind of use, and a crapload of hacks had to be introduced to fool their Windows drivers into functioning in this scenario.

    4. Re:Virtual gpu? by Kohath · · Score: 1

      Yeah, I was hoping for a paragraph or three somewhere.

  8. Does virtual GPU support mean that I'll be able to by mark_reh · · Score: 1

    run Windows CAD packages under Wine and have the graphics work properly? I've been looking/waiting for a decent CAD package for Linux for years. The closest thing to good CAD that I've seen for Linux is OnShape's cloud based package that runs in a web browser.

  9. Why did you write that? by dbIII · · Score: 4, Informative

    SystemD is in userspace. There are no dependencies for SystemD in the kernel.
    Now I hate SystemD far more than most due to it causing actual failures for me in production, but spreading disinformation about it is dishonest.

  10. Version 10 by hackwrench · · Score: 2

    Well, now we are on Windows version 10. At this rate we'll be eventually at Windows version . 000...0001

  11. Re:Backported to 2.6? by donaldm · · Score: 1

    It seems that is the only kernel everyone and their brother uses these days and no SystemD dependencies seems to be a big factor

    May I ask what has systemd to do with a new Linux kernel version or the kernel in general.?

    --
    There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
  12. Re:Backported to 2.6? by donaldm · · Score: 1

    I'm running 4.9.9. No systemd. The problem is your distro.

    That is funny I am running 4.9.9-200.fc25.x86_64 (Fedora 25 for those that don't know) and I have never had an issue with systemd in over six years.

    --
    There ain't no such thing as proprietary standards only proprietary formats. Standards are by definition open.
  13. Backwards world by dbIII · · Score: 1

    there are certain kernel features required by systemd

    However you do not need SystemD to run those kernels which seems to be what you and the other poster are implying.
    SystemD is Lennart's special little empire building project and separate to the kernel.

    1. Re: Backwards world by corychristison · · Score: 1

      No that's not what we are saying.

      Though nearly every mainstream distribution has moved to systemd, making it nearly impossible (or atleast infeasible) to run a modern version of many of the popular/mainstream distro's.

    2. Re: Backwards world by corychristison · · Score: 1

      I agree. That's why I use Funtoo. OpenRC is my favourite. It provides all of the UNIXy goodness, easily scriptable, backwards compatible, and fast.

    3. Re: Backwards world by dbIII · · Score: 1

      A free download is "nearly impossible"?
      What is the real reason for you taking this line?

  14. Re: Linux Wns. Trump Wins. by Zontar+The+Mindless · · Score: 1

    That's just retarded. Google's mobile empire is built on the Linux kernel, and even MS has Linux offerings these days.

    --
    Il n'y a pas de Planet B.
  15. Re:Does virtual GPU support mean that I'll be able by Anonymous Coward · · Score: 3, Informative

    No, but it would help you run Windows CAD packages inside a Windows VM and get near native GPU performance both in the Windows VM and Linux host. vGPU lets you share a single compatible GPU across multiple VMs running on the same system. This way each VM can benefit from full hardware accelerated 3D rendering as well as access to OpenCL and/or CUDA even though only a single physical GPU is present in the system.

    Wine wouldn't benefit because it already has direct access to the GPU as long as it's associated with the host system, it's issues are caused by imperfect compatibility between how Windows does something, and how WINE implemented it. For example, Wine translates Direct3D calls into OpenGL calls which can then be run natively in Linux, but if the translation isn't perfect, or a certain Direct3D call hasn't been implemented in WINE yet, then the program is going to behave differently than it should.

  16. Re:Backported to 2.6? by thegarbz · · Score: 1

    no SystemD dependencies

    The linux kernel has zero dependencies on Systemd. It provides support for cgroups that systemd then implements on the desktop but adoption is entirely up to the distribution.

    And it's a good thing which is why so many distributions have adopted systemd in the first place.

  17. Re: Linux Wns. Trump Wins. by LDAPMAN · · Score: 1, Offtopic

    WTF?? More revisionist history. The republicans are the party that supported the civil rights act. http://www.cnn.com/2014/04/10/...

  18. This is great news!!! by gosand · · Score: 1

    OK.. so I am not sure why, but it is.
    See, at work people always get praise for "going the extra mile", working overtime to get the job done. The people who rarely get the accolades are the ones who work effectively and efficiently at just doing the work. They don't get "recognition awards" for getting things done on schedule. That's just their job. But the downside is that to prove your worth, it is in your best interest to create a little chaos so you can step up and put out the fires.

    Kudos to Linus and the kernel maintainers for continuing to do what they do.

    --

    My beliefs do not require that you agree with them.

  19. Re:Does virtual GPU support mean that I'll be able by drinkypoo · · Score: 1

    Run them under vmware instead. Their graphics driver is pretty good. It's good enough to where you can actually play many games on it, let alone use CAD. Of course, then you actually need a copy of Windows in a VM, which you may find offensive.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  20. Re:Backported to 2.6? by epyT-R · · Score: 1

    Good for you. That wasn't the gp's question.

  21. ZFS? by Bodhammer · · Score: 2

    How about native ZFS support?

    --
    "I say we take off, nuke the site from orbit. It's the only way to be sure."
  22. Re:Backported to 2.6? by corychristison · · Score: 1

    The problem is all of the mainstream distributions have made systemd a requirement.

    So some users are opting to stick with older releases to avoid systemd, and that means losing out on new kernel features.

    As I mentioned in my other comment, some distributions do not require systemd, and still offer modern kernels.

  23. Re:Obvious bigot by DamnOregonian · · Score: 1

    Lets clarify.. Republicans - Ended slavery, Democrats opposed to the point of a shooting war. Republicans - Pushed Civil Rights, Democrats (specifically their honored KKK member like Robert Byrd with the help of Al Gore) opposed Republicans - Pushed for women to vote, Democrats opposed.

    Almost all true.
    Civil Rights legislation was pushed by Northern Democrats. Northern Republicans simply rode the wave after balking for a decade.
    You could argue the Dems stole their win on that one, but it's also important to understand that the Democratic party was split into 2 very separate parties at that point in time, more or less, along the mason-dixon line.

    Again, the bigotry espoused by the Democratic party, which absolutely cannot be denied, was a north/south issue, not a democrat/republican issue.
    More Democrats voted for Civil Rights than Republicans. A larger percentage of Republicans voted for Civil Rights than Democrats. This is because the Democratic party was split north/south, but still had a commanding majority in the north, where the Republicans had zero presence in the south.

    The only pattern I see is your willful ignorance to the nuances of the actual demographic split and attempt at turning political parties into your favorite sports team.

  24. Re:Backported to 2.6? by thegarbz · · Score: 1

    So mainstream distributions made a decision on merit, open source provided alternatives for those who don't want, and this is now somehow a problem. Got it. Don't understand it, but got it.

  25. Re:Does virtual GPU support mean that I'll be able by mark_reh · · Score: 1

    Great! I'll give it a try in VMware when the new kernel is released. I have attempted to run CAD in VMware before and failed miserably with the graphics. I don't mind loading a VM with Windows if that's what it takes, I just don't want to be stuck with Windows as my main OS simply because I need it to run CAD.

  26. Re:Backported to 2.6? by micheas · · Score: 1
    Compiling your own more modern kernel is an option for almost every system. (You might need to install a more recent gcc, depending on the age of the distro)

    For many distros, once you find the documentation of their prefered way to package and install the kernel, it is almost trivial to build a new kernel.

  27. Re:Obvious bigot by DamnOregonian · · Score: 1

    DNC split into 2 parties, as you said, and 51 of the 54 that split went back to the DNC for life and were welcomed.

    That's not really relevant, but it is true. It's not relevant, because it says nothing about the voters and the fact that Republicans came to take up the positions those Democrats held. Today's Republican platform is the Dixiecrat platform of the 60s, in terms of social policy.

    Again, I ask you, did the south magically go from 100% blue in 1964 to almost 100% red today because the voters all had a change of heart? Or did the parties change to reflect the voters?

    Nothern Democrats came to dominate National Democratic party politics, and the Republicans were failing against the Democrats in the North. The Republicans had to take on the southern voters if they wanted to stay relevant, just as the Democrats required them before they came to dominate the North. The shift is obvious. Education didn't fail me, but logic fails you.