bumblebee-nvidia stuff

Luca Boccassi luca.boccassi at gmail.com
Mon Oct 19 21:48:52 UTC 2015


On Mon, 2015-10-19 at 21:48 +0100, Luca Boccassi wrote:
> On Mon, 2015-10-19 at 16:32 +0200, Andreas Beckmann wrote:
> > Hi,
> > 
> > looking at nvidia-bumblebee again, I don't see support for the legacy
> > drivers we have in Debian ...
> 
> True, it should be added. I've tried just now with 340.93-2 and it works
> just fine (after editing /etc/bumblebee.conf and restarting the daemon).

Ah, there is an issue actually. It's quite strange. Running with
nvidia-current is fine. Switching to nvidia-legacy-340xx is also fine.
But then switching back to nvidia-current is badly broken with kernel
backtraces:

Oct 19 22:19:29 BRA-6G85P12 kernel: bbswitch: enabling discrete graphics
Oct 19 22:19:30 BRA-6G85P12 kernel: ------------[ cut here ]------------
Oct 19 22:19:30 BRA-6G85P12 kernel: WARNING: CPU: 3 PID: 11811 at /build/linux-HFgDpK/linux-4.3~rc5/fs/proc/generic.c:345 proc_register+0xdf/0x100()
Oct 19 22:19:30 BRA-6G85P12 kernel: proc_dir_entry 'driver/nvidia' already registered
Oct 19 22:19:30 BRA-6G85P12 kernel: Modules linked in: nvidia(PO+) cpuid ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables vhost_net vhost macvtap macvlan snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_de
Oct 19 22:19:30 BRA-6G85P12 kernel:  snd_hda_core x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hwdep iwlmvm mac80211 iTCO_wdt snd_pcm iTCO_vendor_support kvm dell_wmi sparse_keymap dell_laptop dc
Oct 19 22:19:30 BRA-6G85P12 kernel:  sdhci e1000e ptp mmc_core pps_core drm usbcore usb_common thermal button wmi video [last unloaded: nvidia]
Oct 19 22:19:30 BRA-6G85P12 kernel: CPU: 3 PID: 11811 Comm: modprobe Tainted: P           O    4.3.0-rc5-amd64 #1 Debian 4.3~rc5-1~exp1
Oct 19 22:19:30 BRA-6G85P12 kernel: Hardware name: Dell Inc. Latitude E5540/0D881V, BIOS A12 05/19/2015
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffffffff8180ff10 ffffffff812c0349 ffff8800834f3bd0 ffffffff8106ee11
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffff880151578140 ffff8800834f3c20 ffff8803c66b4c05 ffff88041e038c78
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffff8803c66b4b80 ffffffff8106ee8c ffffffff8180ff78 ffffffff00000028
Oct 19 22:19:30 BRA-6G85P12 kernel: Call Trace:
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff812c0349>] ? dump_stack+0x40/0x57
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8106ee11>] ? warn_slowpath_common+0x81/0xb0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8106ee8c>] ? warn_slowpath_fmt+0x4c/0x50
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8121e87f>] ? proc_register+0xdf/0x100
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8121e9a0>] ? proc_mkdir_data+0x60/0x90
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffffa0c820db>] ? nv_register_procfs+0x5b/0x200 [nvidia]
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffffa14d2363>] ? nvidia_init_module+0x2b1/0x73f [nvidia]
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffffa14d2000>] ? 0xffffffffa14d2000
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffffa14d2082>] ? nvidia_frontend_init_module+0x82/0xb2 [nvidia]
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8100213e>] ? do_one_initcall+0xce/0x1f0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8114b5bf>] ? do_init_module+0x5a/0x1e0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff810e72bf>] ? load_module+0x222f/0x25b0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff810e3690>] ? __symbol_put+0x30/0x30
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff810e77f6>] ? SyS_finit_module+0x76/0xa0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8154ceb6>] ? system_call_fast_compare_end+0xc/0x6b
Oct 19 22:19:30 BRA-6G85P12 kernel: ---[ end trace 1157484614deec13 ]---
Oct 19 22:19:30 BRA-6G85P12 kernel: NVRM: failed to register procfs!
Oct 19 22:19:30 BRA-6G85P12 kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 243
Oct 19 22:19:30 BRA-6G85P12 kernel: [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:03:00.0 on minor 1
Oct 19 22:19:30 BRA-6G85P12 kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  358.09  Wed Oct  7 19:59:00 PDT 2015
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:1c.4/0000:03:00.0/drm/card1 /dev/dri/card1
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) config/udev: Adding drm device (/dev/dri/card1)
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) xfree86: Adding drm device (/dev/dri/card1)
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) LoadModule: "modesetting"
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) Module modesetting: vendor="X.Org Foundation"
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: compiled for 1.17.2, module version = 1.17.2
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: Module class: X.Org Video Driver
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: ABI class: X.Org Video Driver, version 19.0
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) UnloadModule: "modesetting"
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) Unloading modesetting
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: (II) Failed to load module "modesetting" (already loaded, 0)
Oct 19 22:19:30 BRA-6G85P12 gdm-Xorg-:0[1093]: xf86: found device 1
Oct 19 22:19:30 BRA-6G85P12 kernel: BUG: unable to handle kernel paging request at 0000000200000002
Oct 19 22:19:30 BRA-6G85P12 kernel: IP: [<0000000200000002>] 0x200000002
Oct 19 22:19:30 BRA-6G85P12 kernel: PGD 0 
Oct 19 22:19:30 BRA-6G85P12 kernel: Oops: 0010 [#1] SMP 
Oct 19 22:19:30 BRA-6G85P12 kernel: Modules linked in: nvidia(PO) cpuid ip6t_REJECT nf_reject_ipv6 ip6table_filter ip6_tables vhost_net vhost macvtap macvlan snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_dev
Oct 19 22:19:30 BRA-6G85P12 kernel:  snd_hda_core x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_hwdep iwlmvm mac80211 iTCO_wdt snd_pcm iTCO_vendor_support kvm dell_wmi sparse_keymap dell_laptop dc
Oct 19 22:19:30 BRA-6G85P12 kernel:  sdhci e1000e ptp mmc_core pps_core drm usbcore usb_common thermal button wmi video [last unloaded: nvidia]
Oct 19 22:19:30 BRA-6G85P12 kernel: CPU: 3 PID: 11816 Comm: Xorg Tainted: P        W  O    4.3.0-rc5-amd64 #1 Debian 4.3~rc5-1~exp1
Oct 19 22:19:30 BRA-6G85P12 kernel: Hardware name: Dell Inc. Latitude E5540/0D881V, BIOS A12 05/19/2015
Oct 19 22:19:30 BRA-6G85P12 kernel: task: ffff8803484a4e80 ti: ffff880279148000 task.ti: ffff880279148000
Oct 19 22:19:30 BRA-6G85P12 kernel: RIP: 0010:[<0000000200000002>]  [<0000000200000002>] 0x200000002
Oct 19 22:19:30 BRA-6G85P12 kernel: RSP: 0018:ffff88027914bcd8  EFLAGS: 00010202
Oct 19 22:19:30 BRA-6G85P12 kernel: RAX: ffffffffa11f38c0 RBX: ffff880151578880 RCX: 0000000000000000
Oct 19 22:19:30 BRA-6G85P12 kernel: RDX: 0000000200000002 RSI: ffff88030f7e6700 RDI: ffff8800cb038d08
Oct 19 22:19:30 BRA-6G85P12 kernel: RBP: ffff8800cb038d08 R08: 0000000000000001 R09: ffff8803b9ea5080
Oct 19 22:19:30 BRA-6G85P12 kernel: R10: ffff88032f1a6cd8 R11: 0000000000000000 R12: ffff8803b9ea5080
Oct 19 22:19:30 BRA-6G85P12 kernel: R13: ffff88030f7e6700 R14: 0f0f0f0f0f0f0f0f R15: ffff88030f7e6710
Oct 19 22:19:30 BRA-6G85P12 kernel: FS:  00007f841143b980(0000) GS:ffff88042eb80000(0000) knlGS:0000000000000000
Oct 19 22:19:30 BRA-6G85P12 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 19 22:19:30 BRA-6G85P12 kernel: CR2: 0000000200000002 CR3: 000000014d968000 CR4: 00000000001426e0
Oct 19 22:19:30 BRA-6G85P12 kernel: Stack:
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffffffff81219377 ffff88030f7e6700 ffff88030d32da00 ffffffff81219310
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffff8800cb038d08 0000000000000000 ffffffff811b59be 0000000000008000
Oct 19 22:19:30 BRA-6G85P12 kernel:  ffff88027914be00 0000000000000000 ffff88027914bf0c ffff8801931186d8
Oct 19 22:19:30 BRA-6G85P12 kernel: Call Trace:
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff81219377>] ? proc_reg_open+0x67/0xf0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff81219310>] ? proc_alloc_inode+0xb0/0xb0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff811b59be>] ? do_dentry_open+0x1be/0x2d0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff811c4b9c>] ? path_openat+0x1dc/0x1520
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff811c6f2e>] ? do_filp_open+0x7e/0xe0
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff811d393f>] ? __alloc_fd+0x3f/0x110
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff811b6cca>] ? do_sys_open+0x12a/0x200
Oct 19 22:19:30 BRA-6G85P12 kernel:  [<ffffffff8154ceb6>] ? system_call_fast_compare_end+0xc/0x6b
Oct 19 22:19:30 BRA-6G85P12 kernel: Code:  Bad RIP value.
Oct 19 22:19:30 BRA-6G85P12 kernel: RIP  [<0000000200000002>] 0x200000002
Oct 19 22:19:30 BRA-6G85P12 kernel:  RSP <ffff88027914bcd8>
Oct 19 22:19:30 BRA-6G85P12 kernel: CR2: 0000000200000002
Oct 19 22:19:30 BRA-6G85P12 kernel: ---[ end trace 1157484614deec14 ]---
Oct 19 22:19:30 BRA-6G85P12 bumblebeed[11786]: [39459.495818] [ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Oct 19 22:19:30 BRA-6G85P12 bumblebeed[11786]: [39459.495834] [WARN][XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Oct 19 22:19:30 BRA-6G85P12 bumblebeed[11786]: [39459.595907] [ERROR]X did not start properly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20151019/e6f90538/attachment.sig>


More information about the pkg-nvidia-devel mailing list