https://github.com/BrutPitt/glChAoS.P
https://duckduckgo.com/?t=ffsb&q=glchaos.p&ia=images&iax=images
As the title says. Ideally a generous soul would compile and make it available in a personal repo, as there is no package in openSUSE downloads search.
Barring that, how would I proceed to compile & install it? I mean the pitfalls, where do I find a list of dependencies (if any), openSUSE-specific details and probably a few other things.
I don’t know the first thing about this, except the configure/make/make install mantra. The few times I tried it, many years ago, ended in spectacular failures.
I’m looking at some generic instructions online, but…
Thanks a lot,
Bruno
OK, for some reason I didn’t notice the build instructions in github, sorry for the noob questions. I’ll try compiling, hope it works.
And so it begins…
cmake-gui error - requires cmake 3.15 or newer, only version 3.10 in standard repos.
:\
tsu2
October 10, 2020, 1:08pm
#4
Hi,
I wrote a Wiki article that describes how to find files you might need…
https://en.opensuse.org/User:Tsu2/Missing_Files_Dependencies
If you run through those tries and still can’t find the file you need… Or, at least run through the tries you’re willing to run (some you might not want to do, it’s all a matter of personal preference), then post again and someone will do their own search.
TSU
Thanks, but this is basic stuff. My problem is compiling, not finding packages in repos. Stuff like, for instance:
no cmake ver 3.15 in any standard, experimental or community repo;
alternatives to cmake-gui that can do with ver 3.10;
other compiling options - and no, there’s no configure file in src, so no ./configure, make,make install AFAIKS.
And so on.
brunomcl:
Thanks, but this is basic stuff. My problem is compiling, not finding packages in repos. Stuff like, for instance:
no cmake ver 3.15 in any standard, experimental or community repo;
alternatives to cmake-gui that can do with ver 3.10;
other compiling options - and no, there’s no configure file in src, so no ./configure, make,make install AFAIKS.
And so on.
Hi
Likely time to upgrade? For cmake, look in the CMakeLists.txt to see what happens…
Downloaded ver 3.18 from https://cmake.org/download/ although I feel safer installing from repos.
Installed locally in ~/bin/cmake-3.18.4-Linux-x86_64, ran cmake-gui from this folder:
The C compiler identification is GNU 7.5.0
The CXX compiler identification is GNU 7.5.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Found OpenGL: /usr/lib64/libOpenGL.so
Configuring done
Generating done
But command line shows:
Error: could not find CMAKE_PROJECT_NAME in Cache
cmake-gui created these folders and files:
:~/bin/apps> tree CMakeFiles
CMakeFiles
├── 3.18.4
│ ├── CMakeCCompiler.cmake
│ ├── CMakeCXXCompiler.cmake
│ ├── CMakeDetermineCompilerABI_C.bin
│ ├── CMakeDetermineCompilerABI_CXX.bin
│ ├── CMakeSystem.cmake
│ ├── CompilerIdC
│ │ ├── a.out
│ │ ├── CMakeCCompilerId.c
│ │ └── tmp
│ └── CompilerIdCXX
│ ├── a.out
│ ├── CMakeCXXCompilerId.cpp
│ └── tmp
├── cmake.check_cache
├── CMakeDirectoryInformation.cmake
├── CMakeOutput.log
├── CMakeTmp
├── Makefile2
├── Makefile.cmake
├── progress.marks
├── TargetDirectories.txt
└── wglChAoSP.dir
├── build.make
├── cmake_clean.cmake
├── DependInfo.cmake
├── depend.make
├── flags.make
├── link.txt
├── progress.make
└── src
├── libs
│ └── imgui
├── tools
└── ui
12 directories, 23 files
Now what? And is that error relevant? Should I have given the project a name, if so how?
So many questions, so little time…
brunomcl:
Downloaded ver 3.18 from https://cmake.org/download/ although I feel safer installing from repos.
Installed locally in ~/bin/cmake-3.18.4-Linux-x86_64, ran cmake-gui from this folder:
The C compiler identification is GNU 7.5.0
The CXX compiler identification is GNU 7.5.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: /usr/bin/cc - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++ - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Found OpenGL: /usr/lib64/libOpenGL.so
Configuring done
Generating done
But command line shows:
Error: could not find CMAKE_PROJECT_NAME in Cache
cmake-gui created these folders and files:
:~/bin/apps> tree CMakeFiles
CMakeFiles
├── 3.18.4
│ ├── CMakeCCompiler.cmake
│ ├── CMakeCXXCompiler.cmake
│ ├── CMakeDetermineCompilerABI_C.bin
│ ├── CMakeDetermineCompilerABI_CXX.bin
│ ├── CMakeSystem.cmake
│ ├── CompilerIdC
│ │ ├── a.out
│ │ ├── CMakeCCompilerId.c
│ │ └── tmp
│ └── CompilerIdCXX
│ ├── a.out
│ ├── CMakeCXXCompilerId.cpp
│ └── tmp
├── cmake.check_cache
├── CMakeDirectoryInformation.cmake
├── CMakeOutput.log
├── CMakeTmp
├── Makefile2
├── Makefile.cmake
├── progress.marks
├── TargetDirectories.txt
└── wglChAoSP.dir
├── build.make
├── cmake_clean.cmake
├── DependInfo.cmake
├── depend.make
├── flags.make
├── link.txt
├── progress.make
└── src
├── libs
│ └── imgui
├── tools
└── ui
12 directories, 23 files
Now what? And is that error relevant? Should I have given the project a name, if so how?
So many questions, so little time…
Hi
Hard to say, you ran cmake in the src directory, or created a build directory (normal practice)?
Oh well, can’t take the time now. Perhaps some day. Or not.
Thanks anyway.
Hi
I can take a look at a rpm, but won’t be for Leap 15.1… 15.2 if it meets requirements or Tumbleweed…
crmrhm
October 12, 2020, 4:51am
#12
I installed OK, and ran, getting
howard@HP-oS15KDE:/usr/bin> sudo ./glChAoSP
[sudo] password for root:
Create initial user directory...
Copying ChaoticAttractors data
Copying colorMaps data
Copying Fonts data
Copying renderCfg data
Copying Shaders data
Copying startData data
Error: X11: The DISPLAY environment variable is missing
howard@HP-oS15KDE:/usr/bin>
This is with
howard@HP-oS15KDE:/usr/bin> inxi -G
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon v: kernel
Display: x11 server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa resolution: 1280x1024~60Hz
OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.3.18-lp152.44-default LLVM 9.0.1) v: 3.3 Mesa 19.3.4
howard@HP-oS15KDE:/usr/bin>
Will it work with this card? If so, what do I need to do to fix the error?
Thanks,
crmrhm:
I installed OK, and ran, getting
howard@HP-oS15KDE:/usr/bin> sudo ./glChAoSP
[sudo] password for root:
Create initial user directory...
Copying ChaoticAttractors data
Copying colorMaps data
Copying Fonts data
Copying renderCfg data
Copying Shaders data
Copying startData data
Error: X11: The DISPLAY environment variable is missing
howard@HP-oS15KDE:/usr/bin>
This is with
howard@HP-oS15KDE:/usr/bin> inxi -G
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] driver: radeon v: kernel
Display: x11 server: X.Org 1.20.3 driver: modesetting unloaded: fbdev,vesa resolution: 1280x1024~60Hz
OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.3.18-lp152.44-default LLVM 9.0.1) v: 3.3 Mesa 19.3.4
howard@HP-oS15KDE:/usr/bin>
Will it work with this card? If so, what do I need to do to fix the error?
Thanks,
Hi
Should work, you run as your user, not root user…
crmrhm
October 12, 2020, 5:10am
#14
As user I get
howard@HP-oS15KDE:~> /usr/bin/glChAoSP
Error: GLX: Failed to create context: GLXBadFBConfig
howard@HP-oS15KDE:~>
Fixable?
Thanks,
Hi
Likely only openGL 4.1, it’s compiled for 4.5 I can do a special build, but will be slow…
crmrhm
October 12, 2020, 5:46am
#16
Info Center reports it is OpenGL version 3.1 Mesa 19.3.4, so may well not be up to the task. Probably do not bother with another build. This was just going to be shelter-in-place entertainment for me.
Brilliant, Malcolm, thanks a lot! lol!
One more incentive to upgrade. Usually I stay put until EOL in my main/work machine with the beefed-up graphics. The others are IGP.
And your 15.2 package works in 15.1 here. OpenGL vers. 4.6 nvidia blob.
4k is laggy as hell, but full HD is fine.
Svyatko
October 12, 2020, 12:15pm
#19
brunomcl:
And your 15.2 package works in 15.1 here. OpenGL vers. 4.6 nvidia blob.
4k is laggy as hell, but full HD is fine.
Hi
Just so your aware, I created a wrapper script to basically copy the files, fonts etc over into ~/.config/glChAoSP from /usr/share/glChAosP and run from there as there is no install… developer expects to compile/build as a user…