[GH-ISSUE #3967] The parameter is incorrect #64491

Closed
opened 2026-05-03 17:50:58 -05:00 by GiteaMirror · 11 comments
Owner

Originally created by @nb001 on GitHub (Apr 26, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3967

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

No matter which model I run, I always end up with: The parameter is incorrect.
360截图20240427060248
360截图20240427060209

OS: windows 10
GPU: Radeon RX 560 Series

OS

Windows

GPU

AMD

CPU

Intel

Ollama version

0.1.32

Originally created by @nb001 on GitHub (Apr 26, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3967 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? No matter which model I run, I always end up with: The parameter is incorrect. ![360截图20240427060248](https://github.com/ollama/ollama/assets/39027571/30d41372-4134-4dd4-9a6b-51f78ad0ebb8) ![360截图20240427060209](https://github.com/ollama/ollama/assets/39027571/5451517a-adc7-4646-a55d-1e30e3f19b5d) OS: windows 10 GPU: Radeon RX 560 Series ### OS Windows ### GPU AMD ### CPU Intel ### Ollama version 0.1.32
GiteaMirror added the bugwindows labels 2026-05-03 17:51:10 -05:00
Author
Owner

@Schirilla commented on GitHub (Apr 27, 2024):

I have the same problem and I suspect it is a problem with the command-shell. Tried with Windows command-shell and PowerShell, - does not work. But it works fine if I run the command from a terminal in VSCode.

<!-- gh-comment-id:2081217999 --> @Schirilla commented on GitHub (Apr 27, 2024): I have the same problem and I suspect it is a problem with the command-shell. Tried with Windows command-shell and PowerShell, - does not work. But it works fine if I run the command from a terminal in VSCode.
Author
Owner

@aaamoon commented on GitHub (Apr 28, 2024):

I also encountered the same problem.
https://github.com/ollama/ollama/issues/3916

<!-- gh-comment-id:2081273638 --> @aaamoon commented on GitHub (Apr 28, 2024): I also encountered the same problem. https://github.com/ollama/ollama/issues/3916
Author
Owner

@dhiltgen commented on GitHub (May 2, 2024):

Let's track this issue in #3916

<!-- gh-comment-id:2091220877 --> @dhiltgen commented on GitHub (May 2, 2024): Let's track this issue in #3916
Author
Owner

@yshx8 commented on GitHub (May 7, 2024):

I also encountered the same problem. But if I run the new Windows terminal with win 10 or 11, it can run, and the old CMD will get the same error (machine translation)

old CMD
image
new terminal
image

<!-- gh-comment-id:2097121029 --> @yshx8 commented on GitHub (May 7, 2024): I also encountered the same problem. But if I run the new Windows terminal with win 10 or 11, it can run, and the old CMD will get the same error (machine translation) old CMD ![image](https://github.com/ollama/ollama/assets/28306762/f8ff19cc-af5f-422f-a892-c1a77072fd73) new terminal ![image](https://github.com/ollama/ollama/assets/28306762/40a68705-d466-48eb-95f8-6cc5b13fb17b)
Author
Owner

@wxzz commented on GitHub (Aug 30, 2024):

I have the same problem and I suspect it is a problem with the command-shell. Tried with Windows command-shell and PowerShell, - does not work. But it works fine if I run the command from a terminal in VSCode.

确实是这样的。

<!-- gh-comment-id:2320456842 --> @wxzz commented on GitHub (Aug 30, 2024): > I have the same problem and I suspect it is a problem with the command-shell. Tried with Windows command-shell and PowerShell, - does not work. But it works fine if I run the command from a terminal in VSCode. 确实是这样的。
Author
Owner

@millerlight commented on GitHub (Oct 14, 2024):

not working in any shell (bash, gitbash, powershell)...

ollama run llama3.2
←[?25l⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[?
25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[
2K←[1G⠦ ←[?25h←[?25l←[2K←[1G⠧ ←[?25h←[?25l←[2K←[1G⠇ ←[?
25h←[?25l←[2K←[1G⠏ ←[?25h←[?25l←[2K←[1G⠋ ←[?25h←[?25l←[
2K←[1G⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[?
25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[
2K←[1G⠦ ←[?25h←[?25l←[2K←[1G⠧ ←[?25h←[?25l←[2K←[1G⠇ ←[?
25h←[?25l←[2K←[1G⠏ ←[?25h←[?25l←[2K←[1G⠋ ←[?25h←[?25l←[
2K←[1G⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[?
25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[
2K←[1G⠦ ←[?25h←[?25l←[?25l←[2K←[1G←[?25h←[2K←[1G←[?25hE
rror: The parameter is incorrect.

<!-- gh-comment-id:2411730279 --> @millerlight commented on GitHub (Oct 14, 2024): not working in any shell (bash, gitbash, powershell)... ollama run llama3.2 ←[?25l⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[? 25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[ 2K←[1G⠦ ←[?25h←[?25l←[2K←[1G⠧ ←[?25h←[?25l←[2K←[1G⠇ ←[? 25h←[?25l←[2K←[1G⠏ ←[?25h←[?25l←[2K←[1G⠋ ←[?25h←[?25l←[ 2K←[1G⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[? 25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[ 2K←[1G⠦ ←[?25h←[?25l←[2K←[1G⠧ ←[?25h←[?25l←[2K←[1G⠇ ←[? 25h←[?25l←[2K←[1G⠏ ←[?25h←[?25l←[2K←[1G⠋ ←[?25h←[?25l←[ 2K←[1G⠙ ←[?25h←[?25l←[2K←[1G⠹ ←[?25h←[?25l←[2K←[1G⠸ ←[? 25h←[?25l←[2K←[1G⠼ ←[?25h←[?25l←[2K←[1G⠴ ←[?25h←[?25l←[ 2K←[1G⠦ ←[?25h←[?25l←[?25l←[2K←[1G←[?25h←[2K←[1G←[?25hE rror: The parameter is incorrect.
Author
Owner

@dhiltgen commented on GitHub (Oct 15, 2024):

I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly.

We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements

Is anyone seeing the failure on 22h2, or are these all older versions?

<!-- gh-comment-id:2415215751 --> @dhiltgen commented on GitHub (Oct 15, 2024): I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly. We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements Is anyone seeing the failure on 22h2, or are these all older versions?
Author
Owner

@millerlight commented on GitHub (Oct 16, 2024):

I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly.

We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements

Is anyone seeing the failure on 22h2, or are these all older versions?

hi daniel,

i actualized to 22h2, so i was able to see the messages.
i have a ryzen on my laptop. installed the adrenalin drivers (minimal).
actually the system seems to ask just for cuda (nvidia).
msg="no compatible GPUs were discovered"

any idea?

best regards

<!-- gh-comment-id:2416359319 --> @millerlight commented on GitHub (Oct 16, 2024): > I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly. > > We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements > > Is anyone seeing the failure on 22h2, or are these all older versions? hi daniel, i actualized to 22h2, so i was able to see the messages. i have a ryzen on my laptop. installed the adrenalin drivers (minimal). actually the system seems to ask just for cuda (nvidia). msg="no compatible GPUs were discovered" any idea? best regards
Author
Owner

@dhiltgen commented on GitHub (Oct 16, 2024):

@millerlight lets move that to a new issue. Please share your server logs so we can see why it's not detecting your GPU.

<!-- gh-comment-id:2417508956 --> @dhiltgen commented on GitHub (Oct 16, 2024): @millerlight lets move that to a new issue. Please share your server logs so we can see why it's not detecting your GPU.
Author
Owner

@cookgreen commented on GitHub (Jan 28, 2025):

I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly.

We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements

Is anyone seeing the failure on 22h2, or are these all older versions?

I am using the older Windows version, Windows 10 1507 which cause this problem

<!-- gh-comment-id:2618173859 --> @cookgreen commented on GitHub (Jan 28, 2025): > I've been unable to reproduce on a 22h2 or newer win 10 or 11. Both cmd and powershell render correctly. > > We've captured this minimum requirement in our windows documentation here - https://github.com/ollama/ollama/blob/main/docs/windows.md#system-requirements > > Is anyone seeing the failure on 22h2, or are these all older versions? I am using the older Windows version, Windows 10 1507 which cause this problem
Author
Owner

@cookgreen commented on GitHub (Jan 28, 2025):

but if use chatbox that would be ok

<!-- gh-comment-id:2618211890 --> @cookgreen commented on GitHub (Jan 28, 2025): but if use chatbox that would be ok
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64491