笔记本电脑关闭屏幕时屏幕外渲染? [英] Off screen rendering when laptop shuts screen down?

查看:284
本文介绍了笔记本电脑关闭屏幕时屏幕外渲染?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个漫长的数字处理过程,该过程利用了相当多的OpenGL屏幕外渲染功能.一切正常,但是当我去做三明治时让它自己工作时,我通常会发现它不在时会崩溃.
我能够确定崩溃发生的时间非常接近我正在使用的笔记本电脑决定关闭屏幕以节省能源.崩溃本身很好地存在于NVIDIA dll中,因此没有希望知道发生了什么.

I have a lengthy number-crunching process which takes advantage of quite abit of OpenGL off-screen rendering. It all works well but when I leave it to work on its own while I go make a sandwich I would usually find that it crashed while I was away.
I was able to determine that the crash occurs very close to the moment The laptop I'm using decides to turn off the screen to conserve energy. The crash itself is well inside the NVIDIA dlls so there is no hope to know what's going on.

显而易见的解决方案是关闭电源管理功能,该功能可关闭屏幕和视频卡,但我正在寻找更用户友好的功能. 有没有办法以编程方式执行此操作?
我知道有一个SETI @ home实现可以利用GPU处理.如何防止视频卡进入睡眠状态?

The obvious solution is to turn off the power management feature that turns the screen and video card off but I'm looking for something more user friendly. Is there a way to do this programatically?
I know there's a SETI@home implementation which takes advantage of GPU processing. How does it keep the video card from going to sleep?

推荐答案

我不确定您使用的是什么操作系统,但是

I'm not sure what OS you're on, but windows sends a message that it is about to enter a new power state. You can listen for that and then either start processing on the CPU or deny the request to enter a lower-power state.

这篇关于笔记本电脑关闭屏幕时屏幕外渲染?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆