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
[For discussion] Make optirun check for conflicting files #217
Comments
No, adjusting optirun (or the bumblebee daemon) to move files is not an appropriate way to fix this problem. However, it looks like if bumblebeed supplied a |
Okay, sorry to bother then. I'm closing the issue. |
Hi there! |
It is not possible yet. The request to implement it is issue #222. |
Thanks for the quick answer! |
Hey
As we all know most of the time you can't run the second X server with the nvidia card if you have some files in xorg.conf.d like 10-monitor.conf or 20-intel.conf, which specify special configuration.
However once the primary X server is loaded those files are not needed until it is reloaded, so you can safely rename them while you're running something with optirun and rename them back once optirun has finished running.
This could either be some simple code in optirun that checks for the most common offender (10-monitor.conf and 20-intel.conf) or more elaborate code that reads the configuration file for list of files that need to be renamed while optirun is running.
For example. On my machine I have 20-intel.conf in /etc/X11/xorg.conf.d . I try to run something with optirun and it fails because of this file. I manualy rename it to 20-intel.conf.bkk and now optirun runs just fine and the first X server has already optained whatever configuration it needed from that file and everything works. When i quit my application optirun should rename 20-intel.conf.bkk to 20-intel.conf.
I'm not very good at C but I'll try to make some patches.
The text was updated successfully, but these errors were encountered: