From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 61182] r600g causes KWin crashes with kernel 3.8
Date: Sat, 20 Apr 2013 22:19:45 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1147987779=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 792C1E5EB5
for ;
Sat, 20 Apr 2013 15:19:45 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1147987779==
Content-Type: multipart/alternative; boundary="1366496385.aAc4A63.3272"; charset="us-ascii"
--1366496385.aAc4A63.3272
Date: Sat, 20 Apr 2013 22:19:45 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=61182
--- Comment #33 from Alex Deucher ---
(In reply to comment #32)
> Thanks, Knut, for bisecting in #27. Thanks, Stan, for confirming bisection
> in #28.
>
> So the bad changeset is
> http://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=35840ab189595b817fa8b1a1df8cc92474a7c38d
>
> I read that code (out of context: I'm not familiar with Xorg code). It kind
> of looked as if things with obvious allocation potential were followed by
> asserts to check that the allocation worked. So why are we observing SIGBUS
> rather than assertion errors? If allocation failure is possible, even
> assertion failure seems harsh (but at least more diagnostic).
As per comment 29, the MSAA surface is too big to be mapped by the CPU (the
CPU's window into VRAM is only 256 MB). The allocation is successful, but the
CPU is not able to map the buffer due to the limited window. You get a sigbus
because the mapping fails and the CPU tries to access an address beyond the PCI
aperture where vram is mapped. The solution is to either disable MSAA or as
per comment 29, use the GPU to initialize the CMASK/HTILE buffers rather than
using the CPU.
--
You are receiving this mail because:
You are the assignee for the bug.
--1366496385.aAc4A63.3272
Date: Sat, 20 Apr 2013 22:19:45 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 33
on bug 61182
from Alex Deucher
(In reply to comment #32)
> Thanks, Knut, for bisecting in #27. Thanks, Stan, for confirming bisection
> in #28.
>
> So the bad changeset is
> http://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=35840ab189595b817fa8b1a1df8cc92474a7c38d
>
> I read that code (out of context: I'm not familiar with Xorg code). It kind
> of looked as if things with obvious allocation potential were followed by
> asserts to check that the allocation worked. So why are we observing SIGBUS
> rather than assertion errors? If allocation failure is possible, even
> assertion failure seems harsh (but at least more diagnostic).
As per comment 29, the MSAA surface is too big to be mapped by the CPU (the
CPU's window into VRAM is only 256 MB). The allocation is successful, but the
CPU is not able to map the buffer due to the limited window. You get a sigbus
because the mapping fails and the CPU tries to access an address beyond the PCI
aperture where vram is mapped. The solution is to either disable MSAA or as
per comment 29, use the GPU to initialize the CMASK/HTILE buffers rather than
using the CPU.
You are receiving this mail because:
- You are the assignee for the bug.
--1366496385.aAc4A63.3272--
--===============1147987779==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============1147987779==--