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
0
votes
0 answers

Mesa - glCopyPixels is much slower on iris compared to i965

I'm working on a 3D application based on Blender 2.79 (which includes the old game engine), running on linux. Some more details about the system: $ lsb_release -a | grep Description Description: Ubuntu 22.04.1 LTS $ uname…
Jytug
  • 1,072
  • 2
  • 11
  • 29
0
votes
0 answers

Panda3d unable to open directx window Ubuntu, Python

Code: from direct.showbase.ShowBase import ShowBase class MyApp(ShowBase): def __init__(self): ShowBase.__init__(self) app = MyApp() This is a simple script that should just work, unfortunatly it does not. Already tried all the…
Acu
  • 3
  • 1
0
votes
0 answers

Failed to build Mesa 22.0.0 with LLVM enabled

I was trying to build Mesa 22.0.0 with the latest LLVM installed, if Mesa is also the latest version then the building process works fine. I was building Mesa 22.0.0, but the latest LLVM headers contain some C++ code that is not supported in older…
Wanli Zhu
  • 21
  • 3
0
votes
1 answer

libEGL warning: MESA-LOADER: failed to open crocus

My Gentoo Linux UI shows me this error on my PC (which has Intel GPU & Nvidia GPU both). libEGL warning: MESA-LOADER: failed to open crocus: /usr/lib64/dri/crocus_dri.so: cannot open shared object file: No such file or directory (search paths…
S-K
  • 87
  • 5
0
votes
2 answers

Why OpenCL refuses to work on compatible hardware under Ubuntu 20.04?

Well, I need a help from someone who has some experience using AMD GPUs on Linux. I have AMD ATI Radeon HD 8550M. It supports OpenCL 1.2. And AMD ATI Radeon R3 Graphics which supports OpenCL 2.0. I have latest Mesa driver installed. And here's a…
0
votes
1 answer

Mesa glGetString() version differs from glxinfo

In my application I have this piece of code void showOpenGLInfo() { printf("Graphic card vendor: %s\n", glGetString(GL_VENDOR)); printf("Renderer: %s\n", glGetString(GL_RENDERER)); printf("GL version: %s\n", glGetString(GL_VERSION)); …
Francesco
  • 523
  • 4
  • 25
0
votes
1 answer

Create irregular shaped cellular automata space in Python Mesa

The examples within Mesa's readthedocs and in their Github all have fixed m x n grids. I'm trying to create an irregularly shaped agent space, for example: 3 x 3, connected to another 3 x 3 via a 1 x 1 "tunnel" (almost like a dumbbell shape). I'm…
Clark
  • 73
  • 7
0
votes
2 answers

Graphics libraries on Windows vs Linux

Tao and OpenTK are two graphics libraries you can use with c# on Windows. Both not active, Tao last release is 2008 and OpenTK 2010. But I see Mesa is active for Linux, so I wonder what should I use for my project. I need to develop CAD modeling…
0
votes
1 answer

Running Firefox As An Isolated Linux User

I just did this guide to run Firefox as an isolated user - https://www.burnison.ca/articles/running-firefox-as-an-isolated-linux-user It's a nice idea for security and also I don't like .mozilla directory in my home. Mozilla Firefox developers won't…
ruhagen
  • 43
  • 5
0
votes
0 answers

Python: How to add line break when using GUI?

I want to print information to a gui and am using a public framework so my choices are limited. I would like to update a function in this page so I can print to the gui. Using the python print() function sends the output to the command line so I…
ithoughtso
  • 103
  • 8
0
votes
0 answers

Bad exit status from /var/tmp/rpm-tmp.t40hoV (%build) - Mesa

I am trying to build specific versions of Mesa that have llvm10 for a specific purpose. Downloaded the srpm from a dev's repo (https://copr.fedorainfracloud.org/coprs/xxmitsu/playground/) and from Fedora repo…
0
votes
0 answers

llvm problem in mesa3d build on linux RTDyldMemoryManager.h undefined reference to llvm::RTDyldMemoryManager

I am on slackware64 14.2 and I wanted to update to mesa3d 21.2.1.so I tried to so but it required llvm >= 11. I updated my llvm to version 11 configured with following command CC=gcc CXX=g++ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/prog/llvm-11.0.1…
DBG_C38
  • 1
  • 1
0
votes
0 answers

gdb refusing to step into Mesa OpenGL APIs

I have a very similar problem to How to step into openGL APIs by using gdb?. I want to step into the implementation of glClear (for example). I have compiled a Mesa library with debug information, and I notice inconsistent behaviour in GDB. (gdb) p…
Charles
  • 953
  • 1
  • 8
  • 19
0
votes
0 answers

Access a docker images localhost from local machine

So I am trying to build an agent-based model service in docker which would serve up an agent-based model using Mesa. I have got the image to route to the jupyter notebook, it runs, but when it serves up the server on port 5000 I can't access through…
Philip09
  • 85
  • 9
0
votes
1 answer

When running Mesa example model, I get a "NotImplementedError"

I tried implementing the tutorial from [mesa][1]. Here is the code that I have copied from there, split into two files, money_model.py, and server.py respectively: from mesa import Agent, Model from mesa.time import RandomActivation from mesa.space…