Coder Social home page Coder Social logo

Comments (3)

ducphamhong avatar ducphamhong commented on June 19, 2024

Hello Joilnen.
Do you use the SDL Backend?
And can you tell me what Linux OS which you are using to run?

I tested and run well on Ubuntu - XWindow - glx (not yet test Editor). The Linux still supports OpenGL 4.6
https://github.com/skylicht-lab/skylicht-engine/blob/master/Projects/Irrlicht/Source/CIrrDeviceLinux.cpp

Can you test make sure the CMake Linux is ON (CMakeLists.txt line 71)

if (CMAKE_SYSTEM_NAME STREQUAL Linux)
    set(BUILD_LINUX ON)
    add_definitions(-DLINUX)
endif()

The engine still supports OpenGLES 3.0, but I just test this driver on Android and WebGL Emscripten.
g_device = createDevice(video::EDT_OPENGLES, dimension2d<u32>(width, height), 32, false, false, false, g_mainApp);
You can see: https://github.com/skylicht-lab/skylicht-engine/blob/master/Projects/Template/Platforms/Emscripten/MainWebGL.cpp

from skylicht-engine.

Joilnen avatar Joilnen commented on June 19, 2024

Yes SDL Backend and it's arch linux, only a embed intel GPU, but it is able to run irrlicht well.
Tested forcing "set(BUILD_LINUX ON)"
I guess this is not related with device creation, but with shaders, the window is created without crashes.

from skylicht-engine.

Joilnen avatar Joilnen commented on June 19, 2024

Ok I found an workaround setting MESA_GL_VERSION_OVERRIDE=3.3

from skylicht-engine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.