>From my tests, dmcub fw from commit e8b09280f (the direct descendant
commit of 7cdafcead that updates amdgpu/dcn_3_5_1_dmcub.bin) fixed this
issue already:

[ amdgpu/dcn_3_5_1_dmcub.bin from commit e8b09280f ]

$ DISPLAY=:0 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.AQ9L02 glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
590 frames in 5.0 seconds = 117.925 FPS
588 frames in 5.0 seconds = 117.406 FPS
599 frames in 5.0 seconds = 119.601 FPS
601 frames in 5.0 seconds = 120.000 FPS
597 frames in 5.0 seconds = 119.394 FPS
597 frames in 5.0 seconds = 119.388 FPS

[ amdgpu/dcn_3_5_1_dmcub.bin from commit 7cdafcead ]

$ DISPLAY=:0 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.AFYJ02 glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
542 frames in 5.0 seconds = 108.392 FPS
521 frames in 5.0 seconds = 104.198 FPS
514 frames in 5.0 seconds = 102.459 FPS
516 frames in 5.0 seconds = 103.034 FPS
521 frames in 5.0 seconds = 104.011 FPS
536 frames in 5.0 seconds = 107.037 FPS
524 frames in 5.0 seconds = 104.626 FPS
524 frames in 5.0 seconds = 104.747 FPS
555 frames in 5.0 seconds = 110.689 FPS
527 frames in 5.0 seconds = 105.385 FPS
544 frames in 5.0 seconds = 108.637 FPS
529 frames in 5.0 seconds = 105.769 FPS
513 frames in 5.0 seconds = 102.461 FPS
538 frames in 5.0 seconds = 107.590 FPS
550 frames in 5.0 seconds = 109.829 FPS
544 frames in 5.0 seconds = 108.796 FPS

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-firmware in Ubuntu.
https://bugs.launchpad.net/bugs/2093400

Title:
  With OLED panel attached to amdgpu the glxgear fps is too low

Status in HWE Next:
  New
Status in linux-firmware package in Ubuntu:
  Fix Released
Status in linux-firmware source package in Noble:
  New
Status in linux-firmware source package in Oracular:
  New
Status in linux-firmware source package in Plucky:
  Fix Released

Bug description:
  [Summary]
  The oled panel is support 120HZ, but the fps is very low in glxgear.
  In AC mod is around 8x fps, and in DC mode is around 60 fps

  [edid]
  ubuntu@localhost:~$ edid-decode < /sys/class/drm/card1-eDP-1/edid
  edid-decode (hex):

  00 ff ff ff ff ff ff 00 4c 83 b3 41 01 ff 00 00
  00 22 01 04 b5 1e 13 78 03 cf d1 ae 51 3e b6 23
  0b 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
  01 01 01 01 01 01 cb fe 40 64 b0 08 18 70 20 08
  88 00 2e bd 10 00 00 1b cb fe 40 64 b0 08 c8 7a
  20 08 88 00 2e bd 10 00 00 1b 00 00 00 fd 00 30
  78 da da 42 01 00 00 00 00 00 00 00 00 00 00 02
  00 00 00 00 19 96 c8 3a 15 46 c8 00 00 00 01 33

  70 20 79 02 00 20 00 0c ba 41 59 b3 41 00 00 00
  00 00 18 00 21 00 1d b8 0b 6c 07 40 0b 08 07 00
  ee ea 50 ec d3 b6 3d 42 0b 01 45 54 40 5e d0 60
  18 10 23 78 26 00 09 07 06 03 00 00 00 50 00 00
  22 00 14 e7 f3 09 85 3f 0b 63 00 1f 00 07 00 07
  07 17 00 07 00 07 00 81 00 1f 73 1a 00 00 03 03
  30 78 00 a0 74 02 60 02 78 00 00 00 00 8d e3 05
  80 00 e6 06 05 01 74 60 02 00 00 00 00 00 fe 90

  ----------------

  Block 0, Base EDID:
  EDID Structure Version & Revision: 1.4
  Vendor & Product Identification:
  Manufacturer: SDC
  Model: 16819
  Serial Number: 65281
  Made in: 2024
  Basic Display Parameters & Features:
  Digital display
  Bits per primary color channel: 10
  DisplayPort interface
  Maximum image size: 30 cm x 19 cm
  Gamma: 2.20
  Supported color formats: RGB 4:4:4
  First detailed timing includes the native pixel format and preferred refresh 
rate
  Display is continuous frequency
  Color Characteristics:
  Red  : 0.6826, 0.3164
  Green: 0.2451, 0.7138
  Blue : 0.1396, 0.0439
  White: 0.3125, 0.3291
  Established Timings I & II: none
  Standard Timings: none
  Detailed Timing Descriptors:
  DTD 1:  2880x1800  120.001398 Hz   8:5    218.883 kHz    652.270000 MHz (302 
mm x 189 mm)
  Hfront   32 Hsync   8 Hback   60 Hpol P
  Vfront    8 Vsync   8 Vback    8 Vpol N
  DTD 2:  2880x1800   48.000559 Hz   8:5    218.883 kHz    652.270000 MHz (302 
mm x 189 mm)
  Hfront   32 Hsync   8 Hback   60 Hpol P
  Vfront    8 Vsync   8 Vback 2744 Vpol N
  Display Range Limits:
  Monitor ranges (Bare Limits): 48-120 Hz V, 218-218 kHz H, max dotclock 660 MHz
  Manufacturer-Specified Display Descriptor (0x02): 00 02 00 00 00 00 19 96 c8 
3a 15 46 c8 00 00 00 '.........:.F....'
  Extension blocks: 1
  Checksum: 0x33

  ----------------

  Block 1, DisplayID Extension Block:
  Version: 2.0
  Extension Count: 0
  Display Product Primary Use Case: None of the listed primary use cases; 
generic display
  Product Identification Data Block (0x20), OUI BA-41-59:
  Product Code: 16819
  Year of Manufacture: 2024
  Display Parameters Data Block (0x21):
  Image size: 300.0 mm x 190.0 mm
  Display native pixel format: 2880x1800
  Scan Orientation: Left to Right, Top to Bottom
  Luminance Information: Minimum guaranteed value
  Color Information: CIE 1931
  Audio Speaker Information: integrated
  Native Color Chromaticity:
  Primary #1:  (0.683105, 0.315918)
  Primary #2:  (0.245117, 0.714111)
  Primary #3:  (0.139893, 0.043945)
  White Point: (0.312744, 0.329102)
  Native Maximum Luminance (Full Coverage): 400.000000 cd/m^2
  Native Maximum Luminance (10% Rectangular Coverage): 616.000000 cd/m^2
  Native Minimum Luminance: 0.000500 cd/m^2
  Native Color Depth: 12 bpc
  Display Device Technology: Organic LED
  Native Gamma EOTF: 2.20
  Display Interface Features Data Block:
  Supported bpc for RGB encoding: 6, 8, 10
  Supported bpc for YCbCr 4:4:4 encoding: 8, 10
  Supported bpc for YCbCr 4:2:2 encoding: 8, 10
  Supported color space and EOTF standard combination 1: DCI-P3, BT.2020/SMPTE 
ST 2084
  Video Timing Modes Type 7 - Detailed Timings Data Block:
  DTD:  2880x1800  120.000294 Hz  16:10   218.881 kHz    652.264000 MHz (aspect 
16:10, no 3D stereo, preferred)
  Hfront   32 Hsync   8 Hback   60 Hpol N
  Vfront    8 Vsync   8 Vback    8 Vpol N
  CTA-861 DisplayID Data Block:
  Vendor-Specific Data Block (AMD), OUI 00-00-1A:
  Version: 3.3
  Minimum Refresh Rate: 48 Hz
  Maximum Refresh Rate: 120 Hz
  Flags 1.x: 0x00
  Flags 2.x: 0xa0
  Maximum luminance: 116 (616.884 cd/m^2)
  Minimum luminance: 2 (0.000 cd/m^2)
  Unknown: 0x60 0x02
  Colorimetry Data Block:
  BT2020RGB
  HDR Static Metadata Data Block:
  Electro optical transfer functions:
  Traditional gamma - SDR luminance range
  SMPTE ST2084
  Supported static metadata descriptors:
  Static metadata type 1
  Desired content max luminance: 116 (616.884 cd/m^2)
  Desired content max frame-average luminance: 96 (400.000 cd/m^2)
  Desired content min luminance: 2 (0.000 cd/m^2)
  Checksum: 0xfe
  Checksum: 0x90

  [Steps to reproduce]

  1. Boot in OS
  2. glxgears or glxgears -fullscreen

  [Expected result]

  The fps should match with the panel's max fps.

  [Actual result]

  The fps didn't match with the panel's max fps during run the glxgear
  cmd

  [Failure rate]

  100%

  [Affected test cases]
  com.canonical.certification::graphics/1_valid_glxgears_PCI_ID_0x1586
  
com.canonical.certification::graphics/1_valid_glxgears_fullscreen_PCI_ID_0x1586
  [Checkbox job 
`com.canonical.certification::graphics/1_valid_glxgears_PCI_ID_0x1586` output]

  Tester comments
  ---------------
  it is 120fps pannel

  stderr
  ------
  prime offload env: {'DRI_PRIME': 'pci-0000_c3_00_0'}
  No prime-select, it should be ok to run prime offload
  running command:[['glxgears']]
  Checking success:
  Offload process:[['glxgears']]
  Card ID:[0000:c3:00.0]
  Device Name:[Advanced Micro Devices, Inc. [AMD/ATI] [1002:1586]]
  Running synchronized to the vertical refresh.  The framerate should be
  approximately the same as the monitor refresh rate.
  429 frames in 5.0 seconds = 85.760 FPS
  413 frames in 5.0 seconds = 82.577 FPS
  422 frames in 5.0 seconds = 84.239 FPS
  311 frames in 5.0 seconds = 62.094 FPS
  300 frames in 5.0 seconds = 59.984 FPS
  Test finished

  [Additional information]
  CID: 202411-36044
  SKU: CHIRON-PV-SKU18
  Image: canonical-oem-stella-noble-oem-24.04b-edge-20241204-64
  system-manufacturer: HP
  system-product-name: HP ZBook Ultra G1a 14 inch Mobile Workstation PC
  bios-version: X89 Ver. 00.25.00
  CPU: AMD RYZEN AI MAX+ PRO 395 w/ Radeon 8060S (32x)
  GPU: c3:00.0 Display controller [0380]: Advanced Micro Devices, Inc. 
[AMD/ATI] Device [1002:1586] (rev d1)
  amd-vbios: 113-STRXLGEN-001["1586"] 
  kernel-version: 6.11.0-9009-oem

  [Stage]
  Issue reported and logs collected right after it happened

To manage notifications about this bug go to:
https://bugs.launchpad.net/hwe-next/+bug/2093400/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to