{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22760","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22760/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22760/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22760/events","html_url":"https://github.com/NixOS/nixpkgs/issues/22760","id":207342301,"number":22760,"title":"VirtualBox cannot access OpenGL with Nvidia Drivers as Normal User","user":{"login":"cmason37","id":3318784,"avatar_url":"https://avatars.githubusercontent.com/u/3318784?v=3","gravatar_id":"","url":"https://api.github.com/users/cmason37","html_url":"https://github.com/cmason37","followers_url":"https://api.github.com/users/cmason37/followers","following_url":"https://api.github.com/users/cmason37/following{/other_user}","gists_url":"https://api.github.com/users/cmason37/gists{/gist_id}","starred_url":"https://api.github.com/users/cmason37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmason37/subscriptions","organizations_url":"https://api.github.com/users/cmason37/orgs","repos_url":"https://api.github.com/users/cmason37/repos","events_url":"https://api.github.com/users/cmason37/events{/privacy}","received_events_url":"https://api.github.com/users/cmason37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/10","html_url":"https://github.com/NixOS/nixpkgs/milestone/10","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/milestones/10/labels","id":1971855,"number":10,"title":"17.03","description":"","creator":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":66,"state":"open","created_at":"2016-08-30T09:12:25Z","updated_at":"2017-02-20T03:32:49Z","due_on":"2017-03-30T07:00:00Z","closed_at":null},"comments":12,"created_at":"2017-02-13T21:19:38Z","updated_at":"2017-02-20T06:39:31Z","closed_at":null,"body":"## Issue description\r\n\r\nExactly as it says in the title. VirtualBox cannot access OpenGL with Nvidia Drivers as Normal User, Which Prevents {2,3}D Acceleration From Working.\r\n\r\n`LIBGL_DEBUG=verbose VirtualBox   `\r\n`libGL: screen 0 does not appear to be DRI2 capable`\r\n`libGL: OpenDriver: trying /run/opengl-driver/lib/dri/tls/swrast_dri.so`\r\n`libGL: OpenDriver: trying /run/opengl-driver/lib/dri/swrast_dri.so`\r\n`libGL: dlopen /run/opengl-driver/lib/dri/swrast_dri.so failed (/run/opengl-driver/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)`\r\n`libGL error: unable to load driver: swrast_dri.so`\r\n`libGL error: failed to load driver: swrast`\r\n\r\nEvery other opengl program on the system works fine (Ironically enough, even VBoxOGLTest, which VirtualBox itself uses to test for OpenGL support, works fine.) , glxinfo reports the right values, etc; So I am certain the issue is isolated to VirtualBox. \r\n\r\nThis does not happen when executing the real, non setuid-wrapper, VirtualBox executable, which obviously requires root. When launched this way, it exhibits normal behavior. However, obviously launching a program as root is not an acceptable workaround.\r\n\r\n### Steps to reproduce\r\n\r\n1. Execute VirtualBox as non-root user, either from terminal or desktop file.\r\n\r\n## Technical details\r\n\r\n* System: 17.03pre100821.6651c72 (Gorilla)\r\n* Nix version: 1.11.6\r\n* Nixpkgs version: 17.03pre100821.6651c72\r\n"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/280999820","html_url":"https://github.com/NixOS/nixpkgs/issues/22760#issuecomment-280999820","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/22760","id":280999820,"user":{"login":"cmason37","id":3318784,"avatar_url":"https://avatars.githubusercontent.com/u/3318784?v=3","gravatar_id":"","url":"https://api.github.com/users/cmason37","html_url":"https://github.com/cmason37","followers_url":"https://api.github.com/users/cmason37/followers","following_url":"https://api.github.com/users/cmason37/following{/other_user}","gists_url":"https://api.github.com/users/cmason37/gists{/gist_id}","starred_url":"https://api.github.com/users/cmason37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmason37/subscriptions","organizations_url":"https://api.github.com/users/cmason37/orgs","repos_url":"https://api.github.com/users/cmason37/repos","events_url":"https://api.github.com/users/cmason37/events{/privacy}","received_events_url":"https://api.github.com/users/cmason37/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T06:39:31Z","updated_at":"2017-02-20T06:39:31Z","body":"@abbradar Yes, this fixes the issue."}}
{"actor":{"display_login":"cmason37"}}