Author Topic: Sluggish 2D rendering in 3.6.10  (Read 1890 times)

0 Members and 1 Guest are viewing this topic.

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Sluggish 2D rendering in 3.6.10
I'm getting an odd bug with 2D graphics rendering in the 3.6.10 builds, where many parts of the interface are quite sluggish. In particular, the host's mission selection screen in multiplayer is very slow for me, running at about 7fps, which makes mouse movements hard to control and causes keystrokes to be delayed. The medals screen is also slow, although not to the same degree. I've noticed that the framerate also tanks when a 2D sprite takes up a large part of the screen, like when an explosion occurs right in front of you. This happens in at least the 10/28 and 2/22 XT builds for me.

I was going to post about this a few days ago but wanted to make sure I hadn't misconfigured something and didn't have time to mess around with it until this morning. I have an X1900XTX with the 7.11 drivers, and wasn't using any media VPs. Is this a known problem? I have not been keeping track of the builds coming out lately and may have missed something.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: Sluggish 2D rendering in 3.6.10
Any word on this?

It seems to be an issue on my end, but I can't imagine what it could be. I tried it on my brother's system (with an 8800GT) today and there are no problems here. The only difference is that the resolution here is much lower than what I use. I could try the newer AMD 8.x drivers, but last I heard those had broken things with some other games.

I noticed that the description for the 10/28 build refers to changes to the "basic drawing function" that should improve performance. Perhaps that is somehow causing trouble? I'll try a slightly older build than this when I get back home on Thursday and see if it still happens.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Sluggish 2D rendering in 3.6.10
I noticed that the description for the 10/28 build refers to changes to the "basic drawing function" that should improve performance. Perhaps that is somehow causing trouble? I'll try a slightly older build than this when I get back home on Thursday and see if it still happens.
Just give one of the newer stable builds a try first.  I haven't committed the updated OpenGL code to SVN yet so builds from the other devs wouldn't have that same code.  If the slowdown disappears then we'll have the answer (or be closer to it anyway).

If that is the slowdown then it is almost certainly a driver bug.  The changes to drawing are basically to use GL_QUADS or GL_QUAD_STRIP.  Most drivers/hardware accelerate quads, and if they can't then they are supposed to automatically convert it to an accelerated trilist instead.  So if it's slow on you then you might be hitting a software path, or the drivers are just plan messed up (well, the drivers would be messed up in both cases actually).

  

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: Sluggish 2D rendering in 3.6.10
I got home yesterday and tried the 3/21 "trunk" build, which works fine. The problem only occurs in the XT builds. However, the cause doesn't seem to be that basic drawing function change, since I'm getting it in earlier builds as well (10/7 and 10/22).