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

Discussion: Debian bookworm support? #28

Open
Glucy-2 opened this issue Jul 23, 2023 · 0 comments
Open

Discussion: Debian bookworm support? #28

Glucy-2 opened this issue Jul 23, 2023 · 0 comments

Comments

@Glucy-2
Copy link

Glucy-2 commented Jul 23, 2023

After changing bookworm to bullseye after repo setup, I can install some packs:

HMCL

install ca-certificates-java first, and then I can install hmcl, but it is not working:

$ /usr/bin/hmcl
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] *** HMCL 3.5.5 ***
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Operating System: Linux 6.1.0-10-amd64
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] System Architecture: x86_64
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Java Architecture: amd64
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Java Version: 20.0.2, Azul Systems, Inc.
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Azul Systems, Inc.
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Java Home: /usr/lib/jvm/zulu20-ca-amd64
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Current Directory: /home/glucy2
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL Directory: /home/glucy2/.local/share/hmcl
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] HMCL Jar Path: /opt/HMCL/HMCL.jar
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Memory: 14992MB
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] Metaspace: 3MB
[02:03:33] [org.jackhuang.hmcl.Launcher.main/INFO] XDG Session Type: wayland
Graphics Device initialization failed for :  es2, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:222)
        at javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:261)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
        at java.base/java.lang.Thread.run(Thread.java:1623)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
        at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
        ... 1 more
[02:03:33] [org.jackhuang.hmcl.util.CrashReporter.uncaughtException/SEVERE] Uncaught exception in thread main
java.lang.RuntimeException: No toolkit found
        at javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:273)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
        at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
        at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
        at java.base/java.lang.Thread.run(Thread.java:1623)

Seems a JavaFX problem, I think not processing with JavaFX and let HMCL download it maybe an idea. (untested)
Or, just install the shell file of HMCL (there is, on its ci server, HMCL-a.b.c.sh) as /usr/bin/hmcl, and let the user install Java by themselves, because users may need or have installed other versions (e.g. 8, 11, 20) or builds (e.g. Temurin(Adoptium), Microsoft's, Azul's) of Java, then recommend openjdk-17-jre (or others) package and Output a warning for the user to install Java.

Listen1

Can be installed, but cannot login to an music account (tried netease and qq music, cannot find log)

draw.io and electron

Working (I didn't tried everything)

(Other packages not tested)

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

No branches or pull requests

1 participant