ollama - 💡(How to fix) Fix GPU is not working in screen off mode

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

What is the issue?

I've Ollama 0.21.0 configured to work with the GPU Intel UHD Graphics 620 through vulkan in Windows 11. In the configuration, in power & battery, only "turn my screen off" after 15 minutes is configured and the other options are using "never". Everything works fine until the screen goes off. The API accepts connections but ends in timeout. There is no GPU activity until I turn the screen on again, then API accepts connections and processes the requests.

Basically, the GPU should be available during "turn my screen off" despite of this is off to keep running just like a server.

Relevant log output

OS

Windows

GPU

Intel

CPU

Intel

Ollama version

0.21.0

extent analysis

TL;DR

The issue can likely be resolved by configuring Windows 11 to keep the GPU active even when the screen is turned off.

Guidance

  • Investigate Windows 11 power settings to see if there's an option to keep the GPU active when the screen is off, as this might be a power-saving feature causing the issue.
  • Check if Ollama 0.21.0 has any configuration options related to power management or GPU usage that could be adjusted to prevent the timeout.
  • Consider using a different power plan in Windows 11 that prioritizes performance over power saving to see if this resolves the issue.
  • Look into any existing issues or documentation for Ollama related to GPU usage and power management on Windows 11 for potential workarounds.

Notes

The exact steps to configure Windows 11 to keep the GPU active when the screen is off are not provided here due to potential variations in Windows settings and versions. It's also unclear if Ollama 0.21.0 has specific settings for handling such power-saving features.

Recommendation

Apply a workaround by adjusting Windows 11 power settings to prioritize performance and keep the GPU active when the screen is off, as this directly addresses the observed behavior of the GPU becoming inactive when the screen turns off.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING