[sldev] slviewer on PLAYSTATION3
Mike Monkowski
monkowsk at watson.ibm.com
Fri Feb 6 13:02:38 PST 2009
The problem appears to be that it expects to find a space before the
"kB" and there is none. In indra/llwindow/llwindowsdl.cpp
In the line
289 const char part2_template[] = " kB";
try removing the space there and see if that works.
const char part2_template[] = "kB";
You can also uncomment
282 //lldebugs << "XLOG: " << line_buf << llendl;
or change it to
llinfos << "XLOG: " << line_buf << llendl;
to make sure it's actually getting to that part of the code.
Mike
Takeshich Nakamura wrote:
> Mike Monkowski <monkowsk at watson.ibm.com>さん:
>
>>>(II) FBDEV(0): hardware: ps3fb (video memory: 18240kB)
>>
>>In indra/llwindow/llwindowsdl.cpp you will find:
>>
>>362 if (0 == rtn)
>>363 {
>>364 fp = fopen(fname.c_str(), "r");
>>365 if (fp)
>>366 {
>>367 rtn = x11_detect_VRAM_kb_fp(fp, ":
>>Memory: ");
>>368 fclose(fp);
>>369 }
>>370 }
>>
>>Copy this code in the source and paste another copy right after it,
>>changing the line inside the if statement to
>>rtn = x11_detect_VRAM_kb_fp(fp, "video memory: ");
>>This will allow it to get the correct setting for video memory.
>
>
> I tried to change source and compiled.
> but, not able to get the correct setting for video memory.
More information about the SLDev
mailing list