Questions tagged [mesa]

A free and open source implementation of graphics and compute APIs such as Vulkan, OpenGL and OpenCL. Typically used in GNU/Linux on AMD or Intel GPUs. Use this tag for questions about issues in your code running on Mesa or in questions about compiling Mesa itself.

Mesa 3D is a free and open source library that implements graphics and APIs such as Vulkan, OpenGL and OpenCL (among others) with support for hardware acceleration on several different types of GPUs.

Supported hardware are Intel and AMD GPUs, along with several GPUs that are found in ARM chips, such as Adreno, Mali, Vivante and V3D. There is also a driver for NVidia GPUs, however it is somewhat limited on modern chips.

The latest releases can be found on the official website, and here is a list of the supported feature set for each driver.

219 questions
23
votes
3 answers

How is Mesa different from OpenGL drivers?

What exactly does it mean to say that Mesa is an implementation of OpenGL? Don't the drivers of my Nvidia card implement all the OpenGL functions, etc.? So given that the drivers of my Nvidia card are taking Opengl calls and handing them off to the…
user782220
  • 10,677
  • 21
  • 72
  • 135
13
votes
1 answer

ImportError: libGL.so.1 on CentOS

When I try to import cv2 in python I get the following error: ImportError: libGL.so.1: cannot open shared object file: No such file or directory I found this thread which suggested I install libgl1-mesa-glx, but I'm wondering if that's only…
jss367
  • 4,759
  • 14
  • 54
  • 76
12
votes
2 answers

How to setup OpenCL on AMD videocard with opensource driver?

I have read this link - https://wiki.debian.org/ru/AtiHowTo and decide to setup OpenCL. the r600g driver still have to load proprietary microcode into the GPU to enable hardware acceleration. This firmware is usually included in the kernel, but…
user2743980
  • 121
  • 2
  • 2
  • 5
11
votes
0 answers

Is xvfb (with Mesa 19.2) compatible with Vulkan?

I'm trying to run a Vulkan-based graphical application on a headless Ubuntu 19.10 virtual machine, via xvfb. Starting from a bare Ubuntu 19.10 image (created using lxc), I prep the machine as follows: > sudo apt update > sudo apt install -y xvfb…
vpradeep
  • 746
  • 1
  • 6
  • 14
11
votes
1 answer

getting error "GLintptr has not been declared" when building VTK on Linux

When building VTK on Linux, I get the following error: In file included from /usr/include/GL/glx.h:333:0, from /home/mildred/Work/3DKF/VTK/Rendering/vtkXOpenGLRenderWindow.cxx:31: /usr/include/GL/glxext.h:480:143: error: ‘GLintptr’ has…
Mildred
  • 3,887
  • 4
  • 36
  • 44
10
votes
1 answer

EGLDisplay on GBM

I want to create an OpenGL context through EGL. As I won't actually draw, I want to use Pbuffers in conjunction with the GBM platform. This is the code (C99): #include #include #include #include #include…
djsp
  • 2,174
  • 2
  • 19
  • 40
9
votes
4 answers

Regarding GPU mode error in launching Android virtual device

When I am trying to launch Android virtual device in Android Studio 2.0, it is giving me following error. ERROR: Invalid GPU mode 'mesa', use one of: on off host guest A screen shot is given bellow related to this error: Any help would be greatly…
Tanvir Rahman
  • 651
  • 1
  • 11
  • 31
8
votes
2 answers

How to use CMake to find and link OpenGL(mesa) package in Ubuntu

I am totally new in CMake and OpenGL. I now need to use OpenGL as a library in my project on my Ubuntu 15.04 64bit PC, which is built by CMake 3.0.2. I have been working on this several days, nearly frustrated. I get confused with a bunch of…
stanleyerror
  • 728
  • 1
  • 9
  • 23
8
votes
1 answer

Delay-loading of opengl32.dll fails with Qt5

I need to use OpenGL version 2 features within an Qt5 poject on Windows 7 (Qt is built with desktop OpenGL not ANGLE). To support running the application via remote desktop I would like to fall back to software rendering via Mesa if necessary. My…
7
votes
1 answer

How to render to a second screen without being the DRM master?

I have an embedded process that renders to a screen directly using DRM & KMS APIs. It's running on a minimal Yocto distribution (no desktop or Wayland). I would like to render to a second screen that is attached to the same GPU from another process.…
Fritz
  • 141
  • 8
6
votes
0 answers

OpenGL directly to Linux framebuffer without X-Server

I have a small OpenGL application that has been developed using GLUT. What are my best options to render directly to a Linux framebuffer (fbdev) with OpenGL, without an X-Server? I understand that GLUT needs X, so I'm not looking for ways to use…
dingari
  • 309
  • 1
  • 4
  • 13
6
votes
1 answer

OpenGL ES 2.0 with osmesa

I am attempting to create an OpenGL context with osmesa (off-screen mesa). I wish to use the software implementation of mesa without a window and save the rendered output to a png file. http://www.mesa3d.org/osmesa.html I create a GL context with…
6
votes
1 answer

how to force chrome to use mesa software driver for webgl

I want to force chrome to render WebGL using software drivers, not hardware. I'm using Ubuntu Linux and I understand that the Mesa GL drivers can be forced to use a software implementation by specifying the environment variable,…
cyrf
  • 5,127
  • 6
  • 25
  • 42
6
votes
2 answers

How to enable OpenGL 3.3 using Mesa 10.1 on Ubuntu

I am trying to get an OpenGL-based rendering engine that relies on OpenGL 3.3 and GLSL 3.3 to run on Ubuntu 13.10 using an AMD Radeon 6950. I want to use the open source drivers (radeon), which rely on Mesa for their OpenGL implementation. Ubuntu…
Malte Skoruppa
  • 1,232
  • 1
  • 19
  • 25
6
votes
1 answer

Building Mesa for windows 7. Mesa 9.1

I went through all the steps on the compiling / installing page on Mesa's site, and read the FAQ. The final command that you send to scons for compilation throws errors within python scripts. This is my output. What am I doing wrong? Also if…
EddieV223
  • 5,085
  • 11
  • 36
  • 38
1
2 3
14 15