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

aco_validate error #5

Closed
Titaniumtown opened this issue Nov 28, 2021 · 12 comments
Closed

aco_validate error #5

Titaniumtown opened this issue Nov 28, 2021 · 12 comments

Comments

@Titaniumtown
Copy link

When trying to mine I get this error:

2021-11-28T19:17:32.296059Z  INFO acominer::stratum: Pool set difficulty difficulty=0.83G
2021-11-28T19:17:32.298152Z  INFO acominer: device=AMD RADV POLARIS10 type=DiscreteGpu
2021-11-28T19:17:32.326010Z  INFO acominer: subgroup_size=64
2021-11-28T19:17:32.326051Z  INFO acominer: Generating light cache (CPU)...
2021-11-28T19:17:40.484549Z  INFO acominer: Light cache generation done.
2021-11-28T19:17:40.739476Z  INFO acominer: Light cache transferred to GPU.
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %19 = v_alignbit_b32 %1948, %1949, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %20 = v_alignbit_b32 %1949, %1948, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %27 = v_alignbit_b32 %1950, %26, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %28 = v_alignbit_b32 %26, %1950, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %35 = v_alignbit_b32 %17, %1944, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %36 = v_alignbit_b32 %1944, %17, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %39 = v_alignbit_b32 %1945, %1946, %18
ACO ERROR:
    In file ../src/amd/compiler/aco_validate.cpp:97
    Too many SGPRs/literals:  v1: %40 = v_alignbit_b32 %1946, %1945, %18
acominer: ../src/amd/compiler/aco_interface.cpp:73: void validate(aco::Program*): Assertion `is_valid' failed.
fish: Job 1, './target/release/acominer str...' terminated by signal SIGABRT (Abort)
@ishitatsuyuki
Copy link
Owner

Are you running an up-to-date version of my mesa fork? You can also use the bundled version in the GitHub Actions binaries as well.

I tried to emulate your GPU generation but I couldn't reproduce the abort.

@ishitatsuyuki
Copy link
Owner

Nevermind, now I can reproduce this. Fix is incoming.

@ishitatsuyuki
Copy link
Owner

@Titaniumtown
Copy link
Author

Thank you so much! I'll test right now and I'll close the issue if the problem is gone.

@Titaniumtown
Copy link
Author

Ok, it works now. but I'm now experiencing some performance regression. it went from 25 mh/s (last time I tested) to now 19.26 mh/s on my rx 480 :(

@ishitatsuyuki
Copy link
Owner

I checked past changes and I pretty much believe that none of them should result in a significant performance regression. Are you comparing the results to a proprietary miner? Which version was the last version working well for you?

@ishitatsuyuki
Copy link
Owner

Please try this build and let me know if it's better.

@Titaniumtown
Copy link
Author

Titaniumtown commented Nov 29, 2021

I was comparing results to a previous version of acominer (I don't remember which), but now I'm getting 1 mh/s with both the latest commit of acominer, and the build you sent me. Whereas with nsfminer (an opensource eth miner) I'm still getting the normal 27 mh/s. This is very strange! I'll test again later, I have to get ready for school.

@ishitatsuyuki
Copy link
Owner

A new build with optimizations targeting GCN is available here. You might want to try it.

@Titaniumtown
Copy link
Author

I'm on it! I'll report back with results.

@Titaniumtown
Copy link
Author

Hm, very strange. Same result. This is strange as I was getting normal hashrate on this miner before. I'll try on another machine when I get home later.

@Titaniumtown
Copy link
Author

I cannot reproduce on my other rx 480. very strange. It's prob an issue on my end. Thanks for your help @ishitatsuyuki keep up the good work <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants