Gerion Entrup
Gerion Entrup
Just to add another argument: Installing [doctest on Gentoo](https://packages.gentoo.org/packages/dev-cpp/doctest) leads to these files: ``` /usr /usr/include /usr/include/doctest /usr/include/doctest/doctest.h /usr/include/doctest/extensions /usr/include/doctest/extensions/doctest_mpi.h /usr/include/doctest/extensions/doctest_util.h /usr/include/doctest/extensions/mpi_reporter.h /usr/include/doctest/extensions/mpi_sub_comm.h /usr/lib64 /usr/lib64/cmake /usr/lib64/cmake/doctest /usr/lib64/cmake/doctest/doctest.cmake /usr/lib64/cmake/doctest/doctestAddTests.cmake /usr/lib64/cmake/doctest/doctestConfig.cmake /usr/lib64/cmake/doctest/doctestConfigVersion.cmake...
In readeontop the information is retrieved by calling a specific function of libdrm ([`amdgpu_query_info()`](https://github.com/clbr/radeontop/blob/ec97e6f11b106bcb1b3aadaa9a173afd61e3eb03/amdgpu.c#L45)). `strace` filtered by open results in these files: ``` openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 openat(AT_FDCWD, "/usr/lib64/libdrm_amdgpu.so.1",...
I digged around a little bit in the sysfs. This file looks really promising: ``` cat /sys/class/graphics/fb0/device/mem_info_gtt_used 15523934208 cat /sys/class/graphics/fb0/device/mem_info_gtt_total 16167870464 ``` radeontop at the same time reports `14805M /...
Grepping in the Linux source results in: ``` $ rg mem_info_gtt_used drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c 56: * DOC: mem_info_gtt_used 60: * The file mem_info_gtt_used is used for this, and returns the current used...
The Intel driver (i915) has a lot of GTT specific code in the kernel. Maybe some usable numbers can be found in this file: `/sys/kernel/debug/dri/*/i915_gem_objects` (Source: [Stackexchange](https://unix.stackexchange.com/a/483006)).
I forgot: - py-spy: 0.3.14 - Python: 3.11 - Cython: 3.0.2 - Boost: 1.82.0
I have the same issue (with Qt 6.7.0, Wayland with Kwin 6.0.4.1). Here is my log, when starting OMaps (it does not contain the above error): ``` I(1) 0.00000 qt/main.cpp:112...
BTW: > ``` > I(1) 0.38791 qt_common/map_widget.cpp:351 initializeGL(): OpenGL version is at least 3.0, enabling GLSL '#version 300 es' > ``` Here, the renderer can take a different path: ```cpp...
Is there another workaround than downgrading? So - if there are multiple rendering backends - maybe it is possible to switch to another one (pure software rendering for example), even...
This can be workarounded (without layman): ``` $ cat /etc/portage/repos.conf/riscv.conf [riscv] location = /usr/overlays/riscv-gentoo sync-type = git sync-uri = https://github.com/palmer-dabbelt/riscv-gentoo auto-sync = yes ```