Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on Wayland natively #6

Open
swamp-fish opened this issue Feb 23, 2019 · 3 comments
Open

Doesn't work on Wayland natively #6

swamp-fish opened this issue Feb 23, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@swamp-fish
Copy link

swamp-fish commented Feb 23, 2019

As the title says. If you just execute it you'll see this error:
ERROR djv::Graphics::GraphicsContext: Cannot create OpenGL context, found version 2.0
To run it on Wayland you need to setup variable QT_QPA_PLATFORM=xcb djv_view to run it through XWayland but it still doesn't work, you can only see 1st frame.

@darbyjohnston
Copy link
Owner

Thanks for the bug report; I will install Wayland and see if I can troubleshoot this.

@darbyjohnston
Copy link
Owner

Adding to 2.0.7 to retest.

@darbyjohnston darbyjohnston self-assigned this May 30, 2020
@darbyjohnston darbyjohnston added this to the 2.0.7 milestone May 30, 2020
@darbyjohnston
Copy link
Owner

It looks like the new 2.x versions of DJV are now able to run on Wayland, I just verified with Ubuntu 20.04. However I assume this is using X11 compatibility so I'm not sure what the performance will be like.

It looks like GLFW (the library DJV uses for windowing) has experimental support for Wayland as of version 3.3:

https://www.glfw.org/docs/3.3/news.html

When the support is more stable this issue can be assigned to a milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants