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

QVTKOpenGLNativeWidget crash when using Mesa

I have a problem with QVTKOpenGLNativeWidget when using software rendering mode. I am using vtk 9.0.1 with Qt6 ( 6.2.4) and Mesa driver 22.0 (Releases · pal1000/mesa-dist-win · GitHub). The application crashes when widget->show() is called. The…
Andra
  • 21
  • 2
2
votes
0 answers

Why do i get "Permission denied" errors from using Weston/Wayland

I have built a Linux system with Buildroot (2021.05) to run on a raspberry pi 4. My graphics stack include using mesa (vc4, v3d, kmro), Wayland / Weston with a DRM back-end. Also installed kmscube, which runs perfectly with the rotating cube…
Cerezo
  • 209
  • 2
  • 9
2
votes
1 answer

Unable to build static lib of mesa (libGL.a)

Trying to build a static library of libGL. Looking at "meson configure", it states that static libraries are default. Still, I only end up with a libGL.so file. Is the any magic voodoo to get the static version to compile? Only answers I find online…
Daniele Testa
  • 1,538
  • 3
  • 16
  • 34
2
votes
0 answers

Texture is rendered blank but glGetTexImage works perfectly

I've written some code that adds a UI overlay to an existing OpenGL application. Unfortunately, I am not proficient in OpenGL but I do know that it somehow always manages to fail on some device. Some backstory: The general pipeline is: Application…
Stefan Fabian
  • 498
  • 4
  • 21
2
votes
0 answers

Is deepest mipmap level not an average of all the texels?

I was trying to get an average of all the texels I've drawn in a texture attached to an FBO. The texture has RGBA32F format, so precision loss should be minimal in any case. For actual computation of the average I thought to use hardware generation…
Ruslan
  • 18,162
  • 8
  • 67
  • 136
2
votes
1 answer

How to implicitly get opengl 4.2 from Mesa3D

I need opengl 4.2 for my app to run on server(windows). So I found Mesa3D software implementation of opengl will solve my purpose. I built Mesa3D 19.0.0 for windows. But when use opengl32.dll and lib given by Mesa , default version is coming as 3.1…
Raki
  • 329
  • 3
  • 18
2
votes
1 answer

Software rendering with Mesa/OpenGL 4.5 on Ubuntu VM on Mac

As part of my studies, I have to be able to compile and run OpenGL 4.5-based programs, and I only have a Mac to do so. I am using Ubuntu in a VM to have a more programming-friendly environment, but my software and hardware (macOS Sierra 10.12.6,…
Lenny R
  • 23
  • 4
2
votes
0 answers

Mesa 3D: where is the actual pixel data in GBM?

I know that in DRM rendering, the actual pixel data is saved in void mapped data as follows: struct drm_mode_map_dumb arg; memset(&arg, 0, sizeof(arg)); arg.handle = bo->handle; ret = drmIoctl(bo->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg); void* map; map…
2
votes
1 answer

Why won't MESA let me use OpenGL 4.5 (or anything but 3.0)?

I have installed the newest version of MESA (17.0.3), which should allow me to use OpenGL higher than 3.0 (right?) The problem: I am stuck at version 3.0. (and by that I mean I don't know how to make MESA use a higher version, or even if I can) I…
Davis Last
  • 93
  • 1
  • 4
  • 12
2
votes
1 answer

How does one build a new X11 3D driver?

I was wondering why there is no X11 driver for the mali 3D arm gfx chip. I looked into building an X11 driver for the available kernel driver, but could not find any documentation on how to build an X11 3D driver. There exists only the minimal…
chugadie
  • 2,786
  • 1
  • 24
  • 33
2
votes
1 answer

OpenGL 3.3 on Arch Linux

I need help doing some OpenGL 3.3 programming with core profile. I'm running on an Arch Linux OS with the packages xf86-video-intel and mesa-libgl installed. I have Intel HD 4400 built into my CPU When I enter glxinfo | grep OpenGL into terminal, It…
Streak324
  • 153
  • 1
  • 3
  • 12
2
votes
1 answer

glEnd error (mesa-libGL/GLU) installing "rgl" package on Centos6.7

I try to install "rgl" on CentOS 6.7 but I cannot make it works. Saw numerous similar issues but no solution worked for me. My system: Centos 6.7 R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree" Platform: x86_64-redhat-linux-gnu…
zakrapovic
  • 413
  • 3
  • 17
2
votes
1 answer

field double quotes php postgresql

Hello everyone I have a problem with a table in their fields has double quotes ("") When I want to make an update to a field without quotation marks, for example: $rs = pg_query("UPDATE tbl_audit SET UserName='admin' WHERE…
Camaliet
  • 59
  • 8
2
votes
1 answer

Qt 5.5.1: Cannot find -lGL

I have developed an GUI application on Qt 5.3.1. I am using Qt Creator 3.1.2 (based on Qt 5.3.1) to build my GUI application and am able to build and deploy my application successfully. I wanted to update my qt creator and for that I have installed…
user12345
  • 661
  • 8
  • 34
2
votes
1 answer

Switch dll programmatically for MESA Software renderer

I want to add the command-line option --software-rendering to my application which switches to the MESA opengl32.dll found in a subfolder (e.g. mesa\opengl32.dll). How can I switch to this dll programmatically? So far I know that when I move the…
PhilLab
  • 4,777
  • 1
  • 25
  • 77