
我有一個 ubuntu 遠端伺服器,我使用 RDP 從本機 Windows 電腦連接到該伺服器。我已經安裝了 Xrdp 和 Xorg,連接似乎可以正常工作,但在執行任何操作時,UI 響應速度非常慢、滯後,並且 gnome 似乎會增加 CPU 使用率(請參閱隨附的螢幕截圖)。閒置時電量維持在 1% 左右。 CPU 峰值的幅度似乎確實與執行的操作有關,更快、更密集的操作(打開和移動多個視窗、打開應用程式選單等)會導致更大的峰值,而資料夾內的簡單導航不會導致顯著的峰值。
注意:登入畫面上似乎沒有延遲或峰值。該螢幕上的所有轉換都可以順利進行。
我已經嘗試過所描述的選項這裡,但沒有太大成功。我還從顯示日曆中刪除了秒計數器,它似乎確實提高了效能一點。我也嘗試重新安裝gnome,沒有任何效果。
實體設定:Dell R740,S/N 3LQVGY2 CPU:Xeon Silver 4110 2 szt。記憶體:16GB 2666MHz RDIMM 2 szt。 RAID H730P
Ubuntu版本:Ubuntu 22.04.3 LTS
影片:
> lspci -nnk | grep VGA -A1
03:00.0 VGA compatible controller [0300]: Matrox Electronics Systems Ltd. Integrated Matrox G200eW3 Graphics Controller [102b:0536] (rev 04)
DeviceName: Embedded Video
侏儒版本:
> gnome-shell --version
GNOME Shell 42.9
Xrdp版本:
> stdbuf -o0 xrdp -v
xrdp 0.9.17
Xorg 版本:
> sudo X -version
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
Current Operating System: Linux hwpmt 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15.0-79-generic root=UUID=bd3dc8a2-f8ef-45f1-afba-597ef0e657af ro
xorg-server 2:21.1.4-2ubuntu1.7~22.04.1 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.40.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
直接渲染:
> glxinfo | grep "direct rendering"
direct rendering: Yes