r/linux • • Mar 01 '12

I believe that for Linux to really conquer private desktops, pretty much all that is left to do is to accomodate game developers.

Recently there was a thread about DirectX vs. OpenGL and if I remember correctly...Open GLs biggest flaw is its documentation whereas DirectX makes it very easy for developers.

I cannot see any other serious disadvantage of Linux which would keep people using windows (even though win7 is actually a decent OS)

Would you agree that a good Open GL documentation could make the great shift happen?

470 Upvotes

438 comments sorted by

View all comments

Show parent comment

16

u/[deleted] Mar 02 '12

Not really, Intel and AMD/Ati have open specifications and fair open source drivers. Nvidea has very good proprietary drivers. I think that covers just about 95%.

The only heavy reverse engineering going on, is for the Nvidia open source driver, that has excellent proprietary driver, so you are not dependant on reverse engineering, you can either just choose an Intel or AMD graphics card for open source drivers, or use the proprietary driver for Nvidia.

23

u/wadcann Mar 02 '12 edited Mar 02 '12

Intel (unfortunately) only makes integrated video chipsets without dedicated video memory and with significantly lower performance than AMD/ATI and Nvidia. Their last attempt at the discrete graphics card market, Larrabee, failed and they've stated that they have no immediate plans to try again at entering this market. My experience is that Intel has typically provided decent open-source drivers for their products for Linux, but their integrated hardware is simply not remotely comparable to Nvidia/ATI's discrete stuff here.

The open-source Radeon drivers have historically lacked some important features. The libtxc_dxtn.so S3TC support is listed as complete, but can't be legally-distributed in the US due to US Patent 5,956,431. Their 3d performance is also not on par with the Windows drivers. ATI has provided some docs to the open-source folks off-and-on over the years to help with this; recently, I believe that they've been increasingly helpful. AFAIK, ATI does not actively directly develop the open-source driver. I currently use this driver with a Radeon HD 4670; that is my preferred combination of fanless, open-source, and being able to run games with a reasonable degree of compatibility.

The closed-source Radeon drivers ("Catalyst" aka "fglrx") support a few more features and provide better 3d performance, but IME have tended to be unstable, and aren't provided by most distros for out-of-the-box working functionality. This is what ATI develops.

Nvidia cards have a (last time I looked, very limited-in-functionality) reverse-engineered open-source driver by the name of "Noveau". They apparently have gotten to the point where they have some limited 3d acceleration support. This driver is not supported or developed by Nvidia, and I do not believe that Nvidia helps with documentation.

Nvidia has a closed-source driver that is comparable in performance (and AFAIK functionality) to their Windows driver. This driver is developed by Nvidia.

6

u/[deleted] Mar 02 '12

AMD DOES actively work on the open source drivers. last year they hired new people to specifically work on the open source drivers. (see phoronix.com where there are MANY related articles to get up to date)

5

u/wadcann Mar 02 '12

Apologies, then; I could easily be out of date. This may also have been a change since the acquisition of ATI...I understand that a lot of ATI policies changed around that time to be generally more-Linux-friendly (or maybe they just got enough funding to do more Linux support...).

1

u/[deleted] Mar 02 '12

Last time I used the closed-source ATI drivers, I ran into a bit of bugginess with their graphical interface and with multi-monitor support, but other than that, their 3D was very good, ran World of Warcraft without any problem.

8

u/ethraax Mar 02 '12

The AMD/ATI open drivers are okay, but they're honestly nowhere near the performance or features of, say, the latest Windows AMD Catalyst driver.

5

u/ZiggyTheHamster Mar 02 '12

The ATI drivers (open or closed), prior to AMD purchasing ATI, were festering piles of shit. Since AMD is involved, they've gotten several orders of magnitude better. They're now just okay.

My last ATI card (using fglrx because the open source driver could only do partially accelerated 2D on the Radeon 9000 Pro) would crash X whenever you requested 32 bit color (worked fine in 24 bit color). So you think you'll just stop advertising the 32 bit color option by using a custom device section that omits the 32 bit color option. Ha! They make the driver ignore any custom modes defined in xorg.conf, so this won't work.

So any app that asks for the best color depth available will crash X. At the time, this included Wine/WineX/Cedega, so most games crashed X (newer Wine has the ability to lie about the bit depth available in the winex11.drv video driver IIRC). Some games supported options like -depth 24, but sometimes the cinemas ignored that option (BF1942). If my mind serves me properly, I had to launch BF1942 with -depth 24 +restart 1 to both skip the cinemas and to initialize in 24 bit color. Changing mods in-game was not a possibility since -depth 24 doesn't get passed when it restarts itself, so I had to have BF1942.exe -depth 24 +restart 1 +game dc_final to play DC Final.

0

u/[deleted] Mar 02 '12

afaik xorg.conf isn't ignored. just not required. if you do have an xorg.conf the driver follows it.

edit: oh wait, you were talking about the proprietary driver. nvm.

1

u/ZiggyTheHamster Mar 02 '12

This is a recent development. In 2006-ish, xorg.conf was required (no autoconfiguration - xorgconfig or equivalent had to be run), including mode lines... but the fglrx drivers ignored the shit out of some modelines.

2

u/[deleted] Mar 02 '12

For 2D applications the open drivers outperform catalyst on linux and are less buggy.

For 3d they suck balls.

1

u/ethraax Mar 02 '12

Which is still a bad comparison if you want to pull people from Windows. Compared to the Windows Catalyst drivers, the open Linux ones probably do not perform better and are certainly not less buggy.

1

u/ZiggyTheHamster Mar 02 '12

Especially considering Joe Sixpack considers "can't play 3D games" a bug. (Or, "3D accelerated desktop is dog shit slow", however you look at it.)

1

u/ethraax Mar 02 '12

I'm definite not a Joe Sixpack, and I consider the lack of good 3D acceleration a bug. To me, it means that when I run Linux, I might as well have stayed with integrated graphics, making my $200+ graphics card useless.

The poor state of open-source Linux graphics, combined with the feeling that X was only good 10-15 years ago, keep me on Windows for my main desktop, although I use Linux on my server (and really love it as a server OS). I also like it as a development OS - I used to program in Linux and switch over to Windows for gaming. But I got tired of switching, and Windows is "good enough" for programming (plus, I can always compile code on my server if I want).

1

u/[deleted] Mar 03 '12

To be honest though, there isn't much software that uses 3d acceleration on linux. The only thing which requires 3d in my case are games, which are not written for linux anyway and thus I am forced to dual boot either way.