Closed AllPlatform closed 3 years ago
Sorry, I’m not providing user-facing support for this project right now. Feel free to submit a pull request.
I just want to use the OpenGL remote from glshim for ExaGear
I just want to use the OpenGL remote from glshim for ExaGear
@AllPlatform Use gl4es?
gl4es is not the same project as glshim anymore, as ptitseb never integrated my improvements / remote rendering and never upstreamed any fixes. gl4es does not support remote rendering or my software renderer, see the following links:
Just to mention, gl4es cannot be used with Exagear (or QEMU), as I never implemented the "proxy" mode that lunixbochs developped in glshim (and it was never my intension to do so, as I had other ideas in mind for 3D acceleration in emulation).
You could use gl4es with box86 instead of exagear though.
Ah ok
@lunixbochs ?
gl4es is not the same project as glshim anymore, as ptitseb never integrated my improvements / remote rendering and never upstreamed any fixes. gl4es does not support remote rendering or my software renderer, see the following links:
Just to mention, gl4es cannot be used with Exagear (or QEMU), as I never implemented the "proxy" mode that lunixbochs developped in glshim (and it was never my intension to do so, as I had other ideas in mind for 3D acceleration in emulation).
You could use gl4es with box86 instead of exagear though.
@lunixbochs Then use it with wine?
@Malaska678 gl4es It is very hard to use on Android and I also have no idea, In java it is very difficult to call functions from java or android uses only OpenGL ES so there is no statement calling OpenGL, To use the gl4es library ptitSeb suggested using the native code SDL and I'm not good at C and java either
I used to think it like this but it's really difficult it need call JNI function from a method in C
U call yourself bad but look at me. I can only create simple calculator 3 nums only so im way more bad
last released exagear versions has some loader support (it seems can load ld-linux), so it is potentially possible to implement faster proxy for gl4es
@mittorn
Is it like this?
LD_LIBRARY_PATH=/PATH/TO/LibGL.so libubt
i don't know how to make exagear Windows emulator recognize libGL.so file
No, it will not work as is. And we do not have any docs for it, but it seems to possible to implement some proxy using it
I just realized im talking to akira yuki
My messages are too cringy... Im still not a programmer btw but i understand now...
root@localhost:~/glshim/build#
cmake ..-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /root/glshim/build
root@localhost:~/glshim/build# uname -a
Linux localhost 3.18.120-perf-gd85b39b #1 SMP PREEMPT Fri May 8 17:16:24 CST 2020 i686 i686 i686 GNU/Linuxroot@localhost:~/glshim/build# make Scanning dependencies of target GL_obj
[ 2%] Building C object src/CMakeFiles/GL_obj.dir/gl/wrap/stub.c.o
In file included/root/glshim/src/gl/wrap/../../util/vectorial/simd4f_gnu.h: In function ‘simd4f_create’: /root/glshim/src/gl/wrap/../../util/vectorial/simd4f_gnu.h:31:1: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] vectorial_inline simd4f simd4f_create(float x, float y, float z, float w) { ^
[ 5%] Building C object src/CMakeFiles/GL_obj.dir/gl/wrap/gl.c.o
Pls help