Skip to contentSkip to conversation

New: nouveau defaults to first graphics card in system even when xorg instructed differently

Bug 10933 [email protected] 1 participant 11 messages May 12, 2007 – Feb 1, 2008 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Summary: nouveau defaults to first graphics card in system even
when xorg instructed differently
Product: xorg
Version: 7.2
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]

Testing nouveau on a system with both;

01:00.0 VGA compatible controller: nVidia Corporation NV5 [RIVA TNT2/TNT2 Pro] (rev 15) (prog-if 00 [VGA])
Subsystem: Compaq Computer Corporation Unknown device 001f
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19 Memory at 42000000 (32-bit, non-prefetchable) [size=16M] Memory at 50000000 (32-bit, prefetchable) [size=32M] [virtual] Expansion ROM at 43000000 [disabled] [size=64K]
Capabilities: [60] Power Management version 1
Capabilities: [44] AGP version 2.0
00: de 10 28 00 06 00 b0 02 15 00 00 03 00 40 00 00

02:04.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1) (prog-if 00 [VGA])
Subsystem: XFX Pine Group Inc. Unknown device 203e
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 20 Memory at 40000000 (32-bit, non-prefetchable) [size=16M] Memory at 48000000 (32-bit, prefetchable) [size=128M] [virtual] Expansion ROM at 41020000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
00: de 10 22 03 07 00 b0 02 a1 00 00 03 00 40 00 00

/etc/X11/xorg.conf

Section "Device"

        Identifier      "Generic Video Card"
        Driver          "nouveau"
        Busid           "PCI:2:4:0"
        Option          "MigrationHeuristic"    "greedy"

EndSection

i.e xorg is configured to use 2:4:0, after insmod drm.ko debug=1, the drm appears to enable interrupts from both cards (will attache syslog) however only works with the first card it sees.

Resulting in repeatable failures on method 0x03b0 as nv05 0028 doesnt understand method 0x03b0 (does not appear in a clean renouveau output for 10de0028).

May 13 08:38:03 daisy kernel: [ 1528.379012] [drm:nouveau_pgraph_irq_handler]
*ERROR* NV: PGRAPH error interrupt
May 13 08:38:03 daisy kernel: [ 1528.379023] [drm:nouveau_pgraph_irq_handler]
*ERROR* nsource:0x00040000^Instatus:0x01000000
May 13 08:38:03 daisy kernel: [ 1528.379031] [drm:nouveau_pgraph_irq_handler]
*ERROR* instance:0x00002920
May 13 08:38:03 daisy kernel: [ 1528.379041] [drm:nouveau_graph_dump_trap_info]
*ERROR* NV: nSource: 0x00040000, nStatus: 0x01000000
May 13 08:38:03 daisy kernel: [ 1528.379051] [drm:nouveau_graph_dump_trap_info]

*ERROR* NV: Channel 1/7 (class 0x0697) -Method 0x03b0, Data 0x00100000

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, or are watching the assignee.

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

#2 lore raw

[Bug 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

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

------- Comment #1 from [email protected] 2007-05-12 13:53 PST ------- Created an attachment (id=9947)
--> (http://bugs.freedesktop.org/attachment.cgi?id=9947&action=view)
syslog showing drm working to init 1:0:0 not 2:4:0 and then failing on an
instruction the card does not understand

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, or are watching the assignee.
#3 lore raw

[Bug 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

------- Comment #2 from [email protected] 2007-05-12 13:55 PST ------- Created an attachment (id=9948)
--> (http://bugs.freedesktop.org/attachment.cgi?id=9948&action=view)
Xorg.log showing working with 2:4:0 does warn about missing device section for
1:0:0

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, or are watching the assignee.
#4 lore raw

[Bug 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

------- Comment #3 from [email protected] 2007-05-12 13:56 PST ------- Created an attachment (id=9949)
--> (http://bugs.freedesktop.org/attachment.cgi?id=9949&action=view)
glxinfo with mesa git on paths

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, or are watching the assignee.
#5 lore raw

[Bug 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

--- Comment #4 from Maarten Maathuis <[email protected]> 2008-02-01 11:24:04 PST --- What's the status on this bug?

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

--- Comment #5 from Mark Carey <[email protected]> 2008-02-01 11:50:24 PST --- I expect will be significantly different now that nouveau has Randr1.2
support will get a prerelease Xorg up and running and retest

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

--- Comment #6 from Mark Carey <[email protected]> 2008-02-01 15:09:39 PST --- Ubuntu 8.04 alpha
X.Org X Server 1.4.0.90
drm c77b0937f290568604961fa0013691349c5fcf3b
xf86-video-nouveau 5b79b0a9e54fe99eaae5b411f46a601b6944b773

with /etc/X11/xorg.conf instructing the server to start on pci 2:4:0 appears to work,

cat /var/log/messages

Feb  2 11:15:32 daisy syslogd 1.5.0#1ubuntu1: restart.
Feb  2 11:43:11 daisy -- MARK --
Feb  2 11:44:00 daisy kernel: [ 2605.976093] [drm] Initialized drm
1.1.0 20060810
Feb  2 11:44:15 daisy kernel: [ 2621.092922] [drm] Initialized drm
1.1.0 20060810
Feb  2 11:44:25 daisy kernel: [ 2631.198486] PCI: Enabling device
0000:01:00.0 (0004 -> 0006)
Feb  2 11:44:25 daisy kernel: [ 2631.198508] ACPI: PCI Interrupt
0000:01:00.0[A] -> GSI 18 (level, low) -> IRQ 19
Feb  2 11:44:25 daisy kernel: [ 2631.198653] [drm] Detected an NV4
generation card (0x20154000)
Feb  2 11:44:25 daisy kernel: [ 2631.198757] [drm] Initialized nouveau
0.0.10 20060213 on minor 0
Feb  2 11:44:25 daisy kernel: [ 2631.198796] ACPI: PCI Interrupt
0000:02:04.0[A] -> GSI 16 (level, low) -> IRQ 20
Feb  2 11:44:25 daisy kernel: [ 2631.198929] [drm] Detected an NV30
generation card (0x034200b1)
Feb  2 11:44:25 daisy kernel: [ 2631.199003] [drm] Initialized nouveau
0.0.10 20060213 on minor 1
Feb  2 11:51:06 daisy kernel: [ 3032.064186] [drm] Allocating FIFO number 0
Feb  2 11:51:06 daisy kernel: [ 3032.066462] [drm] nouveau_fifo_alloc:
initialised FIFO 0
Feb  2 11:51:06 daisy kernel: [ 3032.084842] [drm] Allocating FIFO number 1
Feb  2 11:51:06 daisy kernel: [ 3032.086085] [drm] nouveau_fifo_alloc:
initialised FIFO 1
Feb  2 11:51:15 daisy kernel: [ 3040.848176] [drm] nouveau_fifo_free:
freeing fifo 1
Feb  2 11:51:16 daisy kernel: [ 3041.544707] [drm] nouveau_fifo_free:
freeing fifo 0
Feb  2 11:51:18 daisy kernel: [ 3044.543767] [drm] Allocating FIFO number 0
Feb  2 11:51:18 daisy kernel: [ 3044.546051] [drm] nouveau_fifo_alloc:
initialised FIFO 0
Feb  2 11:51:18 daisy kernel: [ 3044.564260] [drm] Allocating FIFO number 1
Feb  2 11:51:18 daisy kernel: [ 3044.565471] [drm] nouveau_fifo_alloc:

initialised FIFO 1

will attach detailed kernel log and Xorg.0.log, but believe is fixed

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

Mark Carey <[email protected]> changed:

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

Attachment #9947 is|0                           |1
           obsolete|                            |
Attachment #9948 is|0                           |1
           obsolete|                            |
Attachment #9949 is|0                           |1
           obsolete|                            |

--- Comment #7 from Mark Carey <[email protected]> 2008-02-01 15:14:18 PST --- Created an attachment (id=14081)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14081)
kern.log with insmod drm.ko debug=1

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

--- Comment #8 from Mark Carey <[email protected]> 2008-02-01 15:14:52 PST --- Created an attachment (id=14082)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14082)
matching Xorg.0.log

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

--- Comment #9 from Mark Carey <[email protected]> 2008-02-01 15:31:31 PST --- Created an attachment (id=14083)
--> (http://bugs.freedesktop.org/attachment.cgi?id=14083)
enabling Randr12 appears to be ok as well

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 10933] nouveau defaults to first graphics card in system even when xorg instructed differently

In reply to a message not in the archive

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

Mark Carey <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
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.