Skip to content
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

(Bug) Unable to run Chia using Windows on AMD K10 architecture (AMD Phenom) #16386

Closed
byme1991 opened this issue Sep 21, 2023 · 61 comments · Fixed by #17197
Closed

(Bug) Unable to run Chia using Windows on AMD K10 architecture (AMD Phenom) #16386

byme1991 opened this issue Sep 21, 2023 · 61 comments · Fixed by #17197
Assignees
Labels
bug Something isn't working

Comments

@byme1991
Copy link

What happened?

hello, I would like someone to help me. this is how the chia app works for me on 1.8.2. since I want a stronger version, when I install 2.0 or 2.0.1 I have a problem. the problem is the following. When entering the application, it always says Loading keyring status.... what should I do? thank you

Version

2.0.0 - 2.0.1

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output

Loading keyring status
@byme1991 byme1991 added the bug Something isn't working label Sep 21, 2023
@shaneo257
Copy link

hi, it could mean it's an invalid config.yaml depending on how long it has been spinning. To check you could close Chia, restart your computer, rename the config file, then restart Chia. If it loads up as intended then something is likely wrong with the config after copying over the custom settings

@ValeryLikavets
Copy link

День добрый. Та же проблема. Система вин 10 и вин 11. Версия 1.8.2 работает. А 2.0.1 никак.

@newland33
Copy link

same on windows . if i go back on 1.8 it is good.

@emlowe
Copy link
Contributor

emlowe commented Sep 27, 2023

Putting your logs into DEBUG mode and then providing some log output would be helpful here.
https://docs.chia.net/logging-reference/

Also, trying the CLI instead of the GUI might be helpful , running commands like chia start wallet

https://docs.chia.net/check-if-things-are-working

@github-actions
Copy link
Contributor

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

@github-actions github-actions bot added the stale-issue flagged as stale and will be closed in 7 days if not updated label Oct 12, 2023
@newland33
Copy link

Putting your logs into DEBUG mode and then providing some log output would be helpful here. https://docs.chia.net/logging-reference/

Also, trying the CLI instead of the GUI might be helpful , running commands like chia start wallet

https://docs.chia.net/check-if-things-are-working

if i do the update , there is no new log entry. if i set to old version log file works fine.

@github-actions github-actions bot removed the stale-issue flagged as stale and will be closed in 7 days if not updated label Oct 13, 2023
@wjblanke
Copy link
Contributor

Can u try rebooting? Also, if logging is not set to DEBUG in config.yaml (it defaults to WARNING) it may take longer for a log file to appear.

@newland33
Copy link

Can u try rebooting? Also, if logging is not set to DEBUG in config.yaml (it defaults to WARNING) it may take longer for a log file to appear.

i set debug modus befor update, 3-4 times try do update an read log , but no new log still the old. today i have set up a new proxmox win11 with tzhe new chia 2.1 . now it looks good . thx@all

@ValeryLikavets
Copy link

1.log
2.log

Переустановка на Win11Pro не помогла.
System_Report.txt

@wjblanke
Copy link
Contributor

Valery

2023-10-06T22:43:10.583 wallet chia.rpc.rpc_server : WARNING Cannot connect to daemon at ws://localhost:55400
2023-10-06T22:43:10.583 farmer chia.rpc.rpc_server : WARNING Cannot connect to daemon at ws://localhost:55400
2023-10-06T22:43:10.587 wallet chia.wallet.wallet_node : WARNING Can not connect to keychain at wss://localhost:55400.
2023-10-06T22:43:12.211 full_node chia.rpc.rpc_server : WARNING Cannot connect to daemon at ws://localhost:55400

It looks like daemon is not running. Have you tried rebooting? Any other information you can give us about your situation?

@ValeryLikavets
Copy link

ValeryLikavets commented Oct 27, 2023

Good day. Whatever I did: rebooted, deleted, installed - nothing helps. I reinstalled different versions of Windows (8,10,11) - only v1,8,2 works on this computer. I also have 7 more computers of different configurations - any version 2.x works on them

@emlowe
Copy link
Contributor

emlowe commented Nov 1, 2023

This is almost certainly caused by Windows reserving the 55400 port the daemon uses by default.

You can either change the daemon port in config.yaml, or you can modify windows to not reserve this port:

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
reboot
netsh int ipv4 add excludedportrange protocol=tcp startport=55400 numberofports=1
reboot
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
reboot

@Ilushkin85
Copy link

I have the same problem. On the 1st PC out of 3 does not start. Only 1.8.2 works. Tried all versions of Windows 10.11. - does not start, port 50440- SYN status. What processor do you have installed?

@Ilushkin85
Copy link

image

@Ilushkin85
Copy link

image

@Ilushkin85
Copy link

Replacing the port with 55301 and so on. it doesn't do anything.

@Ilushkin85
Copy link

image

@ValeryLikavets
Copy link

ValeryLikavets commented Nov 4, 2023

то есть проблему решить никак? Похоже связано как-то с сокетом AM2, AM2+, AM3.

@ValeryLikavets
Copy link

HELP! Пулы требуют обновиться до версии 2.X

@ValeryLikavets
Copy link

image

@ValeryLikavets
Copy link

неужели все решили проблему? Help!

@ValeryLikavets
Copy link

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
reboot
netsh int ipv4 add excludedportrange protocol=tcp startport=55400 numberofports=1
reboot
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V
reboot

It does not help.

@ValeryLikavets
Copy link

как побороть эту ХРЕНЬ?

@anonuser66
Copy link

Same thing! Nothing seems to help... PC AMD Phenom X4. Windows 10. Please develpers! Fix this problem ASAP!!!

@wjblanke wjblanke changed the title [Bug] Loading keyring status Daemon starting issues (port number) Nov 15, 2023
@emlowe
Copy link
Contributor

emlowe commented Nov 15, 2023

Everyone with issues in running the GUI - you should try going to the CLI as it makes finding issues easier

chia run_daemon - this runs the daemon in the foreground.

then in a second window run

chia start wallet

Then please include all logs and console output

@ValeryLikavets
Copy link

I did everything. But he writes the same things.

debug.log
debug__.log
debug__1.log

@Ssmith2003
Copy link

Not sure if translated right, but you update the motherboard and CPU. You talking software or the hardware.

@RutaHunter
Copy link

RutaHunter commented Dec 11, 2023

Not sure if translated right, but you update the motherboard and CPU. You talking software or the hardware.

In the chia client version from 2.0.0 there is some incompatibility with some AMD processors. But the developers don’t care, no one is in a hurry to fix it.

@ValeryLikavets
Copy link

Yes, I changed the hardware platform, and everything worked. And the developers are great ;) don't give a damn about their users.

@Ssmith2003
Copy link

If that is the answer. I'm likely done with this. I can't go out and get another motherboard.

@emlowe
Copy link
Contributor

emlowe commented Dec 11, 2023

We continue to work on trying to reproduce this, but without any success so far.

We do see that some people on Windows see behaviour like this:

chia keys show -> will say there are no keys
chia keys generate -> will appear to create a key but then
chia keys show -> will still say there are no keys

This is what we are currently and actively working on as the primary root cause of this issue, but as yet we cannot reproduce and this problem seems limited to a very small subset of users.

@emlowe
Copy link
Contributor

emlowe commented Dec 11, 2023

We managed to locate an older system and can confirm there is some problem with the BLS/BLST library on the AMD K10 architecture - this includes the AMD Phenom and Phenom II series of processors.

It is unknown if the problem is limited to Windows on those processors, but we anticipate it will happen on all OSs - testing continues.

Unclear if this also has impacted the FX-series (AM3+) - we don't have one to test with right now

@emlowe
Copy link
Contributor

emlowe commented Dec 11, 2023

This issue is because the underlaying BLST library assembler requires SSSE3 (Supplemental SSE3) - this is present in any AMD processor after K10, including FX-series and bobcat series APUs

It is also in anything from Intel after Core 2 (2006).

@Ssmith2003
Copy link

Ssmith2003 commented Dec 11, 2023 via email

@emlowe
Copy link
Contributor

emlowe commented Dec 11, 2023

Options are being explored as to how to fix it for K10.

@emlowe
Copy link
Contributor

emlowe commented Dec 12, 2023

We currently believe this is limited to Windows - you might try if WSL to see if it works there

@emlowe emlowe changed the title Daemon starting issues (port number) (Bug) Unable to run Chia using Windows on AMD K10 architecture (AMD Phenom) Dec 12, 2023
@ValeryLikavets
Copy link

Well really :). 2 months have passed. At least that's it. I have 4 computers on Phenom x4 - it doesn’t work anywhere. By the way, Windows left the old one without reinstalling. Just a new motherboard and processor.

@RutaHunter
Copy link

Options are being explored as to how to fix it for K10.

We hope to resolve the issue as soon as possible. Moreover, everything was fine on older versions of the client.

@Ssmith2003
Copy link

Have you tried running Linux on a computer with AMD. If I use Linux will I have to learn all the commands?

@anonuser66
Copy link

Hello and thanks for all the updates!!
Can anyone confirm that using ubuntu server instead of windows 10 will work?
I have an AMD Phenom II X4 945

@emlowe
Copy link
Contributor

emlowe commented Dec 13, 2023

Based on our discussion with the BLST team, we believe Ubuntu will work due to differences in the way the library is compiled. However, we haven't tested it ourselves.
A Ubuntu Live install would be useful here to test

@wjblanke
Copy link
Contributor

wjblanke commented Dec 14, 2023

If you have a K10 CPU and install the new Chia 2.1.2 release, you can copy this version of chia_rs.cp310-win_amd64.pyd over the existing one at c:\users\xxx\AppData\Local\Programs\Chia\resources\app.asar.unpacked\daemon\chia_rs\chia_rs.cp310-win_amd64.pyd. Reboot and restart. This is what I am running on my test AMD 905e machine and it should work fine until we get a fix in for a release (I understand any concerns folks have for running code attached from a github issue)

chia_rs.cp310-win_amd64.pyd.zip

@Ssmith2003
Copy link

Thank you very much. I'm back up and running now.

Copy link
Contributor

github-actions bot commented Jan 1, 2024

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

@github-actions github-actions bot added the stale-issue flagged as stale and will be closed in 7 days if not updated label Jan 1, 2024
@emlowe emlowe linked a pull request Jan 3, 2024 that will close this issue
@emlowe emlowe self-assigned this Jan 3, 2024
@emlowe emlowe removed the stale-issue flagged as stale and will be closed in 7 days if not updated label Jan 3, 2024
@wjblanke
Copy link
Contributor

wjblanke commented Jan 5, 2024

https://github.com/Chia-Network/chia-blockchain/releases/tag/2.1.4-rc2

Please try this build if you are having issues

@alexhornet1981
Copy link

En amd phenom II x6 1035 y placa base am3 funciona.

https://github.com/Chia-Network/chia-blockchain/releases/tag/2.1.4-rc2

Pruebe esta compilación si tiene problemas

Gracias.

@Nuke79
Copy link

Nuke79 commented Jan 11, 2024

Hello and thanks for all the updates!! Can anyone confirm that using ubuntu server instead of windows 10 will work? I have an AMD Phenom II X4 945

Ubuntu server 22.04 + Phenom II 925 - working fine without 2.1.4 fix.

@alexhornet1981
Copy link

alexhornet1981 commented Jan 11, 2024 via email

@emlowe
Copy link
Contributor

emlowe commented Jan 12, 2024

Fixed in 2.1.4

@emlowe emlowe closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.