1

I did a very simple Ogl program. When I compiled it against the system provided Opengl libraries, it worked as intended, with direct rendering.

However, when I link it against my own, built from scratch Mesa , it only gets indirect rendering.

So, what is necessary to my custom built Mesa to provide direct rendering?

Edited with configure's output:

prefix: /arquivos/Mesa-7.5.2 exec_prefix: ${prefix} libdir: ${exec_prefix}/lib includedir: ${prefix}/include

 Driver: dri OSMesa: no DRI drivers: i915 DRI driver dir: ${libdir}/dri Use XCB: no Gallium: yes Gallium dirs: auxiliary drivers state_trackers Winsys dirs: drm Winsys drm dirs: intel Auxiliary dirs: draw translate cso_cache pipebuffer tgsi sct rtasm util indices Driver dirs: softpipe failover trace i915simple Trackers dirs: Shared libs: yes Static libs: no EGL: no GLU: yes GLw: no (Motif: no) glut: no Demos: no CFLAGS: -g -O2 -march=native -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC CXXFLAGS: -g -O2 -march=native -Wall -fno-strict-aliasing -fPIC Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_64_ASM 
4
  • good question, what did the configuration step of Mesa say that it supported in backends? Commented Sep 1 at 13:40
  • @MarcusMüller What would be a backend here? Commented Sep 14 at 23:14
  • DRI + the individual userland side of the GPU driver in mesa Commented Sep 15 at 16:45
  • @MarcusMüller. If I understood correctly what you meant, it says: "Driver: dri". I edited the question with configure's output. Commented Sep 26 at 14:21

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.