Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deepin Integration]~[V23-Beta3] Auto integrate from topic: rocm by @xzl01 to V23-Beta3 by deepin-ci-robot #10509

Closed
deepin-bot bot opened this issue Aug 28, 2024 · 4 comments
Assignees
Labels
Project:integrated 集成管理相关 吴波 吴波
Milestone

Comments

@deepin-bot
Copy link

deepin-bot bot commented Aug 28, 2024

Package information | 软件包信息

包名 版本
roct-thunk-interface 5.7.0-1
rocm-cmake 6.0.0-1
rocminfo 5.7.1-3
rocr-runtime 5.2.3-3
rocm-device-libs 6.0+git20231212.5a852ed-2

Package repository address | 软件包仓库地址

deb [trusted=yes] https://ci.deepin.com/repo/obs/deepin:/CI:/TestingIntegration:/test-integration-pr-1925:/community/testing/ ./

Changelog | 更新信息

roct-thunk-interface (5.7.0-1) unstable; urgency=medium

  • Migrate ROCm 5.7.0 to unstable.
  • d/control: add self to uploaders
  • d/control: update Build-Depends from pkg-config to pkgconf

rocm-cmake (6.0.0-1) unstable; urgency=medium

  • Migrate ROCm 6.0.0 to unstable

rocminfo (5.7.1-3) unstable; urgency=medium

  • Fix autopkgtests on systems without AMD GPUs

rocr-runtime (5.2.3-3) unstable; urgency=medium

  • Team upload.

  • add 0003-fix-static-initialization-order.patch
    to prevent crash in hsa_init (Closes: #1031089)

  • update d/copyright

  • d/control: update standards version

rocm-device-libs (6.0+git20231212.5a852ed-2) unstable; urgency=medium

  • d/rules: strip unsupported -fno-cf-protection flag
  • d/control: trim build-depends
@deepin-bot deepin-bot bot added the Project:integrated 集成管理相关 label Aug 28, 2024
@deepin-bot deepin-bot bot added this to the V23-Beta3 milestone Aug 28, 2024
@deepin-bot
Copy link
Author

deepin-bot bot commented Aug 28, 2024

Integration Test Info

Test suggestion | 测试建议

rocminfo 是 AMD ROCm (Radeon Open Compute) 平台上的一个工具,用于显示和诊断 AMD GPU 的信息。通过 rocminfo,你可以获取关于系统中 AMD GPU 的详细信息,如设备名称、可用内存、计算能力等。

使用 rocminfo 进行测试

  1. 安装 ROCm 和 rocminfo
    首先,确保你已经安装了 ROCm 以及 rocminfo 工具。如果还未安装,可以按照以下步骤进行安装:

    Ubuntu/Debian:

    sudo apt update
    sudo apt install rocm-dkms rocminfo

    RHEL/CentOS:

    sudo yum install rocm-dkms rocminfo
  2. 运行 rocminfo
    在终端中执行以下命令以查看系统中 GPU 的信息:

    rocminfo

    这个命令会输出包含以下信息的详细列表:

    • Platform Information: 显示平台相关的信息,如名称、供应商等。
    • Device Information: 列出系统中所有支持的 GPU 设备信息,包括:
      • Device Name: GPU 名称
      • Compute Units: 计算单元数量
      • Memory: 可用内存大小
      • Max Clock Frequency: 最大时钟频率
      • PCIe Bus Information: PCIe 总线信息
      • Device Capabilities: 设备的计算能力等
  3. 验证 GPU 工作状态
    在执行 rocminfo 后,检查输出中的各项信息,确保系统检测到了所有 AMD GPU 并且它们的状态正常。如果有多个 GPU,确保每个 GPU 都显示正确的信息。

  4. 故障排查

    • 如果 rocminfo 无法正常工作,可能是因为没有正确安装驱动程序或系统未能正确识别 AMD GPU。此时可以通过以下步骤排查问题:
      • 确认 ROCm 版本与 GPU 和操作系统的兼容性。
      • 重新安装或更新 ROCm 驱动程序。
      • 检查 dmesg 日志以获取更多详细信息:
        dmesg | grep amdgpu
  5. 验证 OpenCL 或 HIP 支持
    如果你希望进一步测试 GPU 的计算能力,可以运行一些简单的 OpenCL 或 HIP 程序,以确保 GPU 可以正常进行计算任务。

    • 运行 HIP 示例程序:
      /opt/rocm/bin/hipcc --version
      /opt/rocm/hip/samples/0_Intro/square/square

    这些步骤可以帮助你确保系统中的 AMD GPU 正常工作,并可以通过 ROCm 进行计算任务。如果在使用 rocminfo 或其他工具时遇到问题,可以参考 ROCm 官方文档或社区寻求帮助。

Influence | 影响范围

ADDITIONAL INFORMATION | 额外补充

来自 https://github.com/orgs/linuxdeepin/discussions/10383

@deepin-bot
Copy link
Author

deepin-bot bot commented Aug 28, 2024

IntegrationProjector Notify the author
@deepin: Integrated issue updated

@deepin-bot
Copy link
Author

deepin-bot bot commented Aug 28, 2024

IntegrationProjector Bot
Deepin Testing Integration Project Manager Info
Link to deepin-community/Repository-Integration#1925

@Zeno-sole Zeno-sole assigned babyfengfjx and unassigned Zeno-sole and hudeng-go Aug 28, 2024
@babyfengfjx babyfengfjx assigned kobe337 and unassigned babyfengfjx Aug 28, 2024
@babyfengfjx babyfengfjx added the 吴波 吴波 label Aug 28, 2024
@kobe337
Copy link

kobe337 commented Aug 30, 2024

【环境】:
镜像:Deepin OS-23-20240813103808-1_x86_64
内核:Linux hhh-PC 6.6.47-amd64-desktop-hwe #23.01.00.37 SMP PREEMPT_DYNAMIC Tue Aug 20 17:33:52 CST 2024 x86_64 GNU/Linux

【结论】:
测试通过,暂无严重问题及影响, 安装校验、版本核对,rocminfo命令执行,查看amd显卡相关信息,验证通过
rocminfo
截图_deepin-terminal_20240830102019

@kobe337 kobe337 assigned Zeno-sole and unassigned kobe337 Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:integrated 集成管理相关 吴波 吴波
Projects
Archived in project
Development

No branches or pull requests

4 participants