Bug 41846 - hitting software fallbacks when using xorg state tracker
Summary: hitting software fallbacks when using xorg state tracker
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 15:09 UTC by Martin Stolpe
Modified: 2011-10-19 10:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
perf data after moving a window (425.02 KB, application/x-gzip)
2011-10-16 15:11 UTC, Martin Stolpe
Details
perf data after scrolling in notepad++ (466.31 KB, application/x-gzip)
2011-10-16 15:11 UTC, Martin Stolpe
Details
Xorg.0.log (37.32 KB, text/plain)
2011-10-17 16:39 UTC, Martin Stolpe
Details
xorg.conf (5.67 KB, text/plain)
2011-10-17 16:39 UTC, Martin Stolpe
Details

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.