{"action":"created","issue":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/764","repository_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee","labels_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/764/comments","events_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/764/events","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/764","id":153524662,"number":764,"title":"Laptop freezes when starting X11 and discrete graphics are OFF","user":{"login":"jgkamat","id":4349709,"avatar_url":"https://avatars.githubusercontent.com/u/4349709?v=3","gravatar_id":"","url":"https://api.github.com/users/jgkamat","html_url":"https://github.com/jgkamat","followers_url":"https://api.github.com/users/jgkamat/followers","following_url":"https://api.github.com/users/jgkamat/following{/other_user}","gists_url":"https://api.github.com/users/jgkamat/gists{/gist_id}","starred_url":"https://api.github.com/users/jgkamat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgkamat/subscriptions","organizations_url":"https://api.github.com/users/jgkamat/orgs","repos_url":"https://api.github.com/users/jgkamat/repos","events_url":"https://api.github.com/users/jgkamat/events{/privacy}","received_events_url":"https://api.github.com/users/jgkamat/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/P:Medium","name":"P:Medium","color":"d7e102"},{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/labels/Power%20Management","name":"Power Management","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":75,"created_at":"2016-05-06T19:45:34Z","updated_at":"2016-10-03T10:09:36Z","closed_at":null,"body":"I'm having a weird issue, and I'm not sure what kind of debug information is neccesary, but let me know what to give and I'll supply anything you need.\r\n\r\nWhen I start my graphics (lxdm), I get a freeze (keyboard stops working, no response on monitor at all, even log files stop working), but I can work around this by enabling the graphics card before starting graphics.\r\n\r\nSystem (installed with `bumblebee-nvidia` in debian testing repos):\r\n```\r\nDebian Testing\r\nGTX 965M\r\nNvidia Proprietary Driver: 352.79 \r\nLaptop: SAGER NP7258\r\n```\r\nOptirun --version:\r\n```\r\noptirun (Bumblebee) 3.2.1\r\nCopyright (C) 2011 The Bumblebee Project\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.\r\n```\r\n\r\nMy laptop seems to not work without optimus, the intel drivers work fine, but trying to run w/o the intel drivers (nvidia only) seems to result in a frozen screen. Using the workaround works perfectly for me, however.\r\n\r\nSteps to Reproduce:\r\n1. `systemctl start bumblebeed`\r\n2. `systemctl start lxdm`\r\n3. Freeze occurs\r\n\r\nWorkaround:\r\n1. `systemctl start bumblebeed`\r\n2. `echo \"ON\" >/proc/acpi/bbswitch`\r\n3. `systemctl start lxdm`\r\n\r\nUnfortunately, any X11 log files don't seem to survive after my system freezes (they show everything completed successfully, probably from the previous successfull boot). If you know any way of retreiving them I'd be happy to supply them though! (When the system freezes, even my shell history file gets corrupted).\r\n\r\nI did have to make some changes to my config files to get things to work in my situation though, I'll post anything I remember changing below. Let me know if you need any more information, I am happy to supply it! Without bumblebee, my laptop would be unusuable :+1: \r\n\r\n### bumblebee.conf\r\n\r\n```\r\n# Configuration file for Bumblebee. Values should **not** be put between quotes\r\n\r\n## Server options. Any change made in this section will need a server restart\r\n# to take effect.\r\n[bumblebeed]\r\n# The secondary Xorg server DISPLAY number\r\nVirtualDisplay=:8\r\n# Should the unused Xorg server be kept running? Set this to true if waiting\r\n# for X to be ready is too long and don't need power management at all.\r\nKeepUnusedXServer=false\r\n# The name of the Bumbleblee server group name (GID name)\r\nServerGroup=bumblebee\r\n# Card power state at exit. Set to false if the card shoud be ON when Bumblebee\r\n# server exits.\r\nTurnCardOffAtExit=false\r\n# The default behavior of '-f' option on optirun. If set to \"true\", '-f' will\r\n# be ignored.\r\nNoEcoModeOverride=false\r\n# The Driver used by Bumblebee server. If this value is not set (or empty),\r\n# auto-detection is performed. The available drivers are nvidia and nouveau\r\n# (See also the driver-specific sections below)\r\nDriver=nvidia\r\n# Directory with a dummy config file to pass as a -configdir to secondary X\r\nXorgConfDir=/etc/bumblebee/xorg.conf.d\r\n\r\n## Client options. Will take effect on the next optirun executed.\r\n[optirun]\r\n# Acceleration/ rendering bridge, possible values are auto, virtualgl and\r\n# primus.\r\nBridge=auto\r\n# The method used for VirtualGL to transport frames between X servers.\r\n# Possible values are proxy, jpeg, rgb, xv and yuv.\r\nVGLTransport=proxy\r\n# List of paths which are searched for the primus libGL.so.1 when using\r\n# the primus bridge\r\nPrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus\r\n# Should the program run under optirun even if Bumblebee server or nvidia card\r\n# is not available?\r\nAllowFallbackToIGC=false\r\n\r\n\r\n# Driver-specific settings are grouped under [driver-NAME]. The sections are\r\n# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-\r\n# detection resolves to NAME).\r\n# PMMethod: method to use for saving power by disabling the nvidia card, valid\r\n# values are: auto - automatically detect which PM method to use\r\n#         bbswitch - new in BB 3, recommended if available\r\n#       switcheroo - vga_switcheroo method, use at your own risk\r\n#             none - disable PM completely\r\n# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods\r\n\r\n## Section with nvidia driver specific options, only parsed if Driver=nvidia\r\n[driver-nvidia]\r\n# Module name to load, defaults to Driver if empty or unset\r\nKernelDriver=nvidia-current\r\nPMMethod=bbswitch\r\n# colon-separated path to the nvidia libraries\r\nLibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia\r\n# comma-separated path of the directory containing nvidia_drv.so and the\r\n# default Xorg modules path\r\nXorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules\r\nXorgConfFile=/etc/bumblebee/xorg.conf.nvidia\r\n\r\n## Section with nouveau driver specific options, only parsed if Driver=nouveau\r\n[driver-nouveau]\r\nKernelDriver=nouveau\r\nPMMethod=auto\r\nXorgConfFile=/etc/bumblebee/xorg.conf.nouveau\r\n```\r\n\r\n### xorg.conf.nvidia\r\n```\r\nSection \"ServerLayout\"\r\nIdentifier  \"Layout0\"\r\nOption      \"AutoAddDevices\" \"false\"\r\nOption      \"AutoAddGPU\" \"false\"\r\nEndSection\r\n\r\nSection \"Device\"\r\nIdentifier  \"DiscreteNvidiaj\"\r\nDriver      \"nvidia\"\r\nVendorName  \"NVIDIA Corporation\"\r\n\r\n#   If the X server does not automatically detect your VGA device,\r\n#   you can manually set it here.\r\n#   To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data\r\n#   as you see in the commented example.\r\n#   This Setting may be needed in some platforms with more than one\r\n#   nvidia card, which may confuse the proprietary driver (e.g.,\r\n#   trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.\r\nBusID \"PCI:01:00:0\"\r\n\r\n#   Setting ProbeAllGpus to false prevents the new proprietary driver\r\n#   instance spawned to try to control the integrated graphics card,\r\n#   which is already being managed outside bumblebee.\r\n#   This option doesn't hurt and it is required on platforms running\r\n#   more than one nvidia graphics card with the proprietary driver.\r\n#   (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).\r\n#   If this option is not set, the new Xorg may blacken the screen and\r\n#   render it unusable (unless you have some way to run killall Xorg).\r\nOption \"ProbeAllGpus\" \"false\"\r\n\r\nOption \"NoLogo\" \"true\"\r\nOption \"UseEDID\" \"false\"\r\nOption \"UseDisplayDevice\" \"none\"\r\nEndSection\r\n\r\n# Section \"Screen\"\r\n#     Identifier \"Default Screen\"\r\n# \tDevice \"DiscreteNvidia\"\r\n# EndSection\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/comments/251071108","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-251071108","issue_url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/764","id":251071108,"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":"2016-10-03T10:09:35Z","updated_at":"2016-10-03T10:09:35Z","body":"@greggy Your video card seems off based on `rev ff`, if you are happy enough with Intel graphics, do not bother loading the proprietary nvidia driver, it will break stuff.\r\n\r\n@vrobolab `acpi_osi=\"!Windows 2015\"` should already be sufficient for your model."}}
{"actor":{"display_login":"Lekensteyn"}}