project-navigation
Personal tools

Author Topic: 2.2 bug report (and workarounds) on Intel graphics card  (Read 4077 times)

tiamatloc

  • Guest
2.2 bug report (and workarounds) on Intel graphics card
« on: December 14, 2007, 01:21:27 pm »
Hi folks,

I have been having some weird problems with my compiled versions and so i have just installed a clean 2.2 branch - rev 13498 - 2007-12-12 from mattn.ninex.info and had the same issues:

I saw the same extreme slowdown as the one reported below (enabling texture compression fixed it). This didn't happen in 2.1.1 but looking through the topic none of the files for the patch exist in the latest sources in the SVN for 2.2 trunk so i don't know if a fix has been put into 2.2.
http://ufoai.ninex.info/forum/index.php?topic=1836.0

This is the other one:




This seems to be down to texture memory. In 2.1.1 i could set the texture resolution cap to Excellent without problems, but with the latest dev build i can't go above Normal or the geoscope texture breaks (even with texture compression on).

This machine has an Intel 82865G graphics card with the latest driver available (6.14.10.4396) so it may be worth knowing if others report similar problems as we all know these Intel things suck :)

Congrats on making such a superb game!

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 2.2 bug report (and workarounds) on Intel graphics card
« Reply #1 on: December 14, 2007, 02:09:44 pm »
i will add a check for intel cards and activate the texture compression per default

which os are you on? windows or linux?

does this happen for windows and for linux systems? or only linux systems?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: 2.2 bug report (and workarounds) on Intel graphics card
« Reply #2 on: December 14, 2007, 02:14:46 pm »
Code: [Select]
Index: src/renderer/r_main.c
===================================================================
--- src/renderer/r_main.c       (Revision 13537)
+++ src/renderer/r_main.c       (Arbeitskopie)
@@ -1019,6 +1019,13 @@
        if (!Q_stricmp((const char*)qglGetString(GL_RENDERER), "gdi generic"))
                Com_Error(ERR_FATAL, "No hardware acceleration detected");
 #endif
+#ifdef __linux__
+       if (strstr(r_config.vendor_string, "Intel")) {
+               /* HACK: */
+               Com_Printf("Activate texture compression for Intel chips\n");
+               Cvar_Set("r_ext_texture_compression", "1");
+       }
+#endif
 }
 
 qboolean R_Init (void)

tiamatloc

  • Guest
Re: 2.2 bug report (and workarounds) on Intel graphics card
« Reply #3 on: December 14, 2007, 07:12:32 pm »
Arg. I forgot to list that sorry, it's Win2K SP4. Silly thing to leave out really.

Thanks for the fast answer Mattn!

Silvano

  • Guest
Re: 2.2 bug report (and workarounds) on Intel graphics card
« Reply #4 on: January 25, 2008, 06:14:03 pm »
I use kubuntu 7.10 and I have the same problem with my intel 900 graphics

tiamatloc

  • Guest
Re: 2.2 bug report (and workarounds) on Intel graphics card
« Reply #5 on: January 25, 2008, 07:44:32 pm »
Try the suggestions inmy first post Silvano. 2.2-dev should now activate texture compression for all operating systems which should cure the low framerate and lowering the texture cap under the graphics options should cure the broken textures.