Skip to content

Linux GNOME 侧似乎不能在开启了 xwayland-native-scaling 特性的情况下正常高分缩放 #1955

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

Open
pokon548 opened this issue Apr 12, 2025 · 0 comments
Labels
desktop 平台: 桌面 (macOS + Windows) s: ui 子系统: UI

Comments

@pokon548
Copy link

问题描述

首先我是在 NixOS 上使用的这个打包,因而下述操作系统相关没有选择。

在 mutter 47.0 及更高版本上,GNOME 支持对 xwayland 应用进行高分缩放,可以获得高分辨率且不模糊地缩放体验。

不过在 Ani 上,似乎并不支持这种缩放特性。如果开启 xwayland-native-scaling 来启用上述特性,似乎会导致 Ani 回退到近似 1.0 的缩放比例。以下是 2880x1800 在 175% 缩放比例下的显示效果:

Image

而如果不开启 xwayland-native-scaling 特性,Ani 可以进行缩放,但是界面很糊:

Image

复现步骤

  1. 在 GNOME >47 Wayland 桌面环境,使用 mutter >47.0 窗管;
  2. 使用 gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer', 'xwayland-native-scaling']" 命令开启 xwayland 原生分数缩放;
  3. 复现第一个截图的现象;
  4. 使用 gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" 命令关闭 xwayland 原生分数缩放(但是依然开启分数缩放这个特性。不开启这个会导致 GNOME 仅允许整数缩放);
  5. 复现第二个截图的现象。

Ani 版本号

4.8.0

操作系统

No response

应用日志

app.log

@github-project-automation github-project-automation bot moved this to Backlog in Animeko Apr 12, 2025
@Him188 Him188 added desktop 平台: 桌面 (macOS + Windows) s: ui 子系统: UI labels Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop 平台: 桌面 (macOS + Windows) s: ui 子系统: UI
Projects
Status: Backlog
Development

No branches or pull requests

2 participants