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

crash on old gpu #10

Open
Cyrix126 opened this issue Jun 1, 2024 · 13 comments
Open

crash on old gpu #10

Cyrix126 opened this issue Jun 1, 2024 · 13 comments
Labels
bug Something isn't working

Comments

@Cyrix126
Copy link
Owner

Cyrix126 commented Jun 1, 2024

OS & Version:

e.g: Kde Neon 6.0, kernel 6.2.0-33-generic, Wayland Gupax v1.3.1

Bug

Gupaxx crash after a few hours.

Terminal will output indefinitly
Protocol error 0 on object wl_registry@2:

Gupaxx crash output:

PanicInfo {
    payload: Any { .. },
    message: Some(
        called `Result::unwrap()` on an `Err` value: WinitEventLoop(ExitFailure(1)),
    ),
    location: Location {
        file: "<redacted>",
        line: 0,
        col: 0,
    },
    can_unwind: true,
    force_no_backtrace: false,
}

info:
   OS      | Linux
   args    | ArgsOs { inner: ["target/release/gupaxx"] }
   commit  | 300bc9c111b373ce091aed930cee98cff13fbdbe
   gupaxx   | v1.1.1
   p2pool  | v3.10 (bundled)
   xmrig   | v6.21.1 (bundled)
   uptime  | 32543.53 seconds

stack backtrace:
   0: <unknown>
   1: <unknown>
   2: <unknown>
   3: <unknown>
   4: <unknown>
   5: <unknown>
   6: <unknown>
   7: <unknown>
   8: <unknown>
   9: <unknown>
  10: __libc_start_call_main
             at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  11: __libc_start_main_impl
             at ./csu/../csu/libc-start.c:392:3
  12: <unknown>

Note: need to try to reproduce.

@Cyrix126 Cyrix126 added the bug Something isn't working label Jun 1, 2024
@Cyrix126
Copy link
Owner Author

seems to come from a crash of Plasma wayland, not Gupaxx related.

@hassan0ibrahim
Copy link

I have the same problem on manjaro

@Cyrix126 Cyrix126 reopened this Aug 13, 2024
@Cyrix126
Copy link
Owner Author

Cyrix126 commented Aug 13, 2024

I have the same problem on manjaro

Are you using wayland too ?

@Cyrix126 Cyrix126 changed the title crash on KDE Wayland crash on Wayland Aug 13, 2024
@Cyrix126
Copy link
Owner Author

Could be fixed by updating the winit crate which is a dep of eframe since there is apparently a fix for this in the changelog of v0.30.4.

eframe does not have a release including the commit yet, but the git can be included directly in the Cargo.toml

The new version does have breaking change that needs to be taken care.

@Cyrix126 Cyrix126 self-assigned this Aug 13, 2024
@hassan0ibrahim
Copy link

I have the same problem on manjaro

Are you using wayland too ?

No I'm using Xorg

@hassan0ibrahim
Copy link

Could be fixed by updating the winit crate which is a dep of eframe since there is apparently a fix for this in the changelog of v0.30.4.

eframe does not have a release including the commit yet, but the git can be included directly in the Cargo.toml

The new version does have breaking change that needs to be taken care.

can you explain more

@Cyrix126
Copy link
Owner Author

No I'm using Xorg

Can you post the terminal output when it is crashing and the crash report ? you can find it inside ~/.local/share/gupaxx/crash.log

@hassan0ibrahim
Copy link

No I'm using Xorg

Can you post the terminal output when it is crashing and the crash report ? you can find it inside ~/.local/share/gupaxx/crash.log

mass_panic!() - Saved panic log to: /home/ceo/.local/share/gupaxx/crash.txt

----- MASS PANIC: src/utils/panic.rs @ 46 -----
PanicHookInfo {
payload: Any { .. },
location: Location {
file: "",
line: 0,
col: 0,
},
can_unwind: true,
force_no_backtrace: false,
}

info:
OS | Linux
args | ArgsOs { inner: ["./gupaxx-v1.3.1-linux-x64-bundle/gupaxx"] }
commit | baa70cd
gupaxx | v1.3.1
p2pool | v4.0 (bundled)
xmrig | v6.21.1 (bundled)
uptime | 0.41900462 seconds

stack backtrace:
0:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11: __libc_start_main
12:

----- EXITING ALL THREADS -----

@Cyrix126
Copy link
Owner Author

uptime | 0.41900462 seconds
Is it crashing at start ?

@hassan0ibrahim
Copy link

It started happening when I swapped my Rx570 graphics card with an older radeon hd card. I've tried several distros manjaro/void/arch

@Cyrix126
Copy link
Owner Author

with an older radeon hd card

Which model ?

@hassan0ibrahim
Copy link

with an older radeon hd card

Which model ?

Radeon hd 6450

@Cyrix126 Cyrix126 changed the title crash on Wayland crash on old gpu Aug 22, 2024
@Cyrix126
Copy link
Owner Author

Cyrix126 commented Aug 23, 2024

I need the log file that you can enable starting by terminal gupaxx with --logfile. It will write a log file into ~/.local/share/gupaxx. I need the log to better debug the issue you have with the old gpu which in theory should work since it supports the minimal opengl version required. Be aware the log can contains sensitive info like the xmr address and the xvb token. Feel free to remove them from the log file.

You can send it to me over matrix, I sent you an invite.

Could you also try the dev branch which updates dependencies possibly related to the issue ? you can download the binaries generated by the CI.

@Cyrix126 Cyrix126 removed their assignment Sep 18, 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

No branches or pull requests

2 participants