From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 58556] MacBook Pro 5, 1 with nVidia 9400m and 9600m, scrambled screen Date: Wed, 24 Jul 2013 17:49:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1929653386==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1929653386== Content-Type: multipart/alternative; boundary="1374688160.0866d2.16390"; charset="us-ascii" --1374688160.0866d2.16390 Date: Wed, 24 Jul 2013 17:49:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=58556 --- Comment #9 from Joanand --- (In reply to comment #7) > Hi Joanand Hi Emil > "Worked" with our without acceleration ? With GPUPWR, the discrete (nVidia 9600M GT) was no longer available. And as nouveau works with 9400 and acceleration, it worked with acceleration. > Did you had the chance to narrow down what caused the change (<3.4.9 vs > 3.7.1) ? It may be due to nouveau, vgaswitcheroo and/or other kernel driver 3.4.9 did not have a viable vgaswitcheroo, but 3.7+ did. GPUPWR did no longer help, as vgaswiteroo reactivated 9600m. So the sole solution was to use the nouveau driver without acceleration. > > There has been a brief discussion what is the best way to handle this > (passing nouveau params to specific card, disabling certain card etc.) > although implementation may be far off ;( > > Meanwhile add a hack for your card by checking the PCI and returning early > rather than initialising the card - not sure which location is better > nouveau_drm_probe or nouveau_drm_load. Keep in mind to keep is symmetric > (ie. handle the case in nouveau_drm_remove/nouveau_drm_unload) > > Your code will look something similar to > > if ((pdev->bus == xx) && > (pdev->dev == xx) && > (pdev->func == xx)) { > return 0; // you can also try return -E* > } > > Cheers > Emil Thanks for these pointers. I will try this hack on 3.10.2. I will report if I get any further. BR Joanand -- You are receiving this mail because: You are the assignee for the bug. --1374688160.0866d2.16390 Date: Wed, 24 Jul 2013 17:49:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 58556 from
(In reply to comment #7)
> Hi Joanand
Hi Emil

> "Worked" with our without acceleration ?

With GPUPWR, the discrete (nVidia 9600M GT) was no longer available. And as
nouveau works with 9400 and acceleration, it worked with acceleration.

> Did you had the chance to narrow down what caused the change (<3.4.9 vs
> 3.7.1) ? It may be due to nouveau, vgaswitcheroo and/or other kernel driver

3.4.9 did not have a viable vgaswitcheroo, but 3.7+ did. GPUPWR did no longer
help, as vgaswiteroo reactivated 9600m. So the sole solution was to use the
nouveau driver without acceleration.

> 
> There has been a brief discussion what is the best way to handle this
> (passing nouveau params to specific card, disabling certain card etc.)
> although implementation may be far off ;(
> 
> Meanwhile add a hack for your card by checking the PCI and returning early
> rather than initialising the card - not sure which location is better
> nouveau_drm_probe or nouveau_drm_load. Keep in mind to keep is symmetric
> (ie. handle the case in nouveau_drm_remove/nouveau_drm_unload)
> 
> Your code will look something similar to
> 
> if ((pdev->bus == xx) &&
>     (pdev->dev == xx) &&
>     (pdev->func == xx)) {
>       return 0; // you can also try return -E*
> }
> 
> Cheers
> Emil

Thanks for these pointers. I will try this hack on 3.10.2. I will report if I
get any further.

BR
Joanand


You are receiving this mail because:
  • You are the assignee for the bug.
--1374688160.0866d2.16390-- --===============1929653386== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1929653386==--