With the
help of a CS developer I've been able to track down the problem. The Cg shaders aren't the issue at all;
CS will fall back to other shaders if Cg isn't available.
Instead, my problem is/was with RAM usage. FreeBSD imposes, per default, a per process data size limit of 512M.
With this in place, psclient crashes upon loading world with a GCC exception (bad_alloc), which is thrown if new()
fails to allocate memory for some reason.
If I raise the data size limit to 768M (I have "only" 1G RAM), I can login fine, but only on the "old" maps that are
not lighter2-lit. Even on the old plaza map (from .019) psclient consumes 576M, and if I try logging in on the new
lighter2 map, memory usage grows to over 770M until it eventually crashes again.
Is there something fishy going on with my CS/Planeshift build that makes it consume that much memory or does
Planeshift really need that much memory with the CS 1.2 engine now in place?
BTW, the Linux client uses 660M on the plaza map, with the old plaza map from .019 it's only 448M, which would
be a possible explanation for my instability problems with .020 (see first post).