[Parallel-GS] [Sega Rally Championship (Japan)] Performance on modern Radeon graphics

オープン
#65 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cpp, debian, linux

調査の方向性

まず、説明されている Radeon 780M/RADV セットアップで Parallel-GS レンダラーを使用して Sega Rally Championship (Japan) を再現し、その後、他のゲームやグラフィックスハードウェアと性能を比較します。低速化がゲーム固有のものかレンダラーに関連するものかを特定し、測定に基づく修正または確認済みの制限を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hello there,

Not that I'm into PS2 emulation, but I've been testing Sega Rally Championship (Japan) in latest git "ps2" core with Parallel-GS on AMD Ryzen 7 8700G which has Radeon 780 graphics, and it's as slow as on Intel XE graphics (ParallelGS being slow with Intel XE graphics is expected I believe?).

System information:

-GNU/Linux with 6.12.12 Debian Kernel
-RADV in latest stable MESA 25.0.0
-Latest stable labwc 0.8.3 Wayland compositor
-RetroArch and LRPS2 core built from latest GIT sources

Here's the MESA 25.0.0 configuration results in case I'm missing something obvious:


mesa 25.0.0

  Directories
    prefix                       : /usr/local
    libdir                       : lib/x86_64-linux-gnu
    includedir                   : include

  Common C and C++ arguments
    c_cpp_args                   : -mtls-dialect=gnu2

  OpenGL
    OpenGL                       : YES
    ES1                          : YES
    ES2                          : YES
    Shared glapi                 : YES
    GLVND                        : YES

  DRI
    Platform                     : drm
    Driver dir                   : /usr/local/lib/x86_64-linux-gnu/dri

  GLX
    Enabled                      : NO
    Provider                     : None

  EGL
    Enabled                      : YES
    Drivers                      : builtin:egl_dri2 builtin:egl_dri3
    Platforms                    : wayland surfaceless drm

  GBM
    Enabled                      : YES
    Backends path                : /usr/local/lib/x86_64-linux-gnu/gbm

  Vulkan
    Drivers                      : amd
    Platforms                    : wayland surfaceless drm
    ICD dir                      : share/vulkan/icd.d
    Intel Ray tracing            : NO

  Video
    Codecs                       : h264dec h265dec vc1dec
    APIs                         : va vulkan

  LLVM
    Enabled                      : YES
    Version                      : 17.0.6

  Gallium
    Enabled                      : YES
    Drivers                      : radeonsi zink
    Platforms                    : wayland surfaceless drm
    Frontends                    : mesa va
    Off-screen rendering (OSMesa): NO
    HUD lm-sensors               : NO

  Perfetto
    Enabled                      : NO

  Teflon (TensorFlow Lite delegate)
    Enabled                      : NO

  User defined options
    buildtype                    : release
    gallium-drivers              : radeonsi,zink
    glvnd                        : enabled
    glx                          : disabled
    platforms                    : wayland
    video-codecs                 : h264dec,h265dec,vc1dec
    vulkan-drivers               : amd

More on what's being used here:


~$ vulkaninfo |grep RADV
'DISPLAY' environment variable not set... skipping surface info
                GPU id = 0 (AMD Radeon Graphics (RADV PHOENIX))
GPU id : 0 (AMD Radeon Graphics (RADV PHOENIX)):
        deviceName        = AMD Radeon Graphics (RADV PHOENIX)
        driverID                                             = DRIVER_ID_MESA_RADV

So, isn't the Radeon 780m in the 8700G up to the task? It's supposed to have the same performance that an RTX2050, so it seems strange to me.

Maybe this game does something "special" that affects the Parallel-GS renderer or makes it work in a strange way?

NOTE: Initially I though this affecting all games, but only Sega Rally Championship (Japan) seems affected by this massive Parallel-GS slowdown.

主要言語
C
スター
90
フォーク
34
平均マージ
1日 17時間
マージ済み PR(30日)
9

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

libretro/parallel-ps2 のほかの issue

libretro/parallel-ps2 の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。