Announcement

Collapse
No announcement yet.

Recommended xorg.conf setup for radeonhd on Mobility Radeon X1400

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

  • #46
    When you need a modeset=1 command then radeon was not compiled with default kms support. That means the radeon module has got no pci ids stored in it. Basically what you have to do is

    echo radeon modeset=1 > /etc/modules
    update-initramfs -u

    to load it in the initrd.

    Comment


    • #47
      ATI mobility Radeon X1400 in OpenSUSE 11.2

      Hello everybody,

      I just installed a week ago the radeon driver and followed the procedure stated here and after rebooting I realized that video was still working fine, just a little difference with the fonts (but usable). The only thing that is giving me problems is the 3D acceleration while trying to play the Penumbra games, which runs very slow.

      Here is some info related to my specs:

      System:
      Code:
      Dell Inspiron E1505 (aka 6400)
      ATI Mobility Radeon X1400
      Operating System:
      Code:
      openSUSE 11.2 - 32 bits
      kernel 2.6.31.12-9-desktop
      KDE 4.4.1
      Glxgears output:
      Code:
      5302 frames in 5.0 seconds = 1060.316 FPS
      4694 frames in 5.0 seconds = 938.752 FPS
      5083 frames in 5.0 seconds = 1016.475 FPS
      .....
      glxinfo output:
      Code:
      jaom7@Armisael:~> glxinfo
      name of display: :0.0
      display: :0  screen: 0
      direct rendering: Yes
      server glx vendor string: SGI
      server glx version string: 1.2
      server glx extensions:
          GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, 
          GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
          GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
          GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
      client glx vendor string: SGI
      client glx version string: 1.4
      client glx extensions:
          GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
          GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
          GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control, 
          GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, 
          GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
          GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
          GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
      GLX extensions:
          GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
          GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer, 
          GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, 
          GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, 
          GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
      OpenGL vendor string: DRI R300 Project
      OpenGL renderer string: Mesa DRI R300 (RV515 7145) 20090101 x86/MMX/SSE2 TCL
      OpenGL version string: 1.5 Mesa 7.6
      OpenGL extensions:
          GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program, 
          GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
          GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_shadow, 
          GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, 
          GL_ARB_texture_compression, GL_ARB_texture_cube_map, 
          GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
          GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
          GL_MESAX_texture_float, GL_ARB_texture_mirrored_repeat, 
          GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 
          GL_ARB_vertex_array_bgra, GL_ARB_vertex_buffer_object, 
          GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
          GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
          GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, 
          GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, GL_EXT_convolution, 
          GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, 
          GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays, 
          GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels, 
          GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
          GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
          GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
          GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
          GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
          GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
          GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias, 
          GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, 
          GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array, 
          GL_EXT_vertex_array_bgra, GL_APPLE_packed_pixels, 
          GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3, 
          GL_ATI_texture_mirror_once, GL_ATI_separate_stencil, 
          GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, 
          GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
          GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos, 
          GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle, 
          GL_NV_texgen_reflection, GL_NV_vertex_program, GL_OES_read_format, 
          GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_generate_mipmap, 
          GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, 
          GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
      glu version: 1.3
      glu extensions:
          GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
      
         visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
       id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
      ----------------------------------------------------------------------
      0x21 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
      0x22 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
      0x64 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
      0x65 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
      0x66 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
      0x67 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
      0x68 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
      0x5b 32 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 Ncon
      Some parts from Xorg.conf that might help:
      Code:
      jaom7@Armisael:~> cat /etc/X11/xorg.conf
      ...
      Section "Module"
        Load         "dbe"
        Load         "glx"
        Load         "dri"
        Load         "extmod"
      ##########################3
        Load          "dri2"
        Load          "record"
      EndSection
      ...
      Section "Monitor"
        DisplaySize  331 207
        HorizSync    31-65
        Identifier   "Monitor[0]"
        ModelName    "Laptop Display Panel 1680x1050"
        Option       "PreferredMode" "1680x1050"
        VendorName   "DELL"
        VertRefresh  56-65
        UseModes     "Modes[0]"
      EndSection
      ......
      Section "Modes"
        Identifier   "Modes[0]"
      EndSection
      ...
      Section "Device"
        BoardName    "Mobility Radeon X1400"
        Driver       "radeon"
        Identifier   "Device[0]"
        Option       "AccelMethod" "exa"
        Option       "BusType" "PCIE"
        Option       "ColorTiling" "on"
        Option       "EnablePageFlip" "on"
        Option       "AccelDFS" "on"
        Option       "monitor-LVDS" "Monitor[0]"
        Screen       0
        VendorName   "ATI"
      #########################
        Option        "DRI"   "on"
        Option        "OffscreenSize" "25%"
        Option        "UseAtomBIOS"   "on"
        BusID         "PCI:1:0:0"
      
      EndSection
      ......
      Section "DRI"
          Group      "video"
          Mode       0660
      EndSection
      
      Section "Extensions"
      EndSection
      This game used to run smoothly on my computer when using openSUSE 11.1 (supported by the propietary kernel).

      Thanks in advance for help received


      jaom7

      Comment


      • #48
        Originally posted by jaom7 View Post
        Glxgears output:
        Code:
        5302 frames in 5.0 seconds = 1060.316 FPS
        4694 frames in 5.0 seconds = 938.752 FPS
        5083 frames in 5.0 seconds = 1016.475 FPS
        .....
        jaom7
        did u run this glxgears in its default size? I get quite similar fps in its default size but only 60fps in fullscreen mode (1400x1050). is it normal?

        Comment


        • #49
          Originally posted by demonstrate View Post
          did u run this glxgears in its default size? I get quite similar fps in its default size but only 60fps in fullscreen mode (1400x1050). is it normal?

          Humm you were right, it was in normal(not fullscreen) mode.
          I just tried in fullscreen mode(by double clicking the title bar) and got the following results under a resolution of 1680x1050

          Code:
          523 frames in 5.0 seconds = 104.453 FPS
          535 frames in 5.0 seconds = 106.931 FPS
          554 frames in 5.0 seconds = 110.785 FPS

          Comment


          • #50
            What does "very slow" mean?

            Your 3d acceleration seems to be working fine. It's possible that the game is using a feature which is not accelerated yet, and thus hitting the software rendering.

            Do the penumbra games use GLSL? OpenGL2 features? You only have OpenGL 1.5 at the moment, so upgrading to Mesa 7.8 might help.

            Also keep in mind that the open drivers are slower than the binary Catalyst at this time, often considerably slower.

            Comment


            • #51
              Originally posted by pingufunkybeat View Post
              What does "very slow" mean?

              Your 3d acceleration seems to be working fine. It's possible that the game is using a feature which is not accelerated yet, and thus hitting the software rendering.

              Do the penumbra games use GLSL? OpenGL2 features? You only have OpenGL 1.5 at the moment, so upgrading to Mesa 7.8 might help.

              Also keep in mind that the open drivers are slower than the binary Catalyst at this time, often considerably slower.
              First of all, thanks for the reply.

              By so slow I meant that interactivity was not possible, I turned the view of the character and seconds later the character performed the action. In addition to that, the textures didn't display correctly, sometimes there was some kind of changing colors on them, maybe I'll try to reinstall the game. I am going to ask in the Frictional Games Penumbra forums about the GLSL, OpenGL requirements of Penumbra.

              I just updated to mesa 7.7.10 which updated also libdrm... I'll let you know the results.

              Comment


              • #52
                AFAIK classic r300 driver doesn't (and won't) support OpenGL 2.x and GLSL. You need Gallium driver for that. It's harder to install (you need to compile it from sources) and is less mature than classic dri driver.

                Comment


                • #53
                  Just one more thing related to my problem,

                  I was giving a look to my Xorg.0.log file and found the following line:

                  Code:
                  II) Initializing built-in extension RANDR
                  (II) Initializing built-in extension COMPOSITE
                  (II) Initializing built-in extension DAMAGE
                  
                  (II) AIGLX: Screen 0 is not DRI2 capable
                  
                  drmOpenDevice: node name is /dev/dri/card0
                  drmOpenDevice: open result is 11, (OK)
                  drmOpenByBusid: Searching for BusID pci:0000:01:00.0
                  drmOpenDevice: node name is /dev/dri/card0
                  drmOpenDevice: open result is 11, (OK)
                  Maybe this can be a clue to find the reason of low 3D performance on the Penumbra game.

                  thanks in advance for any hint given.

                  Comment


                  • #54
                    I believe that message just tells you that you are not running on a DRI2-capable system, ie you are not running with KMS.

                    Did you hear anything back about whether Penumbra required GLSL ?

                    EDIT - never mind, I found your thread on the FG forums

                    http://www.frictionalgames.com/forum...89-page-2.html

                    Looks like Penumbra relies on NVidia's CG to produce shader code for ATI GPUs. Might be a problem or not, hard to say. Urkle mentioned a log file, have you looked through that ? Maybe post it here...

                    Comment


                    • #55
                      A couple of other threads on that forum also mentioned turning off Post Effects. Probably won't be enough on its own but might help.

                      Comment


                      • #56
                        update

                        A little update on this problem, I just upgraded to kernel 2.6.34 and While using the Radeon driver and Mesa 7.8.1 from the openSUSE xorg repos, this problem was solved at least for Penumbra Overture, fluid gameplay is back. I haven't tested yet on the other 2 games of the Penumbra series, as soon as I have newer results I'let you know.

                        cheers

                        jaom7

                        Comment

                        Working...
                        X