Author Topic: Choppy performance - Indirect rendering?  (Read 836 times)

Dologan

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Choppy performance - Indirect rendering?
« on: April 14, 2005, 04:12:14 pm »
Hi,
I am running the 3.009 linux client on my 64-bit Gentoo distro with a Radeon 9600 and the 64-bit ATI 8.10 drivers...
I suppose the lagginess is probably related to a warning message I get when I run the game: \"Indirect rendering may indicate a flawed OpenGL setup if you run on a local X server.\" However, according to glxinfo I do have direct rendering working. (It also works alright with a few molecular modelling programs).
I will try reinstalling/updating the drivers, since there is a new version out, but I just wanted to post this given that I don\'t see the reason why it\'s not working...
I\'ll keep you posted, but is there anything else that could be wrong and that I could check?
« Last Edit: April 14, 2005, 04:15:49 pm by Dologan »

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #1 on: April 14, 2005, 04:50:16 pm »
Did you compile from cvs? Or download a binary?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #2 on: April 14, 2005, 04:54:07 pm »
Have you tried to run the client with -verbose yet to see if it shows more details on this? I\'m not sure what\'s wrong, but you could check if the correct opengl libs are used. You can do this with running ldd on gl3d.so for example. Post every bit of information that could be useful ;)


Back to Planeshift again \\o/

Dologan

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
(No subject)
« Reply #3 on: April 14, 2005, 11:03:02 pm »
I updated the ATI drivers to ver. 8.12 (apparently) succesfully, but still suffer the same problem.
I installed Planeshift from the binaries on the homepage.

This is the relevant (to my mind) part of the output psclient -verbose produces:

VFS_NOTIFY: loaded configuration file: /home/dologan/Planeshift/./vfs.cfg
VFS_NOTIFY: merged configuration file: ./vfs.cfg
NOTIFY: Could not get model converter
NOTIFY: Could not get model crossbuilder
crystalspace.graphics3d.opengl:
  Texture LOD bias -0.3

crystalspace.canvas.glx2d:
  Opening GLX2D
  Creating Context
  Video driver GL/X version (indirect renderer)
  Indirect rendering may indicate a flawed OpenGL setup if you run on a local
  X server.
  Visual ID: 27, 24bit TrueColor
  R8:G8:B8:A8,
  level 0, double buffered

crystalspace.canvas.openglcommon:
  OpenGL renderer: Mesa GLX Indirect (vendor: Mesa project: http://www.mesa3d.org)
  version 1.2 (1.5 Mesa 6.1)
  Using windowed mode at resolution 1024x768.
  Pixel format: Color: 24 Alpha: 8 Depth: 24 Stencil: 8 AccumColor: 24
  AccumAlpha: 8 MultiSamples: 0

ldd on the gl32.so in the Planeshift directory...

        linux-gate.so.1 =>  (0xffffe000)
        libdl.so.2 => /lib32/libdl.so.2 (0x555f7000)
        libnsl.so.1 => /lib32/libnsl.so.1 (0x555fa000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0x5560e000)
        libz.so.1 => /lib32/libz.so.1 (0x55661000)
        libGL.so.1 => /usr/lib32/opengl/ati/lib/libGL.so.1 (0x55672000)
        libSM.so.6 => /usr/lib32/libSM.so.6 (0x5571f000)
        libICE.so.6 => /usr/lib32/libICE.so.6 (0x55728000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0x5573f000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0x5580a000)
        libm.so.6 => /lib32/libm.so.6 (0x55819000)
        libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0x5583b000)
        libgcc_s.so.1 => /lib32/libgcc_s.so.1 (0x558f1000)
        libc.so.6 => /lib32/libc.so.6 (0x558fa000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x56555000)

Xordan

  • Crystal Space Developer
  • Forum Addict
  • *
  • Posts: 3845
  • For God and the Empire
    • View Profile
(No subject)
« Reply #4 on: April 15, 2005, 12:28:24 am »
With the latest ATI drivers make sure that the DRM IS NOT compiled into the kernel, or the DRI in the drivers won\'t compile and you\'ll have no 3d support.

Rav3n

  • Wayfarer
  • *
  • Posts: 7
    • View Profile
(No subject)
« Reply #5 on: June 12, 2005, 08:20:14 pm »
I have the same problems using a ATI 9800 All-in-wonder Pro with the newest closed-source drivers from the ATI hp.
My kernel definitly is compiled without DRM support but I still just can get \"indirect rendering\" and therefore never more than 1,8 fps...
glxinfo | grep direct gives me, that direct rendering is on...
« Last Edit: June 12, 2005, 09:25:12 pm by Rav3n »