Announcement

Collapse
No announcement yet.

Radeon R600 Tiling Patches Are Ready

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

  • #61
    Originally posted by unknown2 View Post
    my display card is 6950

    i apply the patch to kernel 3.3-rc3, when glxgear

    xorg will crash, anyone has similar problem?
    glxgears works but I just had this with the firefox gecko mediaplayer plugin:
    Code:
    [  6368.906] 0: /usr/bin/X (xorg_backtrace+0x26) [0x566c26]
    [  6368.906] 1: /usr/bin/X (0x400000+0x16aad9) [0x56aad9]
    [  6368.906] 2: /lib/libpthread.so.0 (0x7f0b44c4f000+0xf270) [0x7f0b44c5e270]
    [  6368.906] 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f0b41c42000+0xb1c4f) [0x7f0b41cf3c4f]
    [  6368.906] 4: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f0b41c42000+0xce8d5) [0x7f0b41d108d5]
    [  6368.906] 5: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7f0b41c42000+0x7c130) [0x7f0b41cbe130]
    [  6368.906] 6: /usr/bin/X (0x400000+0x886ce) [0x4886ce]
    [  6368.906] 7: /usr/lib/xorg/modules/extensions/libextmod.so (0x7f0b42be7000+0xf032) [0x7f0b42bf6032]
    [  6368.906] 8: /usr/bin/X (0x400000+0x33cd1) [0x433cd1]
    [  6368.906] 9: /usr/bin/X (0x400000+0x22f0a) [0x422f0a]
    [  6368.906] 10: /lib/libc.so.6 (__libc_start_main+0xed) [0x7f0b43b0738d]
    [  6368.906] 11: /usr/bin/X (0x400000+0x231fd) [0x4231fd]
    [  6368.906] Segmentation fault at address 0x150
    [  6368.906] 
    Fatal server error:
    [  6368.906] Caught signal 11 (Segmentation fault). Server aborting

    Comment


    • #62
      Originally posted by bongmaster2
      can anyone upload kernel deb packages? i tried drm-next from 5 days ago. i guess its not in drm-next yet.
      i don't know how to make .deb, so i just patch the 3.3-rc3 kernel.

      http://www.sendspace.com/file/nyd42w

      instruction: http://lists.freedesktop.org/archive...ry/018658.html

      P.S. As i mentioned, my Xorg crashed.

      Comment


      • #63
        As easy as fakeroot make-kpkg --initrd kernel_image kernel_headers
        ## VGA ##
        AMD: X1950XTX, HD3870, HD5870
        Intel: GMA45, HD3000 (Core i5 2500K)

        Comment


        • #64
          Originally posted by darkbasic View Post
          As easy as fakeroot make-kpkg --initrd kernel_image kernel_headers
          o i c, but my kernel config is tuned to work for my pc only.

          Comment


          • #65
            xorg config for switchable graphics

            Anyone know how to create a working xorg.conf for intel/radeon switchable graphics? Switching works perfectly for me until I create a config file (complete with bus ID for both the intel and radeon cards) at which point X seems to hang whenever trying to switch to the radeon card. If there is no working solution to this, it sure would be great to get the 2D tiling as an option that could be set using an env variable.

            Comment


            • #66
              Anyone know how to create an xorg config that works with intel/radeon switchable graphics? Switching works fine for me until I try to create a config file (for adding the 2D tiling option). With the config file, X hangs when switching to the radeon card causing a hard lock. I included the bus ID's of both cards in the config, but still no go. It sure would be nice to have 2D tiling able to be set as an env variable like so many other options!

              Comment


              • #67
                Originally posted by dmallon View Post
                Anyone know how to create an xorg config that works with intel/radeon switchable graphics? Switching works fine for me until I try to create a config file (for adding the 2D tiling option). With the config file, X hangs when switching to the radeon card causing a hard lock. I included the bus ID's of both cards in the config, but still no go. It sure would be nice to have 2D tiling able to be set as an env variable like so many other options!
                I second that. vga_switcheroo only works fine when there's no xorg.conf created

                Comment


                • #68
                  Originally posted by darkbasic View Post
                  As easy as fakeroot make-kpkg --initrd kernel_image kernel_headers
                  Or "make defconfig && make deb-pkg"
                  (to get a generic kernel)
                  I would suggest some changes from defconfig, though

                  Comment


                  • #69
                    Originally posted by glisse View Post
                    I pushed a fix to ddx upstream it should be ok now.
                    Are you people looking into that problem: http://phoronix.com/forums/showthrea...932#post249932

                    Or should I open a proper bug report at the freedesktop bugtracker?

                    Further information is: The resolution of the laptop screen doesn't influence the buggy behaviour as long as the right screen has 1600x1200.
                    When I reduce the right screen's resolution to 1680x1050 or lower the screen corruption of the laptop screen is gone, however the right screen's upper boundary is quite above what xrandr thinks it is.

                    On the following screenshot the arandr window is at the very top of what is visible on the right screen, the whole area above it is NOT on the screen anymore.


                    It's not only with the HDMI output, the VGA output has the same problem.
                    HD 6550M by the way.

                    Comment


                    • #70
                      drm-next,mesa,ddx git - 12.02.12
                      Code:
                      hd6770 1920x1080      tilling on      tilling off
                      Lightmark                  134         100
                      Nexuiz                     72          graphic artifacts
                      Etqw demo                  33.5        graphic artifacts

                      Comment


                      • #71
                        Originally posted by ChrisXY View Post
                        Are you people looking into that problem: http://phoronix.com/forums/showthrea...932#post249932
                        I would have liked to edit my post but for some reason the edit time is still not infinite...

                        Today I updated my stuff and it was solved. I believe (!) what solved it was 9b3ad51ae5fd9654df8ef75de845a519015150bb "radeon: fix pitch alignment for scanout buffer".

                        Thank you very much, guys.

                        Comment


                        • #72
                          Originally posted by PuckPoltergeist View Post
                          I've removed mesa completely, started kdm, stopped kdm, reinstalled mesa, started kdm. Everytime the same behavior. As soon as I've enabled ColorTiling (not even ColorTiling2D) I got a garbled screen and dmesg showed the command stream errors. Something goes wrong on my HD5470. And I doubt it's because improper mesa.

                          PS: I've found some other error messages in dmesg:
                          Code:
                          radeon 0000:01:00.0: evergreen_surface_check_1d:244 stencil height 581 invalid must be aligned with 8
                          radeon 0000:01:00.0: evergreen_cs_track_validate_stencil:502 stencil invalid (0x000000af 0x000031ed 0x00000401 0x00002022)
                          radeon 0000:01:00.0: evergreen_packet3_check:1918 invalid cmd stream 929
                          [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          Sorry for reviving that old thread but it is actually the only one google finds for
                          Code:
                          "stencil height" "invalid must be aligned with"
                          so it seem to be caused here. This is obviously a rare problem, but I get it all the time...


                          I use KDE too and I see no visual corruption.

                          I don't really know when it happens but after working with KDE a bit I see this in my logs:
                          Code:
                          <snip>
                          
                          [ 6599.816781] radeon 0000:02:00.0: evergreen_surface_check_1d:240 stencil height 1 invalid must be aligned with 8
                          [ 6599.816790] radeon 0000:02:00.0: evergreen_cs_track_validate_stencil:554 stencil invalid (0x0000000f 0x00000001 0x00000401 0x00002022)
                          [ 6599.816796] radeon 0000:02:00.0: evergreen_packet3_check:2055 invalid cmd stream 2361
                          [ 6599.816800] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          [ 6658.589574] radeon 0000:02:00.0: evergreen_surface_check_1d:240 stencil height 1 invalid must be aligned with 8
                          [ 6658.589583] radeon 0000:02:00.0: evergreen_cs_track_validate_stencil:554 stencil invalid (0x0000000f 0x00000001 0x00000401 0x00002022)
                          [ 6658.589589] radeon 0000:02:00.0: evergreen_packet3_check:2055 invalid cmd stream 483
                          [ 6658.589593] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          [ 6887.698995] radeon 0000:02:00.0: evergreen_surface_check_1d:240 stencil height 1 invalid must be aligned with 8
                          [ 6887.699003] radeon 0000:02:00.0: evergreen_cs_track_validate_stencil:554 stencil invalid (0x0000000f 0x00000001 0x00000401 0x00002022)
                          [ 6887.699009] radeon 0000:02:00.0: evergreen_packet3_check:2055 invalid cmd stream 2361
                          [ 6887.699013] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          [ 6925.419753] radeon 0000:02:00.0: evergreen_surface_check_1d:240 stencil height 1 invalid must be aligned with 8
                          [ 6925.419762] radeon 0000:02:00.0: evergreen_cs_track_validate_stencil:554 stencil invalid (0x0000000f 0x00000001 0x00000401 0x00002022)
                          [ 6925.419768] radeon 0000:02:00.0: evergreen_packet3_check:2055 invalid cmd stream 483
                          [ 6925.419772] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          [ 6953.218075] radeon 0000:02:00.0: evergreen_surface_check_1d:240 stencil height 1 invalid must be aligned with 8
                          [ 6953.218085] radeon 0000:02:00.0: evergreen_cs_track_validate_stencil:554 stencil invalid (0x0000000f 0x00000001 0x00000401 0x00002022)
                          [ 6953.218091] radeon 0000:02:00.0: evergreen_packet3_check:2055 invalid cmd stream 2361
                          [ 6953.218095] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
                          
                          <snip>
                          I don't even know what that bug is. Is KDE doing something wrong having a "stencil height 1" somewhere where it shouldn't? Is the radeon driver supposed to log this so aggressively?


                          linux mainline 3.4, libdrm and mesa and xf86-video-ati git, HD 6550M.

                          Comment


                          • #73
                            tile speed up

                            From here

                            http://article.gmane.org/gmane.comp....ri.devel/69876

                            Some benchmarks on juniper (5750), fullscreen 1920x1080,
                            first result - kernel 3.4.0+ (fb21affa), second - with these patches:

                            Lightsmark: 91 fps => 123 fps +35%
                            Doom3: 74 fps => 101 fps +36%

                            Vadim

                            Comment

                            Working...
                            X