[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2015-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #63 from Pierre Moreau pierre.mor...@free.fr ---
For those with a dual card setup (NVAC + NV96), you should follow bug 86537 if
you want updates on fixing the NV96. Unfortunately there hasn't been much
progress, apart from finding that changing some register's value makes it work
(most likely by disabling some things, so it is not a valid fix).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2015-01-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #62 from Pierre Moreau pierre.mor...@free.fr ---
Patch is now present in 3.19-rc4, closing this bug report as solved.

For those who have the NV96 along the NVAC, you need to use l3iggs technique
and reset+rescan (echo 1  /sys/bus/pci/devices/:02:00.0/{reset,rescan})
the NV96 **before** loading Nouveau to avoid a hang when starting X and another
hang when trying to power off the NV96.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-12-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #61 from Pierre Moreau pierre.mor...@free.fr ---
Patch was merged. I'll close the bug report once a version containing the patch
is released.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-12-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 Attachment #107262|0   |1
is obsolete||

--- Comment #58 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 110350
  -- https://bugs.freedesktop.org/attachment.cgi?id=110350action=edit
[Patch] Fix acceleration on 9400M v4

This should be the final verson of this patch, thanks to answers given by the
Nvidia guys.

Please check that you can use the NVAC with acceleration. If you want to start
X or power off the NV96 (if you have one), you will either need to deactivate
acceleration for it (noaccel=:02:00.0) or use the trick describe by l3iggs
**before** loading Nouveau.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-12-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #59 from l3iggs j...@greyltc.com ---
(In reply to Pierre Moreau from comment #58)
 Created attachment 110350 [details] [review]
 [Patch] Fix acceleration on 9400M v4
 
 This should be the final verson of this patch, thanks to answers given by
 the Nvidia guys.
 
 Please check that you can use the NVAC with acceleration. If you want to
 start X or power off the NV96 (if you have one), you will either need to
 deactivate acceleration for it (noaccel=:02:00.0) or use the trick
 describe by l3iggs **before** loading Nouveau.

Thanks very much for your work on this Pierre (and thanks to your Nvidia
contacts too). With your previous patch, my NVAC was able to start a fully
accelerated gnome session via X, although it was very unstable and was quite
unusable (however, weston seemed to work fine for me with that patch). With
this latest patch, things seem quite stable. I'm writing this from a
google-chrome browser in gnome-shell/X and generally things seem to be working
so far.

~l3iggs

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-12-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 Attachment #110350|0   |1
is obsolete||

--- Comment #60 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 110376
  -- https://bugs.freedesktop.org/attachment.cgi?id=110376action=edit
[Patch v4.5] Enable non-isometric poller

Sorry, there is a new version of the patch to test.
The fix is still the same, but it integrates better with the rest of the code.
It still works on my laptop but it is best to have some more reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #56 from l3iggs j...@greyltc.com ---
Created attachment 109963
  -- https://bugs.freedesktop.org/attachment.cgi?id=109963action=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/:03:00.0/reset'
(3) 'echo 1  /sys/bus/pci/devices/:03:00.0/rescan'
(4) 'echo 1  /sys/bus/pci/devices/: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
:03:00.0 is the PCI address of my 9400M
and
: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: 0x7, bo 88014750d400
1449x900 is the native resolution of my laptop's display.

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

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.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #57 from l3iggs j...@greyltc.com ---
Created attachment 109964
  -- https://bugs.freedesktop.org/attachment.cgi?id=109964action=edit
9600M GT dmesg

Attaching dmesg for 'modprobe nouveau' for 9600M GT

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #52 from l3iggs j...@greyltc.com ---
I have a MacBook Pro 5,1 which has two GPUs: GeForce 9600M GT and GeForce
9400M.


Here is what happens when I 'insmod nouveau' while running Linux 3.18 rc5 on my
system: http://hastebin.com/qusumotusi.m

I hope that helps!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #53 from Pierre Moreau pierre.mor...@free.fr ---
Hi,

@Joanand
Sorry for not fixing the issue before your MBP died... I hope your next laptop
will have better support.

@l3iggs
The RE revealed nothing interesting. I'll try again when I can manage to spare
some time. I asked the Nvidia guys about it, it should help getting a better
patch.
I guess you set 'Better Performances' in Mac OS before getting that dmesg. In
that case the 9600M GT is driving the screen, and with acceleration enabled
causes this issue (you can try without acceleration, but you'll get another
issue ;) ). You should fill a bug report for that issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #54 from l3iggs j...@greyltc.com ---
(In reply to Pierre Moreau from comment #53)
 @l3iggs
 The RE revealed nothing interesting. I'll try again when I can manage to
 spare some time. I asked the Nvidia guys about it, it should help getting a
 better patch.
Great, thank you for your effort here! I'm more than happy to test anything you
come up with and provide any feed back I can.
 I guess you set 'Better Performances' in Mac OS before getting that dmesg.
 In that case the 9600M GT is driving the screen, and with acceleration
 enabled causes this issue (you can try without acceleration, but you'll get
 another issue ;) ). You should fill a bug report for that issue.
I actually haven't installed OSX on this machine in years. I assume it's in
high performance mode. I've actually been trying to switch over to the low
power GPU in my testing here with no success. So I'm not having too much
success with many of the workarounds  patches posted in this thread. Am I
correct in understanding that you think I should start another bug report with
this trace? Does that mean this bug report is only concerned with issues when
running from the 9400M then?

I'll keep trying to produce some more info relevant to this bug by working on
getting switched over to my 9400M.

Does anyone know if it's possible to switch from 9600M GT mode to 9400M
mode without using OSX? I've tried several of the mysterious outb grub
directives. outb 0x750 0 turns my screen off (I assume that's shutting off
the 9600M GT) but I can't seem to enable/switch to the 9400M to get the screen
back on.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #55 from Pierre Moreau pierre.mor...@free.fr ---
(In reply to l3iggs from comment #54)
 (In reply to Pierre Moreau from comment #53)
  @l3iggs
  The RE revealed nothing interesting. I'll try again when I can manage to
  spare some time. I asked the Nvidia guys about it, it should help getting a
  better patch.
 Great, thank you for your effort here! I'm more than happy to test anything
 you come up with and provide any feed back I can.
  I guess you set 'Better Performances' in Mac OS before getting that dmesg.
  In that case the 9600M GT is driving the screen, and with acceleration
  enabled causes this issue (you can try without acceleration, but you'll get
  another issue ;) ). You should fill a bug report for that issue.
 I actually haven't installed OSX on this machine in years. I assume it's in
 high performance mode. I've actually been trying to switch over to the low
 power GPU in my testing here with no success. So I'm not having too much
 success with many of the workarounds  patches posted in this thread. Am I
 correct in understanding that you think I should start another bug report
 with this trace? Does that mean this bug report is only concerned with
 issues when running from the 9400M then?

I just opened a bug report for it: #86537. Everyone here has at least the
9400M, but nor necessarily the 9600M GT, and as both issues are different, it
seems better to focus this one on the 9400M and open another one for the other
card, rather than vice-versa.

 
 I'll keep trying to produce some more info relevant to this bug by working
 on getting switched over to my 9400M.
 
 Does anyone know if it's possible to switch from 9600M GT mode to 9400M
 mode without using OSX? I've tried several of the mysterious outb grub
 directives. outb 0x750 0 turns my screen off (I assume that's shutting off
 the 9600M GT) but I can't seem to enable/switch to the 9400M to get the
 screen back on.

The gmux is probably configured differently. You can have a look at this
utility https://gfx.io/ code, as it can switch from integrated to discrete, and
back.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

l3iggs j...@greyltc.com changed:

   What|Removed |Added

 CC||j...@greyltc.com

--- Comment #51 from l3iggs j...@greyltc.com ---
(In reply to Pierre Moreau from comment #49)

 My patch wasn't merged into 3.17 as it was a bit too short before the
 release, plus it didn't had time to be properly tested on other machines to
 check if it didn't introduce some regressions; I'll use the extra time to
 reverse-engineer the registers I modify. However it should be able to go
 into 3.18 if reverse-engineering goes well.

I would LOVE to see a fix for this merged into 3.18. Please let me know if I
can help at all. I have a MacBook Pro 5,1 that exhibits this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-11-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #50 from Joanand macgyver...@web.de ---
Hi Pierre,
My Macbook Pro 5,1 died two weeks ago. The screen backlight flickered and after
reboot there was no screen at all.
An attempt to find the dead chip was unsuccessful (fuse is ok) so I think after
6 years of MacBook is to move on.
It has been a fun and frustrating time with *unsupported* hardware.

I cannot be able to contribute to this project (as a tester).

Thank you so much for the support and good luck.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #49 from Pierre Moreau pierre.mor...@free.fr ---
(In reply to Ratchanan Srirattanamet from comment #48)
 Will Pierre Moreau's patch be merged? This patch fix acceleration on system
 with only 9400M too. Symptom is X can start but gets locked up when I run
 glxgears for a while. System is Ubuntu 14.10 with Linux 3.17 compiled from
 git. After apply this patch, the symptom disappear.

Hi Ratchanan,

My patch wasn't merged into 3.17 as it was a bit too short before the release,
plus it didn't had time to be properly tested on other machines to check if it
didn't introduce some regressions; I'll use the extra time to reverse-engineer
the registers I modify. However it should be able to go into 3.18 if
reverse-engineering goes well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #48 from Ratchanan Srirattanamet peat...@hotmail.com ---
Will Pierre Moreau's patch be merged? This patch fix acceleration on system
with only 9400M too. Symptom is X can start but gets locked up when I run
glxgears for a while. System is Ubuntu 14.10 with Linux 3.17 compiled from git.
After apply this patch, the symptom disappear.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #47 from Pierre Moreau pierre.mor...@free.fr ---
(In reply to thomas from comment #46)
 (In reply to thomas from comment #45)
  (In reply to Pierre Moreau from comment #44)
   When using the 9600M GT without acceleration, do you have screen 
   corruption
   in VT each time? If so, could you try to modify the patch a bit, like:
   - removing the write to 0x100c1c;
   - if removing the write doesn't work, changing the offset applied to
   priv-r100c08 maybe testing all 4-multiples should do it, from 0 to 28.
  
  I've only tested the 9600 about 10 times, but I've always had corruption. I
  will try your changes and see if it makes a difference.
 
 No change, unfortunately. I first removed the write, then tried each of the
 offsets.

After switching to Higher Performances in OS X, I understand what you were
explaining to me about having both cards enabled but having corrupted screen
only in one case. With that in mind, tweaking the patch can't fix the
corruption as we are modifying things on the 9400M but it's the 9600M GT which
is responsible for displaying; I suggest opening another bug report for that.

I'll continue working on this patch and find how to use 0x100c1c before
switching to the 9600M GT.

Some side notes about what is wrong with the 9600M GT:
- screen corruption when using it to drive the display
- interrupt 0x0400 + lockup when starting X with acceleration on for 9400M
and 9600M GT, and the 9400M is driving the screen
- when powering it down using vgaswitcheroo:
  * if accel isn't enabled:
E[   PDISP][:02:00.0][0xc000887d][880137b94400] fini: 0x490e0008
E[   PDISP][:02:00.0][0xc000887d][880137b94400] failed suspend, -16
  * if accel is enabled:
flush timeout + (interrupt 0x0400 iirc) + lockup

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 Attachment #106804|0   |1
is obsolete||

--- Comment #42 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 107262
  -- https://bugs.freedesktop.org/attachment.cgi?id=107262action=edit
Fix acceleration on 9400M v2

Here is an updated version of the patch.

Thomas,
Do you still get screen corruption with it? (I can't reliably reproduce the
screen corruption unfortunately.)
GDM seems to work fine on my laptop with only 9400M having acceleration
enabled. I'll try with 9600M GT acceleration enabled too. :/

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #43 from thomas guruto...@gmail.com ---
(In reply to Pierre Moreau from comment #42)
 Created attachment 107262 [details] [review]
 Fix acceleration on 9400M v2
 
 Here is an updated version of the patch.
 
 Thomas,
 Do you still get screen corruption with it? (I can't reliably reproduce the
 screen corruption unfortunately.)
 GDM seems to work fine on my laptop with only 9400M having acceleration
 enabled. I'll try with 9600M GT acceleration enabled too. :/

Hi Pierre,

I've applied your v2 patch and the results are similar. The 9400M works
correctly. GDM loads fine, but it won't start a gnome-shell session. However,
SLIM works correctly and is able to load both gnome-shell and Awesome. I'm
writing this from gnome-shell now, and performance is good. I haven't had any
screen corruption with the 9400M. I'll use this configuration for now and
report any issues I encounter.

The 9600M GT (acceleration disabled) still has corruption in VT as before, but
this time the screen blanks when X is loaded.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #44 from Pierre Moreau pierre.mor...@free.fr ---
(In reply to thomas from comment #43)
 (In reply to Pierre Moreau from comment #42)
  Created attachment 107262 [details] [review] [review]
  Fix acceleration on 9400M v2
  
  Here is an updated version of the patch.
  
  Thomas,
  Do you still get screen corruption with it? (I can't reliably reproduce the
  screen corruption unfortunately.)
  GDM seems to work fine on my laptop with only 9400M having acceleration
  enabled. I'll try with 9600M GT acceleration enabled too. :/
 
 Hi Pierre,
 
 I've applied your v2 patch and the results are similar. The 9400M works
 correctly. GDM loads fine, but it won't start a gnome-shell session.
 However, SLIM works correctly and is able to load both gnome-shell and
 Awesome. I'm writing this from gnome-shell now, and performance is good. I
 haven't had any screen corruption with the 9400M. I'll use this
 configuration for now and report any issues I encounter.
 
 The 9600M GT (acceleration disabled) still has corruption in VT as before,
 but this time the screen blanks when X is loaded.

Hi Thomas,

Good to hear you can use gnome-shell! :)

By
 I haven't had any screen corruption with the 9400M.
do you mean with the 9600M GT completely disabled?

When using the 9600M GT without acceleration, do you have screen corruption in
VT each time? If so, could you try to modify the patch a bit, like:
- removing the write to 0x100c1c;
- if removing the write doesn't work, changing the offset applied to
priv-r100c08 maybe testing all 4-multiples should do it, from 0 to 28.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #45 from thomas guruto...@gmail.com ---
(In reply to Pierre Moreau from comment #44)
 
 Hi Thomas,
 
 Good to hear you can use gnome-shell! :)
 
 By
  I haven't had any screen corruption with the 9400M.
 do you mean with the 9600M GT completely disabled?
 

I use the efi stub loader with refind bootloader. Refind doesn't have an option
to use outb as in grub. I have set OSX preferences to battery saving, so that
the firmware sets up the 9400 initially, but the 9600 is still technically
enabled. It shows up in lspci, etc. Whenever I test the 9600, I change the
setting in OSX back to performance. So yes, with both cards enabled, the 9400
works without corruption.

 When using the 9600M GT without acceleration, do you have screen corruption
 in VT each time? If so, could you try to modify the patch a bit, like:
 - removing the write to 0x100c1c;
 - if removing the write doesn't work, changing the offset applied to
 priv-r100c08 maybe testing all 4-multiples should do it, from 0 to 28.

I've only tested the 9600 about 10 times, but I've always had corruption. I
will try your changes and see if it makes a difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-10-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #46 from thomas guruto...@gmail.com ---
(In reply to thomas from comment #45)
 (In reply to Pierre Moreau from comment #44)
  When using the 9600M GT without acceleration, do you have screen corruption
  in VT each time? If so, could you try to modify the patch a bit, like:
  - removing the write to 0x100c1c;
  - if removing the write doesn't work, changing the offset applied to
  priv-r100c08 maybe testing all 4-multiples should do it, from 0 to 28.
 
 I've only tested the 9600 about 10 times, but I've always had corruption. I
 will try your changes and see if it makes a difference.

No change, unfortunately. I first removed the write, then tried each of the
offsets.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #41 from Pierre Moreau pierre.mor...@free.fr ---
Hi Thomas,

(In reply to comment #39)
 Pierre,
 
 I have tested your patch with the 9400M in my macbookpro 5,2. The card boots
 correctly with acceleration enabled, and loads GDM. GDM looks completely
 correct, but hangs on login with a cursor on a grey screen. It's possible
 that LXDE, KDE, or some other DE might work, but gnome-shell never loads. I
 will try slim/lxde when I get a chance.

Oh... I didn't test with Gnome or KDE, as I'm using Awesome (which works fine).
Maybe if you deactivate composing it will be better (as a temporary solution)?
I'm working on improving the patch: at the moment, it turns some bits on
(enabling some features?), but the blob also writes some things (feature
configuration?) before turning each bit on. So maybe finding what those things
are and implementing them will fix the errors.
 
 At this point I can switch back to VT where I notice some nouveau errors in
 dmesg. Killing GDM (and x11 with it) produces a kernel panic.
 
 Next I booted with the 9600GT with acceleration disabled. The display looks
 correct with efifb, but loading nouveau scrambles the VT.

I have seen it once or twice too, but not at each boot.
On a similar note, I sometime get PDISP errors about an unknown method when
loading Nouveau, but as it rarely happen, I haven't tried to fix it yet. I'll
have a look at both errors later on.
 
 Thank you for your efforts!

Thanks for testing! :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #39 from thomas guruto...@gmail.com ---
Pierre,

I have tested your patch with the 9400M in my macbookpro 5,2. The card boots
correctly with acceleration enabled, and loads GDM. GDM looks completely
correct, but hangs on login with a cursor on a grey screen. It's possible that
LXDE, KDE, or some other DE might work, but gnome-shell never loads. I will try
slim/lxde when I get a chance.

At this point I can switch back to VT where I notice some nouveau errors in
dmesg. Killing GDM (and x11 with it) produces a kernel panic.

Next I booted with the 9600GT with acceleration disabled. The display looks
correct with efifb, but loading nouveau scrambles the VT.

Thank you for your efforts!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #40 from thomas guruto...@gmail.com ---
Created attachment 106977
  -- https://bugs.freedesktop.org/attachment.cgi?id=106977action=edit
dmesg 9400 w/ accel + gdm

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #37 from Joanand macgyver...@web.de ---
Hi Pierre,
Both patches seems to work (tested 1x on 3.17.rc6). 

Xorg-x11 starts with fluxbox, messages show that 9600 is unacclerated and 9400
is acclerated. There is are two errors in your patch option for disabling
accleration for given chipset:
* The entries DRM_DEBUG_DRIVER are not available on 3.17.rc6, but it works
either way.
* In the kernel  3.17 it should be if (nouveau_noaccel ||
!nouveau_fifo(device) /*XXX*/) not only if (nouveau_noaccel)

Terminating xorg-x11 crashed, probably because I switched off discrete
graphichs adapter after starting xorg. Someone else should check.

Further testing is in queue.

The previous patch you have sent: It solved a problem I had in the past: System
kernel panics if the lid is closed during startup!

Thanks.

Do you think that acceleration for 9600M will be possible sometime?

BR.

(In reply to comment #36)
 This is the minimalistic version of the previous patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #38 from Pierre Moreau pierre.mor...@free.fr ---
(In reply to comment #37)
 Hi Pierre,
 Both patches seems to work (tested 1x on 3.17.rc6). 
 
 Xorg-x11 starts with fluxbox, messages show that 9600 is unacclerated and
 9400 is acclerated. There is are two errors in your patch option for
 disabling accleration for given chipset:
 * The entries DRM_DEBUG_DRIVER are not available on 3.17.rc6, but it works
 either way.
 * In the kernel  3.17 it should be if (nouveau_noaccel ||
 !nouveau_fifo(device) /*XXX*/) not only if (nouveau_noaccel)
 
 Terminating xorg-x11 crashed, probably because I switched off discrete
 graphichs adapter after starting xorg. Someone else should check.
 
 Further testing is in queue.
 
 The previous patch you have sent: It solved a problem I had in the past:
 System kernel panics if the lid is closed during startup!
 
 Thanks.
 
 Do you think that acceleration for 9600M will be possible sometime?
 
 BR.
 
 (In reply to comment #36)
  This is the minimalistic version of the previous patch.

Hi Joanand,

I based my patches on the linux-3.18 branch of Nouveau's repo, which is more
up-to-date than 3.17-rc6: this explains the if (nouveau_noaccel) at least.

Great for the kernel panic! I noticed that using the patches, screen resumes
correctly when resuming the computer, rather than staying completely black.

Well, I'll work 9600M Gt acceleration, but I can't say if I'll succeed, nor
when. ;)

Best regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #34 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 106803
  -- https://bugs.freedesktop.org/attachment.cgi?id=106803action=edit
Option for disabling acceleration for given chipset

Rather than completely disabling the discrete card, disabling the acceleration
on that card also works. Use nouveau.chipsetnoaccel=0x96 in this case to
disable acceleration on the 9600M GT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #35 from Ilia Mirkin imir...@alum.mit.edu ---
(In reply to comment #34)
 Created attachment 106803 [details] [review]
 Option for disabling acceleration for given chipset
 
 Rather than completely disabling the discrete card, disabling the
 acceleration on that card also works. Use nouveau.chipsetnoaccel=0x96 in
 this case to disable acceleration on the 9600M GT.

How about changing noaccel instead to optionally be able to take a list of pci
addresses? (Or even just one to start...) I think that would have a much higher
chance of being accepted upstream.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 Attachment #106246|0   |1
is obsolete||

--- Comment #36 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 106804
  -- https://bugs.freedesktop.org/attachment.cgi?id=106804action=edit
Fix acceleration on 9400M

This is the minimalistic version of the previous patch.

I'll send the patches to the list, and hopefully they can still be merged into
3.17.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #33 from Joanand macgyver...@web.de ---
I confirm that the patch works, screen is NOT scrambled.
Unsing my ancient gpupwr-programm to deactivate 9600M, I am able to start
xorg-x11 + fluxbox with accleration.

Pierre, thank you very much.

I have seen that vga-switcheroo does not get started, probably due to the 9600M
fallen off the bus.

I cannot await your fix for 9600M with acceleration.

BR.

(In reply to comment #29)
 Created attachment 106246 [details] [review]
 Temporary patch for 9400M GT acceleration
 
 Could you please test this patch along with Ilia's one? It should fix
 acceleration on the 9400M GT, allowing you to boot without nouveau.noaccel=1
 and to launch X.
 
 I'll need to refine the patch a bit as it introduces some errors on the
 9600M.
 Another patch may be mandatory to get both cards to get along: for now, the
 laptop seems to be hitting an infinite loop when launching X with both cards
 enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

 CC||bugrepo...@nn7.de

--- Comment #32 from Pierre Moreau pierre.mor...@free.fr ---
*** Bug 26546 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #30 from Rolf Offermanns rolf.offerma...@gmx.net ---
Pierre, the patch works for me (MacBookPro5,2). I had to modify Ilia's patch to
have MacBookPro5 in the DMI_MATCH instead of MacBook5 and now I can boot
into a KDE5 session with the nouveau driver. I checked the xorg log file and
verified that it is indeed using hardware accelaration.

I used a fresh git clone of Linus tree for the test.

Let me know if you need further information.

Thanks,
Rolf

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #31 from Pierre Moreau pierre.mor...@free.fr ---
Awesome! Thanks for testing Rolf! I tested it on my laptop, but as it sometimes
behaves in a strange way, I preferred to get confirmation by at least someone
else. :)

I'll see later today if I can get both cards to get along without locking up
the GPU. Otherwise I'll try to get the patch into 3.17 (not sure if it's still
possible).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-09-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Pierre Moreau pierre.mor...@free.fr changed:

   What|Removed |Added

  Attachment #34863|0   |1
is obsolete||

--- Comment #29 from Pierre Moreau pierre.mor...@free.fr ---
Created attachment 106246
  -- https://bugs.freedesktop.org/attachment.cgi?id=106246action=edit
Temporary patch for 9400M GT acceleration

Could you please test this patch along with Ilia's one? It should fix
acceleration on the 9400M GT, allowing you to boot without nouveau.noaccel=1
and to launch X.

I'll need to refine the patch a bit as it introduces some errors on the 9600M.
Another patch may be mandatory to get both cards to get along: for now, the
laptop seems to be hitting an infinite loop when launching X with both cards
enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2014-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

--- Comment #28 from Pierre Moreau pierre.mor...@free.fr ---
I've made some progress on this bug, enabling Nouveau to be loaded with
acceleration enabled. However, X is **absolutely not** usable: complete garbage
screen, lots of Nouveau errors, only action available is power down the
computer (or reboot). But for using Nouveau with acceleration in console mode,
it works fine.

There are (at least) two main problems:

*   9400M acceleration is broken (resulting in Nouveau locking up on boot);
*   it seems there is a lockup when starting a working X with both cards
enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau


[Nouveau] [Bug 27501] MacBook Pro 5, x unable to boot [NV96 + NVAC]

2013-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=27501

Ilia Mirkin imir...@alum.mit.edu changed:

   What|Removed |Added

Summary|nVidia 9600M GT (Macbook|MacBook Pro 5,x unable to
   |Pro current model) is   |boot [NV96 + NVAC]
   |unable to boot  |

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau