Bug 91753

Summary: r300g: command stream overflowed error since 567394112d904096abff1d994ab952f475dfb444
Product: Mesa Reporter: Stefan Dösinger <stefandoesinger>
Component: Drivers/Gallium/r300Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Stefan Dösinger 2015-08-25 12:29:53 UTC
When trying to run any GL application that renders something with r300g (e.g. glxgears) fails with the message "radeon: command stream overflowed". This is a regression caused by the following commit:

567394112d904096abff1d994ab952f475dfb444 is the first bad commit
commit 567394112d904096abff1d994ab952f475dfb444
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Fri Jul 31 11:45:13 2015 +0200

    radeon/winsys: increase the IB size for VM

    Luckily, there is a kernel query, so use the size from that.
    It currently returns 256KB. It can be increased in the kernel.

    Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>

I am running Linux 4.1.6 (+ some Gentoo patches) and libdrm 2.4.64. The X.org server version is 1.16.4 and the DDX driver is xf86-video-ati-7.5.0.
Comment 1 Emil Velikov 2015-08-25 12:36:15 UTC
This commit has already been reverted and will be part of 11.0.0-rc2.

commit a83c36b5c0c64c717ced76db89bab900006648aa
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Sun Aug 23 18:57:44 2015 +0200

    Revert "radeon/winsys: increase the IB size for VM"
    
    This reverts commit 567394112d904096abff1d994ab952f475dfb444.
    
    It regressed performance. It looks like smaller IBs are better, because
    the GPU goes idle quicker and there is less waiting for buffers and fences.
    
    Cc: 11.0 <mesa-stable@lists.freedesktop.org>
Comment 2 Stefan Dösinger 2015-08-25 12:39:16 UTC
Oh, sorry for the spam then. I bisected this on Sunday and forgot to file an actual bug report until now. I'm comping the current git code at the moment to re-test.

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.