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

GLSL 120 texture indirection issue

I've run into a bit of an issue writing a fragment shader for a project. I'm creating a palette-less terminal emulator, so I figure I'd do this with the following shader: #version 110 uniform sampler2D tileset; uniform sampler2D indices; uniform…
lowq
  • 628
  • 6
  • 18
2
votes
0 answers

Compiling Mesa 10.3.1 on Windows 7

I'm having some problems compiling Mesa 10.3.1 on Windows 7 using SCons and GCC under MinGW. I'm using Python 2.7.8 with pywin32 extensions build 219. I have followed the instructions from the official Mesa website -…
potato5
  • 63
  • 4
2
votes
1 answer

SFML vsync always on?

I have been playing around with game loops and physics. The other day, I added some debug statements to see how much time each frame of my game loop was taking. As expected, the results were in the 16ms range. However, I tried disabling vsync, and…
mio iwakura
  • 301
  • 2
  • 11
2
votes
1 answer

Can I program/compile OpenGL 4.0 code on my computer without a graphics card or MESA?

I recently began working with Open GL 4.0 using the Redbook 8th edition. From the start of the morning until now I wasn't able to compile the 'HelloWorld' of OpenGL programs. I configured the dependencies, transferred file contents of…
Jebathon
  • 4,310
  • 14
  • 57
  • 108
2
votes
2 answers

Precision qualifier throws an error for OpenGL 3.0 under Mesa 9.2.1

A strange issue with OpenGL 3.0 under Mesa 9.2.1 on Ubuntu 13.10 (64-bit) is observed. Variable definition with explicit precision (like this: highp vec2 v;) produces an error: syntax error, unexpected VEC2, expecting ',' or ';' It seems like…
Yehor Nemov
  • 907
  • 2
  • 16
  • 31
2
votes
3 answers

OpenGL Linux not reading GL_VERSION

I have a simple OpenGL program using SDL on Linux that just attempts to load and print the OpenGL version. cout << "GL_VERSION : " << glGetString(GL_VERSION) << endl; When I run the program it just hangs, with the output as below... it basically…
Scruffers
  • 4,984
  • 8
  • 35
  • 41
2
votes
1 answer

Forwarding accelerated OpenGL GLX via SSH

I'm currently porting an open-source OpenGL game to OpenGL ES. The target device runs Linux and has a relatively weak CPU (ARM11 family, with FPU). It has an OpenGL ES accelerator but not an OpenGL one. Initially I want to get the existing…
Chromatix
  • 1,143
  • 8
  • 12
2
votes
2 answers

Floating point numbers are quantized to 8-bits in OSMesa32

Mesa 3D claims to support 32-bit floating point color channels via osmesa32. The trouble is, the floating point numbers are quantized to 8-bits! Has anyone else noticed this? Below is the short program I'm using for testing. You will see I draw…
Derek
  • 23
  • 2
2
votes
1 answer

glXCreateContextAttribsARB not found

I'm going through Learning Modern 3D Graphics Programming, and I'm trying to run the "hello, world!" triangle program. However, I get this error: jason@ubuntu:~/Desktop/Tutorial 0.3.8/Tut 01 Hello Triangle$ ./Tut\ 01\ Main freeglut (./Tut 01 Main):…
nucleartide
  • 3,888
  • 4
  • 28
  • 29
1
vote
1 answer

How to build Mesa 3D 8 for Windows using Microsoft toolchain?

Everything (including LLVM) seems fine until I face src\mesa\drivers\windows\gdi\wmesa.c(956) : error C2039: 'PutRow' : is not a member of 'gl_renderbuffer' D:\Sources\Graphics\Mesa-8.0.2\src\mesa\main/mtypes.h(2540) : see declaration of…
LOST
  • 2,956
  • 3
  • 25
  • 40
1
vote
0 answers

Where are the shaders compiled into machine code in Nouveau driver?

I am learning about how the OpenGL pipeline works in consideration of the OpenGL API and the driver. According to this answer: Link, one of the duties of the GPU driver is to compile shaders in the machine code of the GPU To have a better…
Fox1942
  • 276
  • 2
  • 18
1
vote
0 answers

How can i get the Mesa agent using their unique_id in Python?

I am using the Python library Mesa for modeling a multiagent system. Is there a way to get the agent itself if you just have its unique_id? I have one agent save the id of another agent, which at a later point in time the agent tries to interact…
JoSch
  • 11
  • 1
1
vote
1 answer

Group pandas df by every n rows with most frequent entry in column y for each set of n rows

I'm working in a Python / Mesa environment and producing agent-based model output data which looks like the following: 25920 rows by 11 columns. The df is sorted by the columns of which I've performed parametric runs producing all combinations of…
Clark
  • 73
  • 7
1
vote
1 answer

lots of OpenGL glDebugOutput Shader Stats / Shader Compiler / Other / notification severity messages with mesa radeon

I have an opengl toy code that I am using to learn ogl and 3d graphics. I am using glDebugMessageCallback and glDebugMessageControl to check for OGL errors and on windows I did not have any messages. I am now testing my code on linux and I am…
pattakosn
  • 365
  • 4
  • 13
1
vote
0 answers

Agent based modeling for rebellion under information censorship, interface is opened but can't running

I am using the "mesa" library of Python to define an agent based model simulate rebellion action under censorship enviroment. Right now the model is built and successfully shown in interface, but unfortunately agents in my model can not move. I…