mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Major opcode of failed request: 53 (X_CreatePixmap)

Open nunojpg opened this issue 5 years ago • 1 comments

When doing a snapshot on mbgl-glfw or running the benchmark or render binaries I get always the error "Major opcode of failed request: 53 (X_CreatePixmap)".

I believe this might be related to my Intel graphics driver. I'm using Ubuntu 20.04 standard configuration with Intel HD Graphics 520.

While this is unlikely a mapbox-gl-native issue, I would appreciate suggestions where to report or how to fix it.

[INFO] {mbgl-glfw}[General]: GPU Identifier: Mesa Intel(R) HD Graphics 520 (SKL GT2)
[INFO] {mbgl-glfw}[OpenGL]: Frame time:   1.97ms (508.77 fps)
failed to create drawable
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  53 (X_CreatePixmap)
  Value in failed request:  0x1e
  Serial number of failed request:  31
  Current serial number in output stream:  34

Thanks, Nuno

nunojpg avatar Apr 30 '20 08:04 nunojpg

Hi,

I faced a similar issue on Intel integrated graphics. I found out the cause was the graphics driver used for Intel embedded gpu's. The default has been changed for Mesa version 20.0, which is included in Ubuntu 20.04.

The fix is to set MESA_LOADER_DRIVER_OVERRIDE=i965 as an environment variable prior to running the crashing executable. export MESA_LOADER_DRIVER_OVERRIDE=i965

arskanov avatar Aug 18 '20 10:08 arskanov