{"action":"created","issue":{"url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/1","repository_url":"https://api.github.com/repos/NVIDIA/nvidia-installer","labels_url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/1/comments","events_url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/1/events","html_url":"https://github.com/NVIDIA/nvidia-installer/issues/1","id":124617917,"number":1,"title":"Problem installing driver in such a way as to work with bumblebee in fedora","user":{"login":"gsgatlin","id":1095679,"avatar_url":"https://avatars.githubusercontent.com/u/1095679?v=3","gravatar_id":"","url":"https://api.github.com/users/gsgatlin","html_url":"https://github.com/gsgatlin","followers_url":"https://api.github.com/users/gsgatlin/followers","following_url":"https://api.github.com/users/gsgatlin/following{/other_user}","gists_url":"https://api.github.com/users/gsgatlin/gists{/gist_id}","starred_url":"https://api.github.com/users/gsgatlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsgatlin/subscriptions","organizations_url":"https://api.github.com/users/gsgatlin/orgs","repos_url":"https://api.github.com/users/gsgatlin/repos","events_url":"https://api.github.com/users/gsgatlin/events{/privacy}","received_events_url":"https://api.github.com/users/gsgatlin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"aaronp24","id":343551,"avatar_url":"https://avatars.githubusercontent.com/u/343551?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronp24","html_url":"https://github.com/aaronp24","followers_url":"https://api.github.com/users/aaronp24/followers","following_url":"https://api.github.com/users/aaronp24/following{/other_user}","gists_url":"https://api.github.com/users/aaronp24/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronp24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronp24/subscriptions","organizations_url":"https://api.github.com/users/aaronp24/orgs","repos_url":"https://api.github.com/users/aaronp24/repos","events_url":"https://api.github.com/users/aaronp24/events{/privacy}","received_events_url":"https://api.github.com/users/aaronp24/received_events","type":"User","site_admin":false},"milestone":null,"comments":20,"created_at":"2016-01-02T23:43:49Z","updated_at":"2016-05-18T21:50:49Z","closed_at":null,"body":"Hello and happy new years.\r\n\r\nIn driver version 352.63 if you call the nvidia installer with these command line arguments it returns successfully: (\"0\")\r\n\r\n./nvidia-installer --accept-license --silent --no-x-check --no-nouveau-check --no-recursion --opengl-libdir=lib64/nvidia-bumblebee --opengl-prefix=/usr --x-library-path=lib64/nvidia-bumblebee --x-prefix=/usr --x-module-path=/usr/lib64/nvidia-bumblebee/xorg/modules --compat32-libdir=lib/nvidia-bumblebee --compat32-prefix=/usr\r\n\r\n\r\nHowever, in driver version 358.16 using the same arguments gives:\r\n\r\nBuilding NVIDIA video drivers: Creating directory NVIDIA-Linux-x86_64-358.16\r\nVerifying archive integrity... OK\r\nUncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 358.16........................................................................................................................................................................................................................................................................................\r\n\r\nWARNING: The symbolic link '/usr/lib/libGL.so.1' does not point to\r\n         '/usr/lib64/nvidia-bumblebee/libGL.so.1' as is necessary for correct\r\n         operation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64. \r\n         It is possible that `ldconfig` has created this incorrect symbolic\r\n         link because libGL.so.1.2.0's \"soname\" conflicts with that of\r\n         /usr/lib64/nvidia-bumblebee/libGL.so.1.  It is recommended that you\r\n         remove or rename the file 'libGL.so.1.2.0' and create the necessary\r\n         symbolic link by running `ln -sf\r\n         /usr/lib64/nvidia-bumblebee/libGL.so.1 /usr/lib/libGL.so.1`.\r\n\r\n\r\nERROR: The runtime configuration check failed for the library 'libEGL.so.1'\r\n       (expected: '/usr/lib/nvidia-bumblebee/libEGL.so.1', found:\r\n       '/lib/libEGL.so.1').  The most likely reason for this is that\r\n       conflicting OpenGL libraries are installed in a location not inspected\r\n       by `nvidia-installer`.  Please be sure you have uninstalled any\r\n       third-party OpenGL and/or third-party graphics driver packages.\r\n\r\n\r\nERROR: Installation has failed.  Please see the file\r\n       '/var/log/nvidia-installer.log' for details.  You may find suggestions\r\n       on fixing installation problems in the README available on the Linux\r\n       driver download page at www.nvidia.com.\r\n\r\nIt does actually \"work\" correctly but the wrapper script I created doesn't know it succeeded because the return code from  \"nvidia-installer\" is not \"0\" in version 358.16. Probably because of some kind of error detection that prints out the all caps ERROR: lines?\r\n\r\nSince I run the wrapper at every boot via systemd it just keeps compiling at every boot over and over again since it does not know it succeeded enough for bumblebee to work.\r\n\r\nYou can test this if you like by checking out the instructions for using bumblebee on fedora here:\r\n\r\nhttps://fedoraproject.org/wiki/Bumblebee\r\n\r\nBasically you will want to use the \"Unmanaged NVidia repo\" and download each blob to test from here:\r\n\r\nhttp://www.nvidia.com/object/unix.html\r\n\r\nand then copy it to \r\n\r\n/etc/sysconfig/nvidia/\r\n\r\nand then run the wrapper script for bumblebee by hand as root:\r\n\r\nbumblebee-nvidia --debug\r\n\r\nIf you want to look over the wrapper its pretty simple. Its just a bash shell script.\r\n\r\nAnyways, I made a discussion thread here:\r\n\r\nhttps://devtalk.nvidia.com/default/topic/885657/linux/can-t-install-driver-to-work-with-bumblebee-with-version-355-11/\r\n\r\nBut probably its better to open a new issue here?\r\n\r\nPlease let me know if there is any other information you need on this bug?\r\n\r\nI was told by samsagax (Joaquín Ignacio Aramendía) back in 2012 that I \"needed to figure out how to install NVIDIA binaries in a way that won't break LibGL from mesa in order for the intel card to work properly\"\r\n\r\nhttps://lists.launchpad.net/hybrid-graphics-linux/msg02131.html\r\n\r\nMy solution was to create this wrapper script and to work out for myself the command line arguments needed to the nvidia-installer program...\r\n\r\nThanks so much for taking a look at this and for any ideas you may have. You guys make great graphics chips for these optimus notebooks.\r\n"},"comment":{"url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/comments/220169053","html_url":"https://github.com/NVIDIA/nvidia-installer/issues/1#issuecomment-220169053","issue_url":"https://api.github.com/repos/NVIDIA/nvidia-installer/issues/1","id":220169053,"user":{"login":"mhirsch","id":424951,"avatar_url":"https://avatars.githubusercontent.com/u/424951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhirsch","html_url":"https://github.com/mhirsch","followers_url":"https://api.github.com/users/mhirsch/followers","following_url":"https://api.github.com/users/mhirsch/following{/other_user}","gists_url":"https://api.github.com/users/mhirsch/gists{/gist_id}","starred_url":"https://api.github.com/users/mhirsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhirsch/subscriptions","organizations_url":"https://api.github.com/users/mhirsch/orgs","repos_url":"https://api.github.com/users/mhirsch/repos","events_url":"https://api.github.com/users/mhirsch/events{/privacy}","received_events_url":"https://api.github.com/users/mhirsch/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T21:50:48Z","updated_at":"2016-05-18T21:50:48Z","body":"Here's the relevant issue from the bumblebee project: https://github.com/Bumblebee-Project/Bumblebee/issues/565"}}