Announcement

Collapse
No announcement yet.

Radeon Driver Gets Textured Video (Xv)

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

  • #31
    Originally posted by givemesugarr View Post
    if that could help you devs to get it working i'd be glad to try it out and see if it works.
    This patch enables exa render accel (for rotation) and textured video for XPRESS cards:

    http://www.botchco.com/alex/xorg/xpr...nd_render.diff

    Let me know if it works.

    Comment


    • #32
      Originally posted by xpgdk View Post
      On my RS690 (Asus M2A-VM) I get nothing but strangely coloured triangles.
      Could this be due to lack of proper DRI drivers?
      I have now upgraded to latest git of mesa, drm and xf86-video-ati and xvideo finally works. There is some tearing and the picture is wobbling -- not much, but enough for a headache.

      Really nice to see the progress. Looking forward to be able to use my X1250 IGP :-)

      /Paul

      Comment


      • #33
        Originally posted by agd5f View Post
        This patch enables exa render accel (for rotation) and textured video for XPRESS cards:

        http://www.botchco.com/alex/xorg/xpr...nd_render.diff

        Let me know if it works.
        hmmm.... i was able to enable rendering and exa compositing but texturedvideo is still ignored on my board. i'll try to recompile the driver, drm and mesa and see if something changes. for now the first impression is that it works quite well. i'll try out also compiz and see what happens.
        randr is still disabled.

        Comment


        • #34
          Originally posted by givemesugarr View Post
          hmmm.... i was able to enable rendering and exa compositing but texturedvideo is still ignored on my board. i'll try to recompile the driver, drm and mesa and see if something changes. for now the first impression is that it works quite well. i'll try out also compiz and see what happens.
          randr is still disabled.
          You don't need to rebuild mesa or the drm, just the radeon ddx. make sure you apply the patch and install the driver in the right place.

          Comment


          • #35
            Originally posted by agd5f View Post
            You don't need to rebuild mesa or the drm, just the radeon ddx. make sure you apply the patch and install the driver in the right place.
            sorry, i had to remove the previous radeon module and then reload drm and radeon to have textured video enabled.

            here's my log:

            http://pastebin.com/m17dd4ae5

            it seems that everything is working well. i haven't got any problem with the exception of aiglx:

            #
            (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib64/dri/r300_dri.so: undefined symbol: __driCreateNewScreen_20050727)
            #
            (EE) AIGLX: reverting to software rendering
            i'll try to see what happens with compiz as soon as i compile it (i'm on gentoo). it seems that i have xvmc extension loaded but as xvmc hasn't been implemented it's not used.
            i'll try out some video and see what happens. i seemed to had divx5 video accel previous to this release. in the next days i'll let you know how i feel with rendering and textured video.
            exa is as usual faulty (has the same artifacts that fglrx had without xaanoffscreenpixmaps set to true), but somehow faster that last week's version.
            opengl apps don't work (hung on or don't even start).
            if that's the case i don't think that compiz could run, but i'll give it a try, nevertheless.
            i'll give you more info on request or some user impressions in the next days with different configurations.

            Comment


            • #36
              That divx5 acceleration of yours is still a mystery

              Comment


              • #37
                is any there .deb packages for xpress200m and x1600xt? does tvtime work with this drivers?

                Comment


                • #38
                  ok, i've compiled it from the git. It works fine on xpress200m, even XV support whoohoo, but without DRI option enabled. Once I enabled it - screen freezes. But I can't see any errors in Xorg.0.log - it looks like system working stable. Log writes than DRI enabled, acceleration enabled etc. But I see only corrupted wallpaper, no keyboard shortcuts work. Does it mean that on x200m direct rendering shouldn't work now? Or it is my problem?

                  Comment


                  • #39
                    Originally posted by bridgman View Post
                    That divx5 acceleration of yours is still a mystery
                    it's still a mistery to me too since it shouldn't be there.... but as i've said if on fglrx the same video in the same player with the same settings bumps the processor to his highest speed with big cpu usage while on radeon it's at less than 20% at the lowest speed value then the only explanation is that something's going at the hw level.... maybe my board is an alien made one that has something strange in it....

                    ok, i've compiled it from the git. It works fine on xpress200m, even XV support whoohoo, but without DRI option enabled. Once I enabled it - screen freezes. But I can't see any errors in Xorg.0.log - it looks like system working stable. Log writes than DRI enabled, acceleration enabled etc. But I see only corrupted wallpaper, no keyboard shortcuts work. Does it mean that on x200m direct rendering shouldn't work now? Or it is my problem?
                    dri works, but on xv overlay you cannot use any opengl app. also you'd have to turn the mtrr to on, while on fglrx you have to have it on off. i've also seen that i have depth moves and page flipping enabled with radeon.

                    Comment


                    • #40
                      in the current driver version the image corruption when moving a texturedvideo window partially off-screen (without composite) is fixed when moving the window out at the right or bottom border.
                      but when moving the window out at the left border the right part of the video is not redrawn and you cannot move the video over the top border (you can move the window, but the video itself does not move higher).

                      somehow these changes also broke overscan as used by tvtime. i remember that this was also broken in fglrx-overlay for a long time, but they fixed it eventually...

                      Comment


                      • #41
                        Originally posted by givemesugarr View Post
                        dri works, but on xv overlay you cannot use any opengl app. also you'd have to turn the mtrr to on, while on fglrx you have to have it on off. i've also seen that i have depth moves and page flipping enabled with radeon.
                        unfortunately it didn't work. Only still picture with corrupted wallpaper after Option "DRI" "true" I can type login and password - Gnome loads, i hear sounds, but no video output.

                        Can it be because of my Samsung R40 laptop, which has no separate videomemory? Videocard can only use shared memory

                        //sorry for my english

                        Comment


                        • #42
                          Originally posted by agd5f View Post
                          This patch enables exa render accel (for rotation) and textured video for XPRESS cards:

                          http://www.botchco.com/alex/xorg/xpr...nd_render.diff

                          Let me know if it works.
                          This works for me. I get a notice about Render and textured video being enabled in Xorg.0.log and I can use it by forcing Xv port 74. However, the textured video ports are not listed in the xvinfo output and the scaling of textured video doesn't use any filtering (only nearest neighbour). Otherwise it works fine, also in conjunction with compositing.

                          I tested accelerated rotation and it worked fine, too. I wonder why the acceleration is still disabled by default.

                          EDIT: chipset is XPRESS 200M 5955.
                          Last edited by greg; 03-01-2008, 08:12 AM.

                          Comment


                          • #43
                            Originally posted by greg View Post
                            This works for me. I get a notice about Render and textured video being enabled in Xorg.0.log and I can use it by forcing Xv port 74. However, the textured video ports are not listed in the xvinfo output and the scaling of textured video doesn't use any filtering (only nearest neighbour). Otherwise it works fine, also in conjunction with compositing.

                            I tested accelerated rotation and it worked fine, too. I wonder why the acceleration is still disabled by default.

                            EDIT: chipset is XPRESS 200M 5955.
                            Thanks for confirming. I've gone ahead and committed the patch.

                            Comment


                            • #44
                              Textured video working on R100

                              I have just tested the new Radeon driver from git, and the Textured Video adapter for R100 seems to be working OK. Using mplayer -nosound -benchmark, I get the following information for Textured and Overlay adapters:

                              Code:
                              Textured:
                              BENCHMARKs: VC:  71.091s VO:  20.266s A:   0.000s Sys:   4.363s =   95.720s
                              BENCHMARK%: VC: 74.2695% VO: 21.1721% A:  0.0000% Sys:  4.5585% = 100.0000%
                              
                              Overlay:
                              BENCHMARKs: VC:  70.628s VO:  12.017s A:   0.000s Sys:   3.725s =   86.369s
                              BENCHMARK%: VC: 81.7738% VO: 13.9137% A:  0.0000% Sys:  4.3125% = 100.0000%
                              So assuming that I am interpreting this correctly, the Overlay adapter uses 86.4 CPU seconds, whereas the Textured adapter uses 95.7 CPU seconds to play the same video file.
                              Last edited by chrisr; 03-01-2008, 03:27 PM.

                              Comment


                              • #45
                                Here is the same for me:
                                Code:
                                Textured:
                                BENCHMARKs: VC:  99.624s VO:   0.901s A:   0.000s Sys:   6.640s =  107.166s
                                BENCHMARK%: VC: 92.9629% VO:  0.8409% A:  0.0000% Sys:  6.1962% = 100.0000%
                                
                                
                                Overlay:
                                BENCHMARKs: VC:  97.977s VO:   0.993s A:   0.000s Sys:   7.731s =  106.702s
                                BENCHMARK%: VC: 91.8236% VO:  0.9305% A:  0.0000% Sys:  7.2458% = 100.0000%

                                My gripe is that EXA is unusably slow for some reason. It just pegs my CPU usage for no good reason (scrolling in xterm, for example) where as XAA is fine. I get ~5900fps in glxgears with EXA and ~6200fps with XAA.


                                It's good to see Xv texture support coming, but at this point EXA is so much less mature compared to XAA that it makes everything else not worth it

                                Comment

                                Working...
                                X