Slashdot Mirror


New FreeBSD NVIDIA Drivers Available

CoolVibe writes "Finally, the officieal Nvidia drivers for FreeBSD have been updated to version 4365. The drivers are available at Nvidia's website. They are not in the ports yet, but that won't take very long. Also, this driver supports both STABLE and CURRENT officially. I am using them at the moment, and boy, these fix many problems I had with the older ones."

34 of 81 comments (clear)

  1. FreeBSD Drivers...sigh. by eviltypeguy · · Score: 4, Interesting

    Wish I could be more excited but I dumped my NVidia card a month or so ago.

    I am glad to see this though, the old NVidia FreeBSD drivers were pretty horrid.

    To ATi I would say:
    "Where are my finished Linux drivers, and FreeBSD drivers ATi? ARE YOU LISTENING?"

    Seriously. Their Win32 drivers are pretty decent, but their Linux drivers need some serious performance and OpenGL work done.

    In their infinite wisdom, they do not provide FreeBSD drivers, nor the information to commercial companies that want to write drivers for their 9600/9700/9800 series of cards.

    It's sad really. This almost makes me wish I had kept my NVidia card...

    1. Re:FreeBSD Drivers...sigh. by shane_rimmer · · Score: 5, Insightful

      I hate to say it, but that is precisely why I use Nvidia based cards in my computers. Their hardware may not be the best, and they won't open the specs for the cards, but at least I can get full functionality out of my video card under FreeBSD and Linux.

      If ATI ever supports non-MS operating systems the same way or better than Nvidia, I may consider purchasing one of their cards.

    2. Re:FreeBSD Drivers...sigh. by Lx · · Score: 2, Interesting

      Hm? The DRI for ATI cards under FreeBSD works fine, just not always for the most recent cards. I personally prefer it to using closed-source kernel modules.

    3. Re:FreeBSD Drivers...sigh. by eviltypeguy · · Score: 3, Interesting

      Sadly, it doesn't "work fine". ATi is refusing to provide any 3D hardware specific information for the 9600 / 9700 / 9800 series of cards to commercial driver developres or to the XFree project. What little is known about them has been reversed engineer from their binary drivers. Only 2D support information will eventually be provided.

      ATi is of the opinion that there are too many trade secrets for them to divulge the 3d hardware programming information, they also believe that open source programmers are not competent enough to write drivers for "such advanced programmable hardware".

    4. Re:FreeBSD Drivers...sigh. by tigga · · Score: 2, Funny
      I dumped my NVidia card

      So you running headless then ? ;))

    5. Re:FreeBSD Drivers...sigh. by Anonymous Coward · · Score: 2, Funny

      Wow... so you dumped your NVidia card in favour of an even more unsupported card?

      I'm in awe of your cutting-edgeness.

      Or your consumer-lemming-ness. Take your pick.

    6. Re:FreeBSD Drivers...sigh. by TheRaven64 · · Score: 1
      The DRI for ATI cards under FreeBSD works fine, just not always for the most recent cards.

      Really? I get an error from the kernel module saying Radeon (QE) 8500 not supported. No idea why, but it means that I don't get any kind of acceleration from my Radeon 8500. Shame really. It doesn't worry me much, I got the card since it can run 1600x1200@85Hz on a dual monitor set up (My old nVidia GeForce 2MX couldn't, since it only had a single RAMDAC) and don't do much by way of 3D stuff on this machine, but it would be nice if I could get hardware acceleration working under FreeBSD.

      --
      I am TheRaven on Soylent News
    7. Re:FreeBSD Drivers...sigh. by batobin · · Score: 1

      I hate to nail you on a technicality, but ATI has great support for Apple products. But I agree, their support for non-MS and non-Apple systems is pretty piss poor.

    8. Re:FreeBSD Drivers...sigh. by vandan · · Score: 1

      Hardly.

      The specs typically roll in around 12 months after the release of a new card, and then they are incomplete and contain numerous errors and contradications. Check the DRI Devel mailing list for details. Also check the Gatos mailing list. They've been contacting ATI regularly for the past year for docs for the new Rage Theatre chips, and haven't even received a response of any kind.

      ATI started out providing some docs, but have since changed their mind to saying they provide docs while providing nothing, and giving the alternative of a proprietary, 3rd-party, buggy, incomplete, 3d-modelling-optimised driver for those with a card similar enough to a FireGL for it to be detected at all.

      Screw ATI. Back to nVidia for me.

    9. Re:FreeBSD Drivers...sigh. by DeathPenguin · · Score: 1

      I think he's taking the Ghandi approach to teaching them IP-grubbing corporate motherfuckers at nVidia (Who make excellent drivers) a lesson--Force himself to suffer and maybe they'll take sympathy and throw him a bone after a while.

    10. Re:FreeBSD Drivers...sigh. by agent66 · · Score: 1

      apparently so... ATI is definetly something i *wont* run on any sort of *nix box.

      --
      ---- http://bsdweb.org - Looking for moderators
  2. Re:FUCK NVIDIA by Decibel · · Score: 5, Insightful

    How does 'never had anythingto do with the GPL' make them suck? They're releasing drivers for a GPL and BSD-licensed OS, that's not good enough for you?

    Sorry, I guess you're one of those people who will never be happy until no one anywhere can make any money off of any software or anything related to software. Nevermind.

  3. hoorah by thanjee · · Score: 3, Interesting

    This is good news.

    About every second time I reboot my computer the xdm login screen is all messed up. I have to hit ctlr-alt-backspace to reinit x, so that the drivers kick in properly. If I don't it locks up the computer during the login sequence. It is the same for both my 4.8 and 5.0 machine.

    I am currently downloading the new drivers :)

    --
    Saying your OS is the best because more people use it is like saying MacDonalds make the best food
    1. Re:hoorah by thanjee · · Score: 3, Informative

      These drivers are a major improvement, no more do I have to hit ctrl-alt-backspace when they misload (or whatever it is they did before). No fiddling, just went through the basic install procedure and well - I am much happier :)

      My playlist and add file screens on XINE are still messed up though (very hard to read) I don't even know if it gfx card related - any thoughts?

      --
      Saying your OS is the best because more people use it is like saying MacDonalds make the best food
  4. Much better... by Anonymous Coward · · Score: 2, Interesting

    Wow. This driver is MUCH better than the old one. Five minutes without a crash! :)

    The lack of stable Nvidia drivers have been the major roadblock preventing me from switching to FreeBSD full-time.

    The only thing that would make this better is if it was an open source driver, but this is good enough for now...

  5. Thank $DEITY! by kevryn · · Score: 2, Interesting

    I had so many problems with the old drivers on my -STABLE box. Couldn't run more than one GL app per X session or my whole system would lock up and had to be rebooted. Lots of instability, crashes, and broken apps. Hope this fixes things.

  6. Trying them out now by rf0 · · Score: 1

    Hopefully fixes the issues where if I start Galeon X crashes out. Least there is now official support for 5.x so that I won't have to patch the kernel again

    Rus

  7. Re:FUCK NVIDIA by Ezdaloth · · Score: 2, Informative

    Since you obviously don't like the closed-source driver, you should use xfree's "nv" driver -- You should do that anyhow, they are SOOOO great.

  8. I wonder... by jo42 · · Score: 2, Interesting

    Anyone know what Apple uses for video drivers in Mac OS X when you plop in a NVIDIA-based video card?

    1. Re:I wonder... by gomerbud · · Score: 4, Interesting

      Check out the third party drivers section at the bottom of this page.

      http://www.opensource.apple.com/projects/darwin/6. 0/release.html

      It seems that Apple has a similar situation with its NVidia and ATI drivers. They are only provided as binaries due to licencing restrictions.

      --
      Kan jeg få en pils, vær så snill?
  9. much better by lambsonic · · Score: 3, Informative

    This is much better. The first one recommended that I recompile the kernel, and X with no optimizations, but I tried it anyway and it didn't work as expected, but this one seems to work okay (a few bugs, but no show stoppers) even with these optimizations in make.conf on -stable:

    XFREE86_VERSION=4
    CPUTYPE=i686
    CFLAGS= -O2 -pipe -mcpu=i686 -march=i686 -fexpensive-optimizations
    CXXFLAGS+= -O2 -mcpu=i686 -march=i686 -fmemoize-lookups -fsave-memoized -fexpensive-optimizations -funroll-loops

    The install was pretty painless, too.

    --
    # make clean sig
    1. Re:much better by CoolVibe · · Score: 3, Interesting
      Yup. These solve many problems I've had with the driver overwriting the %gs register in multithreaded OpenGL apps. It made apps SIGSEGV on exit. KDE (well, actually Qt) was very much affected, and one of the "fixes" was compiling Qt WITHOUT OpenGL support.

      The SIGSEGV "crashes" are totally gone, and these drives drive my GeForce 4 MX much (yeah, I know, cheap card) faster too. Tuxracer really runs very smooth! :)

      Anyway, these run mighty nice on my 5.1-RELEASE system. People that claim that BSD is dead plain don't know what they are blabbing about.

  10. Re:Why is this happening? by CoolVibe · · Score: 4, Informative
    Troll, but I'll bite.

    When you use X on your local host, it doesn't really use the network stack. Read up on pipes and domain sockets before you spout off like that. You can still use X without having network support in your kernel. You only need sockets Ergo, nothing moves across any network. So all your points are basically uninformed drivel.

    Domain sockets (like the ones X uses locally) are a very efficient way to do IPC. Every write() on a domain socket in in practice a memcpy/memmove operation. So the overhead is really really small. And you get network transparancy basically for free. It has _no_ impact whatsoever on what you do locally.

    If you want to point the blame at the "slowness" of X, blame the toolkits. GTK is slow. Motif is slow. Qt is slow. Xlib is VERY fast, but cumbersome to use.

  11. The drivers are excellent. by readpunk · · Score: 2, Interesting

    All I can say in regards to the nvidia drivers is that they are excellent. I followed their directions to the T and in less than thirty minutes had great results. Seeing Quake 3 run on FreeBSD is truly a beautiful thing.

    Note: That is with their very first release of the FreeBSD driver. I am sure it is even better now.

    --

    ./revolution
  12. Re:Why is this happening? by Anonymous Coward · · Score: 1, Insightful

    Even if you hate the idea of network transparency and all that, the rendering code could be reused, especially since the license allows that to happen. Other projects out there don't offer the level of support for the various chipsets that XFree86 does. So it isn't a total waste, is it?

  13. Use builtin AGP support for TNT by smcneil · · Score: 2, Informative

    Just a personal experience. I grabbed this about 2 days ago and my -STABLE system crashed several times when I used the FreeBSD agp kernel module. I've changed over to use the builtin AGP support and everything has been rock-solid.

  14. Re:yea but... by bovinewasteproduct · · Score: 2, Informative

    Except the Linux compatibility layer will be illegal thanks to SCO :(

    Well it would be if there were any real Linux kernel source code in the layer, but there is not. It's mostly a simple translation between Linux system calls and BSD system calls. Thats why the Linux compat module is NOT GPL'ed...

    BWP

  15. nvidia-driver port is already updated! by Anonymous Coward · · Score: 1, Informative
    Thankfully, port is alredy out: http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11/nv idia-driver

    cvsup, portupgrade and it is working like charm.

  16. BSD IS NOT DYING! by Anonymous Coward · · Score: 3, Funny

    How can BSD be dying when it has a mascot [freebsd.org] like this?! Linux needs to get its act together if it's going to compete with the kind of hot chicks and gorgeous babes that BSD has to offer!

    You just can't take Linux seriously when its fronted by losers like these. You Linux groupies need to find some sexy girls like her! I mean just look at this girl ! Doesn't she [madchat.org] make you hard? I know this little hottie floats my boat! This guy looks like he is about to cream his pants standing next to such a fox . As you can see, no man can resist this sexy little cock teaser . Even this old bearded Unix guru is apparently unable to take his eyes off her !

    With sexy chicks [spilth.org] like the lovely Ceren you will have people queuing up to buy open source products. Look! This guy can't get in there fast enough with her [kurtspace.com] in the doorway! Come on, you must admit she [kurtspace.com] is better than an overweight penguin! Don't you wish you could get one of these [drexel.edu]? Join the campaign for more cute [madchat.org] open source babes [madchat.org] today!

    1. Re:BSD IS NOT DYING! by iradik · · Score: 1

      to those in power

      mod this shit up!

    2. Re:BSD IS NOT DYING! by CoolVibe · · Score: 1
      You hit the nail on the head dude.

      Why do us BSD people like BSD so much? Because it gets us laid. Never mind those whiney Linux geekoids. BSD lets you grow a beard and long hair, and you'll still be attractive to the opposite sex.

      One caveat though, you do need to shower or bathe every once in a while. Although girls can't resist the looks of a bearded and long-haired daemon totin' ruffian, if you don't take care of your personal hygiene, the girls will approach, and then flee again.

      So there you have it. Us BSD folk are in it for the chicks. BSD is not dying, it's a geek's ticket to having a shot at procreating himself!

      (for the humor impaired, I'm not being serious. Yes I am a bearded, long haired geek and no, I don't have troubles meeting/talking to the opposite sex, but I doubt that BSD as anything to do with that...)

  17. Hmmm. Had probs with ipfilter by TheLink · · Score: 1

    Funny. The old NVIDIA driver was ok for me- stable with 4.7, MSI GeForce Ti4200 128MB. No probs, no artifacts.

    But with 4.8-RELEASE when I recently tried adding IPFILTER it locks up on the KDM login screen. And also when I do startx. I confirmed that it's with IPFILTER (with the default accept). I doubt it's a firewall rule issue, coz when I flush the IPFW rules (default DENY) in a kernel without IPFILTER, things still work fine.

    Not sure why having ipfilter would do that.

    --
  18. Re:Why is this happening? by shamilton · · Score: 1

    No, the grandparent is right. X sucks. It was useful when computers were expensive. This is no longer the case. Now it is just crippling things.

    I really, really wish graphics code was in the kernel. Sending everything through a pipe is not as efficient as you suggest. The pipe itself may be fast, but everything needs to be encoded and decoded.

    Consider an example like "draw a line."

    Currently, the client must call a function in the X client library, which then encodes this into a message and uses a select loop to write the message to a pipe. This is not one, but many syscalls. The kernel must allocate buffer space to handle this specific pipe. Then, the server receives this command from its select loop, decodes it, and executes it.

    In my model, the client executes a syscall with a pointer to the data. The kernel then executes the draw operation, possibly inside the interrupt handler. This is easily a hundred times faster than the above model, uses less memory, does far less needless work, and is far more simple and elegant, with the only drawback being a lack of network transparency -- which could easily be added with a userland client and server.

    The performance increase is even greater for a command like "draw a bitmap."

    Currently, the bitmap is being fragmented and sent through multiple syscalls which then makes four copies of it: from client into send buffer, from send buffer into receive buffer, from receive buffer into server, and from server into video memory.

    Chances are, the server has an extra buffer because it cannot handle the data until it is complete. So that's another copy.

    With the graphics in the kernel, the bitmap is copied ONCE: from the client directly into video memory, from the single syscall.

    --
    "[A] high IQ is like a Jeep; you will still get stuck, just farther from help!" --Just d' FAQs, c.g.a
  19. Re:Why is this happening? by CoolVibe · · Score: 1
    What the hell do you think what X is?

    X has direct access to the graphics hardware. So blitting a bitmap on to a screen is really no more labour intensive than doing it from the kernel. You want to draw a line? Fine, you do it. You want to blit a bitmap on the screen, sure, you can either do it through DRI, or just through DGA. Either one is fine. Oh, and if you really need to you can use the raw X lib.

    The only point as to were you are right is with ancient framebuffers. Hello, welcome to the 21st century. We have accelerated drivers for X that do basically the same as writing direct to the video memory. Your point is so moot it isn't funny.

    A display server in the kernel has no place in the kernel. Yeah it's IPC, but windows uses IPC to draw windows, OS X uses IPC to draw windows, OS/2 uses IPC to draw windows, and the list goes on and on. Using domain sockets is as efficient as it gets.

    The library calls cause no more overhead as calling into say, libc. And I never said a pipe. I said domain socket. You don't need to marshall your data to send it through. That's nonsense.

    X gives us a nice graphics solution that gives us network transparancy for free, and also with the added benefit that it can all run from userspace.

    X is great. You are full of it.