您尚未登录。

#1 2023-03-28 00:22:42

Span
会员
注册时间: 2022-08-31
帖子: 7

基于wsl的arch安装kde后无法实现图形界面的问题

设备:联想Yoga14c
wsl内查看显卡驱动貌似是windows自带的(我现在已经unregister个人发布的安装工具下载的arch了),我下载x86-video-amdgpu,mesa或者vesa都不能使用.

显示软件分别使用xrdp,TigerVNC和Xlauncher.
其中xrdp可以进入登录界面,但是连上本地的wsl后仍然无法显示出图形界面.
TigerVNC短暂的成功了,但很快又崩溃黑屏,不论我如何restart该服务与重启wsl都无法显示桌面.

根据这个帖子: https://www.kubuntuforums.net/forum/new … ble-solved
回答似乎是:The problem will either be the kernel or graphics driver; depending on your hardware they may or may not be the same thing.

似乎是linux内核和图形驱动的问题.
报错如下:

KWin is unstable.It seems to have crashed several times in arow. You can select another window manager to run: kwin_x11

最近编辑记录 Span (2023-03-30 21:11:14)


世界可以被理解,但却无法知其全貌.

离线

#2 2023-03-30 19:03:45

Span
会员
注册时间: 2022-08-31
帖子: 7

Re: 基于wsl的arch安装kde后无法实现图形界面的问题

补充一下直接在wsl中直接启动kwin_x11时,有如下的提示:

sudo kwin_x11
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
kwin_platform_x11_standalone: Bogus refresh rate 0
kwin_xkbcommon: XKB: inet:323:58: unrecognized keysym "XF86EmojiPicker"
kwin_xkbcommon: XKB: inet:324:58: unrecognized keysym "XF86Dictate"
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.Disconnected", "Not connected to D-Bus server")
kwin_core: Parse error in tiles configuration for monitor "3e6a13d3-7d29-5922-82c3-84e8bdf10429" : "illegal value" Creating default setup
OpenGL vendor string:                   Microsoft Corporation
OpenGL renderer string:                 D3D12 (AMD Radeon(TM) Graphics)
OpenGL version string:                  4.2 (Compatibility Profile) Mesa 23.0.1
OpenGL shading language version string: 4.20
Driver:                                 Unknown
GPU class:                              Unknown
OpenGL version:                         4.2
GLSL version:                           4.20
Mesa version:                           23.0.1
Linux kernel version:                   5.15.90
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        no
kwin_platform_x11_standalone: glSwapInterval is unsupported

利用ChatGPT进行查询后发现

GPT 说:

...
The message "kwin_platform_x11_standalone: Bogus refresh rate 0" suggests that there is an issue with the refresh rate of the display.
# 错误的刷新率0,显示器的刷新率有问题.
...
The following messages related to the kwin_xkbcommon and kglobalaccel services suggest that there may be issues with keyboard configuration and access to D-Bus. 
# kwin_xkbcommon和kglobalaccel服务有关的信息表明,键盘配置和对D-Bus的访问可能存在问题.
...
"kwin_core: Parse error in tiles configuration for monitor "
#该信息表明,KWin对你的显示器的配置可能有问题。
...
The message "kwin_platform_x11_standalone: glSwapInterval is unsupported" suggests that there may be issues with vertical synchronization, which is used to synchronize the framerate of the graphics card with the refresh rate of the display.
#表明垂直同步可能存在问题,垂直同步用于使显卡的帧速率与显示器的刷新率同步.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
分解线:仍然是驱动问题,之前连续工作,没注意到

Driver:                                 Unknown
GPU class:                              Unknown

最近编辑记录 Span (2023-04-01 06:02:05)


世界可以被理解,但却无法知其全貌.

离线

页脚