Bug 41846

Summary: hitting software fallbacks when using xorg state tracker
Product: Mesa Reporter: Martin Stolpe <martinstolpe>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: perf data after moving a window
perf data after scrolling in notepad++
Xorg.0.log
xorg.conf

Description Martin Stolpe 2011-10-16 15:09:46 UTC
Hello,

I'm using the xorg state tracker driver r300_drv.so and some functions seem to not accelerated. Here is the perf output when moving a window:
-     68,56%                X  libc-2.14.so                          [.] memcpy 
   - memcpy
      - 99,70% fbCopyWindowProc
           miCopyRegion                                                 
           fbCopyWindow                                                                                      
           ExaCheckCopyWindow                                                                         
           exaCopyWindow                                           
           damageCopyWindow                               
           miSpriteCopyWindow                                  
           compCopyWindow                                    
           miMoveWindow                                         
           compMoveWindow                                     
           ConfigureWindow                                                 
           ProcConfigureWindow                                                 
           Dispatch                                                                     
           main                                                                              
           __libc_start_main                                                          
-     17,95%                X  libfb.so                              [.] fbBlt 
   - fbBlt                                         
      + 97,07% fbCopyWindowProc      
      - 2,93% fbBltStip
           fbPutZImage  
           ExaCheckPutImage
           exaPutImage
           damagePutImage 
           ProcPutImage 
           Dispatch
           main
           __libc_start_main   


and here is the output when scrolling in notepad++ running in wine:
-     63,01%                X  libpixman-1.so.0.22.2          [.] pixman_blt_sse2.part.10
   - pixman_blt_sse2.part.10
      - 99,98% sse2_blt
           pixman_blt
           fbCopyNtoN
           miCopyRegion
           miDoCopy
           fbCopyArea
           ExaCheckCopyNtoN
           miCopyRegion
           miDoCopy
           exaCopyArea
         - damageCopyArea
            - 99,99% ProcCopyArea
                 Dispatch
                 main
                 __libc_start_main
-     23,10%                X  libc-2.14.so                   [.] memcpy
   - memcpy
      - 98,41% fbCopyNtoN
           miCopyRegion
           miDoCopy
           fbCopyArea
           ExaCheckCopyNtoN
           miCopyRegion
           miDoCopy
           exaCopyArea
           damageCopyArea
           ProcCopyArea
           Dispatch
           main
           __libc_start_main
      - 1,49% ExaUploadToScreen
         - exaHWCopyNtoN
            - 98,06% exaComposite
                 damageComposite
                 ProcRenderComposite
                 Dispatch
                 main
                 __libc_start_main
            - 1,94% exaCopyNtoN
                 miCopyRegion
                 miDoCopy
                 exaCopyArea
                 damageCopyArea
                 ProcShmPutImage
                 ProcShmDispatch
                 Dispatch
                 main
                 __libc_start_main
Comment 1 Martin Stolpe 2011-10-16 15:11:00 UTC
Created attachment 52396 [details]
perf data after moving a window
Comment 2 Martin Stolpe 2011-10-16 15:11:41 UTC
Created attachment 52397 [details]
perf data after scrolling in notepad++
Comment 3 Michel Dänzer 2011-10-17 04:08:37 UTC
Please attach the Xorg.0.log file.
Comment 4 Martin Stolpe 2011-10-17 16:39:11 UTC
Created attachment 52448 [details]
Xorg.0.log
Comment 5 Martin Stolpe 2011-10-17 16:39:40 UTC
Created attachment 52449 [details]
xorg.conf
Comment 6 Michel Dänzer 2011-10-19 08:04:23 UTC
You need to enable 2D acceleration with Option "2DAccel".
Comment 7 Martin Stolpe 2011-10-19 10:52:33 UTC
My fault. I had 2D acceleration disabled because of graphical glitches.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.