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

Only way to start is by using npm start. Otherwise, " GPU process isn't usable. Goodbye." #151

Closed
levdopa opened this issue Jan 1, 2023 · 10 comments

Comments

@levdopa
Copy link

levdopa commented Jan 1, 2023

I installed the .deb file then converted it to xbps using xdeb. Then I tried launching it from the panel in my de and it shows in my panel for one second then immediately closes so I did

cd /opt/OpenComic/
./opencomic

Then I get

(node:10374) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information
[10374:1231/212439.769427:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap

I then followed all the instructions in the Installation and Starting for development section
I did
git clone https://github.com/ollm/OpenComic.git
cd OpenComic
npm install
npm install --only=dev
npm run rebuild
npm start

Now it works when I do this
cd OpenComic
npm start

but it still immediately closes if I try to open it from my de panel.

Sorry if this is an issue with nodejs and not your program, I don't really know where else to put it.

@jrcharney
Copy link

Similar issue. I got one of those MuteMe buttons. Arch Linux has a muteme-client in the AUR, which according to yay -Si muteme-client the package was added and last modified in May 2022.

(node:12194) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information
[12194:0101/232231.567523:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
[1]    12194 trace trap (core dumped)  muteme-client

The topic for #24506 is now this ongoing discussion with no solution marked.

@ollm
Copy link
Owner

ollm commented Jan 2, 2023

Try this builds:

deb: https://mega.nz/file/uHIzWCBK#g_rjkkXDoFTip_M_bY4PhzL2YI4xY-6eUAqgYM6RDj8
rpm: https://mega.nz/file/uaoXXJQD#kYAfe2mwKwHYPPhoui-yoQBEKpKp76D-zDlVC9sOCPc

The master branch uses a newer version of electron than version 0.2.1 of the deb/rpm package, also the rpm package has other issues #130

@jrcharney
Copy link

My apologies. I though I was commenting on the MuteMe repo.

@levdopa
Copy link
Author

levdopa commented Jan 3, 2023

@ollm thank you, version 0.2.2 worked although I reinstalled my system because I broke something else so I did not get to test it on my original system.

Also why can I only add hidden folders? All normal folders are grayed out and cannot be added.

@ollm
Copy link
Owner

ollm commented Jan 4, 2023

I have push a fix d7372f7, It is possible that bug it is due to some changes in the new version of electron.

Try this build now: https://mega.nz/file/Cfw3ERSC#HoRUw-lq1X1byEU2VqX267mlZNu0WHL85885ExQhUOA

@levdopa
Copy link
Author

levdopa commented Jan 5, 2023

@ollm sorry but I can't find the executable using dmenu, do you know what the name of the executable is or how I could start it from the terminal?

@ollm
Copy link
Owner

ollm commented Jan 5, 2023

It's opencomic

@levdopa
Copy link
Author

levdopa commented Jan 7, 2023

@ollm
Sorry for taking long to respond
In the new build opening non hidden files works

Secondly,
In my tilingwindow manager,
$ opencomic
bash: opencomic: command not found
It also does not appear in dmenu

I switched to my kde plasma session (on the same computer) and opencomic appears in the application bar there.
I also tried $ opencomic in my kde session and it also returns bash: opencomic: command not found

So I looked into the properties and found that it launches from
/opt/OpenComic/opencomic
when I do $ /opt/OpenComic/opencomic
it works

I think the reason $ opencomic does not work is because it is located in /opt/ instead of /usr/share/ like all my other applications

@ollm
Copy link
Owner

ollm commented Jan 9, 2023

I also have OpenComic installed on /opt/OpenComic/opencomic (Ubuntu 22.04), but I've seen that I have a symlink in /usr/bin/opencomic, which is where it runs opencomic from the terminal (which opencomic), try to create a symlink (If you don't already have it) from /opt/OpenComic/opencomic to /usr/bin/opencomic

@levdopa
Copy link
Author

levdopa commented Jan 9, 2023

@ollm
The symbolic works well, thanks

When I launch it I get these messages in the terminal.

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3789:0109/160245.972784:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

It works as expected though.

@ollm ollm closed this as completed Oct 9, 2023
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