http://bugs.winehq.org/show_bug.cgi?id=13919
Summary: directx.c NVIDIA GPUs memory detection can be vastly improved Product: Wine Version: CVS/GIT Platform: All OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: t.artem@mailcity.com
There is a nice utility named nvclock, which allows overclocking of NVIDIA GPUs. This utility also shows very detailed information about the installed NVIDIA GPUs.
I suppose Wine could
1) use nvclock utility directly by running `nvclock -i | awk '/Amount/{print $2}'` which directly yields the required number:
256
2) use nvclock as a shared static library (nvclock/src/backend/* -> nvclock.a)
3) incorporate a piece of nvclock code which detects the amount of GPU memory (nvclock/src/backend/info.c)
cvs -z3 -d:pserver:anonymous@nvclock.cvs.sourceforge.net:/cvsroot/nvclock co -P nvclock