Hello. Everyone.
only English
I saw some different errors.(错误)
INFO:
OS: ArchLinux latest
Desktop Server and Client : Wayland
Desktop : Hyprland
JDK : OpenJDK 22
CPU bits:64
Minecraft Version: 1.21
When I play Minecraft.
The alacritty show errors on Hyprland
But NO ERRORS on Gnome.
My .bash_profile:
function set_wayland_env
{
cd ${HOME}
# 设置语言环境为中文
export LANG=zh_CN.UTF-8
# 解决QT程序缩放问题
export QT_AUTO_SCREEN_SCALE_FACTOR=1
# QT使用wayland和gtk
export QT_QPA_PLATFORM="wayland;xcb"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# 使用qt6ct软件配置QT程序外观
export QT_QPA_PLATFORMTHEME=qt6ct
# 一些游戏使用wayland
export SDL_VIDEODRIVER=wayland
# 解决java程序启动黑屏错误
export _JAVA_AWT_WM_NONEREPARENTING=1
# GTK后端为 wayland和x11,优先wayland
export GDK_BACKEND="wayland,x11"
}
# 命令行输入这个命令启动hyprland,可以自定义
function start_hyprland
{
set_wayland_env
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=Hyprland
export XDG_CURRENT_DESKTOP=Hyprland
# 启动 Hyprland程序
exec Hyprland
}
export RUST_BACKTRACE=1
export QT_QPA_PLATFROM=wayland
[[ -f ~/.bashrc ]] && . ~/.bashrc
how to do
i am a noob
离线
错误信息呢??
离线
Thanks
But I don't know why it can run?
I remember 1.20.6 has the bugs
i am a noob
离线