Announcement

Collapse
No announcement yet.

Mesa problem

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

  • Mesa problem

    hi, im back testing my 4850x2 card in OSS driver i sold my nvidia card.

    ok from now im using latest git from mesa/ati driver

    so far :
    XV tear free as never seen before, i can multitask and my 1080p h264 videos play like nothing is running is beautyful and far better than fglrx.

    EXA. i feel it super duper snapy, no artifacts at all, kde 4.3.0. so happy here too

    Mesa well not working for me. aka my pciid is still missing from DRM/DRI/MESA (4850x2 pciid is 0x9443), as you can see i could patch the pciid in drm module already. but mesa in the other hand is giving me a hard time.

    i change my pciid in some files inside the radeon/r700 dri driver but still dont activate so like last time i tried im sure im missing a file where my pciid is lost.

    so someone can post here the list of files to modificate to get my pciid included.

    btw im using latest mesa git source pkg from xorg edgers PPA

  • #2
    Originally posted by jrch2k8 View Post
    so someone can post here the list of files to modificate to get my pciid included.
    Well heres one from cgit, but maybe it would be better to wait for a dev to do it or ask on #radeon in case x2 need anything else.

    http://cgit.freedesktop.org/mesa/mes...857a01641ae927

    Comment


    • #3
      thx from link XD

      Comment


      • #4
        Originally posted by jrch2k8 View Post
        hi, im back testing my 4850x2 card in OSS driver i sold my nvidia card.

        ok from now im using latest git from mesa/ati driver

        so far :
        XV tear free as never seen before, i can multitask and my 1080p h264 videos play like nothing is running is beautyful and far better than fglrx.

        EXA. i feel it super duper snapy, no artifacts at all, kde 4.3.0. so happy here too

        Mesa well not working for me. aka my pciid is still missing from DRM/DRI/MESA (4850x2 pciid is 0x9443), as you can see i could patch the pciid in drm module already. but mesa in the other hand is giving me a hard time.

        i change my pciid in some files inside the radeon/r700 dri driver but still dont activate so like last time i tried im sure im missing a file where my pciid is lost.

        so someone can post here the list of files to modificate to get my pciid included.

        btw im using latest mesa git source pkg from xorg edgers PPA
        I would think that your drm modules don't support 3D.

        http://xorg.freedesktop.org/wiki/radeonBuildHowTo

        But There is still some major bugs that causes incorrect rendering. So for real 3D support you might have to wait few weeks.

        Comment


        • #5
          well ofc i dont expect fully outstanding 3d rendering but a basic one.
          but the problem here is a have to recompile cuz of missing pciid in the source code inside mesa and DRM. plus in another post someone got compiz in a 4770 so there is a very good chance that my 4850x2 render compiz too cuz 4770 and 4850 are as far as i know very similar at chip lvl, prolly the only thing ill miss if mesa render is crossfire acceleration, which is good enough for now to run compiz or savage2 cuz 1 4850 is very powerful by itself the second is just for ultra powa , beside i got a dri working system 3 months ago ofc actual 3d render was heavily broken

          Comment


          • #6
            well dri loaded, my ./configure was wrong >> ups, about 3d still not working but im pretty sure is a bad compilation issues so if someone can path mesa branch with the correct pciid, ill prolly be luckier

            Comment


            • #7
              Originally posted by jrch2k8 View Post
              well dri loaded, my ./configure was wrong >> ups, about 3d still not working but im pretty sure is a bad compilation issues so if someone can path mesa branch with the correct pciid, ill prolly be luckier
              Are you sure you're using the kernel modules from agd5f's repo?

              Comment


              • #8
                well i think so cuz drm works just fine

                name of display: :0.0
                IRQ's not enabled, falling back to busy waits: 2 18
                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 version: 1.2
                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: Advanced Micro Devices, Inc.
                OpenGL renderer string: Mesa DRI R600 (RV770 9443) 20090101 TCL
                OpenGL version string: 1.4 Mesa 7.6-devel
                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_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_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_vertex_array, 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

                8 GLX Visuals
                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
                0x6e 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x6f 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x70 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
                0x71 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x72 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x65 32 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 Ncon

                8 GLXFBConfigs:
                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
                ----------------------------------------------------------------------
                0x66 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
                0x67 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x68 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
                0x69 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x6a 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
                0x6b 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
                0x6c 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
                0x6d 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow

                but glxgears say this
                drmRadeonCmdBuffer: -22

                Comment


                • #9
                  Why are you saying drm works just fine ? I don't thing glxinfo uses drm; it just requires that the GL driver can load and initialize drm, not that the actual command submission functions are there.

                  Did you build and install the kernel modules from the r6xx-r7xx-3d branch of ~agd5f/drm ? If not then you're going to get that -22 error on pretty much all 3D applications.
                  Last edited by bridgman; 08-29-2009, 12:10 PM.

                  Comment


                  • #10
                    fair enough let me redownload that drm branch to be sure cuz i dont remember thx

                    Comment


                    • #11
                      ok my bad you were i went in automatic to paste radeon.ko in drm folder but in ubuntu radeon.ko is in a subfolder named radeon

                      but now i got another issue

                      108.239736] radeon: disagrees about version of symbol drm_open
                      [ 108.239747] radeon: Unknown symbol drm_open
                      [ 108.239945] radeon: disagrees about version of symbol drm_fasync
                      [ 108.239949] radeon: Unknown symbol drm_fasync
                      [ 108.240309] radeon: disagrees about version of symbol drm_poll
                      [ 108.240314] radeon: Unknown symbol drm_poll
                      [ 108.240512] radeon: disagrees about version of symbol drm_get_resource_len
                      [ 108.240517] radeon: Unknown symbol drm_get_resource_len
                      [ 108.240715] radeon: disagrees about version of symbol drm_core_get_reg_ofs
                      [ 108.240720] radeon: Unknown symbol drm_core_get_reg_ofs
                      [ 108.240970] radeon: Unknown symbol drm_calloc
                      [ 108.241211] radeon: disagrees about version of symbol drm_irq_uninstall
                      [ 108.241215] radeon: Unknown symbol drm_irq_uninstall
                      [ 108.241427] radeon: disagrees about version of symbol drm_get_dev
                      [ 108.241431] radeon: Unknown symbol drm_get_dev
                      [ 108.241645] radeon: disagrees about version of symbol drm_ioctl
                      [ 108.241649] radeon: Unknown symbol drm_ioctl
                      [ 108.241891] radeon: disagrees about version of symbol drm_exit
                      [ 108.241895] radeon: Unknown symbol drm_exit
                      [ 108.242092] radeon: disagrees about version of symbol drm_getsarea
                      [ 108.242096] radeon: Unknown symbol drm_getsarea
                      [ 108.279191] radeon: disagrees about version of symbol drm_core_ioremapfree
                      [ 108.279196] radeon: Unknown symbol drm_core_ioremapfree
                      [ 108.279392] radeon: disagrees about version of symbol drm_core_get_map_ofs
                      [ 108.279396] radeon: Unknown symbol drm_core_get_map_ofs
                      [ 108.279589] radeon: disagrees about version of symbol drm_init
                      [ 108.279593] radeon: Unknown symbol drm_init
                      [ 108.279800] radeon: disagrees about version of symbol drm_addmap
                      [ 108.279804] radeon: Unknown symbol drm_addmap
                      [ 108.280101] radeon: disagrees about version of symbol drm_get_resource_start
                      [ 108.280106] radeon: Unknown symbol drm_get_resource_start
                      [ 108.280299] radeon: disagrees about version of symbol drm_handle_vblank
                      [ 108.280303] radeon: Unknown symbol drm_handle_vblank
                      [ 108.280521] radeon: Unknown symbol drm_cleanup_pci
                      [ 108.280723] radeon: disagrees about version of symbol drm_ati_pcigart_init
                      [ 108.280728] radeon: Unknown symbol drm_ati_pcigart_init
                      [ 108.280933] radeon: disagrees about version of symbol drm_vblank_init
                      [ 108.280938] radeon: Unknown symbol drm_vblank_init
                      [ 108.281192] radeon: disagrees about version of symbol drm_core_ioremap_wc
                      [ 108.281196] radeon: Unknown symbol drm_core_ioremap_wc
                      [ 108.281410] radeon: disagrees about version of symbol drm_mmap
                      [ 108.281413] radeon: Unknown symbol drm_mmap
                      [ 108.281795] radeon: disagrees about version of symbol drm_ati_pcigart_cleanup
                      [ 108.281800] radeon: Unknown symbol drm_ati_pcigart_cleanup
                      [ 108.282022] radeon: disagrees about version of symbol drm_compat_ioctl
                      [ 108.282026] radeon: Unknown symbol drm_compat_ioctl
                      [ 108.282243] radeon: disagrees about version of symbol drm_core_reclaim_buffers
                      [ 108.282247] radeon: Unknown symbol drm_core_reclaim_buffers
                      [ 108.282464] radeon: disagrees about version of symbol drm_release
                      [ 108.282468] radeon: Unknown symbol drm_release

                      i copied both drm.ko and radeon.ko and i got drm from here http://xorg.freedesktop.org/wiki/rad...ef25e427f596b9.

                      some modinfo

                      junior@desktop:~$ modinfo drm
                      filename: /lib/modules/2.6.31-8-generic/kernel/drivers/gpu/drm/drm.ko
                      license: GPL and additional rights
                      description: DRM shared core routines
                      author: Gareth Hughes, Leif Delgass, Josť Fonseca, Jon Smirl
                      srcversion: EC4D635FB66BADC26AB9F93
                      depends:
                      vermagic: 2.6.31-8-generic SMP mod_unload modversions
                      parm: debug:Enable debug output (int)

                      junior@desktop:~$ modinfo radeon
                      filename: /lib/modules/2.6.31-8-generic/kernel/drivers/gpu/drm/radeon/radeon.ko
                      license: GPL and additional rights
                      description: ATI Radeon
                      author: Gareth Hughes, Keith Whitwell, others.
                      srcversion: 3A2455E860FC3AB3CA052F1
                      depends: drm
                      vermagic: 2.6.31-8-generic SMP mod_unload modversions
                      parm: no_wbisable AGP writeback for scratch registers
                      (int)

                      junior@desktop:~$ modinfo ttm
                      filename: /lib/modules/2.6.31-8-generic/kernel/drivers/gpu/drm/ttm/ttm.ko
                      license: GPL and additional rights
                      description: TTM memory manager subsystem (for DRM device)
                      author: Thomas Hellstrom, Jerome Glisse
                      srcversion: 67F26E57D7132626CB2F51C
                      depends: drm
                      vermagic: 2.6.31-8-generic SMP mod_unload modversions

                      Comment


                      • #12
                        1) You need both drm.ko and radeon.ko from the repo
                        2) There is not yet usable ttm for your computer
                        3) Make sure not to mix old drm and new radeon, it'll likely end up with symbol mismatch problems

                        Comment


                        • #13
                          ok i solve drm/radeon symbol mismatch. it happens that ubuntu karmic kernel initrd have hardcoded drm.ko and i915.ko so after remake problem solved but i got this one

                          23.964724] ttm: Unknown symbol drm_mm_get_block_generic
                          [ 23.964855] ttm: disagrees about version of symbol drm_mm_takedown
                          [ 23.964857] ttm: Unknown symbol drm_mm_takedown
                          [ 23.964939] ttm: disagrees about version of symbol drm_mm_put_block
                          [ 23.964941] ttm: Unknown symbol drm_mm_put_block
                          [ 23.965230] ttm: disagrees about version of symbol drm_mm_search_free
                          [ 23.965232] ttm: Unknown symbol drm_mm_search_free
                          [ 23.965627] ttm: Unknown symbol drm_mm_pre_get
                          [ 23.965801] ttm: Unknown symbol drm_mm_clean
                          [ 23.965914] ttm: disagrees about version of symbol drm_mm_init
                          [ 23.965916] ttm: Unknown symbol drm_mm_init

                          how i can bypass ttm.ko or find a patch?

                          Comment


                          • #14
                            If you replaced the drm.ko and radeon.ko, you can just create a new initrd.
                            Otherwise boot into runlevel 3, rmmod radeon ttm drm (order counts), then insert drm.ko and radeon.ko. (order counts again)

                            Comment


                            • #15
                              i did that already but radeon.ko try to load ttm.ko, im sure radeon.ko and drm.ko are the rigth ones cuz i delete all except tmm from drm folder and cp those modules only

                              Comment

                              Working...
                              X