AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1403852
Accepted
ali HOZA
ali HOZA
Asked: 2022-04-23 11:12:21 +0800 CST2022-04-23 11:12:21 +0800 CST 2022-04-23 11:12:21 +0800 CST

为什么 Ubuntu 22.04 中的分数缩放会显示有关影响性能的警告消息?

  • 772

自从 Ubuntu在显示设置中添加分数缩放以来已经有几年了。

一开始有以下警告提示用户:

可能会增加功耗、降低速度或降低显示清晰度

显示设置

现在,在 2022 年,我使用的是 Ubuntu 22.04,但警告仍然存在。我希望这些年来分数缩放已经足够成熟,但似乎还没有。

所以:

  1. Ubuntu 中的分数缩放有什么问题?
  2. 200% 和 125% 之间的技术差异是什么导致第一个不需要警告?
  3. 为什么 Windows 中的分数缩放没有这样的警告?
gnome
  • 3 3 个回答
  • 3286 Views

3 个回答

  • Voted
  1. Best Answer
    Nmath
    2022-04-23T11:56:13+08:002022-04-23T11:56:13+08:00

    没有什么不对或不成熟。仅仅因为 Windows 没有告诉您分数缩放的性能影响和缺点并不意味着它不存在。

    要理解此工具提示,您必须了解像素在显示中的排列方式。

    如果您有 1920x1080 (1080p) 显示器,这意味着有 2,073,600 像素的网格排列在 1920 列和 1080 行中。

    当您使用分数缩放时,您正在更改屏幕上的项目在此网格中的呈现方式。

    使用 200% 缩放,渲染这些像素的计算非常容易。渲染 200% 缩放所需要做的就是将每个像素渲染为 4 个相同像素的正方形。

    100% 缩放的 4 像素网格(正常):

    x y
    Y X
    

    在 200% 缩放中呈现为 16 像素:

    x x y y
    x x y y
    Y Y X X
    Y Y X X
    

    像素可以以可以完美复制而无需分割的方式缩放。图像将保持其清晰度,因为像素可以完美复制。

    如果使用 125% 缩放,则无法进行这种简单的乘法运算。为了渲染图像,需要将像素分成小于单个像素的部分。但是像素不能以这种方式划分,因此需要额外的计算来人工创建 125% 的像素映射。

    这不仅需要额外的计算,而且由于这些像素不能在没有余数的情况下相乘,因此与 200% 缩放或不缩放相比,它可能会导致图像显得模糊。

    • 8
  2. worldsmithhelper
    2022-08-12T07:30:21+08:002022-08-12T07:30:21+08:00

    分数缩放是 2022 年的一项实验性功能。gsettings describe org.gnome.mutter experimental-features告诉我们

    To enable experimental features, add the feature keyword to the list. Whether the feature requires restarting the compositor depends on the given feature. Any experimental feature is not required to still be available, or configurable. Don’t expect adding anything in this setting to be future proof.
    
    Currently possible keywords:
    
    • “scale-monitor-framebuffer” — makes mutter default to layout logical monitors in a logical pixel coordinate space, while scaling monitor framebuffers instead of window content, to manage HiDPI monitors. Does not require a restart.
    
    • “kms-modifiers” — makes mutter always allocate scanout buffers with explicit modifiers, if supported by the driver. Requires a restart.
    
    • “rt-scheduler” — makes mutter request a low priority real-time scheduling. Requires a restart.
    
    • “autoclose-xwayland” — automatically terminates Xwayland if all relevant X11 clients are gone. Requires a restart.
    
    • “x11-randr-fractional-scaling” — enable fractional scaling under X11 using xrandr scaling. It might reduce performances. Does not require a restart.
    

    正如我们所见,性能警告来自对 x11 程序的支持。

    在我的情况下,通过 GUI 设置它会屏蔽我的 VGA 显示器(或内部 VGA 显卡)。然而,一个gsettings reset org.gnome.mutter experimental-features电话能够修复它,屏幕马上又回来了。

    • 0
  3. James Johnson
    2022-08-18T11:58:42+08:002022-08-18T11:58:42+08:00

    环境:

    WaylandEnable=false
    

    在

    sudo vim /etc/gdm3/custom.conf
    

    然后运行:

    sudo systemctl restart gdm3
    

    似乎为我解决了这个问题。

    https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop

    • 0

相关问题

  • 如何安装 KDE?

  • 为什么我的时钟、指示器小程序和通知区域有时会在我重新启动时移动?我怎样才能防止这种情况?

  • 停止菜单图标闪烁

  • 是否有适用于 IMAP 邮件帐户的 Gnome 小程序?

  • 如果顶部面板中缺少会话小程序,如何注销?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve