Fwd: [Glamor] very slow 2d with radeonsi and glamor

Alexandr sss at sss.chaoslab.ru
Sun Jun 9 09:36:53 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




- -------- ???????? ????????? --------
????:     [Glamor] very slow 2d with radeonsi and glamor
????:     Sat, 08 Jun 2013 22:55:30 +0300
??:     Alexandr <sss at sss.chaoslab.ru>
????:     glamor at lists.freedesktop.org



Good day, i have problem with configuring new radeonsi card for 2d/3d
acceleration
i have this cards:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Cape Verde XT [Radeon HD 7770 GHz Edition]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape
Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Cape Verde XT [Radeon HD 7770 GHz Edition]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape
Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]


i have gentoo system and following software installed:

uname -mpr
3.10.0-rc4 x86_64 Intel(R) Core(TM)2 Quad CPU Q9650 @ 3.00GHz

 x11-base/xorg-server
    ::gentoo                  1.9.5-r2 {:0/1.9.5} 1.10.6-r2 {:0/1.10.6}
1.11.4-r2 {:0/1.11.4} 1.12.4-r1* {:0/1.12.4} (1.13.4)U {:0/1.13.4}
(1.14.1)U(~) {:0/1.14.1} (1.14.1.901)U(~) {:0/1.14.1.901}
    ::installed               1.12.4-r1 {:0/1.12.4}
    x11-base/xorg-server-1.12.4-r1:0::installed (world)
    Description               X.Org X servers
    Homepage                  http://xorg.freedesktop.org/
    From repositories         gentoo
    Installed time            Tue May 28 03:28:52 EEST 2013
    Installed using           paludis-1.4.0
    License                   MIT
    Use flags                
        USE                  
            (-dmx)           
            (-doc)           
            (ipv6)           
            (kdrive)         
            (-minimal)       
            (nptl)           
            (-selinux)       
            (static-libs)    
            (-tslib)         
            (udev)           
            (xnest)          
            (xorg)           
            (xvfb)           
        Build Options        
            -trace            Trace actions executed by the package
(very noisy, for debugging broken builds only)

 x11-libs/libdrm
    ::FireBurn                9999(~)* {:0}
    ::gentoo                  (2.4.20-r1)K 2.4.33 2.4.40 2.4.42(~)
2.4.43(~) 2.4.44(~) 2.4.45 {:0}
    ::installed               9999 {:0}
    x11-libs/libdrm-9999:0::installed
    Description               X.Org libdrm library
    Homepage                  http://dri.freedesktop.org/
    From repositories         FireBurn
    Installed time            Sat Jun 08 16:57:34 EEST 2013
    Installed using           paludis-1.4.0
    License                   MIT
    Use flags                
        USE                  
            (libkms)         
            (static-libs)    
        abi_x86              
            (32)             
            (64)             
            (-x32)           
        video_cards          
            (-exynos)        
            (-freedreno)     
            (-intel)         
            (-nouveau)       
            (-omap)          
            (radeon)         
            (-vmware)        
        Build Options        
            -trace            Trace actions executed by the package
(very noisy, for debugging broken builds only)

 media-libs/mesa
    ::FireBurn                9999-r51(~)* {:0}
    ::gentoo                  7.10.3 7.11.2 8.0.4-r1 9.0.1 9.0.2(~)
9.0.3(~) 9.1(~) 9.1.1(~) 9.1.2(~) 9.1.2-r1 9.1.3(~) 9.2_pre20130515(~r)
9.2_pre20130528(~r) {:0}
    ::installed               9999-r51 {:0}
    media-libs/mesa-9999-r51:0::installed (world)
    Description               OpenGL-like graphic library for Linux
    Homepage                  http://mesa3d.sourceforge.net/
    From repositories         FireBurn
    Installed time            Sat Jun 08 17:06:53 EEST 2013
    Installed using           paludis-1.4.0
    License                   MIT SGI-B-2.0
    Use flags                
        USE                  
            (-bindist)       
            (-classic)       
            (-debug)         
            (egl)            
            (gallium)        
            (gbm)            
            (gles1)          
            (gles2)          
            (llvm)           
            (nptl)           
            (opencl)         
            (openvg)         
            (osmesa)         
            (-pax_kernel)    
            (-pic)           
            (r600-llvm-compiler)
            (-selinux)       
            (shared-glapi)   
            (vdpau)          
            (-wayland)       
            (xa)             
            (-xorg)          
            (xvmc)           
        abi_x86              
            (32)             
            (64)             
            (-x32)           
        python_single_target
            (-python2_6)     
            (python2_7)      
        python_targets       
            (-python2_6)     
            (python2_7)      
        video_cards          
            (-freedreno)     
            (-i915)          
            (-i965)          
            (-ilo)           
            (-intel)         
            (-nouveau)       
            (-r100)          
            (-r200)          
            (-r300)          
            (r600)           
            (radeon)         
            (radeonsi)       
            (-vmware)        
        Build Options        
            -trace            Trace actions executed by the package
(very noisy, for debugging broken builds only)

* x11-drivers/xf86-video-ati
    ::gentoo                  6.13.2 6.14.3-r1(~) 6.14.6-r1 7.0.0
7.0.0-r1(~) 7.1.0(~) {:0}
    ::installed               9999 {:0}
    x11-drivers/xf86-video-ati-9999:0::installed
    Description               ATI video driver
    Homepage                  http://xorg.freedesktop.org/
    From repositories         x11
    Installed time            Sat Jun 08 17:07:49 EEST 2013
    Installed using           paludis-1.4.0
    License                   MIT
    Use flags                
        USE                  
            (glamor)         
            (udev)           
        Build Options        
            -trace            Trace actions executed by the package
(very noisy, for debugging broken builds only)


* x11-libs/glamor
    ::gentoo                  0.5 0.5-r1(~) {:0}
    ::installed               9999 {:0}
    ::x11                     9999(~rU)* {:0}
    x11-libs/glamor-9999:0::installed
    Description               OpenGL based 2D rendering acceleration library
    Homepage                  http://xorg.freedesktop.org/
    From repositories         x11
    Installed time            Fri Jun 07 23:40:35 EEST 2013
    Installed using           paludis-1.4.0
    License                   MIT
    Use flags                
        USE                  
            (-gles)          
            (static-libs)    
        Build Options        
            -trace            Trace actions executed by the package
(very noisy, for debugging broken builds only)



i am using following xorg.conf

cat /etc/X11/xorg.conf
Section "ServerFlags"
    Option "BlankTime"  "10"
    Option "StandbyTime"  "20"
    Option "SuspendTime"  "30"
    Option "DRI2" "true"
    Option "IgnoreABI" "true"
    Option "AutoAddDevices" "true"
    Option "AutoEnableDevices" "true"
    Option "AllowGLXWithComposite" "true"
    Option "Clone" "off"
EndSection

Section "Extensions"
    Option "Composite" "Enable"
    Option "DAMAGE" "Enable"
    Option "DOUBLE-BUFFER" "Enable"
    Option "GLX" "Enable"
    Option "RANDR" "Enable"
    Option "RENDER" "Enable"
    Option "XVideo" "Enable"
EndSection

Section "Module"
    Load "dri2"
    Load "glamoregl"
EndSection

Section "Monitor"
    Identifier "DVI-0"
    Option "PreferredMode" "1280x1024"
    Option "LeftOf"  "PX2370"
EndSection

Section "Monitor"
    Identifier "DisplayPort-0"
    Option "PreferredMode" "1920x1080"
    Option "Position" "0 0"
EndSection

Section "Monitor"
    Identifier "HDMI-0"
    Option "RightOf"  "PX2370"
    Option "PreferredMode" "1920x1080"
EndSection

Section "Device"
    Identifier "card1"
    Driver "radeon"
    Option "HDMI-0" "IPS234"
    Option "DisplayPort-0" "PX2370"
    Option "DVI-0" "740bf"
#    Option "AccelMethod" "EXA"
    Option "ColorTiling" "true"
    Option "ColorTiling2D" "true"

    BusID "PCI:1:0:0"
EndSection

Section "Device"
    Identifier "card2"
    Driver "radeon"
    Option "Disabled" "true"
    Option "AccelMethod" "glamor"
    BusID "PCI:3:0:0"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "card1"
    SubSection             "Display"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "main_layout"
    Screen 0 "screen1"
EndSection

Section "dri"
  Mode 0666
EndSection

with this config i have medium gui artifacts, working, but slow 3d, and
unusable slow 2d performance, if force exa acceleration, 2d work fast,
no gui artifacts, but only software 3d (via llvmpipe), what i am doing
wrong ?

also xorg.log in attachment



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRtK8lAAoJEH3ap8veG8EHbXsH/3jmF0ToUM975/ylHBsTU3fs
LzVl3wFJZIfkmzWWZIayMIvaTD5fyp1+PSzVdf504l5TS/XFu8CvPZ3BLlrKIwyG
0e8Ui6orjXCyIbAa7+sqx3V/XUviQMQPSjWtvZq8awfvbHM9KfSmZpbFnJ2lkzUq
rd2fua9FbkE+zlVcTvYYO1+JQTmddbD3GYQf7gSIl5IqRW3V3X2FsvUWE3OK+byX
l78c975Im5IEbws7UKSESQDmu4pBtVUXK/iUi7b25d1/AfGDIWPA6Lhuc2V8SV8/
z0r/d4QQyp/Ph5pth8fABV+NjYm73wT8UpxywW6M+FRQ7lMzVliTsyX5XuHKd10=
=z/WU
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log
Type: text/x-log
Size: 88631 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-driver-ati/attachments/20130609/9951815b/attachment-0001.bin>
-------------- next part --------------
_______________________________________________
Glamor mailing list
Glamor at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/glamor



More information about the xorg-driver-ati mailing list