two last commits now also in develop branch#889
two last commits now also in develop branch#889TheTesla wants to merge 8 commits intoBumblebee-Project:developfrom
Conversation
|
|
||
| [Service] | ||
| Type=simple | ||
| ExecStartPre=/usr/bin/prime-select intel |
There was a problem hiding this comment.
This should be:
ExecStartPre=-/usr/bin/prime-select intel
As prime-select is only available on certain distributions, not everywhere.
| @@ -0,0 +1,206 @@ | |||
| /*********************************************************************** | |||
There was a problem hiding this comment.
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.