rive-app / rive-app/rive-runtime
OpenGL context fails on Linux
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 121
- PR merge metrics
- No merged PRs in 30d
Description
My AMD Ryzen (latest drivers) device supports OpenGL 4.6 but path_fiddle still can't seem to run using OpenGL.
I build with:
./renderer$ ../build/build_rive.sh debug --with_vulkan
Error:
$ ./out/debug/path_fiddle
==== GL GPU: AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.64, 6.17.0-1012-oem) ====
GL ERROR: 0:557(170): error: syntax error, unexpected NEW_IDENTIFIER
path_fiddle: ../../path_fiddle/fiddle_context_gl.cpp:47: void err_msg_callback(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *): Assertion `0' failed.
Aborted (core dumped)
Running with vulkan works fine: ./out/debug/path_fiddle --vk
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Build the renderer with the command shown and run path_fiddle without --vk to reproduce the shader error. Start at path_fiddle/fiddle_context_gl.cpp:47 and trace the OpenGL error callback and the reported shader location. Done means path_fiddle runs on the reported Linux AMD setup using OpenGL without the syntax-error assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100