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

Refi 0.0.19 crashes on Ubuntu 22.04.3 #111

Open
dryprogrammer opened this issue Nov 8, 2023 · 2 comments
Open

Refi 0.0.19 crashes on Ubuntu 22.04.3 #111

dryprogrammer opened this issue Nov 8, 2023 · 2 comments

Comments

@dryprogrammer
Copy link

Hi Refi 0.0.19 crashes on Ubuntu 22.04.3. I used the following file:
refi-app_0.0.19_amd64.deb

@LorenzoSantoro94
Copy link

Also crashing on Ubuntu 24.04 with error
'refi-app -v' terminated by signal SIGTRAP (Trace or breakpoint trap)

@EdisonModesto
Copy link

Crashlogs:

[26735:1130/211522.755705:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

file used: refi-app_0.0.19_amd64.deb

I also experienced crashing on Linux Mint 21.1 which is based of Ubuntu 22.04. I investigated and was able to solve the issue thanks to a reddit thread here.

The problem

Turns out, there was an issue specifically affecting electron applications due to a change in Ubuntu which was already fixed a long time ago (more info here), electron also published a fix for this, however the fix is only available for applications using electron version >=14 (more info here), since Refi uses version 12 we don't have that fix available, hence the crashing. Luckily there's workaround.

Workaround

All we need to do is add the following launch argument: --in-process-gpu. This should be done whenever we launch the app. However, if you're like me and prefer not to use the terminal every time you want to use Refi, I'll include steps to make the app launch with the argument permanently, whether you're starting it from the terminal or a GUI.

  1. Find the .desktop file for the Refi app. In most cases, it is located in /usr/share/applications/.
  2. Right click and click on "Properties"
  3. Look for the field labeled "Command:".
  4. Append the following argument to the end of the command: --in-process-gpu.
  5. The modified command should look something like this: "/opt/Refi App/refi-app" %U --in-process-gpu
  6. Close the Properties window.
  7. Refi should now launch with the argument applied, whether started via terminal or GUI.

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

3 participants