Issues.00063 - lordmundi/wikidoctest GitHub Wiki

00063: gde.csh reports incorrect video memory size

« 00062 | Issues | 00064 »

Summary: gde.csh reports incorrect video memory size

Created: 2007–09–21 17:11

Status: Released

Category: Bug

From: frankie

Version: 1.1

Released_In: 2.0

Description:
gde.csh does not currently return an accurate number for video memory available.

keep in mind gde.csh is in the alpha stage right now. —FG


Comments

frankie October 31, 2007, at 12:43 PM: I think I've figured out how to get this using the nvidia-settings utility but it is tied to the display and not the local machine.

set nvidia_settings_found=`perl -e 'system("which nvidia-settings > /dev/null 2>&1"); print $?/256'`
if ( $nvidia_settings_found == 0 ) then
    set video_mem_available=`nvidia-settings -q VideoRam | head -n 2 | tail -n 1 | tail --bytes=8 | cut -d "." -f 1`
    @ video_mem_avail_MB = $video_mem_available / 1024
    echo "Video memory available: $video_mem_avail_MB MB"
else
    echo "Video memory available: unknown"
endif

« 00062 | Issues | 00064 »

Associated Commits

| commit | ab713982312d932562115e0986863d5b0bb4676a link5 | || | Author: | Frank Graffagnino | | Date: | Wed Oct 31 12:35:51 2007 -0500 | | Message: | [@Issue 00062 and 00063: Update to support newer driver versions and detect correct memory size @] |

Affected Files:

gde.csh | 36 +++++++++++++++++++++++±-----------
 1 file changed, 24 insertions(+), 12 deletions(-)