No announcement yet.

Will Mesa/Gallium3D Work With The Open-Source Doom 3?

  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Doom3 can not detect the true amount of video ram when running with the open source drivers. So it defaults to 64mb or so and therefore chooses low quality rendering. You have to force the vram amount in the config to get high or ultra quality.

    Low quality rendering is not caused by the free drivers but by a game bug. Quake4 with the default config has the same problem, but is fixable the same way.

    Click to enlarge


    • #32
      Originally posted by Lynxeye View Post
      Doom3 can not detect the true amount of video ram when running with the open source drivers. So it defaults to 64mb or so and therefore chooses low quality rendering. You have to force the vram amount in the config to get high or ultra quality.
      The Phoronix Test Suite automatically overrides the video RAM detection with the id Tech games using its correct detection mechanisms for open and closed drivers.
      Michael Larabel


      • #33
        But something is definitly wrong with your screens. This is not ultra quality and I don't think it's a driver problem as I'm able to get good quality with the free drivers.


        • #34
          Originally posted by Kano View Post

          thats complete bullshit. wine matches opengl 1:1 and does not transform opengl 2 to 3. but the sound system is really outdated in the old doom3 native binary, should be much better when the source code can be fixed. maybe even a recompile against new libs is enough. i also did crossplattform tests some years ago and i remember that you have got verify aa/af settings ingame via screenshots against the win version. i did several speed tests and linux was often a tiny bit faster because parts of those where not active. you should be sure that you compare the same visuals not something you can benchmark but is rendered differently.
          bullshit? i don't believe you because your writing don't explain the speedup in wine.
          Phantom circuit Sequence Reducer Dyslexia


          • #35
            Originally posted by Qaridarium View Post
            this is a know openGL2.1 catalyst bug wine runs faster because wine translate it into openGL3.x
            most people are bitten by this bug if they try to play HON.

            Originally posted by Kano View Post

            wine matches opengl 1:1 and does not transform opengl 2 to 3


            • #36
              Well guys,
              Im having a big problem here.

              I've read the amazing article about Mesa/Gallium3D work with the Open-Source Doom 3... and this led me to install doom 3 in my system.
              I'm using Ubuntu 11.10 (but Im trying now the KDE) x86 over a laptop with Intel Core 2 Duo 2.0Ghz and Radeon HD2400 Video Card.
              The driver installed in ubuntu is default open-driver for RV610.

              But about the problem, after I install the Doom 3 in linux (using the official method, not through wine, with the file in ftp from id software) and I use my original copy of Doom to copy the *.pk4 files from "base" to "base"

              When I run doom3 command, the resolution change from 1280x800 to 640x480 and the full screen game starts... but the intro video is showed very very very lagged, and it jump for a screen to type my serial key. But all is lagged! I cant type the serial, mouse move is a lot lagged. I cant do anything!!

              I just change to another tty and killall doom.x86 running

              Im trying to fix this problem but I've no idea how to solve it! Can somebody help me?!

              Some outputs:

              the glxinfo | egrep OpenGL output:
              OpenGL vendor string: X.Org
              OpenGL renderer string: Gallium 0.4 on AMD RV610
              OpenGL version string: 2.1 Mesa 7.11
              OpenGL shading language version string: 1.20
              OpenGL extensions:
              the lspci | egrep Radeon output:
              01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 2400



              • #37
                Doom3 is currently only 32bit. If your system is 64, install an updated 32-bit mesa.


                • #38
                  Also try running both the doom3 binary and the doom.x86 binary in the install directory. The doom3 binary will load the libraries it ships with, while the doom.x86 one will use your system libraries. You may need to do some library hunting in your repos if you choose to use doom.x86, but it works better for me on Fedora at least.


                  • #39
                    Originally posted by curaga View Post
                    Doom3 is currently only 32bit. If your system is 64, install an updated 32-bit mesa.
                    Some of the forks on github seem to support 64 bit.


                    • #40
                      My system is ubuntu 11.10 with kde x86, like uname -a show:
                      [email protected]:~$ uname -a
                      Linux niccola-laptop 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 i686 i386 GNU/Linux
                      Im using the open-source driver for ATI Radeon HD 2400 Mobility (M72) video card

                      Well, Im running the game over the command doom3 and this is the output:
                      [email protected]:~$ doom3
                      DOOM linux-x86 Jan 16 2007 21:58:02
                      found interface lo - loopback
                      found interface wlan0 -
                      ------ Initializing File System ------
                      Loaded pk4 /usr/local/games/doom3/base/game00.pk4 with checksum 0xf07eb555
                      Loaded pk4 /usr/local/games/doom3/base/game01.pk4 with checksum 0x51c6981f
                      Loaded pk4 /usr/local/games/doom3/base/game02.pk4 with checksum 0xf3ec6f7
                      Loaded pk4 /usr/local/games/doom3/base/game03.pk4 with checksum 0x5d4230ea
                      Loaded pk4 /usr/local/games/doom3/base/pak000.pk4 with checksum 0x28d208f1
                      Loaded pk4 /usr/local/games/doom3/base/pak001.pk4 with checksum 0x40244be0
                      Loaded pk4 /usr/local/games/doom3/base/pak002.pk4 with checksum 0xc51ecdcd
                      Loaded pk4 /usr/local/games/doom3/base/pak003.pk4 with checksum 0xcd79d028
                      Loaded pk4 /usr/local/games/doom3/base/pak004.pk4 with checksum 0x765e4f8b
                      Loaded pk4 /usr/local/games/doom3/base/pak005.pk4 with checksum 0x8ffc3621
                      Loaded pk4 /usr/local/games/doom3/base/pak006.pk4 with checksum 0x95b65ab
                      Loaded pk4 /usr/local/games/doom3/base/pak007.pk4 with checksum 0x666bdb3c
                      Loaded pk4 /usr/local/games/doom3/base/pak008.pk4 with checksum 0x23ae5993
                      Current search path:
                      /usr/local/games/doom3/base/pak008.pk4 (3 files)
                      /usr/local/games/doom3/base/pak007.pk4 (38 files)
                      /usr/local/games/doom3/base/pak006.pk4 (48 files)
                      /usr/local/games/doom3/base/pak005.pk4 (63 files)
                      /usr/local/games/doom3/base/pak004.pk4 (5137 files)
                      /usr/local/games/doom3/base/pak003.pk4 (4676 files)
                      /usr/local/games/doom3/base/pak002.pk4 (6120 files)
                      /usr/local/games/doom3/base/pak001.pk4 (8972 files)
                      /usr/local/games/doom3/base/pak000.pk4 (2698 files)
                      /usr/local/games/doom3/base/game03.pk4 (2 files)
                      /usr/local/games/doom3/base/game02.pk4 (2 files)
                      /usr/local/games/doom3/base/game01.pk4 (2 files)
                      /usr/local/games/doom3/base/game00.pk4 (2 files)
                      game DLL: 0x0 in pak: 0x0
                      Addon pk4s:
                      file system initialized.
                      ----- Initializing Decls -----
                      ------- Initializing renderSystem --------
                      using ARB renderSystem
                      renderSystem initialized.
                      5206 strings read from strings/english.lang
                      Couldn't open journal files
                      execing editor.cfg
                      execing default.cfg
                      execing DoomConfig.cfg
                      couldn't exec autoexec.cfg
                      5206 strings read from strings/english.lang
                      ----- Initializing Sound System ------
                      sound system initialized.
                      ----- R_InitOpenGL -----
                      Setup X display connection
                      Initializing OpenGL display
                      Using XFree86-VidModeExtension Version 2.2
                      DGA DirectVideo Mouse (Version 2.0) initialized
                      Free86-VidModeExtension Activated at 640x480
                      Using 8/8/8 Color bits, 8 Alpha bits, 24 depth, 8 stencil display.
                      GL_RENDERER: Software Rasterizer
                      GL_EXTENSIONS: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_paletted_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_multitexture GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_MESA_resize_buffers GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_shared_texture_palette GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_NV_vertex_program GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fragment_program GL_NV_point_sprite GL_NV_vertex_program1_1 GL_APPLE_packed_pixels GL_APPLE_vertex_array_object GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_pixel_buffer_object GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_NV_fragment_program_option GL_APPLE_object_purgeable GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_env_combine GL_EXT_texture_sRGB_decode GL_MESA_texture_array GL_ARB_copy_buffer GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_map_buffer_range GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_separate_shader_objects GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_EXT_provoking_vertex GL_ARB_robustness 
                      ------- Input Initialization -------
                      XKB extension: compile time 0x1:0x0, runtime 0x1:0x0: OK
                      XKB extension present on server ( 0x1:0x0 )
                      asoundlib version:
                      Alsa is available
                      ------ Alsa Sound Initialization -----
                      opened Alsa PCM device default for playback
                      device buffer size: 5461 frames ( 65532 bytes )
                      allocated a mix buffer of 49152 bytes
                      ...using GL_ARB_multitexture
                      ...using GL_ARB_texture_env_combine
                      ...using GL_ARB_texture_cube_map
                      ...using GL_ARB_texture_env_dot3
                      ...using GL_ARB_texture_env_add
                      ...using GL_ARB_texture_non_power_of_two
                      ...using GL_ARB_texture_compression
                      X..GL_EXT_texture_compression_s3tc not found
                      ...using GL_EXT_texture_filter_anisotropic
                         maxTextureAnisotropy: 16.000000
                      ...using GL_1.4_texture_lod_bias
                      ...using GL_EXT_shared_texture_palette
                      ...using GL_EXT_texture3D
                      ...using GL_EXT_stencil_wrap
                      X..GL_NV_register_combiners not found
                      ...using GL_EXT_stencil_two_side
                      ...using GL_ATI_fragment_shader
                      ...using GL_ARB_vertex_buffer_object
                      ...using GL_ARB_vertex_program
                      ...using GL_ARB_fragment_program
                      ...using EXT_depth_bounds_test
                      ---------- R_NV20_Init ----------
                      Not available.
                      ----------- R200_Init -----------
                      GL_NUM_FRAGMENT_REGISTERS_ATI: 6
                      GL_NUM_FRAGMENT_CONSTANTS_ATI: 8
                      GL_NUM_PASSES_ATI: 2
                      GL_NUM_INSTRUCTIONS_PER_PASS_ATI: 8
                      GL_NUM_INSTRUCTIONS_TOTAL_ATI: 16
                      GL_COLOR_ALPHA_PAIRING_ATI: 1
                      GL_NUM_LOOPBACK_COMPONENTS_ATI: 3
                      ---------- R_ARB2_Init ----------
                      ----- R_ReloadARBPrograms -----
                      glprogs/arbVP_glasswarp.txt: File not found
                      glprogs/arbFP_glasswarp.txt: File not found
                      using ARB_vertex_buffer_object memory
                      using ARB2 renderSystem
                      found DLL in pak file: /usr/local/games/doom3/base/game01.pk4/
                      copy to /home/niccola/.doom3/base/
                      --------- Initializing Game ----------
                      gamename: baseDOOM-1
                      gamedate: Jan 16 2007
                      Initializing event system
                      ...473 event definitions
                      Initializing class hierarchy
                      ...142 classes, 382184 bytes for event callbacks
                      Initializing scripts
                      /proc/cpuinfo CPU frequency: 2000 MHz
                      Compiled 'removeInitialSplineAngles': 1415.2 ms
                      ---------- Compile stats ----------
                      Memory usage:
                           Strings: 79, 12592 bytes
                        Statements: 67875, 1357500 bytes
                         Functions: 2109, 250532 bytes
                         Variables: 147376 bytes
                          Mem used: 2479288 bytes
                       Static data: 2277552 bytes
                         Allocated: 3284544 bytes
                       Thread size: 7068 bytes
                      ...6 aas types
                      game initialized.
                      -------- Initializing Session --------
                      session initialized
                      --- Common Initialization Complete ---
                      terminal support enabled ( use +set in_tty 0 to disabled )
                      pid: 5308
                      2016 MB System Memory
                      guessing video ram ( use +set sys_videoRam to force ) ..
                      guess failed, return default low-end VRAM setting ( 64MB VRAM )
                      64 MB Video Memory
                      Async thread started
                      snd_pcm_writei 4096 frames failed: Broken pipe
                      preparing audio device for output
                      snd_pcm_writei 4096 frames failed: Broken pipe
                      preparing audio device for output
                      With this output... can somebody help me?!

                      Im uploading a video to Youtube with the problem showed naturaly...

                      Thank you, guys!