Skip to contentSkip to conversation

New: nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

Bug 26349 [email protected] 1 participant 13 messages Jan 31, 2010 – Feb 10, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

A message that is not in the archive (sent off-list or not yet received): bug-26349-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

http://bugs.freedesktop.org/show_bug.cgi?id=26349

Matthew Garrett <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Matthew Garrett <[email protected]> 2010-01-31 15:26:04 PST --- Is this a hybrid graphics system?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #2 from Pavel S. <[email protected]> 2010-02-01 03:49:37 PST --- (In reply to comment #1)

Quoted 2 lines

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? )

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #3 from Matthew Garrett <[email protected]> 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?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #4 from Pavel S. <[email protected]> 2010-02-01 05:28:22 PST --- Created an attachment (id=32966)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32966)
acpidump

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #5 from Pavel S. <[email protected]> 2010-02-01 05:30:26 PST --- Created an attachment (id=32967)
--> (http://bugs.freedesktop.org/attachment.cgi?id=32967)
lspci before loading nouveau

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #6 from Pavel S. <[email protected]> 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...

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

Pavel S. <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #32966|0                           |1

is obsolete| |

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #7 from Matthew Garrett <[email protected]> 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?

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #8 from Pavel S. <[email protected]> 2010-02-04 14:26:48 PST --- (In reply to comment #7)

Quoted 1 line

Created an attachment (id=32984)

--> (http://bugs.freedesktop.org/attachment.cgi?id=32984) [details]

Quoted 4 lines

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?)

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #9 from Matthew Garrett <[email protected]> 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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

--- Comment #10 from Pavel S. <[email protected]> 2010-02-09 01:57:24 PST --- (In reply to comment #9)

Quoted 3 lines

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.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 26349] nouveau_hybrid_setup: disables a discrete NVS 3100m on ThinkPad T410

In reply to a message not in the archive

http://bugs.freedesktop.org/show_bug.cgi?id=26349

Ben Skeggs <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #11 from Ben Skeggs <[email protected]> 2010-02-09 20:12:09 PST --- I've also tested this on T410, and after talking to Matthew, committed the fix.

Signature · 3 lines
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.