← Back to team overview

hybrid-graphics-linux team mailing list archive

Nvidia X-Server Crash (Bumblebee)

 

Hello,

Bumblebee basically works fine for me, the only problem atm is that, as soon as the Nvidia X-Server is started for the second time it crashes and remains neither restartable, nor killable until reboot.

    Example:
    `optirun glxgears`
    [ctrl]-c to stop glxgears
    `optirun glxhead` => Error

The on/off-switching of the Nvidia card itself doesn't seem to cause the problem, as calling the on/off-scripts (which are based on the test_off.sh included with acpi_call) has no effect at all... After the crash the screen changes to a console displaying a cryptic error message (attached) and switches back to my desktop after a second. Xorg.8.log and Xorg.0.log look all fine. Preventing the shutdown of the Nvidia X-Server works as a quick fix... wouldn't mind a real solution though.

Christian
[21844.153760] acpi_call: Calling \_SB.PCI0.P0P1.PEGP._ON
[21844.321534] acpi_call: Call successful: 0x1
[21844.432123] divide error: 0000 [#1] SMP 
[21844.432193] last sysfs file: /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq
[21844.432274] CPU 3 
[21844.432300] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat udf crc_itu_t acpi_call binfmt_misc parport_pc ppdev nvidia(P) snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm nouveau i915 snd_seq_midi snd_rawmidi ttm drm_kms_helper snd_seq_midi_event joydev snd_seq r8192se_pci drm snd_timer snd_seq_device usbhid acer_wmi i2c_algo_bit snd cfg80211 video hid sparse_keymap psmouse serio_raw soundcore intel_ips snd_page_alloc lp parport usb_storage uas atl1c ahci libahci xhci_hcd
[21844.432999] 
[21844.433023] Pid: 11186, comm: Xorg Tainted: P            2.6.38-10-generic #46-Ubuntu MEDION          P6630          /P6630          
[21844.433173] RIP: 0010:[<ffffffffa0715aee>]  [<ffffffffa0715aee>] _nv003083rm+0x87/0xad [nvidia]
[21844.433731] RSP: 0018:ffff8800a3f5ba18  EFLAGS: 00010296
[21844.433791] RAX: 00000000ffffffff RBX: 0000000000010000 RCX: 0000000000000200
[21844.433868] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[21844.433945] RBP: ffff8800a3ccdee8 R08: ffff880031046098 R09: 0000000000010000
[21844.434021] R10: 0000000000000004 R11: 0000000000000000 R12: ffff880031046040
[21844.434098] R13: ffff880031046098 R14: 000000000000ffff R15: 0000000000000000
[21844.434176] FS:  00007ff727e288a0(0000) GS:ffff8800cb380000(0000) knlGS:0000000000000000
[21844.434263] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[21844.434325] CR2: 00007ff727e4e000 CR3: 000000006d27a000 CR4: 00000000000006e0
[21844.434403] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[21844.434480] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[21844.434557] Process Xorg (pid: 11186, threadinfo ffff8800a3f5a000, task ffff88007152adc0)
[21844.434643] Stack:
[21844.434669]  ffff880031046000 ffff88006f94f800 ffff8800c2280000 ffff88011f968000
[21844.434765]  ffff88011dfe0000 ffffffffa070e81e ffff88011fab43c0 ffff88011f968000
[21844.434861]  ffff8800c2280000 ffff880031005000 ffff88006f94c800 ffffffffa06b8f23
[21844.434956] Call Trace:
[21844.435407]  [<ffffffffa070e81e>] ? _nv011835rm+0x480/0xcac [nvidia]
[21844.435874]  [<ffffffffa06b8f23>] ? _nv012376rm+0x97/0x280 [nvidia]
[21844.436371]  [<ffffffffa0770992>] ? _nv014822rm+0x8c/0x4c3 [nvidia]
[21844.436872]  [<ffffffffa076fb93>] ? _nv015121rm+0xe9/0x165 [nvidia]
[21844.437120]  [<ffffffffa044587c>] ? _nv015298rm+0xd/0x12 [nvidia]
[21844.437526]  [<ffffffffa094abbf>] ? _nv002400rm+0x19d/0x28a [nvidia]
[21844.437933]  [<ffffffffa094ba0f>] ? _nv002394rm+0x4a7/0x685 [nvidia]
[21844.438341]  [<ffffffffa095151d>] ? rm_init_adapter+0x9d/0x111 [nvidia]
[21844.438748]  [<ffffffffa096d1a4>] ? nv_kern_open+0x494/0x6c0 [nvidia]
[21844.438827]  [<ffffffff81168f6a>] ? chrdev_open+0xda/0x1f0
[21844.438892]  [<ffffffff81168e90>] ? chrdev_open+0x0/0x1f0
[21844.438954]  [<ffffffff81162d0e>] ? __dentry_open+0xce/0x2f0
[21844.439019]  [<ffffffff8116ef53>] ? generic_permission+0x23/0xc0
[21844.439089]  [<ffffffff81164201>] ? nameidata_to_filp+0x71/0x80
[21844.439156]  [<ffffffff81173408>] ? finish_open+0xc8/0x1b0
[21844.439219]  [<ffffffff811725f7>] ? do_path_lookup+0x87/0x160
[21844.439285]  [<ffffffff81173bc8>] ? do_filp_open+0x2c8/0x7c0
[21844.439349]  [<ffffffff81172942>] ? user_path_at+0x62/0xa0
[21844.439415]  [<ffffffff8113b695>] ? unlink_anon_vmas+0x95/0x120
[21844.439482]  [<ffffffff811406f1>] ? free_pages_and_swap_cache+0xb1/0xe0
[21844.439558]  [<ffffffff812e6b67>] ? __strncpy_from_user+0x27/0x60
[21844.442237]  [<ffffffff81180ee7>] ? alloc_fd+0xf7/0x150
[21844.444867]  [<ffffffff8116427a>] ? do_sys_open+0x6a/0x150
[21844.447571]  [<ffffffff81164380>] ? sys_open+0x20/0x30
[21844.450091]  [<ffffffff8100c002>] ? system_call_fastpath+0x16/0x1b
[21844.452520] Code: b8 ff ff 00 00 44 0f 45 f0 42 8d 04 fd 00 00 00 00 41 89 04 24 44 39 f0 76 04 45 89 34 24 89 f0 41 03 04 24 ff c8 ba 00 00 00 00 <f7> f6 41 89 45 00 89 c8 0f af c7 0f af 45 04 41 0f af 45 00 41 
[21844.457869] RIP  [<ffffffffa0715aee>] _nv003083rm+0x87/0xad [nvidia]
[21844.460891]  RSP <ffff8800a3f5ba18>
[21844.531703] ---[ end trace 56e8d517db21065c ]---
[21860.954620] acpi_call: Calling \_SB.PCI0.P0P1.PEGP._OFF
[21860.975853] acpi_call: Call successful: 0x0


References