Steam for Linux

Steam for Linux

kentosama 8 Jan, 2020 @ 2:44pm
Low FPS and Low GPU usage with R9 280X
Hello, I'm coming to ask for help with a performance issue in all games. Four days ago, I reported the problem on the Mesa gitlab site, but have not received a response to now. I also asked for help on Proton's discord, but no one could find a solution to my problem.

My issue is strange, because I have very poor performance in games and my GPU is not used properly. GPU usage is very low on complex scenes and high on simple scenes.

In the Tomb Raider game, if I face the slum, the framerate is very low with the graphics on high and GPU usage is at 15%. If I turn my back on the slum, I gain FPS and GPU usage goes up to 60%. I specify that the game run very well on Windows 7/10 with the graphics on "ultimate".

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1963715497
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1957044515

I tested several games including Serious Sam 3 which has a very bad framerate and low GPU usage.

This is also the same for Dawn of War II which displays more than 400fps with 90% GPU usage on the title screen, but the framerate becomes very low in game with ridiculous GPU usage.

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1963715919
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1963716182

I also tried Resident Evil HD Remaster with Proton 4.11.11, the framerate is not very high and the GPU usage at 60%.

I'm using Debian Buster with an AMD FX 8320 processor, an AMD Radeon 280X graphics card and 8GB RAM.

I use the AMDGPU drivers with MESA 18.3.6. I was gone to Bullseye then Sid to get the latest version of MESA, but the problem is the same. I reinstalled Debian Buster and the problem is still present.

Here is some useful information:

kentosama@desktop:~$ lspci -nnk | grep -iA2 vga 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002:6798] Subsystem: PC Partner Limited / Sapphire Technology Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [174b:3001] Kernel driver in use: amdgpu

root@desktop:/home/kentosama# glxinfo | grep 'version' server glx version string: 1.4 client glx version string: 1.4 GLX version: 1.4 Max core profile version: 4.5 Max compat profile version: 4.5 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6 OpenGL core profile shading language version string: 4.50 OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.6 OpenGL shading language version string: 4.50 OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

root@desktop:/home/kentosama# vblank_mode=0 glxgears ATTENTION: default value of option vblank_mode overridden by environment. 35218 frames in 5.0 seconds = 7043.509 FPS 36581 frames in 5.0 seconds = 7316.193 FPS 36422 frames in 5.0 seconds = 7284.205 FPS 36791 frames in 5.0 seconds = 7358.112 FPS 37151 frames in 5.0 seconds = 7430.138 FPS 37029 frames in 5.0 seconds = 7405.755 FPS 35931 frames in 5.0 seconds = 7186.157 FPS 36651 frames in 5.0 seconds = 7330.143 FPS 36624 frames in 5.0 seconds = 7324.689 FPS 37262 frames in 5.0 seconds = 7452.346 FPS 37003 frames in 5.0 seconds = 7400.469 FPS 37527 frames in 5.0 seconds = 7505.247 FPS 37446 frames in 5.0 seconds = 7489.187 FPS 37173 frames in 5.0 seconds = 7434.550 FPS 38148 frames in 5.0 seconds = 7629.411 FPS 37761 frames in 5.0 seconds = 7552.134 FPS 37685 frames in 5.0 seconds = 7536.944 FPS 38058 frames in 5.0 seconds = 7611.521 FPS 36959 frames in 5.0 seconds = 7391.777 FPS

root@desktop:/home/kentosama# echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level root@desktop:/home/kentosama# sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info Clock Gating Flags Mask: 0x0 Graphics Medium Grain Clock Gating: Off Graphics Medium Grain memory Light Sleep: Off Graphics Coarse Grain Clock Gating: Off Graphics Coarse Grain memory Light Sleep: Off Graphics Coarse Grain Tree Shader Clock Gating: Off Graphics Coarse Grain Tree Shader Light Sleep: Off Graphics Command Processor Light Sleep: Off Graphics Run List Controller Light Sleep: Off Graphics 3D Coarse Grain Clock Gating: Off Graphics 3D Coarse Grain memory Light Sleep: Off Memory Controller Light Sleep: Off Memory Controller Medium Grain Clock Gating: Off System Direct Memory Access Light Sleep: Off System Direct Memory Access Medium Grain Clock Gating: Off Bus Interface Medium Grain Clock Gating: Off Bus Interface Light Sleep: Off Unified Video Decoder Medium Grain Clock Gating: Off Video Compression Engine Medium Grain Clock Gating: Off Host Data Path Light Sleep: Off Host Data Path Medium Grain Clock Gating: Off Digital Right Management Medium Grain Clock Gating: Off Digital Right Management Light Sleep: Off Rom Medium Grain Clock Gating: Off Data Fabric Medium Grain Clock Gating: Off uvd vclk: 0 dclk: 0 power level 3 sclk: 105000 mclk: 150000 vddc: 1200 vddci: 875 pcie gen: 2

Thanks by advance for your help.
Last edited by kentosama; 8 Jan, 2020 @ 2:54pm
< >
Showing 1-3 of 3 comments
Aoi Blue 10 Jan, 2020 @ 5:23pm 
First, you aren't providing any of the right info.
You need to grep the hardware driver string, not the mesa version string.

Using "glxinfo -B" should make the output short enough to just copy and paste from the terminal window.

None of that other information is useful either.
Especially not GLXGEARS.
GLXGEARS is an A/B test to make sure that GL is working at all.
If it works, report as such.

Additionally you used the 64bit version of glxinfo, when both games you listed are 32bit games.

Do you have the info provided by the "System Information" panel under help from Steam.

That is the environment Steam is getting, as opposed to your command line.

Additionally you might want to pull the version line and driver line from "vulkaninfo".

I wish I could tell you were to get good latest drivers for Debian, but I only know where to get the Ubuntu ones.
kentosama 11 Jan, 2020 @ 3:14am 
Hello Aoi Blue, thanks for your help.

kentosama@desktop:~$ glxinfo -B name of display: :0 display: :0 screen: 0 direct rendering: Yes Extended renderer info (GLX_MESA_query_renderer): Vendor: X.Org (0x1002) Device: AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0, 4.19.0-6-amd64, LLVM 7.0.1) (0x6798) Version: 18.3.6 Accelerated: yes Video memory: 3072MB Unified memory: no Preferred profile: core (0x1) Max core profile version: 4.5 Max compat profile version: 4.5 Max GLES1 profile version: 1.1 Max GLES[23] profile version: 3.2 Memory info (GL_ATI_meminfo): VBO free memory - total: 2690 MB, largest block: 2690 MB VBO free aux. memory - total: 2940 MB, largest block: 2940 MB Texture free memory - total: 2690 MB, largest block: 2690 MB Texture free aux. memory - total: 2940 MB, largest block: 2940 MB Renderbuffer free memory - total: 2690 MB, largest block: 2690 MB Renderbuffer free aux. memory - total: 2940 MB, largest block: 2940 MB Memory info (GL_NVX_gpu_memory_info): Dedicated video memory: 3072 MB Total available memory: 6144 MB Currently available dedicated video memory: 2690 MB OpenGL vendor string: X.Org OpenGL renderer string: AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0, 4.19.0-6-amd64, LLVM 7.0.1) OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6 OpenGL core profile shading language version string: 4.50 OpenGL core profile context flags: (none) OpenGL core profile profile mask: core profile OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.6 OpenGL shading language version string: 4.50 OpenGL context flags: (none) OpenGL profile mask: compatibility profile OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

========== VULKANINFO ========== Vulkan Instance Version: 1.1.97 Instance Extensions: ==================== Instance Extensions count = 17 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 9 VK_EXT_debug_utils : extension revision 1 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities: extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2: extension revision 1 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6

Steam system informations :

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD FX(tm)-8320 Eight-Core Processor CPU Family: 0x15 CPU Model: 0x2 CPU Stepping: 0x0 CPU Type: 0x0 Speed: 3500 Mhz 8 logical processors 8 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Unsupported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: Debian GNU/Linux 10 (buster) (64 bit) Kernel Name: Linux Kernel Version: 4.19.0-6-amd64 X Server Vendor: The X.Org Foundation X Server Release: 12004000 X Window Manager: Mutter (Muffin) Steam Runtime Version: steam-runtime_0.20191210.1 Video Card: Driver: X.Org AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0, 4.19.0-6-amd64, LLVM 7.0.1) Driver Version: 4.5 (Compatibility Profile) Mesa 18.3.6 OpenGL Version: 4.5 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x1002 DeviceID: 0x6798 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 20.91" x 11.77" (23.98" diag) 53.1cm x 29.9cm (60.9cm diag) Primary VRAM: 3072 MB Sound card: Audio device: VIA VT2020 Memory: RAM: 7782 Mb Miscellaneous: UI Language: English LANG: fr_FR.UTF-8 Total Hard Disk Space Available: 120439 Mb Largest Free Hard Disk Block: 75304 Mb VR Headset: None detected

kentosama@teradrive:~/glmark2$ glmark2 -b 'terrain' ======================================================= glmark2 2017.07 ======================================================= OpenGL Information GL_VENDOR: X.Org GL_RENDERER: AMD Radeon HD 7900 Series (TAHITI, DRM 3.27.0, 4.19.0-6-amd64, LLVM 7.0.1) GL_VERSION: 4.5 (Compatibility Profile) Mesa 18.3.6 ======================================================= [terrain] <default>: FPS: 1335 FrameTime: 0.749 ms ======================================================= glmark2 Score: 1335 =======================================================
Last edited by kentosama; 11 Jan, 2020 @ 9:37am
Zugastach 13 Jan, 2020 @ 7:54pm 
I Used Ubutu 18 (MESA full update) and FPS 30 aprox (Vega 11 AMD Ryzen 5 3400G) in Tomb Raider. (perfect frames, better W10).

PD ..." OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.3.2 - kisak-mesa" (you have MESA 18) but the new version is 19. I have full MESA update add repos in ubuntu

https://github.com/ValveSoftware/Proton/wiki/Requirements (maybe this link help u)

Last edited by Zugastach; 13 Jan, 2020 @ 7:54pm
< >
Showing 1-3 of 3 comments
Per page: 1530 50