{"issue":{"created_at":"2011-11-22T00:45:15Z","state":"open","updated_at":"2011-11-22T11:14:50Z","user":{"gravatar_id":"a4b4324aa7f181c635d35e9720cf71bc","id":332945,"url":"https://api.github.com/users/jmerkin","login":"jmerkin","avatar_url":"https://secure.gravatar.com/avatar/a4b4324aa7f181c635d35e9720cf71bc?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"I seem to be having a pretty common issue, but the google solutions haven't worked. When I try \r\n\r\n    $optirun glxgears\r\n\r\nit returns \r\n\r\n    The Bumblebee X server was not available, please check the\r\n    Bumblebee logfile at /var/log/bumblebee.log\r\n\r\n/var/log/bumblebee.log has this:\r\n\r\n```\r\n[   6229.41] Optirun start request received.\r\n[   6229.42] Checking for X server availability before starting X...\r\n[   6229.42] X server is not started\r\n[   6229.43] Power management is disabled, only loading driver\r\n[   6229.53] \r\n[   6229.54] Starting X using nvidia...\r\n[   6229.54] Waiting for X server to become available...\r\n[   6239.61] The Bumblebee X server failed to start. Please check /var/log/Xorg.8.log\r\n[   6239.61] Waiting for orders\r\n```\r\nxorg.8.log:\r\n\r\n```\r\n[  6229.576] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so\r\n[  6229.577] drmOpenDevice: node name is /dev/dri/card0\r\n[  6229.577] drmOpenDevice: open result is 10, (OK)\r\n[  6229.577] drmOpenByBusid: Searching for BusID pci:0000:00:02.0\r\n[  6229.577] drmOpenDevice: node name is /dev/dri/card0\r\n[  6229.577] drmOpenDevice: open result is 10, (OK)\r\n[  6229.577] drmOpenByBusid: drmOpenMinor returns 10\r\n[  6229.577] drmOpenByBusid: Interface 1.4 failed, trying 1.1\r\n[  6229.577] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0\r\n[  6229.577] (EE) intel(0): [drm] failed to set drm interface version.\r\n[  6229.577] (EE) intel(0): Failed to become DRM master.\r\n[  6229.577] (**) intel(0): Depth 24, (--) framebuffer bpp 32\r\n[  6229.577] (==) intel(0): RGB weight 888\r\n[  6229.577] (==) intel(0): Default visual is TrueColor\r\n[  6229.577] (II) intel(0): Integrated Graphics Chipset: Intel(R) Arrandale\r\n[  6229.577] (--) intel(0): Chipset: \"Arrandale\"\r\n[  6229.577] (**) intel(0): Relaxed fencing disabled\r\n[  6229.577] (**) intel(0): Wait on SwapBuffers? enabled\r\n[  6229.577] (**) intel(0): Triple buffering? enabled\r\n[  6229.577] (**) intel(0): Framebuffer tiled\r\n[  6229.577] (**) intel(0): Pixmaps tiled\r\n[  6229.577] (**) intel(0): 3D buffers tiled\r\n[  6229.577] (**) intel(0): SwapBuffers wait enabled\r\n[  6229.577] (==) intel(0): video overlay key set to 0x101fe\r\n[  6229.577] (EE) intel(0): failed to get resources: Bad file descriptor\r\n[  6229.577] (II) UnloadModule: \"intel\"\r\n[  6229.577] (II) Unloading intel\r\n[  6229.577] (EE) Screen(s) found, but none have a usable configuration.\r\n[  6229.577] \r\nFatal server error:\r\n[  6229.577] no screens found\r\n[  6229.577] \r\nPlease consult the The X.Org Foundation support \r\n         at http://wiki.x.org\r\n for help. \r\n[  6229.577] Please also check the log file at \"/var/log/Xorg.8.log\" for additional information.\r\n[  6229.577] \r\n[  6229.577] Server terminated with error (1). Closing log file.\r\n```\r\n\r\nI'm running Arch, using the package in AUR. My /etc/X11/xorg.conf.d/10-monitor.conf:\r\n\r\n```\r\nSection \"Monitor\"\r\n    Identifier    \"Monitor0\"\r\n    HorizSync 1.0 - 10000.0\r\n    VertRefresh 1.0 - 10000.0\r\nEndSection\r\n\r\nSection \"Device\"\r\n    Identifier    \"Device0\"\r\n    Driver        \"intel\" #\"vesa\"\r\nEndSection\r\n\r\nSection \"Screen\"\r\n    Identifier    \"Screen0\"\r\n    Device        \"Device0\"\r\n    Monitor       \"Monitor0\"\r\n    DefaultDepth  24\r\n    SubSection \"Display\"\r\n        Viewport 0 0\r\n        Depth        24\r\n        Modes \"1366x768\"\r\n    EndSubSection\r\nEndSection\r\n```\r\n\r\nand /etc/bumblebee/xorg.conf.nvidia:\r\n\r\n```\r\nSection \"ServerLayout\"\r\n    Identifier \"Layout0\"\r\n    Option \"AutoAddDevices\" \"false\"\r\nEndSection\r\n\r\nSection \"Files\"\r\n    ModulePath \"/usr/lib/nvidia-bumblebee,/usr/lib/xorg/modules\"\r\nEndSection\r\n\r\nSection \"Device\"\r\n    Identifier \"Device1\"\r\n    Driver \"nvidia\"\r\n    VendorName \"NVIDIA Corporation\"\r\n    BusID \"PCI:01:00:0\"\r\n    Option \"NoLogo\" \"true\"\r\n    Option \"UseEDID\" \"false\"\r\n    Option \"ConnectedMonitor\" \"DFP\"\r\nEndSection\r\n```\r\n\r\nI've tried just about ever combination of DFP, CRT, DRP-0, CRT-0, and pairs of those, as suggested elsewhere. I wiped and installed on a fresh system, so I shouldn't have old installs lying around. Removing the nvidia module and letting bumblebee load it changes nothing except adding a line about insmod.","assignee":null,"number":161,"id":2311999,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Bumblebee X server failing to start","html_url":"https://github.com/Bumblebee-Project/Bumblebee/issues/161","closed_at":null,"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/161","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T11:14:50Z","updated_at":"2011-11-22T11:14:50Z","user":{"gravatar_id":"e6875b9fee07521eed2e2c7e7214e531","id":164530,"url":"https://api.github.com/users/Lekensteyn","login":"Lekensteyn","avatar_url":"https://secure.gravatar.com/avatar/e6875b9fee07521eed2e2c7e7214e531?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Try adding the next to your /etc/bumblebee/xorg.conf.nvidia:\r\n\r\n```\r\nSection \"Screen\"\r\n    Identifier    \"Screen1\"\r\n    Device        \"Device1\"\r\nEndSection\r\n```","id":2833175,"url":"https://api.github.com/repos/Bumblebee-Project/Bumblebee/issues/comments/2833175"}}