Bug 78411
Summary: | wine causes "Failed to submit rendering commands" since 5cc9ed4 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Christoph Haag (haagch.christoph) |
Component: | Video(DRI - Intel) | Assignee: | Imre Deak (imre.deak) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | chris, intel-gfx-bugs |
Priority: | P2 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 3.16-rc1 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
xorg.0.log with --enable-debug=full
not fixed --enable-debug=full with df89b4941130b5ff020c6ef3e244dcf5fec45f2a |
Description
Christoph Haag
2014-06-19 16:11:59 UTC
commit df89b4941130b5ff020c6ef3e244dcf5fec45f2a Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jun 19 20:39:59 2014 +0100 sna: Mark upload from SHM segment as read-only As this may be mapped by the Xserver using a read-only SHM segment, we are forced to treat it always as read-only. And this being X, that it is using a SHM segment is opaque to the driver. Fantastic middlelayer. This was incorrectly removed in commit e680e54eab6ffa72e5e1eb6cc0e3fe4b235b06a1 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jun 11 10:48:26 2014 +0100 sna: Ignore setting read-only for temporary userptr maps Reported-by: Christoph Haag <haagch.christoph@googlemail.com> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78411 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Created attachment 140471 [details]
not fixed
Sorry, not fixed with this commit. I can still reproduce this immediately with wine. It also happens with uxa.
Shall I upload another log with --enable-debug=full?
Strange. That should have been the efault. Please do upload a new trace. Created attachment 140481 [details]
--enable-debug=full with df89b4941130b5ff020c6ef3e244dcf5fec45f2a
Gah. commit 113a8b9be9dd7ffbc6f7c713bc40561bdf38e8b0 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jun 19 20:39:59 2014 +0100 sna: Mark upload from SHM segment as read-only As this may be mapped by the Xserver using a read-only SHM segment, we are forced to treat it always as read-only. And this being X, that it is using a SHM segment is opaque to the driver. Fantastic middlelayer. This was incorrectly removed in commit e680e54eab6ffa72e5e1eb6cc0e3fe4b235b06a1 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jun 11 10:48:26 2014 +0100 sna: Ignore setting read-only for temporary userptr maps Also let's not forget the ShmPutImage -> CopyArea path. Reported-by: Christoph Haag <haagch.christoph@googlemail.com> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=78411 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> After a quick test it seems like it is fixed. Thanks! |