[Bug 111987] Unstable performance (periodic and repeating patterns of fps change) and changing VDDGFX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment # 8 on bug 111987 from
My random guess is that it is due to some bug in calculating gpu_busy_percent
possibly, or SCLK_{UP,DOWN}_HYST parameters:

Here is a dump of various values, when running Talos:

Sun Oct 13 09:29:46 UTC 2019
/sys/class/drm/renderD128/device files:
gpu_busy_percent:5
pp_num_states:states: 2
pp_num_states:0 boot
pp_num_states:1 performance
pp_cur_state:1
pp_power_profile_mode:NUM        MODE_NAME     SCLK_UP_HYST   SCLK_DOWN_HYST
SCLK_ACTIVE_LEVEL     MCLK_UP_HYST   MCLK_DOWN_HYST MCLK_ACTIVE_LEVEL
pp_power_profile_mode:  0   BOOTUP_DEFAULT:        -                -          
     -                -                -                -
pp_power_profile_mode:  1   3D_FULL_SCREEN:        0              100          
    30                0              100               10
pp_power_profile_mode:  2     POWER_SAVING:       10                0          
    30                -                -                -
pp_power_profile_mode:  3            VIDEO:        -                -          
     -               10               16               31
pp_power_profile_mode:  4               VR:        0               11          
    50                0              100               10
pp_power_profile_mode:  5        COMPUTE *:        0                5          
    30                0              100               10
pp_power_profile_mode:  6           CUSTOM:        -                -          
     -                -                -                -
vbios_version:113-C8800100-102
revision:0xc8
mem_info_gtt_total:4294967296
mem_info_gtt_used:364883968
mem_info_vis_vram_total:268435456
mem_info_vis_vram_used:50188288
mem_info_vram_total:4294967296
mem_info_vram_used:2290094080
power_dpm_force_performance_level:manual
power_dpm_state:performance
hwmon/hwmon0/freq1_label:sclk
hwmon/hwmon0/freq1_input:944000000
hwmon/hwmon0/freq2_label:mclk
hwmon/hwmon0/freq2_input:500000000
hwmon/hwmon0/temp1_input:31000
hwmon/hwmon0/power1_average:85182000
hwmon/hwmon0/fan1_input:3069
hwmon/hwmon0/pwm1:239
hwmon/hwmon0/in0_label:vddgfx
hwmon/hwmon0/in0_input:1100
pp_dpm_mclk:0: 500Mhz *
pp_dpm_sclk:0: 300Mhz 
pp_dpm_sclk:1: 512Mhz 
pp_dpm_sclk:2: 724Mhz 
pp_dpm_sclk:3: 892Mhz 
pp_dpm_sclk:4: 944Mhz *
pp_dpm_sclk:5: 984Mhz 
pp_dpm_sclk:6: 1018Mhz 
pp_dpm_sclk:7: 1050Mhz 
pp_mclk_od:0
pp_sclk_od:0
d3cold_allowed:1
power_dpm_force_performance_level:manual
/sys/class/drm/ttm/buffer_objects/bo_count:2997
/sys/kernel/debug/dri/0/clients:             command   pid dev master a   uid  
   magic
/sys/kernel/debug/dri/0/clients:                Xorg 118921   0   y    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:                Xorg 118921 128   n    y     0 
        0
/sys/kernel/debug/dri/0/clients:               Talos 37263 128   n    n  1000  
       0


The default pp_power_profile_mode was 1 (3D_FULL_SCREEN). I switched it just
now to 5 (COMPUTE), but results are the same.

The gpu_busy_percent switches every second between something close to 0 and
something close to 100. Despite the game constantly submitting the work and
rendering at ~200 FPS.

The pp_dpm_sclk starts high and slowly goes down step by step, and eventually
goes back to 7 (1050MHz), and process repeats.

I tried doing:

echo "7" >  /sys/class/drm/card0/device/pp_dpm_sclk
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level

and I see no differences, still same effect.


You are receiving this mail because:
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux