{"action":"created","issue":{"url":"https://api.github.com/repos/dthpham/butterflow/issues/92","repository_url":"https://api.github.com/repos/dthpham/butterflow","labels_url":"https://api.github.com/repos/dthpham/butterflow/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/dthpham/butterflow/issues/92/comments","events_url":"https://api.github.com/repos/dthpham/butterflow/issues/92/events","html_url":"https://github.com/dthpham/butterflow/issues/92","id":354037315,"node_id":"MDU6SXNzdWUzNTQwMzczMTU=","number":92,"title":"illegal hardware instruction on OSX","user":{"login":"JunyuT","id":1635687,"node_id":"MDQ6VXNlcjE2MzU2ODc=","avatar_url":"https://avatars2.githubusercontent.com/u/1635687?v=4","gravatar_id":"","url":"https://api.github.com/users/JunyuT","html_url":"https://github.com/JunyuT","followers_url":"https://api.github.com/users/JunyuT/followers","following_url":"https://api.github.com/users/JunyuT/following{/other_user}","gists_url":"https://api.github.com/users/JunyuT/gists{/gist_id}","starred_url":"https://api.github.com/users/JunyuT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunyuT/subscriptions","organizations_url":"https://api.github.com/users/JunyuT/orgs","repos_url":"https://api.github.com/users/JunyuT/repos","events_url":"https://api.github.com/users/JunyuT/events{/privacy}","received_events_url":"https://api.github.com/users/JunyuT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-25T19:25:29Z","updated_at":"2018-10-30T18:14:43Z","closed_at":null,"author_association":"NONE","body":"I'm running High Sierra hackintosh. I seem to get a \"illegal hardware instruction\" whenever I try to use my GPU. \r\nHere's the output when I run `butterflow -d`\r\n\r\n> OpenCL devices:\r\n  Platform          \t: Apple\r\n  Platform Vendor   \t: Apple\r\n  Platform Version  \t: OpenCL 1.2 (Mar 15 2018 15:35:11)\r\n   Device 0    \t\t: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz\r\n      Version  \t\t: OpenCL 1.2\r\n      Version  \t\t: 1.1\r\n      Work Sizes\t: 1024, 1024x1x1\r\n      Compatible\t: No\r\n> Device 1    \t\t: GeForce GTX 1060 6GB\r\n      Version  \t\t: OpenCL 1.2\r\n      Version  \t\t: 10.31.33 387.10.10.10.35.106\r\n      Work Sizes\t: 1024, 1024x1024x64\r\n      Compatible\t: Yes\r\n\r\nand here is what happens when I run `butterflow -r120 input.mov -o testslowmo.mp4 -v -p`\r\n\r\n> (butterflow) [rendered] butterflow -r120 input.mov -o testslowmo.mp4 -v\r\n[butterflow:INFO]: Version 0.2.3\r\n[butterflow:INFO]: Cache directory:\t/var/folders/gz/w24h8wl51wx144bz60r8807h0000gn/T/butterflow-0.2.3\r\n[butterflow:INFO]: At least one compatible OpenCL device was detected\r\n[butterflow:INFO]: Using device: GeForce GTX 1060 6GB (autoselected)\r\n[butterflow:INFO]: Hardware acceleration is enabled\r\n[butterflow:INFO]: Rendering:\r\n[butterflow:INFO]: Sequence: Duration=0:00:09.510000 (9.51s), Frames=228, Rate=23.9760246277\r\n[butterflow:INFO]: Subregion (0): Time=0:00:00-0:00:09.510000 Frames=0-227 Speed=1.0,Duration=?,Fps=?\r\n[butterflow:INFO]: Rendering to:\tinput.29042.mp4\r\n[butterflow:INFO]: Final destination:\ttestslowmo.mp4\r\n[butterflow:INFO]: [Subprocess] Opening a pipe to the video writer\r\n[butterflow:INFO]: Rendering progress:\t0.00%\r\n[butterflow:INFO]: Start working on Subregion (0): Time=0:00:00-0:00:09.510000 Frames=0-227 Speed=1.0,Duration=?,Fps=?\r\n[butterflow:INFO]: Frames in region:\t0-227\r\n[butterflow:INFO]: Region length:\t228\r\n[butterflow:INFO]: Region duration:\t9.510000s\r\n[butterflow:INFO]: Number of frame pairs:\t227\r\n[butterflow:INFO]: Interpolation rate:\t5\r\n[butterflow:INFO]: Time stepping:\t0.167,0.333,0.500,0.667,0.833\r\n[butterflow:INFO]: Frames to write:\t1141\r\n[butterflow:INFO]: Will interpolate:\t1362\r\n[butterflow:INFO]: Extra frames (to discard):\t221\r\n[butterflow:INFO]: Drop every:\t6\r\n[butterflow:INFO]: Dupe every:\t0\r\n[butterflow:INFO]: Ready to run:\t228 times\r\n[butterflow:INFO]: Showing a sample of the first and last 15 runs:\r\n[1]    29042 illegal hardware instruction  butterflow -r120 input.mov -o testslowmo.mp4 -v\r\n\r\nHowever, forcing software rendering with `-sw` seems to work, albeit really slowly (a python window pops up with frames of my video, whereas not running `-sw` will have the python window pop in then close immediately). Even when I force `--device 1` to choose my GPU, same thing happens.\r\n\r\nAny idea what's going on? I could probably run this on my windows partition, but i'd really rather just run it on my hackintosh."},"comment":{"url":"https://api.github.com/repos/dthpham/butterflow/issues/comments/434412725","html_url":"https://github.com/dthpham/butterflow/issues/92#issuecomment-434412725","issue_url":"https://api.github.com/repos/dthpham/butterflow/issues/92","id":434412725,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDQxMjcyNQ==","user":{"login":"nongrata23","id":37452237,"node_id":"MDQ6VXNlcjM3NDUyMjM3","avatar_url":"https://avatars0.githubusercontent.com/u/37452237?v=4","gravatar_id":"","url":"https://api.github.com/users/nongrata23","html_url":"https://github.com/nongrata23","followers_url":"https://api.github.com/users/nongrata23/followers","following_url":"https://api.github.com/users/nongrata23/following{/other_user}","gists_url":"https://api.github.com/users/nongrata23/gists{/gist_id}","starred_url":"https://api.github.com/users/nongrata23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nongrata23/subscriptions","organizations_url":"https://api.github.com/users/nongrata23/orgs","repos_url":"https://api.github.com/users/nongrata23/repos","events_url":"https://api.github.com/users/nongrata23/events{/privacy}","received_events_url":"https://api.github.com/users/nongrata23/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T18:14:43Z","updated_at":"2018-10-30T18:14:43Z","author_association":"NONE","body":"how u installed it?\r\n\r\ni get this error\r\n\r\nnongratas-iMac:~ nongrata$ butterflow -h\r\nTraceback (most recent call last):\r\n  File \"/usr/local/Cellar/butterflow/0.2.3_1/libexec/bin/butterflow\", line 9, in <module>\r\n    load_entry_point('butterflow==0.2.3', 'console_scripts', 'butterflow')()\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py\", line 565, in load_entry_point\r\n    return get_distribution(dist).load_entry_point(group, name)\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py\", line 2697, in load_entry_point\r\n    return ep.load()\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py\", line 2370, in load\r\n    return self.resolve()\r\n  File \"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py\", line 2376, in resolve\r\n    module = __import__(self.module_name, fromlist=['__name__'], level=0)\r\n  File \"/usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/cli.py\", line 11, in <module>\r\n    from butterflow import ocl, avinfo, motion, ocl\r\nImportError: dlopen(/usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/avinfo.so, 2): Library not loaded: /usr/local/opt/ffmpeg/lib/libavcodec.57.dylib\r\n  Referenced from: /usr/local/Cellar/butterflow/0.2.3_1/libexec/lib/python2.7/site-packages/butterflow/avinfo.so\r\n  Reason: image not found\r\n"}}
{"actor":{"display_login":"nongrata23"}}