{"action":"created","issue":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/642","labels_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/642/comments","events_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/642/events","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/642","id":61137541,"number":642,"title":"[ERROR]No discrete video card found, quitting / fresh sid installation","user":{"login":"swing0486","id":11459702,"avatar_url":"https://avatars.githubusercontent.com/u/11459702?v=3","gravatar_id":"","url":"https://api.github.com/users/swing0486","html_url":"https://github.com/swing0486","followers_url":"https://api.github.com/users/swing0486/followers","following_url":"https://api.github.com/users/swing0486/following{/other_user}","gists_url":"https://api.github.com/users/swing0486/gists{/gist_id}","starred_url":"https://api.github.com/users/swing0486/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swing0486/subscriptions","organizations_url":"https://api.github.com/users/swing0486/orgs","repos_url":"https://api.github.com/users/swing0486/repos","events_url":"https://api.github.com/users/swing0486/events{/privacy}","received_events_url":"https://api.github.com/users/swing0486/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/labels/Discussion","name":"Discussion","color":"02d7e1"}],"state":"open","locked":false,"assignee":{"login":"Lekensteyn","id":164530,"avatar_url":"https://avatars.githubusercontent.com/u/164530?v=3","gravatar_id":"","url":"https://api.github.com/users/Lekensteyn","html_url":"https://github.com/Lekensteyn","followers_url":"https://api.github.com/users/Lekensteyn/followers","following_url":"https://api.github.com/users/Lekensteyn/following{/other_user}","gists_url":"https://api.github.com/users/Lekensteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Lekensteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lekensteyn/subscriptions","organizations_url":"https://api.github.com/users/Lekensteyn/orgs","repos_url":"https://api.github.com/users/Lekensteyn/repos","events_url":"https://api.github.com/users/Lekensteyn/events{/privacy}","received_events_url":"https://api.github.com/users/Lekensteyn/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-03-13T17:00:41Z","updated_at":"2015-04-12T13:56:20Z","closed_at":null,"body":"**Distro**: Debian GNU/Linux 8  (provided by cat /etc/issue)\r\n\r\n**Kernel** : Linux vostroSid 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt7-1 (2015-03-01) x86_64 GNU/Linux (provided by $ uname -a )\r\n\r\n**Manufacturer and model**:\r\nbaseboard-manufacturer: Dell Inc.\r\nbaseboard-product-name: ......\r\nbaseboard-version     : A10\r\nsystem-manufacturer   : Dell Inc.\r\nsystem-product-name   : Vostro 3700\r\nsystem-version        : A10\r\nbios-vendor           : Dell Inc.\r\nbios-version          : A10\r\nbios-release-date     : 10/25/2010\r\n\r\n**Bumblebee version** : optirun (Bumblebee) 3.2.1\r\nBumblebee has been installed from the Sid repository.\r\n\r\n**Issue description** \r\nIt seems that bbswitch disable the discrete video card\r\nIt is a multiboot system with both Debian Stable and Debian Sid.\r\nBumblebee is not installed on Debian Stable and the command \"$ lspci | grep VGA\" provides\r\n\r\n    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)\r\n    01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 330M] (rev a2)\r\n\r\nin Debian Stable.  -> It is well an Optimus computer.\r\n\r\nIn Debian Sid, \"$ lspci | grep VGA\" provides \r\n\r\n    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)\r\n-> The nVidia card is not available\r\n\r\nThe command \"# egrep -w 'bbswitch|bumblebeed' /var/log/syslog\" provides \r\n\r\n    Mar 13 16:35:29 vostroSid bumblebeed[673]: [   26.378680] [INFO]/usr/sbin/bumblebeed 3.2.1 started\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.511023] bbswitch: version 0.8\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.511031] bbswitch: Found integrated VGA device 0000:00:02.0: \\_SB_.PCI0.GFX0\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.511039] bbswitch: Found discrete VGA device 0000:01:00.0: \\_SB_.PCI0.P0P1.PEGP\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.511442] bbswitch: detected a nVidia _DSM function\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.511551] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.513912] bbswitch: disabling discrete graphics\r\n    Mar 13 16:35:29 vostroSid kernel: [   26.631162] Modules linked in: bbswitch(O) binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media arc4 joydev brcmsmac intel_powerclamp dell_wmi iTCO_wdt snd_hda_codec_idt snd_hda_codec_hdmi snd_hda_codec_generic cordic brcmutil sparse_keymap coretemp b43 kvm_intel mac80211 cfg80211 ssb rng_core pcmcia pcmcia_core dell_laptop i915 rfkill iTCO_vendor_support snd_hda_intel mxm_wmi dcdbas snd_hda_controller kvm evdev bcma snd_hda_codec psmouse snd_hwdep serio_raw snd_pcm pcspkr drm_kms_helper intel_ips i2c_i801 snd_timer drm dell_smo8800 battery snd tpm_tis tpm acpi_cpufreq mei_me lpc_ich wmi video ac shpchp soundcore i2c_algo_bit i2c_core processor button mei mfd_core loop fuse parport_pc ppdev lp parport autofs4 hid_generic hid_belkin usbhid hid ext4 crc16 mbcache jbd2 sd_mod crc_t10dif crct10dif_generic sg sr_mod cdrom crct10dif_common ahci libahci ehci_pci ehci_hcd libata crc32c_intel firewire_ohci sdhci_pci sdhci scsi_mod firewire_core crc_itu_t mmc_core r8169 mii usbcore usb_common thermal thermal_sys\r\n\r\nWhat I highlight is : \"[   26.513912] bbswitch: disabling discrete graphics\"\r\n\r\nRunning \"$ optirun -vv glxgears\" the first time provides:\r\n\r\n    [  137.740362] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf\r\n    [  137.740735] [INFO]Configured driver: nvidia\r\n    [  137.740914] [DEBUG]optirun version 3.2.1 starting...\r\n    [  137.740941] [DEBUG]Active configuration:\r\n    [  137.740961] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf\r\n    [  137.740984] [DEBUG] X display: :8\r\n    [  137.741005] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia\r\n    [  137.741028] [DEBUG] Socket path: /var/run/bumblebee.socket\r\n    [  137.741050] [DEBUG] Accel/display bridge: auto\r\n    [  137.741071] [DEBUG] VGL Compression: proxy\r\n    [  137.741092] [DEBUG] VGLrun extra options: \r\n    [  137.741114] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus\r\n    [  137.741245] [DEBUG]Using auto-detected bridge primus\r\n    [  137.758757] [DEBUG]Socket closed.\r\n    [  137.758783] [DEBUG]Killing all remaining processes.\r\n\r\nRunnig \"$ optirun -vv glxgears\" afterwhile provides:\r\n\r\n    [  143.883022] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf\r\n    [  143.883339] [INFO]Configured driver: nvidia\r\n    [  143.883405] [ERROR]Could not connect to /var/run/bumblebee.socket! Error: Connection refused\r\n    [  143.883423] [DEBUG]Socket closed.\r\n    [  143.883444] [ERROR]Could not connect to bumblebee daemon - is it running?\r\n\r\nAfter running this, the system added the below lines to the /var/log/syslog file\r\n\r\n    Mar 13 16:42:44 vostroSid kernel: [  137.776442] CPU: 3 PID: 673 Comm: bumblebeed Tainted: G        W  O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt7-1\r\n     Mar 13 16:42:44 vostroSid kernel: [  137.776637] RIP: 0010:[<ffffffffa0759035>]  [<ffffffffa0759035>] dis_dev_get+0x15/0x40 [bbswitch]\r\n    Mar 13 16:42:44 vostroSid kernel: [  137.777453]  [<ffffffffa07590ee>] ? bbswitch_proc_show+0xe/0x70 [bbswitch]\r\n    Mar 13 16:42:44 vostroSid kernel: [  137.778250] RIP  [<ffffffffa0759035>] dis_dev_get+0x15/0x40 [bbswitch]\r\n    Mar 13 16:42:44 vostroSid systemd[1]: bumblebeed.service: main process exited, code=killed, status=11/SEGV\r\n    Mar 13 16:42:44 vostroSid systemd[1]: Unit bumblebeed.service entered failed state.\r\n    Mar 13 16:43:44 vostroSid bumblebeed[1784]: [  197.779704] [ERROR]No discrete video card found, quitting\r\n    Mar 13 16:43:44 vostroSid systemd[1]: bumblebeed.service: main process exited, code=exited, status=1/FAILURE\r\n    Mar 13 16:43:44 vostroSid systemd[1]: Unit bumblebeed.service entered failed state.\r\n\r\nI don't find any /var/log/Xorg.8.log file. I only find a /var/log/Xorg.0.log file !\r\n\r\nI Googled quiet a lot and only found a similar situation [here] (https://bbs.archlinux.org/viewtopic.php?id=187160)\r\nBut for him, the problem solved by himself after a kernel update (if I understood well).\r\n\r\nThanks in advance for your help and time !!!\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/comments/92066179","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/642#issuecomment-92066179","issue_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/642","id":92066179,"user":{"login":"Lekensteyn","id":164530,"avatar_url":"https://avatars.githubusercontent.com/u/164530?v=3","gravatar_id":"","url":"https://api.github.com/users/Lekensteyn","html_url":"https://github.com/Lekensteyn","followers_url":"https://api.github.com/users/Lekensteyn/followers","following_url":"https://api.github.com/users/Lekensteyn/following{/other_user}","gists_url":"https://api.github.com/users/Lekensteyn/gists{/gist_id}","starred_url":"https://api.github.com/users/Lekensteyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lekensteyn/subscriptions","organizations_url":"https://api.github.com/users/Lekensteyn/orgs","repos_url":"https://api.github.com/users/Lekensteyn/repos","events_url":"https://api.github.com/users/Lekensteyn/events{/privacy}","received_events_url":"https://api.github.com/users/Lekensteyn/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T13:56:20Z","updated_at":"2015-04-12T13:56:20Z","body":"I think I have seen this reported before, but do not know where. It looks like a kernel issue which is likely fixed in recenter kernels.\r\n\r\n@swing0486 Does it still occur on recent kernels?"}}