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
Hakuneko crashes and doesn't open on Ubuntu 22.04 LTS #5792
Comments
try to start it with --disable-gpu or --no-sandbox |
Do you maybe know how I could enable the --no-sandbox option by default when simply starting it from my desktop? I can set up an alias to do that and then disown the process so that I don't have to have the console-window I started it from open, but I still wondered. |
app.disableHardwareAcceleration() isn't currently included in the app |
It doesn't work if I only use the --disable-gpu option, it's only working with --no-sandbox, and then I don't need to disable my gpu. Though I do get the same error, my exact cmd-output is: (included at the end of the message). And I should definitely have updated gpu-drivers, I use arch btw (well garuda to be exact but arch usually has up-to-date packages so that should be fine). Also, could you point me to some resource where I could understand/learn what --no-sandbox does? [ Options: Default: system's default --user-directory= Directory where user settings are stored Default: system's default Framework InfoElectron : 6.1.7 ConfigurationUpdate URL : https://manga-download.github.io/hakuneko/6.1.7/latest Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" |
Weirdly enough though on my laptop it works without any issues, even though it's just another arch-based distro on there. |
https://www.electronjs.org/docs/latest/tutorial/sandbox#disabling-chromiums-sandbox-testing-only
|
also, try with hakuneko nightly version |
Thanks, have tried the nightly version too though the problem still persists. Not all that bad now that I have a fix for it, thanks for your help! |
you could give a try with our next version to see if the issue is solved : https://github.com/manga-download/haruneko (you'd have to build the whole thing as we're still in the WIP stage) |
for my situation, it turns out that I need to enable hybrid graphics switching instead of rely on dgpu if you don't want that extra --no-sandbox |
I also have this problem, --no-sandbox works for me as well. I'm on endeavourOS (arch based). |
I'm working around this by editing the .desktop entry in /usr/application/ to include the start up argument. I also had to change the path in the exec line to /usr/bin/hakuneko-destop it used to be some library file? not sure if thats correct or on purpose |
This is using the .deb nightly. Here is what terminal outputs:
buntu@ubuntu-desktop:~$ hakuneko-desktop -u
Usage:
/usr/lib/hakuneko-desktop/hakuneko [OPTIONS]
Options:
Directory where the web-application is stored-u, --update-url= URL to be checked for web-application updates
Default: "http://manga-download.github.io/hakuneko/{version}/latest"
--startup-url= URL to the entrypoint of the web-application
Default: "hakuneko://cache/index.html"
-c, --cache-directory=
Default: system's default
--user-directory= Directory where user settings are stored
Default: system's default
Framework Info
Electron : 8.3.4
Chrome : 80.0.3987.165
Node : 12.13.0
Configuration
Update URL : https://manga-download.github.io/hakuneko/master/latest
Connector Protocol : connector
Application Protocol : hakuneko
Startup URL : hakuneko://cache/index.html
AppCache Directory : /home/ubuntu/.cache/hakuneko-desktop
UserData Directory : /home/ubuntu/.config/hakuneko-desktop
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false". It will change to be "true" in Electron 9. For more information please check electron/electron#18397
[49969:0512/161356.062060:FATAL:gpu_data_manager_impl_private.cc(1034)] The display compositor is frequently crashing. Goodbye.
Trace/breakpoint trap (core dumped)
The text was updated successfully, but these errors were encountered: