From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 88514] X segfaults when using prime offloading to nouveau card Date: Sat, 17 Jan 2015 09:56:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295149040==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1295149040== Content-Type: multipart/alternative; boundary="1421488563.A612a1.9314"; charset="UTF-8" --1421488563.A612a1.9314 Date: Sat, 17 Jan 2015 09:56:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=88514 --- Comment #10 from Chris Wilson --- Right, the bug is just that we attempted to dereference a DRI2ScreenPtr on a GPU screen for which DRI2 was never initialised (due to NoAccel). So we have 2 bugs: 1. The code should be more robust and only add an offload_slave if DRI2 was enabled on that Screen (or be prepared for lies). 2. Nouveau shouldn't be claiming to be an offload slave if it doesn't support offloading (due to NoAccel). -- You are receiving this mail because: You are the assignee for the bug. --1421488563.A612a1.9314 Date: Sat, 17 Jan 2015 09:56:03 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 88514 from
Right, the bug is just that we attempted to dereference a DRI2ScreenPtr on a
GPU screen for which DRI2 was never initialised (due to NoAccel). So we have 2
bugs:

1. The code should be more robust and only add an offload_slave if DRI2 was
enabled on that Screen (or be prepared for lies).

2. Nouveau shouldn't be claiming to be an offload slave if it doesn't support
offloading (due to NoAccel).


You are receiving this mail because:
  • You are the assignee for the bug.
--1421488563.A612a1.9314-- --===============1295149040== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cDovL2xpc3RzLmZy ZWVkZXNrdG9wLm9yZy9tYWlsbWFuL2xpc3RpbmZvL25vdXZlYXUK --===============1295149040==--