Jump to content

Unusual lag after updating


Link

Recommended Posts

Posted
Operating System:

Win 10 x64

 

SP/MP:

MP

 

What the problem is:

Last night I decided to update OpenJK on my as I haven't played in 6-7 months, and besides my client was out of date anyway. So, I followed the instructions and when I opened up OpenJK, the entire game (Even in the menus) is 1 frame per second... Getting on to an MP server with a .bat file takes around 3 minutes compared to 10 seconds prior to updating. Has any one come across this before? I had to go back to the previous version which fixed the issue.

 

What I expected to happen:

Well, all I did was replace the files so I expected things to work the same.

Posted

Yup, up to date drivers. 

 

8gb RAM, NVIDIA GeForce GT 640M, Core i7 2.4Ghz.

 

The game runs at a constant capped 111 fps prior to the update attempt and after reverting back. It just doesn't like a newer version of OpenJK.

Posted

How many version bumps in between though? :P

 

Can you get a console log?  Start it with +set logfile 2 and look for qconsole.log in your user directory where it saves screenshots and stuff.

Posted

Here you go. I had to force quit because it was taking so long to get into a server. Should give you everything you need though.

 

 

  Reveal hidden contents

 

Posted

Its only detecting the Microsoft Driver within SDL OpenGL so that's why.  If your last build was pre-SDL then I'm not sure how it would be fixable.

Posted
  On 8/23/2016 at 8:09 PM, ensiform said:

Its only detecting the Microsoft Driver within SDL so that's why.

 

Sorry I don't follow, why isn't it getting the correct driver? =0

Posted

Don't know.  Faulty drivers for mobile or something else.  Note I updated the post to say OpenGL detects it as such.  Since GL_RENDERER says GDI Generic and the vendor as being Microsoft version 1.1

Posted
  On 8/23/2016 at 8:13 PM, ensiform said:

Don't know.  Faulty drivers for mobile or something else.  Note I updated the post to say OpenGL detects it as such.  Since GL_RENDERER says GDI Generic and the vendor as being Microsoft version 1.1

 

Strange, why wouldn't it be affecting my older OpenJK? I'm very good with my drivers usually so I've always got them up to date.

Posted

3rd October 2015 is what I have here. I did try updating about 8 months ago and got the same sort of results, if it helps.

Posted

@@SiLink Can you dump the console text from the working version of OpenJK? i.e. the version that isn't slow.

 

EDIT: ALSO, what is r_allowSoftwareGL set to?

Posted

Here you go :)

 

 

  Reveal hidden contents

 

Posted

Can you try the new OpenJK with r_allowSoftwareGL 0? It looks like the version of OpenJK you had was much older than October 2015 - there were some major changes around March 2015 which your logs show you don't have :)

Posted
  On 8/23/2016 at 8:20 PM, Xycaleth said:

Can you try the new OpenJK with r_allowSoftwareGL 0? It looks like the version of OpenJK you had was much older than October 2015 - there were some major changes around March 2015 which your logs show you don't have :)

 

Tried this, but it didn't work :( 

Posted
  On 8/23/2016 at 8:27 PM, ensiform said:

Presumably it was already 0, then.

 

If that's the default, then yes, it would have been as I haven't come across that cvar.

Posted
  On 8/23/2016 at 8:26 PM, SiLink said:

Tried this, but it didn't work :(

Can you post the console log again with that cvar set?

 

Also, do you have one of those laptop GPU chips which automatically runs for games, but doesn't get used normally? I think it's called Nvidia Optimus for Nvidia chips.

Posted
  On 8/23/2016 at 8:29 PM, Xycaleth said:

Can you post the console log again with that cvar set?

 

Also, do you have one of those laptop GPU chips which automatically runs for games, but doesn't get used normally? I think it's called Nvidia Optimus for Nvidia chips.

 

Sure, here you go. Also, I have an All in One Sony Vaio. Pretty sure it's used when I'm in other high usage apps like Photoshop/Illustrator.

 

 

  Reveal hidden contents

 

Posted
  On 8/23/2016 at 8:33 PM, SiLink said:

Sure, here you go. Also, I have an All in One Sony Vaio. Pretty sure it's used when I'm in other high usage apps like Photoshop/Illustrator.

Yeah, it should get used in most cases.

 

Can you try something in the Nvidia control panel? Go to Manage 3D Settings -> Program Settings, and then click Add to add OpenJK as a new program to customize. In the list of settings, look for "Preferred graphics processor" and set it to "High Performance". Try running OpenJK after that. It's not a permanent solution, but it'll help me confirm whether it's the GPU switching that's causing the problem. I can add a fix in the code if the setting does fix it.

Posted

Very weird solution, but it works!

 

For any one else with the same issue in the future, set these cvars:

 

r_stencilbits 8

r_depthbits 0

r_colorbits 0

 

Somewhere along the line, these values got set to 32 32 32 which doesn't work too well with JKA.

 

Many thanks to Xycaleth and Ensiform for providing this fix :) 

Ruxith, Circa and Smoo like this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...