-
Notifications
You must be signed in to change notification settings - Fork 142
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
Turn off screen saver in default configuration. #679
base: master
Are you sure you want to change the base?
Conversation
I noticed this issue while trying to calibrate a second screen connected using intel-virtual-output unattendedly. The screen kept going black after 10 minutes without any keyboard/mouse input, while ArgyllCMS/dispcalGUI was trying to measure colors. Disabling the screen saver on display :8 fixes this. Probably, the same thing should be done for the nouveau, but I can't test this.
The BlankTime setting affects the X screensaver (and can apparently be set via the For your specific case you can achieve it with |
Yes, I did connect an external monitor. I don't think, these settings are relevant for the standard usecase of Bumblebee, being able to use NVidia's GPU for 3D rendering on the laptop's built-in display. But these lines also don't hurt, AFAICS. Then again, I just noticed that Many Laptops have their DisplayPort hard-wired to the NVidia card, so it's unusable while only using the integrated GPU. So, the Intel driver tools now do their job in enabling the use of the DP even if it's wired to the NVidia card. It works flawlessly: Connect the monitor to DP, start We're now just a small step from having Bumblebee working in flawlessly in both usage scenarios. There's just one edit to As of this pull request: I suggest to drop it because it's incomplete. However, this should be documented as this effect may confuse people. The built-in screen saver of display :8 isn't the first thing you think of, when your external monitor suddenly turns black even though you thought you turned off the screen saver (on display :0). Shall I raise a new issue for the wrapping up of this new usage scenario? As I outlined above, using Bumblebee to enable the DisplayPort, additionally to enabling 3D acceleration, is almost ready for every-day use. It would be great, if we could wrap this up. |
Thanks, that works perfectly. No touching the xorg.conf.nvidia anymore while both scenarios just work. That leaves us at the core of my pull request: Turn off any built-in screen savers. It seems to be just irrelevant when using Bumblebee for 3D acceleration, but fixes the issue that the monitor connected to the DisplayPort turns black after 10 minutes without any user input (because the user's watching a movie or calibrating the monitor or something). We could also add it as comment with an explanation of the issue, so people can just uncomment it. |
This issue is specific to Bumblebee, correct? I mean, normally software such as dispcalgui can (and probably will) just turn off the screen saver on their own, but in this specific situation it doesn't work, because intel-virtual-output does not forward it to the secondary X server. If that's the case, I wonder how hard would be to fix that in intel-virtual-output (which would seem to be the correct place for the fix). That said, it might still make sense for us to merge a change that adds commented-out options to turn off blanking. |
Exaktly. dispcalGUI turns off the screen saver, but the external monitor (via display :8) still turns black after 10mins without input, while the monitor connected to the Intel GPU doesn't. And yes, you're right, it's probably rather an issue of intel-virtual-output, it should forward that correctly. But still, this is a viable workaround when anyone runs into this problem. |
@Abnaxos Could you rebase your pull request against develop? We don’t merge things in master. Also, I’m not sure whether this should be commented by default or not (since for now on you still have to edit to change UseDisplayDevice). |
Also, have you reported against intel-virtual-output? |
Things changed, it doesn't work at all anymore. :( I tried openSuSE Tumbleweed for a short period, now I'm on Leap 42.1. Both have in common that they upgrade to X.org 1.17 (13.2 uses 1.16), it seems that I'm now playing around with X.org 1.18.0 from Factory (repo X11:XOrg for Leap). This looks a bit better: Anyway, this particular issue seems obsolete to me, as things have moved on. I'll have a look at it again when the DisplayPort is once again usable at all. There are some much more fundamental issues right now — huge regressions, actually. |
OK, I’m closing this then, feel free to report any progress here though. |
Works fine with X.org 1.18.0 now. Unless this X server package keeps crashing (never did by now), I'm happy with this setup. About the screen saver problem:
Simply turning the screen saver off on :8 is an acceptable workaround. Being able to configure power saving of both screens separately might even be considered a feature. But most importantly, there's an explanation of what exactly happened when the screen turned black, and how to fix/configure it, right in the configuration file. I'll still report an issue to the Intel driver developers. |
Note: That flickering I described is being caused by Oyranos (KDE's color management). It seems to be resetting color profiles repeatetly, maybe due to some superfluous updates. Without Oyranos, intel-virtual-output probably still does whatever it's doing, but it's not visible. |
OK, so please redo this PR against develop branch with more comments about those added lines, and comment them by default. Also add a link to upstream bug report. |
Reopening in the meantime in order not to forget this. |
This also adds a comment that describes the issue that these options fix.
Report against I'm still convinced that under no circumstances screen blanking on Bumblebee's X-server makes sense. These options should not be commented out. |
OK, from this point of view that’s right. But could you redo this PR against develop? |
I noticed this issue while trying to calibrate a second screen connected using intel-virtual-output unattendedly. The screen kept going black after 10 minutes without any keyboard/mouse input, while ArgyllCMS/dispcalGUI was trying to measure colors. Disabling the screen saver on display :8 fixes this.
Probably, the same thing should be done for the nouveau, but I can't test this.