Code Monkey home page Code Monkey logo

Comments (5)

onox avatar onox commented on July 21, 2024

Do you have some very old graphics card (before 2012) or from some unusual vendor (not from team green/blue/red) if it only supports up to 3.3? 🤔

The most important extensions are listed on the Installation page in the docs. On an old Intel Ivy Bridge GPU (generation 7) these are all supported with the latest Mesa driver (even when the driver gives you an OpenGL 4.2 rendering context). On older generations, extensions like ARB_compute_shader, ARB_multi_draw_indirect, and ARB_shader_storage_buffer_object might be missing (especially the latter is really needed for buffers).

The best thing to do would be to run make tools and then run ./orka_tools/build/bin/orka_info. This will print the OpenGL version, driver, and the supported extensions.

Afterwards, run make examples, cd examples, and then see if you can run some of the examples like ./build/bin/orka_1_triangle.

On Linux you can do rendering on the CPU with drivers like llvmpipe by prepending MESA_LOADER_DRIVER_OVERRIDE=llvmpipe to the previously mentioned tools and examples.

Also be aware that some crates like orka_simd, orka_transforms, and orka_tensors_cpu do not depend on the orka_opengl crate, thus you can use them without a GPU.

from orka.

HROMANO avatar HROMANO commented on July 21, 2024

Thank you for your reply,

It's an old computer + old graphic card (I built it around 2007 I think), but still fully operational (just can't read 4k films on it as it's too slow :-> but everything else is ok).

I will try your suggestions, in particular with CPU rendering.

from orka.

HROMANO avatar HROMANO commented on July 21, 2024

Just for the record, I can build the tools but they crash at runtime (with or without MESA_LOADER…):

[./orka_tools/build/bin/orka_info]
0x55c72d0ee216 system__interrupt_management__notify_exception at ???
[/usr/lib/libc.so.6]
0x7f32a02e1f4e
[./orka_tools/build/bin/orka_info]
0x55c72d0d3483 gl__objects__buffers___elabs at ???
0x55c72d0a12e5 Adainit.Part at b__orka_info.adb:666
0x55c72d09ff22 Main at b__orka_info.adb:496
[/usr/lib/libc.so.6]
0x7f32a02cc78e
0x7f32a02cc848
[./orka_tools/build/bin/orka_info]
0x55c72d09ff93 _start at ???
0xfffffffffffffffe

Thank you anyway.

from orka.

onox avatar onox commented on July 21, 2024

Which OS and compiler did you use?

from orka.

HROMANO avatar HROMANO commented on July 21, 2024

I'm on archlinux with gcc-ada 12.2.1

from orka.

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.