100% GPU usage for static image #89

Closed
opened 2021-10-03 22:49:17 +02:00 by davidak · 3 comments

here is a lot room for improving the performance

it's probably something upstream has to fix. maybe you can create a useful bugreport there

https://youtu.be/cHlmFDIA4JU?t=283


Liblast 0.1.0-pre-alpha
Run inside steam-run FHS bwrap container on NixOS 21.11.git.b7bd131f9cf

here is a lot room for improving the performance it's probably something upstream has to fix. maybe you can create a useful bugreport there https://youtu.be/cHlmFDIA4JU?t=283 --- Liblast 0.1.0-pre-alpha Run inside steam-run FHS bwrap container on NixOS 21.11.git.b7bd131f9cf

Run inside steam-run FHS bwrap container

What is that? Could it have a negative impact?

> Run inside steam-run FHS bwrap container What is that? Could it have a negative impact?

It's similar to what Steam uses in it's "Steam Linux Runtime". Like chroot or docker.

https://github.com/containers/bubblewrap

It could have a small negative impact, but shouldn't be noticeable.

NixOS does not follow the Linux File System Hirarchy (FHS), so i have to run programs, that are not packaged for NixOS, like Steam games, in such a container. It's the same as our steam package works. That's why it's called steam-run.

[davidak@gaming:~/Downloads/Liblast 0.1.0.1-pre-alpha]$ ldd Liblast\ Linux 
	linux-vdso.so.1 (0x00007fffba5bd000)
	libXcursor.so.1 => not found
	libXinerama.so.1 => not found
	libXext.so.6 => not found
	libXrandr.so.2 => not found
	libXrender.so.1 => not found
	libX11.so.6 => not found
	libXi.so.6 => not found
	libdbus-1.so.3 => not found
	libGL.so.1 => not found
	libpthread.so.0 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libpthread.so.0 (0x00007f190a261000)
	libdl.so.2 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libdl.so.2 (0x00007f190a25c000)
	libm.so.6 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libm.so.6 (0x00007f190a119000)
	libc.so.6 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libc.so.6 (0x00007f1909f54000)
	/lib64/ld-linux-x86-64.so.2 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib64/ld-linux-x86-64.so.2 (0x00007f190a285000)

[davidak@gaming:~/Downloads/Liblast 0.1.0.1-pre-alpha]$ steam-run ldd Liblast\ Linux 
	linux-vdso.so.1 (0x00007fff319f4000)
	libXcursor.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f90a299c000)
	libXinerama.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f90a2799000)
	libXext.so.6 => /lib64/libXext.so.6 (0x00007f90a2784000)
	libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f90a2777000)
	libXrender.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f90a256b000)
	libX11.so.6 => /lib64/libX11.so.6 (0x00007f90a2426000)
	libXi.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f90a2216000)
	libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f90a21c0000)
	libGL.so.1 => /lib64/libGL.so.1 (0x00007f90a2132000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a2112000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00007f90a210b000)
	libm.so.6 => /lib64/libm.so.6 (0x00007f90a1fca000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f90a1e05000)
	/lib64/ld-linux-x86-64.so.2 => /nix/store/dn1c6x2s1fll9qm261bnzqc32w3klv2m-glibc-multi-2.33-50/lib/ld-linux-x86-64.so.2 (0x00007f90a2ba8000)
	libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f90a1dfc000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f90a1dd0000)
	libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f90a1ceb000)
	libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f90a1cb6000)
	libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f90a1bfd000)
	libXau.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f90a19f9000)
	libXdmcp.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f90a17f3000)
	librt.so.1 => /lib64/librt.so.1 (0x00007f90a17e8000)
	liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f90a17bc000)
	liblz4.so.1 => /nix/store/hbqxcxihjhrsfnymcp06gm8nj2ml27kf-lz4-1.9.3/lib/liblz4.so.1 (0x00007f90a1788000)
	libcap.so.2 => /lib64/libcap.so.2 (0x00007f90a177d000)
	libgcrypt.so.20 => /nix/store/qhacicnn069ab8030jx740yvhwhfy5cf-libgcrypt-1.9.4/lib/libgcrypt.so.20 (0x00007f90a1641000)
	libgpg-error.so.0 => /steamrt/amd64/lib/libgpg-error.so.0 (0x00007f90a1618000)
It's similar to what Steam uses in it's "Steam Linux Runtime". Like chroot or docker. https://github.com/containers/bubblewrap It could have a small negative impact, but shouldn't be noticeable. NixOS does not follow the Linux File System Hirarchy (FHS), so i have to run programs, that are not packaged for NixOS, like Steam games, in such a container. It's the same as our steam package works. That's why it's called `steam-run`. ``` [davidak@gaming:~/Downloads/Liblast 0.1.0.1-pre-alpha]$ ldd Liblast\ Linux linux-vdso.so.1 (0x00007fffba5bd000) libXcursor.so.1 => not found libXinerama.so.1 => not found libXext.so.6 => not found libXrandr.so.2 => not found libXrender.so.1 => not found libX11.so.6 => not found libXi.so.6 => not found libdbus-1.so.3 => not found libGL.so.1 => not found libpthread.so.0 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libpthread.so.0 (0x00007f190a261000) libdl.so.2 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libdl.so.2 (0x00007f190a25c000) libm.so.6 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libm.so.6 (0x00007f190a119000) libc.so.6 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib/libc.so.6 (0x00007f1909f54000) /lib64/ld-linux-x86-64.so.2 => /nix/store/mij848h2x5wiqkwhg027byvmf9x3gx7y-glibc-2.33-50/lib64/ld-linux-x86-64.so.2 (0x00007f190a285000) [davidak@gaming:~/Downloads/Liblast 0.1.0.1-pre-alpha]$ steam-run ldd Liblast\ Linux linux-vdso.so.1 (0x00007fff319f4000) libXcursor.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f90a299c000) libXinerama.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007f90a2799000) libXext.so.6 => /lib64/libXext.so.6 (0x00007f90a2784000) libXrandr.so.2 => /lib64/libXrandr.so.2 (0x00007f90a2777000) libXrender.so.1 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f90a256b000) libX11.so.6 => /lib64/libX11.so.6 (0x00007f90a2426000) libXi.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007f90a2216000) libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f90a21c0000) libGL.so.1 => /lib64/libGL.so.1 (0x00007f90a2132000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a2112000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f90a210b000) libm.so.6 => /lib64/libm.so.6 (0x00007f90a1fca000) libc.so.6 => /lib64/libc.so.6 (0x00007f90a1e05000) /lib64/ld-linux-x86-64.so.2 => /nix/store/dn1c6x2s1fll9qm261bnzqc32w3klv2m-glibc-multi-2.33-50/lib/ld-linux-x86-64.so.2 (0x00007f90a2ba8000) libXfixes.so.3 => /lib64/libXfixes.so.3 (0x00007f90a1dfc000) libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f90a1dd0000) libsystemd.so.0 => /lib64/libsystemd.so.0 (0x00007f90a1ceb000) libGLX.so.0 => /lib64/libGLX.so.0 (0x00007f90a1cb6000) libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007f90a1bfd000) libXau.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f90a19f9000) libXdmcp.so.6 => /steamrt/amd64/usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f90a17f3000) librt.so.1 => /lib64/librt.so.1 (0x00007f90a17e8000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f90a17bc000) liblz4.so.1 => /nix/store/hbqxcxihjhrsfnymcp06gm8nj2ml27kf-lz4-1.9.3/lib/liblz4.so.1 (0x00007f90a1788000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f90a177d000) libgcrypt.so.20 => /nix/store/qhacicnn069ab8030jx740yvhwhfy5cf-libgcrypt-1.9.4/lib/libgcrypt.so.20 (0x00007f90a1641000) libgpg-error.so.0 => /steamrt/amd64/lib/libgpg-error.so.0 (0x00007f90a1618000) ```
gilgamesh added the
bug
label 2021-12-14 16:02:54 +01:00

Most likely upstream. Nobody reported this during recent 2 playtesting sessions, so I assume it's not a problem anymore. Closing.

Most likely upstream. Nobody reported this during recent 2 playtesting sessions, so I assume it's not a problem anymore. Closing.
unfa closed this issue 2022-01-03 15:31:10 +01:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
2 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unfa/liblast#89
There is no content yet.