Linux GPU Performance
CrzyP writes "AnandTech.com has benchmarked the most popular graphics cards from ATI and NVidia on the Linux OS (SuSE 9.1). It is interesting to see that they have also written a custom benchmarking tool which can also be downloaded from the article. Take a look at Kristopher Kubicki's "Linux 3D AGP GPU Roundup" to see how each of the mid to high end cards performed on the Penguin flavored system."
Not really, it is common knowledge that Nvidia's linux binary drivers are much better than Ati's. Not only the performance is better in Nvidia's drivers but they are also more compatible. People often had problems getting ATI's binary drivers working, while Nvidia's drivers are working without problem in most configurations and even problems like 4k stacks were fixed withhin a reasonable time.
Jan
For Windows users not familiar with the process, the kernel must be completely recompiled for ATI or NVIDIA drivers to work.
I don't know about the ATI drivers, but this isn't true for the NVIDIA drivers. You can download an installer from NVIDIA that will create a kernel module for you and places it with the other modules. No need to recompile the kernel at all. Just load the module (if the installer doesn't do this for you) and restart your X server.
On an nVidia MX 400 card, AA is playable and actually pretty fun online, but shadows are mostly chunks of squares on the ground. Otherwise, rpg's and smoke grenades look fantastic. I wonder why they didn't do comparisons of at least AA? I would think that's one of the first games people download for Linux especially because it's free.
Oh yeah, I had some original difficulty installing the nvidia drivers on a knoppix hd install with the 2.6 kernel, but I finally got it running well and documented the installation here: http://www.knoppix.net/forum/viewtopic.php?t=10314 &highlight=
Namaste
You can find my benchmarks of DRI compatible cards here. They're a first attempt at benchmarking DRI and still need some tweaking.
Eric Anholt's benchmarks of DRI on FreeBSD are here.
Roland Scheidegger's comparison of the three drivers available for the Radeon 9000 (DRI, FGLRX, XIG) is here.
It's a bit surprising that the Radeon 8500 series is completly absent from this comparison. The 8500 and FireGL 8800 are still remarkable video cards.
No need to recompile the kernel, true - but you'll have to have your kernel's source installed in order for NVIDIA's installer to compile a custom module on the spot.
All in all, it does work really well...until you upgrade or replace your kernel, and then X of course won't work. Many times you can run the installer again, though. Simple enough!
Well the NVIDIA driver installer does build a module that matches your kernel. I run Debian, and i had to apt-get the kernel source and headers, not a terrible task to do, but should not be necessary to do, just to get the newest driver. I dident say the kernel need recompilation. And you need to modify the XF86Config-4 file from "nv" to "nvidia" in the driver section and thats about it. 30 seconds is about the time yes, but only after i got the kernel headers and source, some 30-40 mbs of source, not that it matters on 10mbit, but for dialups, that would kinda suck i guess :).
It took nVidia a while to get around to releasing a driver that could deal with 4K stacks, which more recent kernels have switched to from 8K. It was a pain in the posterior for Fedora Core 2 for a while, but no longer. Maybe that's what you're referring to?
There are OpenSource drivers for Nvidia video cards, however they are no where near as fast as the official binaries and can't preform 3d worth a damn.
You have to realise what you are asking here. The binary drivers that you are mentioning (which, by the way, never lock you to a certain kernel) are using the code made by ATI/NVIDIA to take advantage of their hardware's features. PixelShading, 3d processing. Each have their own way for their hardware to preform 3d functioning. This is not something they are going to disclose (they are a buisness too, remember?) and thus the open source drivers for video cards are always going to be horrid compared to the avalaible binaries.
Seriously though. Get a card that works great on linux despite the binary packaging. And I still don't see how it locks you into one kernel? Could you explain further in depth what you mean for me? Because upgrading nvidia (which must be done each time you update/replace your kernel) is as simple as shutting down the X server, rerunning the nvidia binary, and then rebooting the X server.
"We're breaking out the ramen noodles. . . "
"Really? Is it someone's birthday?"
DRI lets X communicate with the hardware faster. X acceleration works without it, but not as well.
from Gentoo Hardware 3D Acceleration Guide.
OEM Radeon 8500 based cards are cheap and are among the fastest cards with open source 3D drivers.
That's the difference between a vendors that supports you and one that doesn't.
NVidia isn't a problem under Linux because they actually put out decent drivers for it. But ATI support is horrid, because the company barely puts any effort into Linux drivers.
I played around with the xfree86.conf (I think that's the name) file, switching "nv" with "nvidia" and back again.
The binary driver is called nvidia. So switch it to that, and leave it.
Read the log file (/var/log/XFree86.0.log), look for lines with (WW) and (EE). This will go a long way to track down your problems.
the DVI output on my card wouldn't work.
Do you mean a second video port? Under Linux the second port (video output) is independent of the first in the XFree86 configuration, so you have to configure it to use it explicitly. Something like 'Screen 1' or 'Option "ConnectedMonitor" "DFP" ' in the Section 'Device' should do it.
I gathered some experience with the ATI drivers on Suse 9.1 recently and i too think that they're bad, but it got a little better lately.
/usr/src/linux/.config.
/sbin/modprobe --ignore-install fglrx && { /sbin /modprobe nvidia_agp; /bin/true; } alias char-major-226-0 fglrx
While there *is* an "auto-installing" driver-package from ATI you'd better avoid that (unless they fixed a good number of bugs). Just running the package resulted in an error for me, googling around i found some hints and managed to install them: run the package in extract-mode, make manually, ignore error, make install accompanied by some messing with
there is also (for Suse 9.1) an rpm-package. Following the README in that path closely will get the video driver installed. Like nvidia ATIs driver combo too consists of a kernel driver and a n X-driver, and as usual the kernel-driver is a little fiddly to install. There is *no* (longer?) need to compile a custom kernel, you need to install the kernel source though (and really, read the README!).
Be careful though when configuring the XF86config. fglrxconfig is *not* a good idea since it asks you about mouse settings, monitor modes and whatnot, things that are running perfectly well and shouldn't be touched anyway. NVIDIA does a much better job just telling you the few lines you have to change in the config, fglrxconfig produces an XF86config-4 that is mostly useless and contains heaps of garbage.
To make the kernelmodule load automatically add two lines to the "modprobe.conf.local" (i think the first is unnecessary):
install fglrx
In XF86config load "glx" and "dri" in the Modules sections and put
Driver "fglrx"
Option "UseInternalAGPGART" "no"
in the device section. If you've got access problems put:
Section "DRI"
Group "video"
Mode 0666
EndSection
After restarting the X-server (twice to be sure, and check if the kernel module loaded) "fglrxinfo" should tell you something about ATI (and not Mesa), if that works do a "sync" for good measure and try tuxracer.
In my experience the nvidia-drivers are definitely easier to install, but it's really not impossible to get the ATI-stuff running.
"By the way if anyone here is in advertising or marketing... kill yourself." -- Bill Hicks
I believe that's what the Linux Standards Base people are trying to fix. I've spoken to them at Linux world. Their goal is to eventually be able to have developers say "This program can run on any distro LSB1.0 compliant."
"Ignorance more frequently begets confidence than does knowledge"
- Charles Darwin