You are not logged in.

#1 2021-04-25 15:41:53

gutifarra
Member
Registered: 2021-03-14
Posts: 1

Poor OpenGL performance, but only when keyboard is plugged in (mesa)

I'm having a strange issue when playing the Metro Redux native games (2033 and Last Light).

The performance has always been very bad but I just attributed it to a combination of poor optimization on the dev's part and recent hardware (running a 6700XT using mesa-git), however I recently realized that if the keyboard is not plugged in, my FPS jumps from 40-60 to a more reasonable 160. I obviously can't do much without the keyboard, but has this occurred to anybody else?

If anybody has any idea what could be causing this and where to start looking to troubleshoot it, I' really appreciate it, as  I'm honestly at a complete loss as to what could be causing this.  Below is the output of glxinfo -B, I'm running KDE using linux-zen kernel.

 
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD NAVY_FLOUNDER (DRM 3.40.0, 5.11.16-zen1-1-zen, LLVM 11.1.0) (0x73df)
    Version: 21.2.0
    Accelerated: yes
    Video memory: 12288MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 11203 MB, largest block: 11203 MB
    VBO free aux. memory - total: 12090 MB, largest block: 12090 MB
    Texture free memory - total: 11203 MB, largest block: 11203 MB
    Texture free aux. memory - total: 12090 MB, largest block: 12090 MB
    Renderbuffer free memory - total: 11203 MB, largest block: 11203 MB
    Renderbuffer free aux. memory - total: 12090 MB, largest block: 12090 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 12288 MB
    Total available memory: 24560 MB
    Currently available dedicated video memory: 11203 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD NAVY_FLOUNDER (DRM 3.40.0, 5.11.16-zen1-1-zen, LLVM 11.1.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.2.0-devel (git-6c80b084f2)
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.2.0-devel (git-6c80b084f2)
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.0-devel (git-6c80b084f2)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

EDIT: So I've now narrowed it down to the keyboard, my Anne Pro 2. Using another keyboard does not result in the same problems. Tested with multiple USB cables. If anybody has any idea how to troubleshoot advice would be great, but in the meanwhile the solution is to not use the Anne Pro 2.

Last edited by gutifarra (2021-04-25 15:54:21)

Offline

#2 2021-04-26 11:55:08

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,350

Re: Poor OpenGL performance, but only when keyboard is plugged in (mesa)

https://www.annepro.net/products/anne-pro-2 is the keyboard ?

Some things to look into :
Does disabling bluetooth make a difference ?

Have you tried different USB ports ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB