Slashdot Mirror


Open-Source NVIDIA Driver Steps Up Its Game & Runs Much Faster

An anonymous reader writes "With the Linux 3.16 kernel the Nouveau driver now supports re-clocking for letting the NVIDIA GPU cores and video memory on this reverse-engineered NVIDIA driver run at their designed frequencies. Up to now the Nouveau driver has been handicapped to running at whatever (generally low) clock frequencies the video BIOS programmed the hardware to at boot time, but with Linux 3.16 is experimental support for up-clocking to the hardware-rated speeds. The results show the open-source NVIDIA driver running multiple times faster, but it doesn't work for all NVIDIA hardware, causes lock-ups for some GPUs at some frequencies, and isn't yet dynamically controlled. However, it appears to be the biggest break-through in years for this open-source NVIDIA driver that up to now has been too slow for most Linux games."

50 of 143 comments (clear)

  1. No overclocking by dutchwhizzman · · Score: 4, Informative

    This isn't about overclocking. Most GPUs get set to a power saving speed for boot that is way below their maximal factory rated capacity. A 1GHz GPU could well be clocked at 300MHz or even lower during boot by the BIOS settings.

    --
    I was promised a flying car. Where is my flying car?
    1. Re:No overclocking by drinkypoo · · Score: 3, Informative

      This isn't about overclocking. Most GPUs get set to a power saving speed for boot that is way below their maximal factory rated capacity. A 1GHz GPU could well be clocked at 300MHz or even lower during boot by the BIOS settings.

      And it's a damned good thing, too. When clocked lower and only displaying text the GPU is using the absolute lowest amount of power. If you're having problems with PCIE VRM (badcaps!) then the system will often come up to the GUI and then fail, but you can still use the text interface to troubleshoot, for example changing BIOS settings around and the like while chasing the problem.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  2. Re:Overclocking is Recommended? by GNious · · Score: 2

    BIOSes would generally set it to a default, low clock-speed.
    This is for setting it to the proper (non-overclocked) speed.

  3. Re:Overclocking is Recommended? by drinkypoo · · Score: 1

    So based on this article it sounds like overclocking your video card is something everyone should do?

    As the sibling comment says, that's not what the article says at all.

    With that said, yes, overclocking your video card is something pretty much everyone should do. Video cards are now typically sold with considerable headroom, and manufacturers actually bundle overclocking tools with the cards. Whether the idea here is to stop throwing away low-binned GPUs or to make customers feel better about their purchases, either way you do want to overclock your video card. I got one extra FPS out of furmark at 1920x1200 on a 450GTS (cheap used, relatively low power budget.)

    Unfortunately, this card either can't be overclocked on Linux, or I need another driver. Whether I set coolbits to 1, 4, 5, 12, 13 or whatever, I never get overclocking options. So I guess I won't be buying any linux games which have fancy graphics. I can only use the full power of my system under windows.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  4. Re:THIS is a potentially "huge score" for Linux by Anonymous Coward · · Score: 3, Funny

    I'm against the rampant indiscriminate prescription of drugs, driven by money thirsty bigpharma.

    but I can tell the truth/how it is (from my perspective @ least), you're in need of drugs

  5. Performance vs Closed source driver? by nonsequitor · · Score: 4, Interesting

    Kudos to the Nouveau team for reaching this exciting milestone!

    If they tested side by side with the closed source driver from Nvidia, where does this put them in terms of performance?

    How long until an average user will chose the nouveau driver over the closed source driver, if said user doesn't care about licensing or building from source, but is looking for out of the box performance? Where does that put them in comparison with the Nvidia driver on Windows?

    Personally, this project is not very relevant to me since I have no qualms about using the closed source driver which is good enough for my purposes, but I'm not a gamer. I really hope someone like Valve is sponsoring this development because it sounds like a lot of tedious, hard work to be doing pro bono.

    1. Re:Performance vs Closed source driver? by Savage-Rabbit · · Score: 3, Interesting

      How long until an average user will chose the nouveau driver over the closed source driver, if said user doesn't care about licensing or building from source, but is looking for out of the box performance?

      When it is stable? The damn thing kept crashing on me one or two times a day which is why I switched to the proprietary driver. Now I'm back to using the Nouveau driver with a new Nvidia card and it only crashes one or two times a month which is just about stable enough to not make me bother with the proprietary one.

      Where does that put them in comparison with the Nvidia driver on Windows?

      The Windows driver is somewhat more stable, I regard stability as an aspect of performance.

      --
      Only to idiots, are orders laws.
      -- Henning von Tresckow
    2. Re:Performance vs Closed source driver? by Undead+Waffle · · Score: 1

      In the past I've primarily used Nvidia cards and always used the closed source drivers because they were so much better.

      Now I have an AMD card and was having performance problems. I found out that the open source drivers for AMD are better than the proprietary ones.

      So I consider it relevant just for the simplicity of the overall system. New users shouldn't have to research whether the proprietary driver is better than the open source one for their card. It's better for the success of Linux when things just work out of the box, and right now the box contains the open source drivers. Personally I think it was not very smart of them to ship with these drivers in the first place until they were mature enough, but that's where we are.

  6. Re:Overclocking is Recommended? by loufoque · · Score: 1

    There is a high quality proprietary driver made by NVIDIA.
    This is about an alternative open-source driver made by hobbyists which is much slower than the real thing.

  7. Re:Overclocking is Recommended? by jones_supa · · Score: 1

    Unfortunately, this card either can't be overclocked on Linux, or I need another driver. Whether I set coolbits to 1, 4, 5, 12, 13 or whatever, I never get overclocking options. So I guess I won't be buying any linux games which have fancy graphics. I can only use the full power of my system under windows.

    Then why do you use Linux? I always choose the operating system which allows me to utilize my hardware to the greatest extent. Right now I'm using Linux, because in this case I get higher OpenGL support for the old Intel gen4 hardware.

  8. OT but Nouveau, any NV2A progress? by drinkypoo · · Score: 1

    I know that NV2A is a lumpy problem, but I'd sure like to know if there's been any progress on that front. I googled around a little bit and didn't see anything, but that is hardly an exhaustive search. My understanding was that someone was going to have to get passionate about the project to move it forwards, and I suppose that's unlikely to happen now, but there's still a lot of 360s out there in the world and they still have 720p/1080i and digital audio out, they're a pretty decent display box.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:OT but Nouveau, any NV2A progress? by jonwil · · Score: 1

      I think you mean original xboxes. The 360 has an ATI GPU, not NVIDIA.

    2. Re:OT but Nouveau, any NV2A progress? by drinkypoo · · Score: 1

      I think you mean original xboxes. The 360 has an ATI GPU, not NVIDIA.

      Yes I do, sorry. I have three of them here still, I think. At least two. My 360 is on my mind because last time I wanted to use it (last night) I instead got to make several hundred megabytes of updates, between the OS and GTAV with two required (free) content packs, and then it hung. Probably I should crack it again, de-dust it, and apply new thermal compound. Now, where is my arctic silver?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:OT but Nouveau, any NV2A progress? by goarilla · · Score: 1

      Now, where is my arctic silver?

      I always wonder, is there an expiration date on thermal paste. I keep buying new ones because I don't know and it's cheap.

    4. Re:OT but Nouveau, any NV2A progress? by drinkypoo · · Score: 1

      I always wonder, is there an expiration date on thermal paste. I keep buying new ones because I don't know and it's cheap.

      Well, it only lasts so long when applied, but I assume that it will last longer before application, while still in the syringe. If it's in a plasti-packet, then I assume that it will go bad about as quickly as applied compound, although it will probably take longer than that due to decreased thermal cycling.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  9. Re:THIS is a potentially "huge score" for Linux by PopeRatzo · · Score: 5, Funny

    The "year of Linux on the Desktop" we've all heard for a decade++ here isn't out of the question now because of this... you get the games ported to Linux now, more?

    Does your choice of operating system preclude your ability to construct sentences in English?

    Clearly, you are a native English speaker. What happened to you, lad?

    --
    You are welcome on my lawn.
  10. Re:THIS is a potentially "huge score" for Linux by drinkypoo · · Score: 4, Funny

    Clearly, you are a native English speaker. What happened to you, lad?

    His speech double-plus good.

    Obviously, the language of the future will in fact have the double-plusses in it, but it will be missing some articles. This lad is a time-traveler!

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  11. Re:Overclocking is Recommended? by drinkypoo · · Score: 2

    Then why do you use Linux?

    I use Linux when I want to do secure things, like banking. I don't trust Microsoft to handle paypal, let alone online banking. I use windows when I want to play games. The right tool for the job. I will do some light surfing on Windows with firefox, noscript, ghostery, adblock plus, but I don't trust it* with anything important, e.g. if I see something I want to eBay I will go ahead and log into eBay so I can buy it, but I stop short of entering my paypal password and I go handle the payment later, when I'm booted into Linux.

    ( * OK, I trust Windows enough to dual-boot and keep the HDD connected. I suppose a malicious worm could read ext. As soon as I get this other PC recapped I'm going to move my linux disk there and it will be a non-issue.)

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  12. Why didn't I hear about this before? by jones_supa · · Score: 2

    I'm glad that it got fixed, but why haven't I ever before heard about this constrainment in the Nouveau driver? Once again, were the open source propellerheads so excited about open source, that they never honestly mentioned this glooming limitation in any discussions? :(

    What next? "Oh, we forgot to mention that all vertex shaders have been software-emulated in Mesa for the last 10 years. Well, we've finally fixed it."

    1. Re:Why didn't I hear about this before? by complete+loony · · Score: 1

      Lots of phoronix blog posts have made it to the front page of slashdot and talked about this exact issue. It's only recently that the open source drivers have been gaining momentum and becoming usable for gaming on most GPU's. But they've been fine for desktop work for ages.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
    2. Re:Why didn't I hear about this before? by Gaygirlie · · Score: 1

      As the anon says, it's been stated on Nouveau's website for ages. Similarly, googling for "nouveau reclocking" or similar shows plenty of posts and websites dating at least to 30.1.2012. So basically, it's been discussed a lot, it's been discussed even here on Slashdot, and you've just missed the whole thing. Calling others "propellerheads" for your failures isn't quite fair.

    3. Re:Why didn't I hear about this before? by zequav · · Score: 1

      Nouveau *did* have reclocking for several cards before. I used to be able to reclock my 450GTS and 460GTX without any problems with something like:

      # echo 3 > /sys/class/drm/card0/device/performance_level

      but since kernel 3.11 or 3.12 (I don't remember) they changed the interface to the new yadda/yadda/pstate, and we lost the reclocking ability for the last 3 or 4 kernel versions. I wish they had waited until they had something functional to remove something that (at least for some of us) worked fine.

    4. Re:Why didn't I hear about this before? by Anonymous Coward · · Score: 1

      Re: "...for your failures...".

      Well there we have it. One of the FOSS communities most objectionable habits, which is to say, blame the user. The failings never have anything to do with FOSS, it's always the user's fault! FLOSS is clean, decent, right-thinking and can never be wrong.

      Speaking only for myself, here's what is wrong with your statement. It assumes that I am visting the Nouveau web site, which I do not. It assumes that I know to search for "nouveau reclocking" which I do not. And it assumes that by missing something, that is a personal failure for which I should be blamed. All three are total fails at being an effective, welcoming environment.

      I cannot say with any certainty, but I suspect that the GP post has much the same issues.

    5. Re:Why didn't I hear about this before? by Windwraith · · Score: 1

      I never heard of it either, despite all the guys trying to tear me a new one for supporting those horrible and evil propietary drivers. I even got called shill about it, just because it works for me. (...and if I was on nvidia's payroll I wouldn't be wasting my time here anyway...)

      I guess they got to resort to disinformation in order to scare people away from the binary driver that works so we can all use our systems in a total "libre" fashion. I am a strong supporter of open source, I only produce open source and contribute to open source projects both with code and money. But if the open source driver is terrible, sorry, I am going to use the one that works. I am not going to suffer for someone else's cause. I am an artist, not a martyr.

      I guess none of those zealots are artists nor code visual effects or games. I bet they would sing a different tune if they were.

  13. Re:THIS is a potentially "huge score" for Linux by jones_supa · · Score: 1

    Does your choice of operating system preclude your ability to construct sentences in English?

    Some people just cannot write properly. Their mind might not be well-suited for it. APK might speak completely fluently face-to-face, but he might not be able to put his thoughts as text as elegantly. I have noticed that some people are like that, or vice versa: that they speak crummily but write perfectly.

  14. Why didn't I hear about this before? by Anonymous Coward · · Score: 1

    From the front page of the nouveau wiki (http://nouveau.freedesktop.org/wiki/):

    """
    Performance level selection (also known as "reclocking") is not supported yet. Expect low 3D performance on laptops using a Tesla GPU and all Fermi/Kepler cards. (see CodeNames)
    """

    So... don't know why you haven't heard it before... perhaps you don't look for things?

  15. Re:Will this make the Firefox fast on the Linux? by Anonymous Coward · · Score: 1

    will the new driver for the Linux fix the slow I have detected with the Firefox?

    No. Firefox is slow because you are connected to the Internet with a 56K modem. A faster GPU won't fix that.

  16. Re:Will this make the Firefox fast on the Linux? by Anonymous Coward · · Score: 1

    I said GOOD DAY!

  17. Re:THIS is a potentially "huge score" for Linux by thsths · · Score: 3, Insightful

    No, the year of the Linux desktop is over.

    We used to have Gnome 2, KDE 2 and 3, OpenOffice, Mozilla, Flash Player and many useful tools against Windows XP. It was superior technology, but the impact was limited (LiMuX?).

    OpenOffice is in ruins (and hardly better than 10 years ago), the Gnome community is split, and KDE keeps getting fatter. Meanwhile Windows 7 is a half decent operating system, and Office 2007 has upped the game considerably. Even Google targets Linux only for some of their products.

    The battle for the desktop is over and lost.

  18. Sorry but... by JustNiz · · Score: 2

    Even though this is a good step in the right direction, Nouveau still isn't even stable enough for general consumption, let alone seriously competitive with features or performance of nVidia's binary-only driver.

    It annoys the heck out of me that Mint switched to installing nouveau by default and especially without any alternative graphics driver option at install time, as on my laptop at least, as soon as Nouveau starts it crashes and locks up the whole PC. Trendy political correctness for (broken) open source shouldn't ever trump a binary driver if it actually works better, or especialy if it is the only option that works at all in some cases.

    Add on top of that the fact that Mint devs also removed Ubuntu's boot menu option to install Linux before X starts, means the retarded decision to use nouveau by default makes it impossible for me and presumably therefore many others to install Mint from scratch without some obscure and what should be completely unnecessary hacking every time.

    If even just installing Mint is borked, its really going to put off people who are trying Linux for the first time.

    1. Re:Sorry but... by JustNiz · · Score: 1

      >> The binary driver is a buggy POS on any system, and will never be anything else.

      No it really isn't. i run it on several linux boxes all with different nVidia GPUs and they all work perfectly. By which I mean I've NEVER seen a crash using the nVidia Linux driver.

      Novueau crashes all the time. On my laptop especailyl I can't even start it.

    2. Re:Sorry but... by JustNiz · · Score: 1

      >> Not surprising with a small sample and homogenous hardware,

      You need to take a look around the internet. Its not just me, there are many different articles supporting that the nvidia binary drivers perform much better than nouveau. I can't even find one supporting nouveau over nvidia's own for stability and performance.

      I do agree that trying to get a binary driver for one architecture working on another architecture would be crazy. Don't get me wrong, I totally support the idea of open source drivers for that and many other reasons, and I do very much wish nVidia would opensource theirs, or at least dedicate some significant engineering resource into making noveau as good or better than their own Linux drivers.

      For me and the many others that just want their Linux boxes to work, rather than people who actually want to tweak broken driver code, or put up with consistent poor performance and crashes to make some ideological point, choosing to install nvidia's own binary driver over nouveau is currently a no-brainer.

      The Mint devs need to get a grip on the fact that most of its users do just want their box to work instead of by default geting the philosophically more pure but actually way more broken driver.

    3. Re:Sorry but... by JustNiz · · Score: 1

      >> And you are still pretending it provides that?

      I've already explained that the nVidia binary driver has worked pretty much flawlessly for me over at least the last 10 years of running several different nVidia GPUs and several different distros on several different PCs. This is something I have directly experienced. It is therefore not just opinion open for being persuaded that I am wrong.

      >> When you just admitted it wont even compile?

      Unless you're using a platform that isn't a PC, (Which is completely outside the scope of this discussion) your point is meaningless. You seem to be very confused between the ability to personally compile something for it to be high quality/work properly, which makes no sense.

      >> How do you maintain such doublethink without snapping something inside?

      Seriously if you can make a logically sound point free of personal attacks then I will reply otherwise I'm leaving it here.

    4. Re:Sorry but... by Windwraith · · Score: 1

      Add another satisfied user of the binary drivers here.
      I've been using the binary drivers since...2003 I think? I have used at least 6 different models of nvidia cards, and so does my brother. I only got ONE crash in 2004 because of a trasient bug that was fixed the next day, my brother never got any. My best friends who also use linux also have never complained about crashes.
      So far it's two positive "anecdotal evidences" versus just your negative one. For a "small subset of users", we seem to be more than the opposite.

    5. Re:Sorry but... by goarilla · · Score: 1

      I've had multiple nvidia cards as well: geforce 2 mx, geforce 5200 (CRAP), geforce 6600, geforce 8600 gt, geforce 9500, geforce 660 and geforce 760 gt which I'm currently using.
      The binary blob has always delivered decent performance, this in big contrast to nouveau.

      But it does have some issues:
      - When you switch from X to tty and back, sometimes you get a black screen as tty and will continue to have unusable black ttys from that point on.
      - X and system lock ups do occur after some uptime
      - The driver installer (re)moves libEGL.la, which is needed to compile stuff.

  19. Re:Drinkypoo: Being a "ne'er-do-well" troll by drinkypoo · · Score: 1

    P.S.=> You really have issues. Lastly - are you on topic? No... grow up please.

    YOU DO NOT UNDERSTAND TIME CUBE.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  20. Re:Overclocking is Recommended? by wisnoskij · · Score: 1

    And the article states that the reason it is slower is because it does not overclock the card by a factor or two or three. Or maybe it is making up for being so slow by overclocking the card?

    Either way the article is stating. "NVidia Linux users, your graphical woes are over. Download this update and overclock your card to many times its original speed". I am asking if that advice is good advice? If 2X-overclocking a graphics card just something everyone with an NVidia card should do?

    --
    Troll is not a replacement for I disagree.
  21. Re:Overclocking is Recommended? by wisnoskij · · Score: 1

    Why would the BIOS underclock it to something below the recommended speed?
    Are you implying that the proprietary drivers for Linux and Windows default to overclocking to this "proper" speed?

    --
    Troll is not a replacement for I disagree.
  22. Beware not to overheat your GPU/Memory by La+Gris · · Score: 1

    It's a very good start but until they can manage dynamic clocking, proper monitoring of GPU, RAM and PCB temperature, and then adjust fan speeds or fallback lower in case of overheat, you are better be very careful with this recent feature.

    --
    Léa Gris
  23. Re:Overclocking is Recommended? by CronoCloud · · Score: 1

    The summary is misleading. It's not about overclocking at all, but actually letting your NVidia card run at full speed under Nouveau. See, Nouveau doesn't have the ability to dynamically set your GPU's clock, so it boots in the normal low power state and then can never go up, no matter what.

    Using the proprietary driver, the card is clocked based upon graphics needs.

    Under Nouveau say, a GT640 rev 2 would always run at 405Mhz, NOT the full 1124 Mhz even if you ran a 3D using application. Using the proprietary driver, if you're just browsing the web and then start up something uses 3D it'll ramp right up to full speed.

  24. Re:Quit projecting your own issues by dreamchaser · · Score: 1

    Maybe you should start. If I were you I'd start with anti-psychotics.

  25. Re:THIS is a potentially "huge score" for Linux by snakeplissken · · Score: 2

    In prior discussions APK kept dodging questions about whether or not he has been diagnosed as mentally ill in some way by a psychologist or psychiatrist. He never would say yes or no to that one

    and why in arse cunting fuck should he? what business is that of anyone about anyone on here?

  26. Re:Overclocking is Recommended? by Anonymous Coward · · Score: 2, Informative

    More or less, that's exactly what happens.

    The card's official drivers will have multiple known good power states configured - a low power, low performance configuration for an idle desktop, a high power, high performance mode for demanding games or CAD/CAM work, and something in the middle for older titles that don't need the cards full performance potential. This is what the 'adaptive' and 'prefer maximum performance' options in nvidia's windows drivers refer to.

    For mine, under windows, these modes are 51Mhz, 405Mhz, and 830Mhz. With a monitoring program up (nvidia inspector) I can actually track the card stepping between these performance modes as the demands on it change. For example, at desktop it's at 51MHz. If I load chrome, I can see the card step up to 830MHz in anticipation of a high load as chrome loads its assets into video memory. Then that steps down to 405mhz as the driver realises there's no continuing load, then back down to 51Mhz a few seconds later, as the load is so low that even the 405Mhz mode is overkill.

    When the machine's starting, the card isn't going to have any load placed on it. Therefore, it makes sense to start it using the low-power configuration.

  27. Re:Will this make the Firefox fast on the Linux? by epyT-R · · Score: 1

    The firefox is always slow. It has been slow since it was the netscape.

  28. Re:Overclocking is Recommended? by radarskiy · · Score: 1

    The BIOS has safe default settings that do not require active monitoring or even knowing the ambient temperature. (Consider a laptop that had been left an a car overnight during winter. When booting you need to have high voltage and low frequency to get it to initially work. That is not necessarily a typical condition, but the system when booting does not know anything yet.)

    Once the driver is running it can start adjusting things to account for ambient temperature, work load, relative usage of other system components, etc. However, not this from the summary "isn't yet dynamically controlled". That means that the driver had the ability now to change the frequency, but does not yet have the monitoring to do it safely.

  29. Re:Overclocking is Recommended? by epyT-R · · Score: 1

    The chip is specced to run at a specific speed.. when the full performance is not needed, the drivers underclock it to save power and heat. same is true for the ram on the card too. Voltages and memory timings also scale too, which might be why some cards are having trouble at their highest settings. Nouveau might not set the right timings and voltages for those clocks.

    So technically the card is not 'overclocked' unless it's run beyond the manufacturer set top speed and voltage.

  30. Re:Quit projecting your own issues by PopeRatzo · · Score: 1

    Don't taunt him. I really don't need to read about another mall shooting.

    (I've got $5 that says he's already written at least one manifesto and has a YouTube video about how all women are whores except his grandma)

    --
    You are welcome on my lawn.
  31. Re:Speak for yourself, hypocrite by i.kazmi · · Score: 1

    oh fuck off you prat

  32. Re:Clearly, you're an offtopic troll by PopeRatzo · · Score: 1

    Are you on topic, PopeRatzo?

    See, here's the thing. It is possible to write so badly that ALL of your posts become "off-topic".

    Is this English Class?? No.

    I'm a retired English prof. When my only tool is a hammer, I want to drive every crooked, rusty nail I see. Got paid pretty well, too. I gave you this one for free, because that's the kind of yegg I am.

    --
    You are welcome on my lawn.
  33. Re:Overclocking is Recommended? by gl4ss · · Score: 1

    power saving. the clocks go up and down all the time in use.

    it's not really overclocking or underclocking but a mhz management feature - of course, drivers without this feature would be quite useless.

    --
    world was created 5 seconds before this post as it is.