bugzilla-daemon at freedesktop.org
2010-Jan-31 15:53 UTC
[Nouveau] [Bug 26349] New: nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349
Summary: nouveau_hybrid_setup: disables a discrete NVS 3100m on
ThinkPad T410
Product: xorg
Version: git
Platform: All
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy: pav_s at freenet.de
QAContact: xorg-team at lists.x.org
steps to reproduce:
load the nouveau module (e.g. start fedora install, or so)
result:
black screen & garbage in lspci
expected result:
kms init + hi-res cnsole
explanation:
the module fails with the message
[drm] nouveau 0000:01:00.0: _DSM hardware status gave 0x30040e3
[drm] nouveau 0000:01:00.0: Unsupported chipset 0xffffffff
after a failed probe of the card, that disables the card:
01:00.0 VGA compatible controller: nVidia Corporation Device 0a6c (rev a2)
(prog-if 00 [VGA controller])
Subsystem: Lenovo Device 2142
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at cc000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
Memory at ce000000 (64-bit, prefetchable) [size=32M]
I/O ports at 2000 [size=128]
[virtual] Expansion ROM at cd000000 [disabled] [size=512K]
...
turns into
01:00.0 VGA compatible controller: nVidia Corporation Device 0a6c (rev ff)
(prog-if ff)
!!! Unknown header type 7f
After changing (result & 0x1) to (!(result & 0x1)) in
nouveau_hybrid_setup
everything works as expected.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Jan-31 23:26 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349
Matthew Garrett <mjg59 at srcf.ucam.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Matthew Garrett <mjg59 at srcf.ucam.org> 2010-01-31
15:26:04 PST ---
Is this a hybrid graphics system?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 11:49 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #2 from Pavel S. <pav_s at freenet.de> 2010-02-01 03:49:37 PST --- (In reply to comment #1)> Is this a hybrid graphics system? >Im' sorry, I forgot that last part of my post... As far as I know it is something in between a real hybrid an just the discrete graphics: the NVS 3100m is built on the mainboard, while there is Intel's GPU on the Arrandale CPU (connected through QPI AFAIK). At lest it should be there - I have neither seen it in the device manager in windows, nor in lspci. Windows 7 can switch to "low power graphics" though... ( Does anybody know about these Arrandale GPU's? ) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 12:52 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #3 from Matthew Garrett <mjg59 at srcf.ucam.org> 2010-02-01 04:52:44 PST --- Ok - can you install the pmtools package and run the acpidump command as root, then attach the output? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 13:28 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #4 from Pavel S. <pav_s at freenet.de> 2010-02-01 05:28:22 PST --- Created an attachment (id=32966) --> (http://bugs.freedesktop.org/attachment.cgi?id=32966) acpidump -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 13:30 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #5 from Pavel S. <pav_s at freenet.de> 2010-02-01 05:30:26 PST --- Created an attachment (id=32967) --> (http://bugs.freedesktop.org/attachment.cgi?id=32967) lspci before loading nouveau -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 14:03 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #6 from Pavel S. <pav_s at freenet.de> 2010-02-01 06:03:55 PST --- Created an attachment (id=32969) --> (http://bugs.freedesktop.org/attachment.cgi?id=32969) acpidump I screwed my BIOS configuration with VT-d (and did no notice it), so the fist dump was probably no the right one... -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 14:04 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349
Pavel S. <pav_s at freenet.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #32966|0 |1
is obsolete| |
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-01 23:30 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #7 from Matthew Garrett <mjg59 at srcf.ucam.org> 2010-02-01 15:30:56 PST --- Created an attachment (id=32984) --> (http://bugs.freedesktop.org/attachment.cgi?id=32984) Fix nouveau state detection Can you try this patch? -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-04 22:26 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #8 from Pavel S. <pav_s at freenet.de> 2010-02-04 14:26:48 PST --- (In reply to comment #7)> Created an attachment (id=32984)--> (http://bugs.freedesktop.org/attachment.cgi?id=32984) [details]> Fix nouveau state detection > > Can you try this patch? >I tested it on 2.6.33-rc6 and it worked for me, thanks! (should I test it on git too?) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-04 22:29 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #9 from Matthew Garrett <mjg59 at srcf.ucam.org> 2010-02-04 14:29:01 PST --- No, that should be fine. I'll test it on the machine I have here and then send it upstream. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-09 09:57 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349 --- Comment #10 from Pavel S. <pav_s at freenet.de> 2010-02-09 01:57:24 PST --- (In reply to comment #9)> No, that should be fine. I'll test it on the machine I have here and then send > it upstream. >I have some news, which prove some assumptions about T410: although there is that Intel GPU on the CPU, it is not activated, and cannot be used in any way (AFAIK it is not connected to the mainboard so it cannot output anything). This means that this Thinkpad does not have hybrid graphics. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
bugzilla-daemon at freedesktop.org
2010-Feb-10 04:12 UTC
[Nouveau] [Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410
http://bugs.freedesktop.org/show_bug.cgi?id=26349
Ben Skeggs <skeggsb at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #11 from Ben Skeggs <skeggsb at gmail.com> 2010-02-09
20:12:09 PST ---
I've also tested this on T410, and after talking to Matthew, committed the
fix.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.