[GH-ISSUE #1630] cant type #907

Closed
opened 2026-04-12 10:35:09 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @RootnuII on GitHub (Dec 20, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1630

help im running it and cant type
image

Originally created by @RootnuII on GitHub (Dec 20, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1630 help im running it and cant type ![image](https://github.com/jmorganca/ollama/assets/66104474/0e62c43d-54aa-4dea-b138-e7ffac2e5e55)
Author
Owner

@indigocc commented on GitHub (Dec 20, 2023):

Same issue.
Windows 10 wsl. 64gb ram, Nvidia 3090.
The "ollama server" wsl displays activity, but I am unable to type anything in the "ollama run" wsl.
I tred several models and have updated wsl, same problem.

<!-- gh-comment-id:1865239674 --> @indigocc commented on GitHub (Dec 20, 2023): Same issue. Windows 10 wsl. 64gb ram, Nvidia 3090. The "ollama server" wsl displays activity, but I am unable to type anything in the "ollama run" wsl. I tred several models and have updated wsl, same problem.
Author
Owner

@vtrenton commented on GitHub (Dec 21, 2023):

interesting - I don't have a windows machine to test this with but here is the code that creates the buffer you type into:
df06812494/cmd/cmd.go (L696C1-L701C26)

The screenshot seems like it's from VSCode so I'm wondering if it has something to do with integrated terminals. Does this occur outside of the VSCode integrated terminal as well? Wonder if it's a bug with the VSCode terminal emulator.

<!-- gh-comment-id:1865302283 --> @vtrenton commented on GitHub (Dec 21, 2023): interesting - I don't have a windows machine to test this with but here is the code that creates the buffer you type into: https://github.com/jmorganca/ollama/blob/df06812494a58219c7890bd52bc8a8f00fbe9f79/cmd/cmd.go#L696C1-L701C26 The screenshot seems like it's from VSCode so I'm wondering if it has something to do with integrated terminals. Does this occur outside of the VSCode integrated terminal as well? Wonder if it's a bug with the VSCode terminal emulator.
Author
Owner

@RootnuII commented on GitHub (Dec 21, 2023):

no i have tried moba xterm cmd etc etc still nothing

<!-- gh-comment-id:1865315896 --> @RootnuII commented on GitHub (Dec 21, 2023): no i have tried moba xterm cmd etc etc still nothing
Author
Owner

@indigocc commented on GitHub (Dec 21, 2023):

The issue is present in all Windows 10 "Command prompts". CMD, Powershell, Ubuntu.
When you type something, nothing is registered.

OllamaIssue

<!-- gh-comment-id:1866053416 --> @indigocc commented on GitHub (Dec 21, 2023): The issue is present in all Windows 10 "Command prompts". CMD, Powershell, Ubuntu. When you type something, nothing is registered. ![OllamaIssue](https://github.com/jmorganca/ollama/assets/4931039/790c2284-1c9c-40c6-949a-45260cb6c194)
Author
Owner

@Hexploit85 commented on GitHub (Dec 21, 2023):

Same here, win10. I wonder if this have something to do with WSL not supporting GPU on win 10

<!-- gh-comment-id:1866872439 --> @Hexploit85 commented on GitHub (Dec 21, 2023): Same here, win10. I wonder if this have something to do with WSL not supporting GPU on win 10
Author
Owner

@pdevine commented on GitHub (Dec 22, 2023):

I tried this yesterday w/ ollama 0.1.17 and wasn't able to replicate it. I was using wsl2 on Windows 10 w/ an older nvidia card (a 1070) and both cmd.exe and Terminal worked correctly. Which version of ollama are you using?

Screenshot 2023-12-20 at 2 37 36 PM

I can install Windows 11 on a different machine tomorrow and try it on a 4090.

<!-- gh-comment-id:1867343214 --> @pdevine commented on GitHub (Dec 22, 2023): I tried this yesterday w/ ollama 0.1.17 and wasn't able to replicate it. I was using wsl2 on Windows 10 w/ an older nvidia card (a 1070) and both cmd.exe and Terminal worked correctly. Which version of ollama are you using? <img width="1114" alt="Screenshot 2023-12-20 at 2 37 36 PM" src="https://github.com/jmorganca/ollama/assets/75239/e1f17aaf-64b9-4720-a523-8e34da877e20"> I can install Windows 11 on a different machine tomorrow and try it on a 4090.
Author
Owner

@pdevine commented on GitHub (Dec 23, 2023):

I ended up installing Windows 11 and still wasn't able to duplicate the issue. Is there anything more about your environments which could be causing it?

<!-- gh-comment-id:1868197998 --> @pdevine commented on GitHub (Dec 23, 2023): I ended up installing Windows 11 and still wasn't able to duplicate the issue. Is there anything more about your environments which could be causing it?
Author
Owner

@Hexploit85 commented on GitHub (Dec 23, 2023):

I ended up installing Windows 11 and still wasn't able to duplicate the issue. Is there anything more about your environments which could be causing it?

I resolved the issue by installing WSL2 on win10. But I think underlying problem might be with lack of GPU support on WSL 1

<!-- gh-comment-id:1868248475 --> @Hexploit85 commented on GitHub (Dec 23, 2023): > I ended up installing Windows 11 and still wasn't able to duplicate the issue. Is there anything more about your environments which could be causing it? I resolved the issue by installing WSL2 on win10. But I think underlying problem might be with lack of GPU support on WSL 1
Author
Owner

@RootnuII commented on GitHub (Dec 23, 2023):

hi all found with Hexploits help the problem is wsl 1 wsl 2 works
image

<!-- gh-comment-id:1868257684 --> @RootnuII commented on GitHub (Dec 23, 2023): hi all found with Hexploits help the problem is wsl 1 wsl 2 works ![image](https://github.com/jmorganca/ollama/assets/66104474/2fe83515-0aee-47b4-86ed-c0501d709427)
Author
Owner

@xeoMe015 commented on GitHub (Nov 13, 2024):

hi all found with Hexploits help the problem is wsl 1 wsl 2 works image

Mind sharing the solution? I face the same issue.

<!-- gh-comment-id:2474505772 --> @xeoMe015 commented on GitHub (Nov 13, 2024): > hi all found with Hexploits help the problem is wsl 1 wsl 2 works ![image](https://private-user-images.githubusercontent.com/66104474/292620238-2fe83515-0aee-47b4-86ed-c0501d709427.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzE1MjUyNjcsIm5iZiI6MTczMTUyNDk2NywicGF0aCI6Ii82NjEwNDQ3NC8yOTI2MjAyMzgtMmZlODM1MTUtMGFlZS00N2I0LTg2ZWQtYzA1MDFkNzA5NDI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDExMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMTEzVDE5MDkyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjZWMyYzA5MTNjOTJhMjU5ZjgwYzFlY2RmZmExNDIwMGM3YzJlOWJjZWExNTFmOGU4ODU2NWY3YjkxNGQ0MTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.izHE8xzUdIqYXFVBuid8v05kQ2962wOw0izKh2Lbft4) Mind sharing the solution? I face the same issue.
Author
Owner

@pdevine commented on GitHub (Nov 13, 2024):

@xeoMe015 are you using wsl1?

<!-- gh-comment-id:2474544141 --> @pdevine commented on GitHub (Nov 13, 2024): @xeoMe015 are you using wsl1?
Author
Owner

@xeoMe015 commented on GitHub (Nov 13, 2024):

@xeoMe015 are you using wsl1?

Nope:
C:\Users\Windows10>wsl -l -v
NAME STATE VERSION

  • Ubuntu Stopped 2
<!-- gh-comment-id:2474573984 --> @xeoMe015 commented on GitHub (Nov 13, 2024): > @xeoMe015 are you using wsl1? Nope: C:\Users\Windows10>wsl -l -v NAME STATE VERSION * Ubuntu Stopped 2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#907