elnormous / elnormous/ouzel

Ouzel samples don't run (Ubuntu 17.10, i3)

Open
#37 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
980
Forks
118
PR merge metrics
No merged PRs in 30d

Description

```bash
=> ./samples
Application directory: /home/acron/projects/personal/ouzel/samples
Failed to find file /home/acron/.org.ouzel/samples/settings.ini
Using OpenGL render driver
GLX OpenGL 3.2 context created
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 46
Current serial number in output stream: 46
```

Compilation went fine, just won't make a window. Tried with and without i3, same result.

```
=> glxinfo | grep "OpenGL"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 730/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 384.111
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 384.111
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

=> glxgears -info
GL_RENDERER = GeForce GT 730/PCIe/SSE2
GL_VERSION = 4.5.0 NVIDIA 384.111
GL_VENDOR = NVIDIA Corporation
GL_EXTENSIONS = ...
```

`glxgears` runs fine

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with ./samples on the reported Ubuntu 17.10 and i3 setup, then inspect the GLX X_GLXMakeCurrent error alongside the glxinfo and glxgears output provided. Done means the samples create a window successfully instead of failing with BadMatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux, ubuntu
Domain
game-dev, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.