[G84] nouveau fails to properly initialize GPU
Submitted by Bruno
Assigned to Nouveau Project
Description
In a system with dual GPU (Radeon HD 6550D [1002:9640] integrated in AMD APU + discrete GeForce 8600 GTS [10de:0400]) system boot fine and works as expected as long as no driver is attached to the Geforce.
Loading nvidia driver works mostly but suspend to RAM (S3) tends to fail.
Loading nouveau initialization is reported as successful but any attempt to use it ends in uninterruptible processed with nothing on screen.
nouveau initialization (on 3.17-rc1):
[ 152.810562] nouveau 0000:01:00.0: enabling device (0004 -> 0007)
[ 152.812313] nouveau [ DEVICE][0000:01:00.0] BOOT0 : 0x084000a2
[ 152.812321] nouveau [ DEVICE][0000:01:00.0] Chipset: G84 (NV84)
[ 152.812325] nouveau [ DEVICE][0000:01:00.0] Family : NV50
[ 152.812381] nouveau [ VBIOS][0000:01:00.0] checking PRAMIN for image...
[ 152.812387] nouveau [ VBIOS][0000:01:00.0] ... signature not found
[ 152.812390] nouveau [ VBIOS][0000:01:00.0] checking PROM for image...
[ 152.913272] nouveau [ VBIOS][0000:01:00.0] ... appears to be valid
[ 152.913277] nouveau [ VBIOS][0000:01:00.0] using image from PROM
[ 152.913572] nouveau [ VBIOS][0000:01:00.0] BIT signature found
[ 152.913578] nouveau [ VBIOS][0000:01:00.0] version 60.84.32.00.00
[ 152.915217] nouveau [ DEVINIT][0000:01:00.0] adaptor not initialised
[ 152.915227] nouveau [ VBIOS][0000:01:00.0] running init tables
[ 152.976745] nouveau 0000:01:00.0: irq 38 for MSI/MSI-X
[ 152.976796] nouveau [ PMC][0000:01:00.0] MSI interrupts enabled
[ 152.976898] nouveau [ PFB][0000:01:00.0] RAM type: GDDR3
[ 152.976902] nouveau [ PFB][0000:01:00.0] RAM size: 512 MiB
[ 152.976906] nouveau [ PFB][0000:01:00.0] ZCOMP: 1892 tags
[ 152.979685] nouveau [ VOLT][0000:01:00.0] GPU voltage: 1300000uv
[ 153.008090] nouveau [ PTHERM][0000:01:00.0] FAN control: PWM
[ 153.008103] nouveau [ PTHERM][0000:01:00.0] fan management: automatic
[ 153.008130] nouveau [ PTHERM][0000:01:00.0] internal sensor: yes
[ 153.008142] nouveau [ CLK][0000:01:00.0] 20: core 675 MHz shader 1450 MHz memory 1008 MHz
[ 153.008200] nouveau [ CLK][0000:01:00.0] --: core 675 MHz shader 1458 MHz memory 900 MHz
[ 153.009239] nouveau E[ PBUS][0000:01:00.0] MMIO write of 0x00000000 FAULT at 0x103d94
[ 153.009401] nouveau [ DRM] VRAM: 512 MiB
[ 153.009412] nouveau [ DRM] GART: 1048576 MiB
[ 153.009422] nouveau [ DRM] TMDS table version 2.0
[ 153.009427] nouveau [ DRM] DCB version 4.0
[ 153.009433] nouveau [ DRM] DCB outp 00: 01000302 00020030
[ 153.009440] nouveau [ DRM] DCB outp 01: 02000300 00000028
[ 153.009445] nouveau [ DRM] DCB outp 02: 04012310 00000028
[ 153.009450] nouveau [ DRM] DCB outp 03: 02021322 00020010
[ 153.009455] nouveau [ DRM] DCB conn 00: 1030
[ 153.009460] nouveau [ DRM] DCB conn 01: 2161
[ 153.009465] nouveau [ DRM] DCB conn 02: 0200
[ 153.009470] nouveau [ DRM] DCB conn 03: 0362
[ 153.039378] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 153.039379] [drm] Driver supports precise vblank timestamp query.
[ 153.474008] Clocksource tsc unstable (delta = -209671835 ns)
[ 154.645969] nouveau W[ PFIFO][0000:01:00.0] unknown intr 0x00200000, ch 127
[ 156.236324] nouveau W[ PFIFO][0000:01:00.0] unknown intr 0x00200000, ch 127
[ 156.236450] nouveau [ DRM] MM: using CRYPT for buffer copies
[ 156.236959] Switched to clocksource hpet
[ 156.291623] nouveau [ DRM] allocated 1280x1024 fb: 0x70000, bo ffff88020c533120
[ 156.292050] nouveau 0000:01:00.0: fb1: nouveaufb frame buffer device
[ 156.292059] [drm] Initialized nouveau 1.2.0 20120801 for 0000:01:00.0 on minor 1
BUG() triggered by kmscon-7 started via SSH
kmscon-7 --drm --gpus=all -v --debug
[0000.000000] NOTICE: kmscon Revision kmscon-7 Aug 17 2014 00:00:35
[0000.020354] NOTICE: vt: using tty /dev/tty8
[0000.187102] INFO: drm_shared: new drm device via /dev/dri/card0
[0000.187194] INFO: video: new device 0x2076cb0
[0000.187826] INFO: ignoring video device /dev/fb0 on seat seat0 as it is a DRM-fbdev device
[0000.188312] INFO: drm_shared: new drm device via /dev/dri/card1
[0000.188402] INFO: video: new device 0x20772b0
[0000.189238] INFO: ignoring video device /dev/fb1 on seat seat0 as it is a DRM-fbdev device
[0000.650727] INFO: video: new display 0x2084720
[0000.650761] INFO: drm_shared: display 0x2084720 DPMS is ON
[0000.683638] INFO: video: new display 0x2086410
[0000.683794] INFO: drm_shared: display 0x2086410 DPMS is ON
[0000.683910] INFO: video_drm2d: activating display 0x2086410 to 1280x1024
[0000.719635] INFO: drm_shared: setting DPMS of display 0x2086410 to ON
[0000.887825] INFO: video_drm2d: activating display 0x2084720 to 1280x1024
[ 465.815141] BUG: unable to handle kernel paging request at ffff88030e343ffc
[ 465.815228] IP: [<ffffffffa00b02ae>
] evo_wait+0x5e/0x150 [nouveau]
[ 465.815314] PGD 2350067 PUD 0
[ 465.815344] Oops: 0002 [#1] SMP
[ 465.815374] Modules linked in: nouveau
[ 465.815435] CPU: 2 PID: 1588 Comm: kmscon Not tainted 3.17.0-rc1-kvm+ #4
[ 465.815481] Hardware name: Gigabyte Technology Co., Ltd. GA-A75M-UD2H/GA-A75M-UD2H, BIOS F6 09/28/2012
[ 465.815541] task: ffff8800be8c1700 ti: ffff8800b83b8000 task.ti: ffff8800b83b8000
[ 465.815589] RIP: 0010:[<ffffffffa00b02ae>
] [<ffffffffa00b02ae>
] evo_wait+0x5e/0x150 [nouveau]
[ 465.815670] RSP: 0018:ffff8800b83bb978 EFLAGS: 00010206
[ 465.815714] RAX: ffff88020e344000 RBX: ffff880214400af0 RCX: 000000000000c228
[ 465.815758] RDX: 0000000000000001 RSI: 0000000000000080 RDI: ffff880214400bf0
[ 465.815800] RBP: ffff8800b83bb998 R08: ffff8800b83b8000 R09: 0000000000000000
[ 465.815842] R10: 0000000000000400 R11: 0000000000000000 R12: 000000003fffffff
[ 465.815885] R13: ffff880214400bf0 R14: 000000004000007f R15: 0000000000000000
[ 465.815933] FS: 00007f420afca700(0000) GS:ffff88021ec80000(0000) knlGS:0000000000000000
[ 465.815980] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 465.816016] CR2: ffff88030e343ffc CR3: 00000000b65d9000 CR4: 00000000000007e0
[ 465.816071] Stack:
[ 465.816090] 0000000000000010 ffff880213b6c218 ffff880214400000 ffff88020c533538
[ 465.816151] ffff8800b83bba08 ffffffffa00b35be ffff8800b83bb9d8 ffff880214400af0
[ 465.816214] ffff880214400000 ffffffffa00b03d5 ffff880213b6c218 ffff880214400000
[ 465.816295] Call Trace:
[ 465.816344] [<ffffffffa00b35be>
] nv50_display_flip_next+0x7ee/0x860 [nouveau]
[ 465.816411] [<ffffffffa00b03d5>
] ? evo_kick+0x35/0x60 [nouveau]
[ 465.816476] [<ffffffffa00b37e7>
] nv50_crtc_commit+0x107/0x240 [nouveau]
[ 465.816521] [<ffffffff81406b7b>
] drm_crtc_helper_set_mode+0x42b/0x570
[ 465.816562] [<ffffffff81407615>
] drm_crtc_helper_set_config+0x805/0xa30
[ 465.816604] [<ffffffff81423172>
] ? drm_mode_setcrtc+0x312/0x580
[ 465.816670] [<ffffffffa009f6b0>
] nouveau_crtc_set_config+0x60/0x130 [nouveau]
[ 465.816715] [<ffffffff8141f5e4>
] drm_mode_set_config_internal+0x64/0xe0
[ 465.816756] [<ffffffff81422f3a>
] drm_mode_setcrtc+0xda/0x580
[ 465.816793] [<ffffffff81415f44>
] drm_ioctl+0x1e4/0x660
[ 465.816832] [<ffffffff81422e60>
] ? drm_mode_setplane+0x1e0/0x1e0
[ 465.816892] [<ffffffffa0086962>
] nouveau_drm_ioctl+0x62/0xd0 [nouveau]
[ 465.816934] [<ffffffff810f0855>
] ? pick_next_task_fair+0x415/0x450
[ 465.816974] [<ffffffff811beb4e>
] do_vfs_ioctl+0x7e/0x4f0
[ 465.817022] [<ffffffff811bf007>
] SyS_ioctl+0x47/0x90
[ 465.817059] [<ffffffff8107cecc>
] ? do_page_fault+0xc/0x10
[ 465.817095] [<ffffffff81803952>
] system_call_fastpath+0x16/0x1b
[ 465.817132] Code: e1 41 89 c4 4c 8d ab 00 01 00 00 41 c1 ec 02 4c 89 ef 45 01 e6 e8 63 19 75 e1 41 81 fe f7 03 00 00 0f 86 a6 00 00 00 48 8b 43 58 <42>
c7 04 a0 00 00 00 20 48 8b 7b 08 48 8b 77 40 48 85 f6 0f 84
[ 465.817648] RIP [<ffffffffa00b02ae>
] evo_wait+0x5e/0x150 [nouveau]
[ 465.817720] RSP <ffff8800b83bb978>
[ 465.817750] CR2: ffff88030e343ffc
[ 465.826673] ---[ end trace 58553e4293b2aee3 ]---
[ 466.357879] nouveau W[ PFIFO][0000:01:00.0] unknown intr 0x00200000, ch 1
Attempts to read files in sysfs puts related processes in D-state for at least /sys/class/dri/card1-*/status.