Bug 1396843 - Intel / nvidia hybrid
Summary: Intel / nvidia hybrid
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-nouveau
Version: 25
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ben Skeggs
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-20 21:06 UTC by Jussi Eloranta
Modified: 2017-12-12 10:29 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:29:05 UTC
Type: Bug


Attachments (Terms of Use)

Description Jussi Eloranta 2016-11-20 21:06:31 UTC
Description of problem:

On kernel 4.8.7-300.fc25.x86_64 with the following graphics cards (optimus, Dell Inspiron laptop):

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
02:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 960M] (rev a2)

running xrandr --listproviders shows the two cards correctly. However, running glxinfo gets stuck and eventually the following appears in dmesg:

[   59.999079] nouveau: detected PR support, will not use DSM
[   59.999248] nouveau 0000:02:00.0: NVIDIA GM107 (1171b0a2)
[   60.018081] nouveau 0000:02:00.0: bios: version 82.07.7a.00.19
[   60.103134] nouveau 0000:02:00.0: fb: 4096 MiB GDDR5
[   60.103188] nouveau 0000:02:00.0: priv: HUB0: 10ecc0 ffffffff (1840822c)
[   60.764841] vga_switcheroo: enabled
[   60.765027] [TTM] Zone  kernel: Available graphics memory: 3960152 kiB
[   60.765044] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   60.765044] [TTM] Initializing pool allocator
[   60.765047] [TTM] Initializing DMA pool allocator
[   60.765053] nouveau 0000:02:00.0: DRM: VRAM: 4096 MiB
[   60.765054] nouveau 0000:02:00.0: DRM: GART: 1048576 MiB
[   60.765056] nouveau 0000:02:00.0: DRM: Pointer to TMDS table invalid
[   60.765058] nouveau 0000:02:00.0: DRM: DCB version 4.0
[   60.765059] nouveau 0000:02:00.0: DRM: Pointer to flat panel table invalid
[   60.906055] nouveau 0000:02:00.0: DRM: MM: using COPY for buffer copies
[   60.906071] [drm] Initialized nouveau 1.3.1 20120801 for 0000:02:00.0 on minor 1
[   66.813748] nouveau 0000:02:00.0: DRM: evicting buffers...
[   66.855322] nouveau 0000:02:00.0: DRM: waiting for kernel channels to go idle...
[   66.855341] nouveau 0000:02:00.0: DRM: suspending client object trees...
[   66.858155] nouveau 0000:02:00.0: DRM: suspending kernel object tree...
[  228.990698] pci_raw_set_power_state: 12 callbacks suppressed
[  228.990705] nouveau 0000:02:00.0: Refused to change power state, currently in D3
[  229.063438] nouveau 0000:02:00.0: Refused to change power state, currently in D3
[  229.075436] nouveau 0000:02:00.0: Refused to change power state, currently in D3
[  229.075441] nouveau 0000:02:00.0: DRM: resuming kernel object tree...
[  229.075471] nouveau 0000:02:00.0: pci: failed to adjust cap speed
[  229.075471] nouveau 0000:02:00.0: pci: failed to adjust lnkctl speed
[  256.346026] NMI watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kworker/3:2:409]
[  256.346028] Modules linked in: nouveau ttm rfcomm fuse ccm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack tun bridge stp llc ebtable_filter ebtables ip6table_filter ip6_tables cmac bnep arc4 snd_hda_codec_hdmi iwlmvm dell_led mac80211 intel_rapl x86_pkg_temp_thermal coretemp kvm_intel kvm hid_multitouch dell_wmi sparse_keymap i2c_designware_platform i2c_designware_core dell_laptop snd_hda_codec_realtek irqbypass iTCO_wdt dell_smbios snd_hda_codec_generic uvcvideo iTCO_vendor_support dell_smm_hwmon videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 dcdbas videobuf2_core snd_hda_intel videodev media snd_hda_codec iwlwifi crct10dif_pclmul crc32_pclmul hci_uart btusb btrtl ghash_clmulni_intel snd_hda_core
[  256.346070]  btbcm snd_hwdep snd_seq snd_seq_device snd_pcm btqca btintel intel_cstate cfg80211 intel_uncore rtsx_pci_ms memstick intel_rapl_perf snd_timer joydev snd int3400_thermal acpi_thermal_rel i2c_i801 int3403_thermal i2c_smbus idma64 soundcore int3402_thermal intel_lpss_pci intel_lpss_acpi bluetooth processor_thermal_device shpchp int340x_thermal_zone intel_lpss intel_soc_dts_iosf mei_me mei tpm_crb tpm_tis tpm_tis_core pinctrl_sunrisepoint pinctrl_intel acpi_als kfifo_buf industrialio dell_rbtn acpi_pad tpm rfkill nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc i915 rtsx_pci_sdmmc mmc_core mxm_wmi i2c_algo_bit drm_kms_helper crc32c_intel drm r8169 serio_raw rtsx_pci mii wmi video i2c_hid fjes
[  256.346111] CPU: 3 PID: 409 Comm: kworker/3:2 Not tainted 4.8.7-300.fc25.x86_64 #1
[  256.346111] Hardware name: Dell Inc. Inspiron 7559/0H0CC0, BIOS 1.1.8 04/17/2016
[  256.346115] Workqueue: pm pm_runtime_work
[  256.346116] task: ffff8bcef45c0000 task.stack: ffff8bcef37e4000
[  256.346117] RIP: 0010:[<ffffffff95400890>]  [<ffffffff95400890>] ioread32+0x30/0x40
[  256.346120] RSP: 0018:ffff8bcef37e7b30  EFLAGS: 00000296
[  256.346120] RAX: 00000000ffffffff RBX: ffff8bcea6c17c00 RCX: 0000000000000018
[  256.346121] RDX: 00000b826eeeca10 RSI: ffffae0f0410a014 RDI: ffffae0f0410a04c
[  256.346121] RBP: ffff8bcef37e7b60 R08: ffff8bcf023e9ef8 R09: 0000000000182400
[  256.346122] R10: 0000000000282400 R11: ffff8bcef37e7aaf R12: 0000000000000000
[  256.346122] R13: ffff8bcef3ce23c8 R14: ffff8bcebf7f2d80 R15: ffffffffffffffff
[  256.346123] FS:  0000000000000000(0000) GS:ffff8bcf020c0000(0000) knlGS:0000000000000000
[  256.346124] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  256.346124] CR2: 0000555d8bef2000 CR3: 00000001bae06000 CR4: 00000000003406e0
[  256.346125] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  256.346125] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  256.346126] Stack:
[  256.346126]  ffffffffc0abaa45 ffff8bcef3ce23c8 ffff8bcea6c17c00 000000355486c7e4
[  256.346128]  000000355048b315 0000000000000000 ffff8bcef37e7b90 ffffffffc0a709b5
[  256.346129]  0000000000000011 ffff8bcea6c17c00 0000000000000000 000000355048b315
[  256.346130] Call Trace:
[  256.346156]  [<ffffffffc0abaa45>] ? nvkm_pmu_init+0x75/0x450 [nouveau]
[  256.346166]  [<ffffffffc0a709b5>] nvkm_subdev_init+0x95/0x200 [nouveau]
[  256.346184]  [<ffffffffc0ac6908>] nvkm_device_init+0x178/0x280 [nouveau]
[  256.346200]  [<ffffffffc0aca638>] nvkm_udevice_init+0x48/0x60 [nouveau]
[  256.346210]  [<ffffffffc0a6f340>] nvkm_object_init+0x40/0x190 [nouveau]
[  256.346219]  [<ffffffffc0a6f3b4>] nvkm_object_init+0xb4/0x190 [nouveau]
[  256.346229]  [<ffffffffc0a6c55e>] nvkm_client_init+0xe/0x10 [nouveau]
[  256.346247]  [<ffffffffc0b104ce>] nvkm_client_resume+0xe/0x10 [nouveau]
[  256.346255]  [<ffffffffc0a6b797>] nvif_client_resume+0x17/0x20 [nouveau]
[  256.346272]  [<ffffffffc0b0da9b>] nouveau_do_resume+0x4b/0x120 [nouveau]
[  256.346288]  [<ffffffffc0b0de9f>] nouveau_pmops_runtime_resume+0x7f/0x120 [nouveau]
[  256.346290]  [<ffffffff95438f6b>] pci_pm_runtime_resume+0x7b/0xa0
[  256.346292]  [<ffffffff95538a77>] __rpm_callback+0x27/0x70
[  256.346293]  [<ffffffff95538ae4>] rpm_callback+0x24/0x80
[  256.346294]  [<ffffffff95438ef0>] ? pci_restore_standard_config+0x40/0x40
[  256.346295]  [<ffffffff95539477>] rpm_resume+0x4a7/0x6b0
[  256.346297]  [<ffffffff9553a9a3>] pm_runtime_work+0x53/0x90
[  256.346299]  [<ffffffff950baa74>] process_one_work+0x184/0x430
[  256.346300]  [<ffffffff950bad6e>] worker_thread+0x4e/0x480
[  256.346300]  [<ffffffff950bad20>] ? process_one_work+0x430/0x430
[  256.346301]  [<ffffffff950bad20>] ? process_one_work+0x430/0x430
[  256.346303]  [<ffffffff950c0c08>] kthread+0xd8/0xf0
[  256.346305]  [<ffffffff9580273f>] ret_from_fork+0x1f/0x40
[  256.346306]  [<ffffffff950c0b30>] ? kthread_worker_fn+0x180/0x180
[  256.346306] Code: 03 00 77 25 48 81 ff 00 00 01 00 76 05 0f b7 d7 ed c3 55 48 c7 c6 6e 6d c7 95 48 89 e5 e8 19 ff ff ff b8 ff ff ff ff 5d c3 8b 07 <c3> 0f 1f 44 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 81 fe ff ff 

After this the system is "done" - only power cycling will restart the system.

How reproducible:

Happens everytime when both the intel and nouveau drivers are loaded and running glxinfo.

Actual results:

The system crashes as noted above. 

Expected results:

The system should not crash.

Comment 1 Fedora End Of Life 2017-11-16 19:18:43 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 2 Fedora End Of Life 2017-12-12 10:29:05 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.