[Bug 50657] New: [Evergreen,GIT,Tiling?] Occasional invalid command stream and subsequent performance increase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugs.freedesktop.org/show_bug.cgi?id=50657

             Bug #: 50657
           Summary: [Evergreen,GIT,Tiling?] Occasional invalid command
                    stream and subsequent performance increase
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
        AssignedTo: dri-devel@xxxxxxxxxxxxxxxxxxxxx
        ReportedBy: thomas.lindroth@xxxxxxxxx


Starting Warcraft 3 in Wine sometimes failes because of invalid command stream.
It happens in about 10% of all startup attempts.

After a failed startup Warcraft normally starts fine again and with improved
framerate. Normal framerate after clean reboot is 110fps and directly after
error it jumps to 150fps. Other applications also get improved framerate.
Street fighter 4 benchmark in wine goes from 50 to 61 and glxgears from 4,000
to 10,000. The increased performance lasts for about 2 min and drops back to
normal after that. It will jump again next time the error is triggered. No
rendering errors can be seen. No other applications besides war3 can trigger
the failed command stream.

Dmesg reports:
radeon 0000:01:00.0: evergreen_surface_value_conv_check:325 depth invalid array
mode 15
radeon 0000:01:00.0: evergreen_cs_track_validate_depth:645 depth invalid
(0xffffffff 0x00000000 0xffffffff)
radeon 0000:01:00.0: evergreen_packet3_check:2015 invalid cmd stream
Same message every time. No other error reported in dmesg or Xorg.log

Hardware is HD 6770. Using DDX,Mesa,libdrm from latest git. Kernel 3.4.0.
"ColorTiling" "true"
"ColorTiling2D" "true"
"SwapbuffersWait" "false"
"EnablePageFlip" "true"
radeon.pcie_gen2=1

War3 is invoked as "vblank_mode=0 WINEDEBUG=fps wine war3.exe -opengl" in a
wine virtual desktop.

The error might be build related. Building mesa with --enable-debug triggers
the error more often it seems. Pipeing the output of wine to file also triggers
the error.

Mesa built from gentoo ebuild
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking
--enable-dri --enable-glx --enable-texture-float --disable-debug --enable-egl
--disable-gbm --disable-gles1 --disable-gles2 --enable-glx-tls --disable-osmesa
--enable-asm --enable-shared-glapi --disable-xa --disable-xorg
--with-dri-drivers= --with-gallium-drivers=,swrast,r600
--with-egl-platforms=x11 --enable-gallium-egl --disable-d3d1x
--disable-gallium-g3dvl --enable-gallium-llvm --disable-openvg
--disable-r600-llvm-compiler --disable-vdpau --disable-xvmc

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux