Announcement

Collapse
No announcement yet.

Lowering OpenGL level in Sauerbraten?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lowering OpenGL level in Sauerbraten?

    According to http://www.x.org/wiki/RadeonProgram, Sauerbraten should be playable on my r500 with the radeon driver. I've tried running it with the "-f0" option, but it still says that it's using OGL 1.5 (I think radeon only supports 1.3). It runs very, very slow and is obviously using software rendering. Am I missing some option to lower the graphics even more? I can't even get to the in-game options.

  • #2
    Look at the console output. This is what I get with my R500 card:

    Code:
    $ sauerbraten 
    Using home directory: /home/oibaf/.sauerbraten
    init: sdl
    init: enet
    init: video: mode
    init: video: misc
    init: gl
    Renderer: Mesa DRI R300 20060815 x86/MMX/SSE2 TCL (DRI R300 Project)
    Driver: 1.3 Mesa 7.2
    WARNING: No framebuffer object support. (reflective water may be slow)
    WARNING: No occlusion query support! (large maps may be SLOW)
    WARNING: Non-power-of-two textures not supported!
    Rendering using the OpenGL 1.5 fixed-function path.
    init: console
    init: gl: effects
    init: world
    init: sound
    init: cfg
    init: localconnect
    init: mainloop
    read map packages/base/metl4.ogz (0.2 seconds)
    Mining Station by metlslime
    game mode is ffa/default
    Note that the R500 driver, while is supporting only OpenGL 1.3 is very close to 1.5 (missing only 3 extension that are either not used (fog) or workarounded in sauerbraten (occlusion query): see http://dri.freedesktop.org/wiki/R300ToDo)

    I am having about 10-40 fps.

    Also make sure to use at least sauerbraten 2008-06-20 (the latest as of now).

    Comment


    • #3
      Ok so I guess it is a bug with my drivers because I have the same output as you then a 1000's of errors:
      Code:
      gentoo / # /usr/games/bin/sauerbraten -t -f0             
      Using home directory: /root/.sauerbraten
      init: sdl
      init: enet
      init: video: mode
      init: video: misc
      init: gl
      Renderer: Mesa DRI R300 20060815 AGP 8x TCL (DRI R300 Project)
      Driver: 1.3 Mesa 7.3-devel
      WARNING: No framebuffer object support. (reflective water may be slow)
      WARNING: No occlusion query support! (large maps may be SLOW)
      WARNING: Non-power-of-two textures not supported!
      Rendering using the OpenGL 1.5 fixed-function path.
      init: console
      Mesa 7.3-devel implementation error: radeon_program_pair.c::allocate_input_registers(): Don't know how to handle inputs 0x8
      
      
      Please report at bugzilla.freedesktop.org
      *********************************WARN_ONCE*********************************
      File r300_render.c function r300Fallback line 357
      Software fallback:!fp->translated
      ***************************************************************************
      Mesa 7.3-devel implementation error: radeon_program_pair.c::allocate_input_registers(): Don't know how to handle inputs 0x8
      
      
      Please report at bugzilla.freedesktop.org
      Mesa 7.3-devel implementation error: radeon_program_pair.c::allocate_input_registers(): Don't know how to handle inputs 0x8
      
      
      Please report at bugzilla.freedesktop.org
      Mesa 7.3-devel implementation error: radeon_program_pair.c::allocate_input_registers(): Don't know how to handle inputs 0x8
      .
      .
      .
      I'll see what the radeon devs say.

      EDIT: Just the found the bug report; it's a known bug in current mesa: http://bugs.freedesktop.org/show_bug.cgi?id=17929
      Last edited by Gentooer; 12-24-2008, 11:18 AM.

      Comment


      • #4
        There is a patch to test in the bug linked.

        Comment


        • #5
          This starts Sauerbraten as a dedicatated server. The default is a non-dedicated server with only a single client in graphical mode. Dedicated servers run in the shell only (no graphics), with increased priority yet use very little cpu time and memory, so you can run one in the background, or at the same time with a client if you want to host a game (which is usually better than using a listen server). Servers use the ports 28785 (UDP) and 28786 (UDP).

          Comment

          Working...
          X