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
1
vote
1 answer

Can not compile shaders with Linux/Mesa

I have a OpenGL 3.0 application which works well when it is used with Windows. My shader programs all start with #version 130 core\n Now when I stwich over to linux with OpenGL 3.0 Mesa 18.0.5, compiling of these shaders fails with error…
Elmi
  • 5,899
  • 15
  • 72
  • 143
1
vote
0 answers

Investigating 32 bit MESA driver selection

I've used NVidia card, with the properary drivers installed on a Debian Stretch. But because i'm carry my hard drive between different machines (intel, amd, but always on amd64 act), i'm decided to drop the NVidia card, and rollback opengl to MESA…
Dankó Dávid
  • 302
  • 3
  • 17
1
vote
2 answers

paraview needs higher OpenGL in Mesa

Im trying to use paraview 5.3.0 in CentOS. I compiled it with Qt5. When I start paraview it tells me: GL version 2.1 with the gpu_shader4 extension is not supported by your graphics driver but is required for the new OpenGL rendering backend.…
pwe
  • 127
  • 1
  • 14
1
vote
0 answers

What build environment differences are causing the mesa GBM library to behave differently

I am working on a basic demo application (kmscube) to do rendering via the DRM and GBM APIs. My application uses the TI variation of libgbm (mesa generic buffer management). TI provides the source, GNU autotools files, and a build environment…
user8908459
  • 537
  • 5
  • 24
1
vote
0 answers

Cross compiling Mesa for arm

I have cross compiled Qt5.9.1 for an arm linux platform. I see that qtwebengine because mesa/libegl1-mesa-dev is missing. I am relatively new to linux and i have been trying to cross compile mesa12, mesa13 and mesa17. But all failed. Is…
user7356938
1
vote
1 answer

OpenGL-Intel 630 GPU -Ubuntu 16.04 failed to render simple triangle

I have written a simple openGL code to render a triangle, it is compiled successfully but failed to render triangle. Only create a window as such there is no error return by glGetError() api call. Same code works fine on AMD R9 GPU. Driver…
1
vote
1 answer

How to load extensions

I am trying to write a Vulkan program but am somewhat fuzzy on how the extension mechanism works. Concretely, I want to access VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT (is not found at compilation) but am not sure how to include the…
abergmeier
  • 13,224
  • 13
  • 64
  • 120
1
vote
3 answers

Opening Macro definitions: tdfx_span.c: lvalue required as left operand of assignment

I'm trying to compile X11R6-7.0 under Ubuntu maverick and got some weird compilation errors I'm unable to resolve myself. I needed X11R6-7.0 as ati catalyst drivers don't support newer xorg and oss drivers don't support 3d acceleration of my…
Antti Rytsölä
  • 1,485
  • 14
  • 24
1
vote
1 answer

GL snapshots contain upper left corner only

On my computer at work my rgl snapshots only contain the upper left corner of the displayed GL device. For python using mayavi using the onscreen snapshot works. However, using offscreen rendering results in the same mistake. Sadly my problem is not…
Joerg
  • 71
  • 4
1
vote
1 answer

glUseProgram() GL_INVALID_OPERATION 1282 on Ubuntu Gnome 17.04 Intel HD4000

I'm trying to learn openGL 3.0 by following the example on https://open.gl/drawing (It just draws a coloured rectangle on the screen). I am using SDL2.0.5 and glew 2.0.0 with VS2015 community and it works perfectly on my i5 skylake HD4000 laptop…
user2783034
1
vote
0 answers

mesa update breaks build

Today a new mesa has been released on ubuntu 16.04.02 https://launchpad.net/ubuntu/+source/mesa/17.0.7-0ubuntu0.16.04.1 However it breaks my build, when I link my lib to libGL.so /usr/lib/x86_64-linux-gnu/libGL.so: undefined reference to…
Jeremad
  • 883
  • 2
  • 10
  • 21
1
vote
1 answer

OSMesa GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT error when create a multisampling FBO

I have tried to do offscreen rendering in my linux server(a virtual machine with no graphics card and no window system) by OSMesa, refer to the osmesa demo osdemos. Every thing works fine. For antialiasing, i tried to create a multisamping render…
1
vote
2 answers

Selecting a specific opengl32.dll file at load time

Depending on the graphics card in a computer, I want my application to either pick the existing opengl32.dll (located in C:\Windows\System32), or a Mesa\software fallback opengl32.dll. Is it possible to do this at load time, or is this out of my…
Viktor Sehr
  • 12,825
  • 5
  • 58
  • 90
1
vote
1 answer

OpenGL on Linux with Mesa 12.0.3 GLSL 3.30 Not Supported

I'm working on building a 3D game engine with OpenGL on Linux. More specifically I'm using lwjgl-2.9.3 (the latest version isn't available for Linux at the time of this writing). I have built some of the project on a Windows 10 machine and it…
briguyjm
  • 43
  • 1
  • 3
  • 12
1
vote
4 answers

Mesa3D and OpenGL

Wikipedia Article on Mesa 3D says - Mesa 3D - An open source implementation of OpenGL. But as I see SGI has the entire OpenGL implementation source available online at their website, how is OpenGL not open-source or what is the need of Mesa 3D?
Vaibhav Bajpai
  • 16,374
  • 13
  • 54
  • 85