+1 - Patrick said this better than I could’ve w/o resorting to “you don’t
know what the hell you’re talking about, do you?”
-VijayFrom: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Patrick Baggett
Sent: Saturday, December 17, 2011 8:12 AM
To: SDL Development List
Subject: Re: [SDL] SDL-1.2 x SDL-1.3 advice
On Sat, Dec 17, 2011 at 8:59 AM, Rainer Deyke wrote:
On 2011-12-17 14:07, Vittorio Giovara wrote:
This is wrong on so many levels…
On Fri, Dec 16, 2011 at 11:40 AM, Rainer Deyke wrote:
If you want to support the widest audience, don’t use OpenGL. On both
Windows and Linux, getting hardware-accelerated OpenGL may require
installing third-party drivers, which most people are not willing to do.
Over the summer, I used a borrowed Linux laptop. No OpenGL development
libraries. I suppose the computer could have had hardware accelerated
OpenGL drivers, although I seriously doubt it. I guess I’ll never know,
because I wasn’t able to compile and run any OpenGL programs.
In the autumn, I installed Linux on my main computer. The latest stable
Debian. I managed to install the OpenGL development libraries, so I can
confirm that my computer now has software-emulated OpenGL, but no hardware
acceleration.
I also installed Windows XP, service pack 3, on another hard drive on my
main computer. Windows did not recognize my graphics card. I installed the
third party drivers, and now I have hardware accelerated OpenGL under
Windows.
So that’s zero out of three computer/OS combinations with working
hardware-accelerated OpenGL out of the box.
That’s the thing, if you’re smart enough to go a hardware store and buy a
graphics card, install it yourself, then you probably know “drivers” are and
that you need to install them manually. On Linux, there is this certain
expectation that the moment you boot it, all drivers should be present,
where on Windows, the expectation is opposite: you are expected to go out
and dig up all of your driver CDs (anyone remember reinstalling Win98?).
Either way, even the less “Linux-aware” didn’t install a graphics card and
think Linux would immediately have drivers for it – they searched online
and what do you know – Linux drivers for their AMD/NVidia card.
At this point, Linux on x86 hardware has OK support for OpenGL out of the
box. If you use even a reasonably old laptop/desktop, you probably will get
nouveau, radeon, or intel drivers for NVidia, ATI/AMD, and Intel graphics
respectively. These are all open source, all supported by DRI, and all have
various degrees of OpenGL support. They also cover 90%+ of the GPU. If you
install Windows 7, odds are it has a old driver for them, and if it does, by
the time you run Windows Update you will (e.g. I got a driver for GeForce
240 via Windows Update).
Telling people to use software rendering in 2012 means one of two things:
- Your platform isn’t likely to have a graphics accelerator
- You enjoy academic exercises
Software rendering can do a lot of cool things and the total lack of
dependence on GPU hardware is admirable, but I think at this point in
technology, it is misplaced. Your experiences don’t actually map to the
reality of the situation:
a) There are TONS of supported graphics cards on Windows
b) People don’t expect to use Windows immediately after it loads, they
install drivers
c) Linux has decent OGL driver support for the big 3: intel, amd, nvidia
d) Most major distributions ship with these drivers by default
e) Most major distributions provide free updates for these drivers
As it so happens, I installed Linux on 4 computers recently and 4/4 had
OpenGL out of the box. 4/4 also had intel/amd/nvidia graphics chips. I don’t
know what kind of crappy laptop you must have been using to not get OpenGL
support, or maybe you picked a distribution that doesn’t believe in recent
drivers (cough: Debian-stable), but people are shipping Linux with desktops
running with compositors by default now, meaning they use the 3D parts of
the chip to do cool desktop effects. I think that speaks volumes to the
less-than-experimental nature of OpenGL on Linux.
–
Rainer Deyke
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org