Announcement

Collapse
No announcement yet.

Radeon Page-Flipping Patches Come About

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

  • #31
    Not only in openarena, but in the whole desktop...
    ## VGA ##
    AMD: X1950XTX, HD3870, HD5870
    Intel: GMA45, HD3000 (Core i5 2500K)

    Comment


    • #32
      I recompiled xf86-video-ati without patches but I still see corruption in openarena. Is it possible it's kernel patches-related (I'm using latest drm-radeon-testing + latest fplip kernel patches)? Xorg.0.log does not show pageflipping anymore...
      ## VGA ##
      AMD: X1950XTX, HD3870, HD5870
      Intel: GMA45, HD3000 (Core i5 2500K)

      Comment


      • #33
        Yes the corruption is gone now and I get pageflips. Both initial and after xrandr now give me pitch 6912 (/4 1728), I guess that's correct after all, 6912 being 256 byte aligned. But a new problem turned up After a while the gears stalled and won't turn anymore.

        Code:
        (II) RADEON(0): radeon_dri2_schedule_flip:592 fevent[0x9d226e8]
        (WW) RADEON(0): flip queue failed: Device or resource busy
        (WW) RADEON(0): Page flip failed: Device or resource busy
        (II) RADEON(0): radeon_dri2_schedule_flip:592 fevent[0x9b87b70]
        I guess it's waiting for an interrupt that's never coming or something after last radeon_dri2_schedule_flip.

        Comment


        • #34
          I got r500, d-r-t, ddx and mesa from master, and fullscreen apps hungs when running fullscreen gl apps at first frame(probably) when pageflipping is enabled.

          Code:
          [   281.062] (WW) RADEON(0): flip queue failed: Device or resource busy
          [   281.062] (WW) RADEON(0): Page flip failed: Device or resource busy

          Comment


          • #35
            -- PROBLEM RESOLVED ---
            Originally posted by evil_core View Post
            I got r500, d-r-t, ddx and mesa from master, and fullscreen apps hungs when running fullscreen gl apps at first frame(probably) when pageflipping is enabled.

            Code:
            [   281.062] (WW) RADEON(0): flip queue failed: Device or resource busy
            [   281.062] (WW) RADEON(0): Page flip failed: Device or resource busy
            http://carme.pld-linux.org/~evil/rad...g_pageflip.log
            --- PROBLEM RESOLVED ---

            Anyway disabling VSync, helps.
            Tested by running vblank_mode=0 quake3

            Comment


            • #36
              Same problem here with full screen apps. I compiled the patches against drm-radeon-testing and xf86-video-ati against commit 040140b5d7cbeaf5d83687bc87e4a236ff9f0cbd.

              It freezes and shows the Device or resource busy message. I am testing with the OpenArena benchmark.
              openarena +exec anholt 2>&1 | egrep -e '[0-9]+ frames'

              It crashes vblank_mode=0 too.

              Comment


              • #37
                agd5f told me some hours ago, that vblank_mode=0 disables pageflip also, so its not a solution

                Comment


                • #38
                  Here with RV530 GL apps also hangs when fullscreen with pageflipping enabled, however it is not triggered instantly, after restart it works for some time before it starts hanging again.

                  Comment


                  • #39
                    New patches up:

                    Comment


                    • #40
                      Okay that's a lot better now. I tested with and Evergreen and rs780. A couple of observations:
                      • No more stalls or "Device or resource busy" messages.
                      • There is an issue with compiz, when you alt-tab to another window, there's a lot of flickering and not all screen content is correctly updated.
                      • There's is another pitch issue. On my rs780 when I enable color tiling, regardless of whether I have enabled or disabled page-flipping (through "EnablePageFlip" xorg.conf option) when I enable color tiling the screen has a kind of staircase effect. This happens at 1680x1050, at 1280x1024 there's no such issue. Also this does not happen with ddx without pageflip patches.
                      • Openarena benchmark gives 30fps on my Evergreen with page-flipping, without page-flipping (through xorg.conf option) I get 60fps.

                      Comment

                      Working...
                      X