From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC] Date: Mon, 24 Nov 2014 21:08:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0308451687==" 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 --===============0308451687== Content-Type: multipart/alternative; boundary="1416863300.82355.13009"; charset="UTF-8" --1416863300.82355.13009 Date: Mon, 24 Nov 2014 21:08:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=27501 --- Comment #56 from l3iggs --- Created attachment 109963 --> https://bugs.freedesktop.org/attachment.cgi?id=109963&action=edit 9400M dmesg What follows is my partially working workaround for my 9400M in my MacBook Pro 5,1. For my fully working workaround for my 9600M GT see https://bugs.freedesktop.org/show_bug.cgi?id=86537 The following was tested with a kernel 3.18-rc6 (without applying any of the patches here): (1) Append 'modprobe.blacklist=nouveau' to the kernel boot parameters This allows the system to boot. (2) Once booted, as root, reset the 9400M GPU: 'echo 1 > /sys/bus/pci/devices/0000:03:00.0/reset' (3) 'echo 1 > /sys/bus/pci/devices/0000:03:00.0/rescan' (4) 'echo 1 > /sys/bus/pci/devices/0000:02:00.0/remove' This completely removes the 9600M GT GPU from the system so nouveau does not use in when we load the module in the next step. (5) 'modprobe nouveau' where 0000:03:00.0 is the PCI address of my 9400M and 0000:02:00.0 is the PCI address of my 9600M GT. Nouveau seemingly loads fine for the 9400M, however I find myself unable to actually use my 9400M GPU for anything (while repeating the same above steps for my 9600M GT works fine). For example, starting gdm with the 9400M does nothing. I believe this is because the 9400M GPU is not "connected" to any display (since it was not selected in OSX). I've attached dmesg logs for loading nouveau for each of the GPUs in my laptop here. Notice that for the working 9600M GT, the log shows: nouveau [ DRM] allocated 1440x900 fb: 0x70000, bo ffff88014750d400 1449x900 is the native resolution of my laptop's display. while for the non-working 9400M, the log shows: nouveau 0000:03:00.0: No connectors reported connected with modes [drm] Cannot find any crtc or sizes - going 1024x768 nouveau [ DRM] allocated 1024x768 fb: 0x50000, bo ffff88014715a400 I think I'm pretty close to having a universal working solution for both GPUs here. Does anyone know how I can "connect" my 9400M GPU with my display? I've tried fiddling a bit with xrandr after loading nouveau for the 9400M, but it seems to always report no displays found. -- You are receiving this mail because: You are the assignee for the bug. --1416863300.82355.13009 Date: Mon, 24 Nov 2014 21:08:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 56 on bug 27501 from
Created attachment 109963 [details]
9400M dmesg

What follows is my partially working workaround for my 9400M in my MacBook Pro
5,1. For my fully working workaround for my 9600M GT see
https://bugs.freedesktop.org/show_bug.cgi?id=86537

The following was tested with a kernel 3.18-rc6 (without applying any of the
patches here):

(1) Append 'modprobe.blacklist=nouveau' to the kernel boot parameters
This allows the system to boot.
(2) Once booted, as root, reset the 9400M GPU: 'echo 1 >
/sys/bus/pci/devices/0000:03:00.0/reset'
(3) 'echo 1 > /sys/bus/pci/devices/0000:03:00.0/rescan'
(4) 'echo 1 > /sys/bus/pci/devices/0000:02:00.0/remove'
This completely removes the 9600M GT GPU from the system so nouveau does not
use in when we load the module in the next step.
(5) 'modprobe nouveau'

where
0000:03:00.0 is the PCI address of my 9400M
and
0000:02:00.0 is the PCI address of my 9600M GT.

Nouveau seemingly loads fine for the 9400M, however I find myself unable to
actually use my 9400M GPU for anything (while repeating the same above steps
for my 9600M GT works fine). For example, starting gdm with the 9400M does
nothing. I believe this is because the 9400M GPU is not "connected" to any
display (since it was not selected in OSX). I've attached dmesg logs for
loading nouveau for each of the GPUs in my laptop here. Notice that for the
working 9600M GT, the log shows:
nouveau  [     DRM] allocated 1440x900 fb: 0x70000, bo ffff88014750d400
1449x900 is the native resolution of my laptop's display.

while for the non-working 9400M, the log shows:
nouveau 0000:03:00.0: No connectors reported connected with modes
[drm] Cannot find any crtc or sizes - going 1024x768
nouveau  [     DRM] allocated 1024x768 fb: 0x50000, bo ffff88014715a400

I think I'm pretty close to having a universal working solution for both GPUs
here. Does anyone know how I can "connect" my 9400M GPU with my display?

I've tried fiddling a bit with xrandr after loading nouveau for the 9400M, but
it seems to always report no displays found.


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