me too
me too
This is not an intentional bump of this thread. My frame rates start at 30FPS with Debug off and normally after 10-15 minutes drop to 9-10 and stick there. I'll read into some other threads later for any possible solutions. Note: this is only with the use of ClarityBurial.
I'll try clearing Cache when I am home. For anyone wondering how to do this head to http://services.runescape.com/m=rswi...crashes/closes
Common problem, has been posted several times. It shouldn't be due to some script, rather the opengl plugin that smart uses. It used to do this to me even when not using any library or anything that utilizes opengl calls (e.g. oglib).
Feel free to ask me any questions, I will do my best to answer them!
Previously known as YouPee.
I'm currently curious about whether a past change to the include actually affected anything. I would appreciate if people could tell me if the following noticeably drops their FPS:
1. Go to glFonts.simba
2. Comment out Line 7 and Line 14, so your entire glFonts.simba file looks like this:
Simba Code:function glFonts(var funcPointerSize:uInt32;funcIgnoreCache:boolean=false):pointer;
var
funcSystemTime:uInt32;
begin
if funcIgnoreCache or ((funcSystemTime:=getSystemTime())-oglFontTimeLast>oglCacheTime) then
begin
//ogl.setFontCapture(true);
if (result:=glxFonts(funcPointerSize))<>nil then
begin
oglFontPointer:=result;
oglFontPointerSize:=funcPointerSize;
oglFontTimeLast:=funcSystemTime;
end;
//ogl.setFontCapture(false);
end
else
begin
result:=oglFontPointer;
funcPointerSize:=oglFontPointerSize;
end;
exit(result);
end;
3. Put ogl.setFontCapture(true); anywhere after ogl.setup();
4. See if anything changes in your FPS.
We originally added those two lines with the intent of improving FPS issues. However this came with a drawback of increasing the time of glFonts calls by 200-300ms, which, depending on the script, can drastically affect performance.
Last edited by Clarity; 06-06-2016 at 01:18 PM.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
It doesn't appear to affect my FPS. Maybe a 1-5 FPS difference, but nothing blatant.
EDIT: I'd assume you wanted us to do a loop of a method like ogl.getChars
With the lines un-commented I drop down to 45-ish FPS from a stable 50.
With the lines commented, maybe a 1-2 FPS drop. Of course, ogl.getChars returns nothing with the lines commented out.
Scripts: ClarityNex | ClaritySlayer | ClarityElfThief | ClarityBurialArmour | ClarityMudRunes | ClarityWells | ClarityProTables | ClarityArmadyl | ClarityHarps
ClarityDominonTower | ClarityAltar | ClarityCitadel | ClarityBarrows | ClarityEsswraith | ChampionScrollCamperTools & Extensions: OpenGL ID Highlight Tool | SRL-6 Messaging System | SRL Companion | Item DTM Generator | BBCode Converter
Didn't experience any FPS drop
hey clarity i have a problem , my script says compiled succesfully but my player manager wont load or i cant even update my plugins,srl,sps
Only just saw this. I run OG @ 50fps steady apart from 1 time which has never reoccurred.
Scripting with ogLib
FPS on SMART in OpenGL used to drop to like 5-10 after some minutes to me, but now, for whatever reason, it stays at a stable nice FPS. Probably due to some work on the plugin or something I'd assume.
Feel free to ask me any questions, I will do my best to answer them!
Previously known as YouPee.
I didn't see much benefit after making the above changes. I continue to see the steep degradation of fps 4-5 minutes (not loading new zones or chunks even). Went from a stable 50 fps to ~23 within 5 minutes which was about on par with running OGlib scripts prior to the glfont changes.
EDIT: I am running on a AMD Radeon HD 7950 which probably isn't (nor ever was) a stellar gfx card, which may be part of the problem.
thank you so much for sharing this
There are currently 2 users browsing this thread. (0 members and 2 guests)