bumblebee + nouveau crash in nvkm_pmu_init

Bug #1787209 reported by Adrian on 2018-08-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-hwe (Ubuntu)
Undecided
Unassigned

Bug Description

I try to use bumblebee with nouveau driver.

Calling:
$ optirun --debug glxspheres
[ 1551.311094] [DEBUG]optirun version 3.2.1 starting...
[ 1551.311155] [DEBUG]Active configuration:
[ 1551.311164] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1551.311173] [DEBUG] X display: :8
[ 1551.311181] [DEBUG] LD_LIBRARY_PATH:
[ 1551.311189] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1551.311203] [DEBUG] Accel/display bridge: auto
[ 1551.311238] [DEBUG] VGL Compression: proxy
[ 1551.311254] [DEBUG] VGLrun extra options:
[ 1551.311267] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1551.311438] [DEBUG]Using auto-detected bridge primus
[ 1551.396967] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 1551.397015] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

[ 1551.397067] [DEBUG]Socket closed.
[ 1551.397142] [ERROR]Aborting because fallback start is disabled.
[ 1551.397166] [DEBUG]Killing all remaining processes

In the dmesg one can find:
[ 88.353811] bbswitch: enabling discrete graphics
[ 88.439104] thinkpad_acpi: EC reports that Thermal Table has changed
[ 88.439171] acpi INT3400:00: Unsupported event [0x88]
[ 88.472927] ACPI Warning: \_SB.PCI0.GFX0._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20170831/nsarguments-100)
[ 88.473101] pci 0000:01:00.0: optimus capabilities: enabled, status dynamic power, hda bios codec supported
[ 88.473103] VGA switcheroo: detected Optimus DSM method \_SB_.PCI0.RP01.PEGP handle
[ 88.473103] nouveau: detected PR support, will not use DSM
[ 88.473237] nouveau 0000:01:00.0: NVIDIA GP108 (138000a1)
[ 88.550174] nouveau 0000:01:00.0: bios: version 86.08.11.00.29
[ 88.629830] nouveau 0000:01:00.0: fb: 2048 MiB GDDR5
[ 90.633443] ------------[ cut here ]------------
[ 90.633444] nouveau 0000:01:00.0: timeout
[ 90.633488] WARNING: CPU: 5 PID: 4080 at /build/linux-hwe-jbofgD/linux-hwe-4.15.0/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/base.c:86 nvkm_pmu_reset+0x15b/0x170 [nouveau]
[ 90.633489] Modules linked in: nouveau(+) mxm_wmi ttm rfcomm xt_CHECKSUM iptable_mangle ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 bridge stp llc ebtable_filter ebtables bnep snd_usb_audio s
nd_usbmidi_lib pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) msr vboxdrv(OE) btusb btrtl btbcm btintel uvcvideo videobuf2_vmalloc bluetooth videobuf2_memops videobuf2_v4l2 videobuf2_core videodev media ecdh_
generic bbswitch(OE) binfmt_misc nls_iso8859_1 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt snd_hda_codec_hdmi nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG a
rc4 xt_limit xt_tcpudp xt_addrtype snd_soc_skl snd_soc_skl_ipc snd_hda_codec_realtek snd_hda_ext_core snd_hda_codec_generic snd_soc_sst_dsp snd_soc_sst_ipc snd_soc_acpi snd_soc_core
[ 90.633517] snd_compress intel_rapl iwlmvm ac97_bus snd_pcm_dmaengine x86_pkg_temp_thermal intel_powerclamp coretemp intel_cstate mac80211 intel_rapl_perf snd_seq_midi idma64 snd_seq_midi_event virt_dma snd_r
awmidi snd_hda_intel snd_hda_codec joydev input_leds iwlwifi serio_raw snd_hda_core snd_seq snd_hwdep cfg80211 snd_pcm nf_conntrack_ipv4 snd_seq_device nf_defrag_ipv4 xt_conntrack mei_me intel_lpss_pci thinkpad_a
cpi processor_thermal_device ucsi_acpi intel_wmi_thunderbolt wmi_bmof snd_timer nvram mei intel_soc_dts_iosf shpchp intel_pch_thermal intel_lpss typec_ucsi typec snd tpm_crb int3403_thermal soundcore int340x_ther
mal_zone int3400_thermal mac_hid acpi_pad acpi_thermal_rel ip6table_filter ip6_tables kvm_intel nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat kvm nf_conntrack_ftp
[ 90.633539] nf_conntrack libcrc32c irqbypass iptable_filter parport_pc ip_tables ppdev x_tables lp parport autofs4 algif_skcipher af_alg dm_crypt hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid uas
usb_storage crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc i915 aesni_intel aes_x86_64 crypto_simd glue_helper i2c_algo_bit cryptd nvme drm_kms_helper e1000e syscopyarea psmouse sysfillrect sysimgblt ptp
fb_sys_fops pps_core nvme_core drm wmi video
[ 90.633556] CPU: 5 PID: 4080 Comm: modprobe Tainted: G W OE 4.15.0-32-generic #35~16.04.1-Ubuntu
[ 90.633557] Hardware name: LENOVO 20L6S04200/20L6S04200, BIOS N24ET39W (1.14 ) 05/22/2018
[ 90.633578] RIP: 0010:nvkm_pmu_reset+0x15b/0x170 [nouveau]
[ 90.633578] RSP: 0018:ffff9dba8a15f6a0 EFLAGS: 00010286
[ 90.633579] RAX: 0000000000000000 RBX: ffff8a92fab6aeb0 RCX: 0000000000000006
[ 90.633580] RDX: 0000000000000007 RSI: 0000000000000096 RDI: ffff8a931f556490
[ 90.633580] RBP: ffff9dba8a15f6c8 R08: 0000000000000001 R09: 00000000000004d4
[ 90.633581] R10: 0000000000000000 R11: 00000000000004d4 R12: ffff8a92f3fca800
[ 90.633581] R13: ffff8a92f55785a0 R14: ffff8a92e9317a80 R15: 0000001497640c00
[ 90.633582] FS: 00007f8a1c252700(0000) GS:ffff8a931f540000(0000) knlGS:0000000000000000
[ 90.633583] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 90.633583] CR2: 0000560005746c98 CR3: 0000000872fe2001 CR4: 00000000003606e0
[ 90.633584] Call Trace:
[ 90.633603] nvkm_pmu_init+0x1b/0x40 [nouveau]
[ 90.633617] nvkm_subdev_init+0x9a/0x200 [nouveau]
[ 90.633638] nvkm_device_init+0x150/0x290 [nouveau]
....

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.15.0-32-generic 4.15.0-32.35~16.04.1
ProcVersionSignature: Ubuntu 4.15.0-32.35~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: GNOME
Date: Wed Aug 15 15:07:24 2018
InstallationDate: Installed on 2018-04-05 (132 days ago)
InstallationMedia: Ubuntu 16.04.4 LTS "Xenial Xerus" - Release amd64 (20180228)
SourcePackage: linux-signed-hwe
UpgradeStatus: No upgrade log present (probably fresh install)

Adrian (adrianf0) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers