Public bug reported:

With Xserver 1.15, OpenGL performance in all games is reduced by almost
half, at least with both Radeon/r600g driver Not sure which actual
package has the issue.  As long a hyper-z is explicitly enabled, mesa
version 10.2 (from oibaf PPA) does not change this regression. With
hyper-z disabled (the new default) another 10-20% reduction in
performance resulted after an approximately 40% loss from the new x
server.

Critter still ran faster than the screen refresh rate, so it was not a
matter of vblank sync being enabled due to any effect of the dri3
transition on an unchanged ~/.drirc .  I am still wondering, however, if
the DRI3 transition is the source of this severe performance loss.


Package tested:

xserver-xorg-core_2%3a1.15.0-1ubuntu6_amd64.deb

Is the version of xserver-xorg-core tested against the last 1.14 version
I have back to back with same mesa and kernel versions. Framerates in
both Critter and Scorched3d were cut roughly in half, 0ad is CPU bound
and mimimally affected. I don't have any other GPU intensive games nor
the bandwidth to download them so cannot benchmark them.

CPUs tested have been AMD FX-8120 and Phenom II x4
GPU's have been Radeon HD6750 and HD5770
proprietary drivers have NOT been tested

Here are the configuration files used with the AMD based desktops:

I use this xorg,conf file:

    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse" 
    Option         "Protocol" "auto"
    Option         "AccelerationScheme"  "none"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "radeon"
    Option         "SwapbuffersWait" "off"   #not the default
    Option         "ColorTiling"      "on"
    Option         "ColorTiling2d"    "on"   #not the default
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes "1920x1080"
    EndSubSection

EndSection


And this ~/.drirc:

<driconf>
    <device screen="0" driver="dri2">
        <application name="Default">
            <option name="fthrottle_mode" value="2" />
            <option name="pp_celshade" value="0" />
            <option name="pp_jimenezmlaa" value="3" />
            <option name="pp_jimenezmlaa_color" value="0" />
            <option name="vblank_mode" value="0" />
            <option name="pp_nored" value="0" />
            <option name="pp_nogreen" value="0" />
            <option name="allow_large_textures" value="1" />
            <option name="pp_noblue" value="0" />
        </application>
        <application name="cinnamon" executable="cinnamon">
            <option name="vblank_mode" value="1" />
        <application name="mplayer" executable="mplayer">
            <option name="vblank_mode" value="1" />
        <application name="gnome-mplayer" executable="gnome-mplayer">
            <option name="vblank_mode" value="1" />
        <application name="mpv" executable="mpv">
            <option name="vblank_mode" value="1" />
        <application name="totem" executable="totem">
            <option name="vblank_mode" value="1" />
        <application name="criticalmass" executable="critter">
            <option name="vblank_mode" value="0" />
        </application>
        <application name="glxgears" executable="glxgears">
            <option name="vblank_mode" value="0" />
        </application>
        <application name="scorched3d" executable="scorched3d">
            <option name="vblank_mode" value="0" />
        </application>
    </device>
    <device screen="0" driver="r600">
        <application name="Default">
            <option name="fthrottle_mode" value="2" />
            <option name="pp_celshade" value="0" />
            <option name="pp_jimenezmlaa" value="0" />
            <option name="pp_jimenezmlaa_color" value="0" />
            <option name="vblank_mode" value="1" />
            <option name="force_glsl_extensions_warn" value="false" />
            <option name="pp_nored" value="0" />
            <option name="pp_nogreen" value="0" />
            <option name="allow_large_textures" value="1" />
            <option name="pp_noblue" value="0" />
        </application>
    </device>
</driconf>


And this ~/.profile is used to enable hyper-Z and ensure the sb backend is used 
in Mesa:

export R600_DEBUG=sb
export R600_HYPERZ=1

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1293314

Title:
  Severe performance regression with xserver 1.15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1293314/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to