Bug 8623 - [Anolis23.1 GA][Beta][ANCK-6.6.25-2][loongarch64]启动界面较卡,安装启动界面较卡,启动后界面也比较卡
Summary: [Anolis23.1 GA][Beta][ANCK-6.6.25-2][loongarch64]启动界面较卡,安装启动界面较卡,启动后界面也比较卡
Status: NEW
Alias: None
Product: ANCK 6.6 Dev
Classification: ANCK
Component: ARCH(unspecified) (show other bugs) ARCH(unspecified)
Version: 6.6.25-2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 17:23 UTC by liqianwen
Modified: 2024-07-26 10:20 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description liqianwen loongson_group 2024-03-25 17:23:24 UTC
Description of problem:
启动界面较卡,安装启动界面较卡,启动后界面也比较卡

Version-Release number of selected component (if applicable):
#内核版本
6.6.7-1.1_rc1.an23.loongarch64
#系统版本
# cat /etc/os-release 
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

Anolis os 23.1iso下载:
https://build.openanolis.cn/kojifiles/output/anolis-23-20240124.11/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20240124.11.iso

内核更新到ANCK-6.6.7-1.1版本:
https://build.openanolis.cn/kojifiles/scratch/anrel/task_811680/

Steps to Reproduce:
1.安装Anolis os 23.1系统,默认的内核版本为5.10.134-16.2_rc1.an23.loongarch64
2.更新内核版本到6.6.7-1.1
3.重启系统

Actual results:
机器重启后,在系统登录界面和登录后的界面,均出现界面卡顿的情况

Expected results:
机器重启后,界面不出现卡顿的情况

Additional info:
Comment 1 liqianwen loongson_group 2024-03-26 09:48:53 UTC
#机器信息
#cpu信息
Model Name		: Loongson-3C5000LL

#system信息
System Information
	Manufacturer: LOONGSON
	Product Name: LOONGSON T100 T2208A
	Version: To be filled by O.E.M.To be fill
	Serial Number: GY2133Z1R38210083
	UUID: 00000000-0000-0000-0000-00239e25a56b
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified

#bios信息
BIOS Information
	Vendor: Loongson
	Version: Loongson-UDK2018-V1.5.0-8W
	Release Date: 02/08/2022
	ROM Size: 4 MB

#桥片信息:7A1000

yum源配置:
# cat /etc/yum.repos.d/AnolisOS.repo 
[os]
name=AnolisOS-$releasever - os
#baseurl=http://8.131.87.1/kojifiles/repos/dist-an23-build/latest/loongarch64
#baseurl=https://build.openanolis.cn/kojifiles/output/anolis-23-20240111.16/compose/os/loongarch64/os/
baseurl=https://build.openanolis.cn/kojifiles/output/anolis-23-20240124.11/compose/os/loongarch64/os/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS
gpgcheck=0

[updates]
name=AnolisOS-$releasever - updates
baseurl=http://mirrors.openanolis.cn/anolis/$releasever/updates/$basearch/os
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS
gpgcheck=1

[kernel-6]
name=AnolisOS-$releasever - kernel-6
baseurl=http://mirrors.openanolis.cn/anolis/$releasever/kernel-6/$basearch/os
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ANOLIS
gpgcheck=1
Comment 2 gaojuxin09 loongson_group 2024-03-26 20:26:51 UTC
commit f2fa5a99ca81ce1056539e83c705f3d6bec62e31
Author: Thomas Zimmermann <tzimmermann@suse.de>
Date:   Thu Oct 13 13:29:22 2022 +0200

    drm/ast: Convert ast to SHMEM
    
    Replace GEM VRAM helpers with GEM SHMEM helpers in ast. Avoids OOM
    errors when allocating video memory. Also adds support for dma-buf
    functionality.
    
    Aspeed display hardware supports display resolutions of FullHD and
    higher at 32-bit pixel depth. But the amount of video memory is in
    the range of 8 MiB to 32 MiB, which adds constraints to the actually
    available resolutions. As atomic modesetting with VRAM helpers
    requires double buffering in video memory, ast fails to pageflip
    in some configurations. For example, FullHD with an active cursor
    plane does not work on devices with 16 MiB of video memory.
    
    Resolve this problem by converting the ast driver to GEM SHMEM helpers.
    Keep the buffer objects in system memory and copy to video memory
    on pageflips via shadow-plane helpers. Userspace used to require shadow
    planes for decent performance, but that's now provided by the driver.
    To replace the memory management, the patch also implements damage
    handling for the primary plane.
    
    With GEM SHMEM helpers, dma-buf import and export is now supported
    by ast. This allows easier screen mirroring across devices or with
    an Aspeed-based BMC. A corresponding feature request is available
    at [1].
    
    v2:
            * fix typos in commit message (Jocelyn)
    
    Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
    Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
    Tested-by: Jocelyn Falempe <jfalempe@redhat.com>
    Link: https://lore.kernel.org/dri-devel/20220901124451.2523077-1-oushixiong@kylinos.cn/ # [1]
    Link: https://patchwork.freedesktop.org/patch/msgid/20221013112923.769-8-tzimmermann@suse.de
增加该补丁后aspeed的bmc会出现显示卡顿严重的问题,使用其他bmc没有问题
Comment 3 liqianwen loongson_group 2024-05-14 18:01:43 UTC
6.6.25-2内核版本上启动也很卡

iso下载:
https://build.openanolis.cn/kojifiles/output/nightly/anolis-23-20240513.4/compose/os/loongarch64/iso/anolis-23-loongarch64-dvd1-20240513.4.iso

#内核版本
# uname -r
6.6.25-2_rc1.1.an23.loongarch64

#系统版本
# cat /etc/os-release 
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"
Comment 4 小龙 admin 2024-07-26 10:20:17 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3546