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
3
votes
1 answer

How can I get MacOS to run the VTK window over ssh

I am trying to open a VTK render on a local machine through ssh. I am using pyvista to make the render, which is being run from a python script on a remote machine. Local machine (where I want to see the render): MacOS Catalina 10.15 Remote…
D.Griffiths
  • 2,248
  • 3
  • 16
  • 30
3
votes
0 answers

Build minimal mesa/xorg for offscreen rendering

I have managed to build a set of mesa libraries that together with a dummy xserver can run an OpenGL application on a machine with no GPU using openswr without relinking or changing any code in the application on a machine with a pre-existing Xorg…
Laserallan
  • 11,072
  • 10
  • 46
  • 67
3
votes
1 answer

How to make this code work on Mesa3d?

This GLSL code compile and run warningless in ATI's OpenGL: void main() { vec4 tmp = gl_ModelViewMatrix * gl_Vertex; tmp.xyz = tmp.xyz / (1 - tmp.w); tmp.w = 1; gl_Position = gl_ProjectionMatrix * tmp; gl_FrontColor = gl_Color; } Why does…
lvella
  • 12,754
  • 11
  • 54
  • 106
3
votes
1 answer

lib OSMesa off-screen context creation fails in C++, but only when statically linked

I made a C++ tool for off-screen rendering of 3D models. The rendering is done using OSMesa library. The software was working flawlessly for more than a year, and I stopped to make updates to it something like 6 months ago. In the meanwhile my…
pangon
  • 439
  • 5
  • 18
3
votes
2 answers

How to increase GL_MAX_TEXTURE_SIZE for mesa drivers?

I am trying to generate a large image using WebGL and Xvfb. When the WebGL canvas size is up to 8192x8192px - it's working great and I get my image. When the WebGL canvas size is larger than 8192x8192px - it's not generating my image. Script is…
Karlis Bikis
  • 73
  • 1
  • 5
3
votes
0 answers

Access host XServer from Docker container

My application running inside Docker container uses OpenGL for off-screen rendering. If the container is running on host with graphics environment, it should use host's XServer for rendering. I set up such container and it works perfectly on any…
Aleksei Petrenko
  • 6,698
  • 10
  • 53
  • 87
3
votes
1 answer

opengl program compiles but gives error when run (UBUNTU 14.04)

I compiled Opengl by installing the folowing packages through Synaptics Package manager. freeglut3 freeglut3-dev freeglut3-dbg libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev This is the output when I run the…
Operative
  • 149
  • 1
  • 2
  • 10
3
votes
1 answer

Mesa 3D OpenGL 3.2 with software rasterizer

I'm trying to create an OpenGL context 3.2 on a Netbook running Ubuntu 13. Since the hardware isn't capable of hardware-supported Opengl 3.2, I'm wondering if the software rasterizer could provide such functionality. I'm aware that software mode can…
Chuck
  • 1,110
  • 3
  • 15
  • 22
3
votes
3 answers

Installing Mesa 10 on Debian

So, here's my problem - I want to complete these tutorials on a laptop with an HD4000 integrated graphics processor running Kali *nix. The trouble is that the edition of Mesa 3D installed is only version 8 or so, and therefore will only run an…
PointToPoint
  • 117
  • 1
  • 3
  • 12
3
votes
1 answer

Can't run my own OpenGL 3 programs on Ubuntu

I am experimenting with OpenGL 2.x and 3.x tutorials. The programs compile and link but then segfault on seemingly innocent lines such as glGenBuffers (1, &m_buffer); My main() starts with glewInit and glutInit. OpenGL 1 programs compile and run…
spraff
  • 32,570
  • 22
  • 121
  • 229
3
votes
2 answers

Run Open GL programs on the Raspberry Pi?

Can the Raspberry Pi run OpenGL programs? Like GL 1.x programs, not OpenGL ES 2.x which I know it can run. The reason I am asking, I have trouble having SFML 2 start on it.
Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
3
votes
0 answers

(L)Ubuntu - Cannot find libGL.so but OpenGL works perfectly fine

I'm trying to create an OpenGL program but I cannot link it because I always get the linker error that the libGL could not be found. I thought it is not installed, so i installed all the Mesa OpenGL stuff. libgl1-mesa-* mesa-* My driver is…
3
votes
1 answer

OpenGL 4.2 headers, Mesa 3D, extensions - how does it fit together?

Now, I've had an extremely hard time finding information about OpenGL headers and extensions and how to access the latest features. OpenGL.org doesn't touch upon any of this, neither does Mesa (updated 2006!) or anyone - but I can't think I am the…
Max
  • 4,345
  • 8
  • 38
  • 64
2
votes
2 answers

"X Error" BadAlloc GLX BadContext on IntelSandyBridge (Intel HD Graphics 3000)

I'm running a debian stable ThinkPad X1 (1294-3QG) with exactly three packages from squeeze-backports needed for the GraphicsModi: initramfs-tools 0.99~bpo60+1 linux-base 3.4~bpo60+1 linux-image-3.2.0-0.bpo.2-amd64 3.2.9-1~bpo60 While running that…
Bastian Ebeling
  • 1,138
  • 11
  • 38
2
votes
2 answers

segmentation fault after building rgl on R 4.2.0 and Ubuntu 18.04

I'm trying to install rgl on a R 4.2.0 installation that I have installed from source, on a Ubuntu 18.04 system. The package seems to be building correctly, however I get a Segmentation fault when R tries to test whether it can load the package.…
tmt
  • 83
  • 4
1 2
3
14 15