Announcement

Collapse
No announcement yet.

ati 6.12 r700 Need Help Please?

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

  • ati 6.12 r700 Need Help Please?

    I run Archlinux with 2.6.28 kernel and the new ati 6.12 driver with the required drm upgrades(from drm git repo), but I cannot get the acceleration to work. DRI modules load just fine exa loads but close to the end of Xorg.0.log it says acceleration failed. xvinfo says no adapters found. I have uninstalled fglrx so I know that is not the problem. My video card is a amd/ati 4870. If anyone has any ideas I would very much appreciate it? fglrx preformance is terrible, even with xv it tears and flickers considerbly more than radeon or radeonhd.

    thanks

    here are my Xorg.0.log and dmesg output

    http://pastebin.com/m26470ff8
    http://pastebin.com/m561d18cd
    Last edited by sadklown; 03-17-2009, 09:19 PM.

  • #2
    Can you pastebin your xorg log and dmesg output ?

    Comment


    • #3
      Originally posted by bridgman View Post
      Can you pastebin your xorg log and dmesg output ?
      here are the links you requested

      http://pastebin.com/m26470ff8
      http://pastebin.com/m561d18cd

      thanks

      Comment


      • #4
        Can you try current git version?
        http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/

        EDIT: you also need the kernel drm module. See:
        http://www.x.org/wiki/radeon%3Ar6xx_r7xx_branch
        Last edited by oibaf; 03-18-2009, 04:22 AM.

        Comment


        • #5
          Yep... I don't see any drm messages in your dmesg output at all. No kernel drm code = no acceleration.

          Comment


          • #6
            Originally posted by bridgman View Post
            Yep... I don't see any drm messages in your dmesg output at all. No kernel drm code = no acceleration.

            I checked out the drm from git repo following the x.org r600-r700 page and built the drm module. Are you saying that I need a kernel with drm on top of that? When I had fglrx installed I could use acceleration it's just that the performance was terrible or does that work entirely different?

            thakns guys

            Comment


            • #7
              If you're building drm from the 6xx-7xx branch and installing drm.ko, radeon.ko in the right place, that should be enough.

              Right now I didn't see *any* drm messages in your kernel log, which seemed a bit odd.

              Comment


              • #8
                your kernel needs modular drm support (so you can replace the distro drm modules with your own). You might want to check with your distro to make sure drm support isn't compiled into the kernel.

                Comment


                • #9
                  I can confirm that Archlinux has modular drm in its default kernel.

                  How are you building it? Note that the libdrm PKGBUILD does NOT include the drivers.

                  You will either have to build the entire 2.6.29 kernel using a PKGBUILD or manually build and copy the drivers into the proper location in the kernel module directory.
                  Last edited by TechMage89; 03-19-2009, 11:21 PM.

                  Comment


                  • #10
                    Thanks everyone for your replies!

                    I manually built the drm.ko and radeon.ko from git repo on the r600-r700 branch and installed but I get nothing bridgman has confirmed for me. I had read on the archlinux forum(i think) that the fglrx drivers (if you had previously installed them) can rename some files that can cause problems but I fixed that too. I have also tried the PKGBUILD for drm.ko and radeon.ko drivers but I did not have any luck with that either. The only thing that I can think of now is that perhaps I have installed drm.ko and radeon.ko in the wrong dir for my distro. I used the dir's from the tutroial on the x.org website. Does anybody know if that is the correct dir for ArchLinux.

                    Again thanks everyone

                    Comment


                    • #11
                      Just do a file search for files named radeon.ko and drm.ko -- you'll probably find them in two places.

                      One will be where you put the files, and the other will be where you need to put the files
                      Last edited by bridgman; 03-28-2009, 04:59 PM.

                      Comment


                      • #12
                        I figured out the correct dir for ArchLinux which is
                        /lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/ for drm.ko
                        /lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/radeon/ for radeon.ko
                        for which you have to backup the existing ones so you do not overwrite. I have tried to manually run drm.ko and radeon.ko with modprobe and get these errors:
                        FATAL: Error inserting drm (/lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/drm.ko): Unknown symbol in module, or unknown parameter (see dmesg)
                        FATAL: Error inserting radeon (/lib/modules/2.6.29-ARCH/kernel/drivers/gpu/drm/radeon/radeon.ko): Unknown symbol in module, or unknown parameter (see dmesg)
                        In the dmesg output I get these errors:
                        drm: Unknown symbol init_mm
                        drm: Unknown symbol init_mm
                        radeon: Unknown symbol drm_open
                        radeon: Unknown symbol drm_fasync
                        radeon: Unknown symbol drm_poll
                        radeon: Unknown symbol drm_get_resource_len
                        radeon: Unknown symbol drm_core_get_reg_ofs
                        radeon: Unknown symbol drm_irq_uninstall
                        radeon: Unknown symbol drm_get_dev
                        radeon: Unknown symbol drm_ioctl
                        radeon: Unknown symbol drm_exit
                        radeon: Unknown symbol drm_getsarea
                        radeon: Unknown symbol drm_debug
                        radeon: Unknown symbol drm_core_ioremapfree
                        radeon: Unknown symbol drm_core_get_map_ofs
                        radeon: Unknown symbol drm_init
                        radeon: Unknown symbol drm_addmap
                        radeon: Unknown symbol drm_get_resource_start
                        radeon: Unknown symbol drm_handle_vblank
                        radeon: Unknown symbol drm_cleanup_pci
                        radeon: Unknown symbol drm_ati_pcigart_init
                        radeon: Unknown symbol drm_vblank_init
                        radeon: Unknown symbol drm_core_ioremap_wc
                        radeon: Unknown symbol drm_mmap
                        radeon: Unknown symbol drm_order
                        radeon: Unknown symbol drm_ati_pcigart_cleanup
                        radeon: Unknown symbol drm_core_reclaim_buffers
                        radeon: Unknown symbol drm_release

                        I also updated my kernel to 2.6.29-ARCH and rebuilt the drm accordingly, here is some updated info:
                        dmesg http://pastebin.com/m5785f647
                        Xorg.0.log http://pastebin.com/m10234ab6
                        xorg.conf http://pastebin.com/m155da63b
                        Last edited by sadklown; 03-28-2009, 06:21 PM.

                        Comment


                        • #13
                          Instead of manually copying these files, why not just do a "make install" followed by a "depmod -a"?

                          Comment


                          • #14
                            Originally posted by monraaf View Post
                            Instead of manually copying these files, why not just do a "make install" followed by a "depmod -a"?
                            I tried at your suggestion but I still have the unknown symbol init_mm error

                            Comment


                            • #15
                              I have seen a couple of problems reported building the 6xx-7xx drm branch against drm against the latest 2.6.29 kernel, just in the last week or so. Maybe some last-minute change in the kernel ?

                              Anyways, on #radeonhd today one user was able to get past the build problem by locally merging with master, which I guess implies that there's a fix in master which helps. I skimmed the commit list for master and saw some possible candidates but nothing obvious.

                              Comment

                              Working...
                              X