-
Notifications
You must be signed in to change notification settings - Fork 141
two last commits now also in develop branch #889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
||
| [Service] | ||
| Type=simple | ||
| ExecStartPre=/usr/bin/prime-select intel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be:
ExecStartPre=-/usr/bin/prime-select intel
As prime-select is only available on certain distributions, not everywhere.
src/findpathwild.c
Outdated
| @@ -0,0 +1,206 @@ | |||
| /*********************************************************************** | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the same GPL headers as other source files
|
I did the changes you asked me to do. You can merge it now. |
|
Looks fine for me, even though it's just to work around a limitation in the Ubuntu drivers, but @Lekensteyn and @ArchangeGabriel need to approve |
|
I have the prime-select intel only in scripts/systemd/bumblebeed.service.in |
|
The old Upstart script for Ubuntu detected the drivers right here: For systemd.. hmm, that has never been updated. The proposed patch has some potential issues:
Rather than modifying the C source code to accomodate an Ubuntu-specific problem, what about a custom systemd configuration for Ubuntu which does the equivalent of the upstart script? It could even be a drop-in file in with Sketch of the idea (untested, creating bumblebee-detect-nvidia is an exercise for the reader): |
|
@Lekensteyn: Your solution looks better. At first I searched for a solution not modifying the bumblebeed itself. I had not noticed the cli options. I also didn't know it is done already for upstart or sysvinit. I think I will write a bash or python script doing the wildcard paths (or automatic detection) for systemd. |
…enable ext. displ. if connected
|
@Lekensteyn: Please look at Pull Request #901. This is done with a bash script, not touching the executable itself. |
|
Superseded by #901 |
I thought development is done on master branch. Now it seems everything is done in develop. So I did my changes also in this branch.