Results 1 to 5 of 5

Thread: Lowering OpenGL level in Sauerbraten?

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    34

    Default 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. #2

    Default

    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).

  3. #3
    Join Date
    Jul 2008
    Posts
    34

    Default

    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 at 11:18 AM.

  4. #4

    Default

    There is a patch to test in the bug linked.

  5. #5
    Join Date
    Feb 2009
    Posts
    3

    Default

    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •