Hello, Please kindly make an ebuild for the appliation glxosd. https://github.com/nickguletskii/GLXOSD This tool can monitor fps in native linux games. I have tried to build it but the compilation fails with many errors related to boost. Cheers,
Created attachment 386570 [details] glxosd-2.3.3.ebuild It doesn't compile with stable dev-libs/boost, and the upstream documentation notes it should compile on Ubuntu, so this needs some testing to determine which boost version should be used.
Hello, I would be happy to help and test/do what is needed. Please kindly inform us if you need any testing.
(In reply to Kete Tefid from comment #2) > Hello, > I would be happy to help and test/do what is needed. Please kindly inform us > if you need any testing. Figure out which minimum version of dev-libs/boost this requires.
Testing all of the available boost versions in the portage the minimum one was found to be =dev-libs/boost-1.54.0-r1. However, having built the package from the source (not using the ebuild), it refused to work with the following errors: glxosd glxgears ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd.soERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. Somehow it cannot find the libs. /usr/local/lib is in the path.
Created attachment 387270 [details] glxosd-2.3.3.ebuild
Thank you very much for your work. I installed the package through the ebuild you made and now the former errors are gone but a new one has appeared: terminate called after throwing an instance of 'std::runtime_error' what(): Couldn't compile GLXOSD shader: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES /usr/bin/glxosd: line 70: 31427 Aborted "$@" Is this gentoo related? Maybe it does not work for intel gpus.
(In reply to Kete Tefid from comment #6) > Thank you very much for your work. > I installed the package through the ebuild you made and now the former > errors are gone but a new one has appeared: > > terminate called after throwing an instance of 'std::runtime_error' > what(): Couldn't compile GLXOSD shader: 0:1(10): error: GLSL 1.30 is not > supported. Supported versions are: 1.10, 1.20, and 1.00 ES > > /usr/bin/glxosd: line 70: 31427 Aborted "$@" > > > Is this gentoo related? Maybe it does not work for intel gpus. It's probably driver support, yes. It happens to work on an Nvidia GT 6200 here, but I haven't tried running on other systems or figuring out how to break it. I did notice that the lettering of the actual statistics was off in colour and hardly legible.
Hello, I have tested this ebuild on an AMD system and I can confirm that it works. Some modification are needed in the main script glxosd in /usr/bin, the most important of which is changing the following lines: GLXOSD_LIBRARY_PATH_I386="/usr//lib/i386-linux-gnu//glxosd/" GLXOSD_LIBRARY_PATH_AMD64="/usr//lib/x86_64-linux-gnu//glxosd/" to: GLXOSD_LIBRARY_PATH_AMD64="/usr/lib64/" GLXOSD_LIBRARY_PATH_I386="/usr/lib32/" The package works with different configurations. However, the main problem is that the application does not work with 32 built binaries and it outputs these errors: ERROR: ld.so: object 'libglxosd-elfhacks.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object 'libglxosd-glinject.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. ERROR: ld.so: object 'libglxosd.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Is this gentoo related or upstream related? Can it be built in a multilib mode? Even it does not work with steam games.