Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Documentation/admin-guide/desktop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ IceWM 和应用使用普通用户身份运行;不要用 root 桌面代替正
首次配置及真实运行测试必须区分 QEMU 与 VMware。

Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor,
否则保留 framebuffer 回退。VMware 保留软件光标与关闭 page flip 的默认值;
VirtIO-GPU 由 XDM 的 Xorg wrapper 生成 ``/run/X11/xorg-virtio.conf``,
否则使用 framebuffer。XDM 的 Xorg wrapper 为 VirtIO-GPU 生成
``/run/X11/xorg-virtio.conf``,
开启硬件光标和 page flip。显式指定 ``-config`` 或 ``-configdir`` 时尊重
管理员配置。检查实际 Xorg/Mesa 日志与绘制结果,不能只看显卡名称。

Expand All @@ -29,7 +29,7 @@ QEMU/KVM 可在原生入口选择 2D 或 VirGL;不指定时仍使用原来的

VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer
和可访问的 render node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等
显示后端。``QEMU_GPU=vmware`` 仍可用于原有 QEMU SVGA 路径。
显示后端。

检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。
内核未协商 VirGL 时不提供 render node,不能将软件 renderer 当成硬件加速。
Expand Down
4 changes: 2 additions & 2 deletions Documentation/admin-guide/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* 强制关机后的 Xorg 锁文件可能阻止桌面恢复。
* 编译压力下 IceWM 拖动与延迟问题尚无完整修复验收证据。
* ReliefMath 曾在关窗时退出 139,尚未完成根因修复和最终复验。
* 图形接口受实际 SVGA-II/VGPU9 能力限制,不承诺所有 GPU、Mesa 功能、
跨设备 DMA-BUF、atomic modesetting 或硬件 vblank。
* 图形设备使用启动 framebuffer 或 VirtIO-GPU。3D 加速取决于设备是否提供 VirGL。
当前 DRM 接口不支持跨设备 DMA-BUF 或 atomic modesetting。
* 可加载 ``.ko`` 必须针对匹配的 ReliefNT ABI 编译,不支持直接加载 Linux
原版二进制模块或任意 Linux 内部 API。实际配置与管理见
:doc:`kernel-modules`。
Expand Down
4 changes: 2 additions & 2 deletions Documentation/admin-guide/openrc-controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ OpenRC/启动/系统日志查看,以及诊断报告和文本导出。
组件为 ``APP_OPENRC_CONTROLLER``,默认构建、打包和提供桌面入口。
使用正常 Kbuild 入口::

TMPDIR="$PWD/out/tmp" make O=out/xorg-vmware-debug PROFILE=debug -j4 app-openrc-controller nls image-vmdk
TMPDIR="$PWD/out/tmp" make O=out/xorg-vmware-debug PROFILE=debug test-openrc-controller
TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug -j4 app-openrc-controller nls image-vmdk
TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug test-openrc-controller

宿主测试在私有 user namespace 和 chroot 中运行测试命令,不操作宿主 OpenRC。
完整系统验收脚本为 ``tools/test_openrc_controller_qemu.py``,使用私有镜像和服务夹具;
Expand Down
5 changes: 2 additions & 3 deletions Documentation/admin-guide/vga-text.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ VGA 模式,但仍保留图形设备信息供 Xorg 接管。不要用 ``gfxpayl
========

该后端使用传统 VGA 端口和显存字符平面,固定为 80 列、25 行、8×16 字体
(通常扫描输出为 720×400)。已实现 Bochs/QEMU Standard VGA 和 VMware
SVGA II 的图形模式恢复接口;是否使用 UEFI 不是唯一判断条件,设备必须实际
提供兼容 VGA 解码。纯 GOP、无 VGA 兼容平面或无法安全恢复图形模式的设备会
(通常扫描输出为 720×400)。Bochs/QEMU Standard VGA 提供图形模式恢复接口。
设备必须实际提供兼容 VGA 解码。纯 GOP、无 VGA 兼容平面或无法安全恢复图形模式的设备会
输出警告并保留原控制台后端。没有 framebuffer 的 Legacy VGA 设备可用于
纯文字控制台,但无法切换到 Xorg。

Expand Down
4 changes: 2 additions & 2 deletions Documentation/applications/reliefmail.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ CA 包中部分证书无法解析时,只要有可用根证书,程序会继
TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefapk-certificates.sh
TMPDIR="$PWD/out/tmp" sh tests/build/test-reliefapk-process.sh
TMPDIR="$PWD/out/tmp" python3 tools/tests/test_reliefapk_apk.py \
--apk out/xorg-vmware-debug/upstream/apk/apk.static
TMPDIR="$PWD/out/tmp" make O=out/xorg-vmware-debug PROFILE=debug -j4 \
--apk out/xorg-debug/upstream/apk/apk.static
TMPDIR="$PWD/out/tmp" make O=out/xorg-debug PROFILE=debug -j4 \
app-reliefmail app-reliefapk nls image-vmdk

QEMU 工具 ``tools/test_reliefmail_ca_qemu.py`` 使用独立磁盘副本及临时签名仓库,
Expand Down
32 changes: 17 additions & 15 deletions Documentation/locale/en/LC_MESSAGES/admin-guide/desktop.po
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,18 @@ msgstr ""
"Distinguish QEMU from VMware for initial configuration and runtime validation."

msgid ""
"Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则保留 framebuffer 回退。VMware 保留软件光标与关闭 page flip "
"的默认值; VirtIO-GPU 由 XDM 的 Xorg wrapper 生成 ``/run/X11/xorg-virtio.conf``, 开启硬件光标和 page flip。显式指定 "
"``-config`` 或 ``-configdir`` 时尊重 管理员配置。检查实际 Xorg/Mesa 日志与绘制结果,不能只看显卡名称。"
msgstr ""
"Xorg probes devices automatically, using modesetting/glamor when the implemented DRM capabilities"
" are available and retaining framebuffer fallback otherwise. VMware keeps software cursors and "
"disabled page flips by default. For VirtIO-GPU, the XDM Xorg wrapper generates ``/run/X11/xorg-"
"virtio.conf`` to enable hardware cursors and page flips. Explicit ``-config`` or ``-configdir`` "
"arguments preserve the administrator selection. Check actual Xorg/Mesa logs and rendered pixels "
"rather than relying on the GPU name."
"Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则使用 framebuffer。XDM 的 "
"Xorg wrapper 为 VirtIO-GPU 生成 ``/run/X11/xorg-virtio.conf``, 开启硬件光标和 page "
"flip。显式指定 ``-config`` 或 ``-configdir`` 时尊重 管理员配置。检查实际 Xorg/Mesa "
"日志与绘制结果,不能只看显卡名称。"
msgstr ""
"Xorg detects devices automatically. It uses modesetting/glamor when the "
"device provides the required DRM capabilities and falls back to the "
"framebuffer otherwise. The XDM Xorg wrapper generates ``/run/X11/xorg-"
"virtio.conf`` for VirtIO-GPU, enabling the hardware cursor and page "
"flips. Explicit ``-config`` and ``-configdir`` options take precedence. "
"Check the Xorg and Mesa logs and drawing results as well as the device "
"name."

msgid "VirtIO-GPU 运行"
msgstr "Running VirtIO-GPU"
Expand All @@ -54,12 +56,12 @@ msgstr ""
"default remains::"

msgid ""
"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render node。可以通过 "
"``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。``QEMU_GPU=vmware`` 仍可用于原有 QEMU SVGA 路径。"
"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render "
"node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。"
msgstr ""
"VirGL defaults to ``gtk,gl=on`` and requires host QEMU with OpenGL support, virglrenderer and an "
"accessible render node. Set ``QEMU_DISPLAY`` to select EGL-headless or another display backend. "
"``QEMU_GPU=vmware`` retains the existing QEMU SVGA path."
"VirGL defaults to ``gtk,gl=on``. It requires a QEMU build with OpenGL "
"support, virglrenderer, and access to a host render node. Set "
"``QEMU_DISPLAY`` to select a display backend such as EGL-headless."

msgid ""
"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL 时不提供 render node,不能将软件 "
Expand Down
10 changes: 5 additions & 5 deletions Documentation/locale/en/LC_MESSAGES/admin-guide/limitations.po
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ msgstr ""
"fix and final retest are not yet complete."

msgid ""
"图形接口受实际 SVGA-II/VGPU9 能力限制,不承诺所有 GPU、Mesa 功能、 跨设备 DMA-BUF、atomic modesetting"
" 或硬件 vblank。"
"图形设备使用启动 framebuffer 或 VirtIO-GPU。3D 加速取决于设备是否提供 VirGL。 当前 DRM 接口不支持跨设备 "
"DMA-BUF 或 atomic modesetting。"
msgstr ""
"Graphics interfaces are limited by actual SVGA-II/VGPU9 capabilities. "
"Support is not promised for all GPUs, Mesa features, cross-device DMA-BUF, "
"atomic modesetting, or hardware vblank."
"Display uses the boot framebuffer or VirtIO-GPU. 3D acceleration depends "
"on VirGL support from the device. The current DRM interface does not "
"support cross-device DMA-BUF or atomic modesetting."

msgid ""
"可加载 ``.ko`` 必须针对匹配的 ReliefNT ABI 编译,不支持直接加载 Linux 原版二进制模块或任意 Linux 内部 "
Expand Down
24 changes: 11 additions & 13 deletions Documentation/locale/en/LC_MESSAGES/admin-guide/vga-text.po
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,18 @@ msgid "设备要求"
msgstr "Device Requirements"

msgid ""
"该后端使用传统 VGA 端口和显存字符平面,固定为 80 列、25 行、8×16 字体 (通常扫描输出为 720×400)。已实现 Bochs/QEMU"
" Standard VGA 和 VMware SVGA II 的图形模式恢复接口;是否使用 UEFI 不是唯一判断条件,设备必须实际 提供兼容 VGA "
"解码。纯 GOP、无 VGA 兼容平面或无法安全恢复图形模式的设备会 输出警告并保留原控制台后端。没有 framebuffer 的 Legacy VGA"
" 设备可用于 纯文字控制台,但无法切换到 Xorg。"
"该后端使用传统 VGA 端口和显存字符平面,固定为 80 列、25 行、8×16 字体 (通常扫描输出为 720×400)。Bochs/QEMU "
"Standard VGA 提供图形模式恢复接口。 设备必须实际提供兼容 VGA 解码。纯 GOP、无 VGA "
"兼容平面或无法安全恢复图形模式的设备会 输出警告并保留原控制台后端。没有 framebuffer 的 Legacy VGA 设备可用于 "
"纯文字控制台,但无法切换到 Xorg。"
msgstr ""
"This backend uses legacy VGA ports and the video-memory character plane, "
"fixed at 80 columns, 25 rows, and an 8×16 font (typically a 720×400 "
"scanout). Graphics-mode restoration is implemented for Bochs/QEMU Standard "
"VGA and VMware SVGA II. UEFI use alone does not determine eligibility; the "
"device must actually provide compatible VGA decoding. Pure GOP devices, "
"devices without a VGA-compatible plane, or devices whose graphics mode "
"cannot safely be restored produce a warning and retain the original console "
"backend. Legacy VGA devices without a framebuffer can provide a text-only "
"console but cannot switch to Xorg."
"This backend uses legacy VGA ports and the text plane with 80 columns, 25"
" rows, and an 8×16 font. The scanout is typically 720×400. Bochs/QEMU "
"Standard VGA supports graphics-mode restoration. The device must provide "
"compatible VGA decoding. A GOP-only device, a device without a VGA-"
"compatible plane, or a device that cannot safely restore graphics mode "
"issues a warning and keeps the existing console backend. Legacy VGA "
"without a framebuffer can run a text console but cannot switch to Xorg."

msgid "终端与图形会话"
msgstr "Terminals and Graphical Sessions"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,11 +376,12 @@ msgstr ""
"readable/writable files. Seeing GRUB, boot logs, or an /init probe alone is insufficient."

msgid ""
"[x] e1000 联网和数据校验;声卡 PCM 的 open/mmap/close;Xorg/IceWM 的 DRM/fbdev 路径;内置/模块行为一致。QEMU 无 SVGA3D 不能冒充 "
"VMware 通过。"
"[x] e1000 联网和数据校验;声卡 PCM 的 open/mmap/close;Xorg/IceWM 的 DRM/fbdev "
"路径;内置/模块行为一致。QEMU 与 VMware 的验证结果分别记录。"
msgstr ""
"[x] e1000 networking and data validation; sound-card PCM open/mmap/close; Xorg/IceWM DRM/fbdev "
"paths; equivalent built-in/module behavior. QEMU without SVGA3D cannot count as a VMware pass."
"[x] e1000 networking and data validation, sound-card PCM open/mmap/close,"
" and Xorg/IceWM DRM/fbdev. Built-in and modular behavior match. Record "
"QEMU and VMware results separately."

msgid "[x] 多层依赖装卸、内置 modprobe、重复加载、故意缺依赖/错版本文件的 错误诊断、busy 卸载拒绝、空闲装卸循环、进程/映射/IRQ 并发持有。"
msgstr ""
Expand Down
21 changes: 12 additions & 9 deletions Documentation/locale/en/LC_MESSAGES/process/testing.po
Original file line number Diff line number Diff line change
Expand Up @@ -162,16 +162,19 @@ msgstr ""
"performance threshold was met."

msgid ""
"比较性能时使用相同探针、桌面配置、分辨率、vCPU 和内存,等待 IceWM 就绪后重复采样,顺序运行各台 VM。软件对照使用 modesetting 的 ``AccelMethod "
"none``,加速对照使用 ``AccelMethod glamor``;从 Xorg 日志 分别确认 ``glamor disabled`` 和 ``glamor X acceleration "
"enabled on SVGA3D``, 并记录 VMware host renderer。记录内核和探针摘要、完整串口、返回码与每轮 耗时;不能把启动期间加载字体/库的耗时直接当作稳定渲染性能。"
"比较性能时使用相同探针、桌面配置、分辨率、vCPU 和内存,等待 IceWM 就绪后重复采样,顺序运行各台 VM。软件对照使用 "
"modesetting 的 ``AccelMethod none``,加速对照使用 ``AccelMethod glamor``;从 Xorg "
"日志 确认 glamor 状态,并记录实际 renderer。记录内核和探针摘要、完整串口、返回码与每轮 "
"耗时;不能把启动期间加载字体/库的耗时直接当作稳定渲染性能。"
msgstr ""
"For performance comparisons use the same probe, desktop configuration, resolution, vCPUs, and "
"memory; sample repeatedly after IceWM is ready and run VMs sequentially. Use modesetting "
"``AccelMethod none`` for software and ``AccelMethod glamor`` for acceleration. Confirm ``glamor "
"disabled`` and ``glamor X acceleration enabled on SVGA3D`` respectively in Xorg logs and record "
"the VMware host renderer. Record kernel/probe digests, full serial logs, return codes, and per-run"
" times. Font/library loading during startup is not steady-state rendering performance."
"Use the same probe, desktop configuration, resolution, vCPUs, and memory "
"when comparing performance. Sample repeatedly after IceWM is ready and "
"run the VMs in sequence. Use modesetting ``AccelMethod none`` for the "
"software reference and ``AccelMethod glamor`` for the accelerated "
"reference. Verify the glamor state in the Xorg logs and record the active"
" renderer. Record kernel and probe digests, full serial logs, exit codes,"
" and the elapsed time for each run. Measure steady-state rendering "
"separately from font and library loading at startup."

msgid ""
"全量 syscall-trace 会向串口输出大量日志,显著扰动测试,应仅用于定性 定位;其结果不能进入性能对照。超时、探针失败、Xorg 退出和 Kernel Panic "
Expand Down
14 changes: 8 additions & 6 deletions Documentation/locale/en/LC_MESSAGES/userspace-api/graphics.po
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ msgid "设备能力"
msgstr "Device capabilities"

msgid ""
"ReliefNT 提供 framebuffer、VT 与有限的 Linux DRM/vmwgfx 路线。 硬件和权限允许时提供 card/render 节点;必须处理缺设备、不支持的 ioctl、"
" 超时和中断。用户属于 video 组并不保证所有 GPU 功能可用。 SVGA-II/VGPU9、同设备 PRIME 与通用跨设备 DMA-BUF 是不同范围。"
"ReliefNT 提供 framebuffer、VT 和 VirtIO-GPU 的 Linux DRM 接口。 硬件和权限允许时提供 "
"card/render 节点;必须处理缺设备、不支持的 ioctl、 超时和中断。用户属于 video 组并不保证所有 GPU 功能可用。 "
"PRIME 共享限于同一 VirtIO-GPU 设备。"
msgstr ""
"ReliefNT provides framebuffer, VT, and limited Linux DRM/vmwgfx paths. card/render nodes are "
"provided when hardware and permissions allow; handle missing devices, unsupported ioctls, "
"timeouts, and interrupts. Membership in video does not guarantee all GPU features. SVGA-II/VGPU9, "
"same-device PRIME, and generic cross-device DMA-BUF have different scopes."
"ReliefNT provides framebuffer and VT interfaces and a Linux DRM interface"
" for VirtIO-GPU. It exposes card and render nodes where hardware and "
"permissions permit. Handle missing devices, unsupported ioctls, timeouts,"
" and interrupts. Membership in the video group does not guarantee every "
"GPU feature. PRIME sharing is limited to a single VirtIO-GPU device."

msgid "应用集成"
msgstr "Application integration"
Expand Down
24 changes: 12 additions & 12 deletions Documentation/locale/ja/LC_MESSAGES/admin-guide/desktop.po
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,15 @@ msgstr ""
"と VMware を区別してください。"

msgid ""
"Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则保留 framebuffer 回退。VMware 保留软件光标与关闭 page flip "
"的默认值; VirtIO-GPU 由 XDM 的 Xorg wrapper 生成 ``/run/X11/xorg-virtio.conf``, 开启硬件光标和 page flip。显式指定 "
"``-config`` 或 ``-configdir`` 时尊重 管理员配置。检查实际 Xorg/Mesa 日志与绘制结果,不能只看显卡名称。"
"Xorg 自动探测设备。在具备已实现 DRM 能力时使用 modesetting/glamor, 否则使用 framebuffer。XDM 的 "
"Xorg wrapper 为 VirtIO-GPU 生成 ``/run/X11/xorg-virtio.conf``, 开启硬件光标和 page "
"flip。显式指定 ``-config`` 或 ``-configdir`` 时尊重 管理员配置。检查实际 Xorg/Mesa "
"日志与绘制结果,不能只看显卡名称。"
msgstr ""
"Xorg はデバイスを自動検出し、実装済みの DRM 機能が利用できる場合は modesetting/glamor、それ以外は framebuffer フォールバックを使用します。VMware "
"の標準値はソフトウェアカーソルと page flip 無効のままです。VirtIO-GPU では XDM の Xorg wrapper が ``/run/X11/xorg-"
"virtio.conf`` を生成し、ハードウェアカーソルと page flip を有効にします。``-config`` または ``-configdir`` "
"を明示した場合は管理者の設定を尊重します。GPU 名だけで判断せず、実際の Xorg/Mesa ログと描画結果を確認してください。"
"Xorg はデバイスを自動検出します。必要な DRM 機能がある場合は modesetting/glamor を使い、それ以外の場合は "
"framebuffer を使います。XDM の Xorg wrapper は VirtIO-GPU 用に ``/run/X11/xorg-"
"virtio.conf`` を生成し、ハードウェアカーソルと page flip を有効にします。明示された ``-config`` または "
"``-configdir`` を優先します。デバイス名だけでなく、Xorg と Mesa のログや描画結果も確認してください。"

msgid "VirtIO-GPU 运行"
msgstr "VirtIO-GPU の実行"
Expand All @@ -48,12 +49,11 @@ msgid "QEMU/KVM 可在原生入口选择 2D 或 VirGL;不指定时仍使用原
msgstr "QEMU/KVM の標準実行ターゲットで 2D または VirGL を選択できます。指定しない場合は従来の VGA を使用します::"

msgid ""
"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render node。可以通过 "
"``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。``QEMU_GPU=vmware`` 仍可用于原有 QEMU SVGA 路径。"
"VirGL 默认使用 ``gtk,gl=on``,需要宿主支持 OpenGL 的 QEMU、virglrenderer 和可访问的 render "
"node。可以通过 ``QEMU_DISPLAY`` 指定 EGL-headless 等 显示后端。"
msgstr ""
"VirGL の既定値は ``gtk,gl=on`` で、OpenGL 対応のホスト QEMU、virglrenderer、アクセス可能な render node "
"が必要です。``QEMU_DISPLAY`` で EGL-headless などの表示バックエンドを指定できます。``QEMU_GPU=vmware`` では従来の QEMU SVGA "
"経路を使用します。"
"VirGL の既定値は ``gtk,gl=on`` です。OpenGL 対応の QEMU、virglrenderer、アクセス可能なホストの "
"render node が必要です。EGL-headless などの表示バックエンドは ``QEMU_DISPLAY`` で指定できます。"

msgid ""
"检查 Xorg 日志中的 ``glamor initialized``、``virgl`` 和 DRI2/DRI3 状态。 内核未协商 VirGL 时不提供 render node,不能将软件 "
Expand Down
Loading
Loading