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

Initial EGL Support for X11 #2

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Conversation

rupansh
Copy link

@rupansh rupansh commented Jan 23, 2022

This PR adds EGL support for X11 targets.
It can be further extended to support wayland as well.
Please note that I do not know C# formally so feel free to point out any mistakes.

A fork of Ryujinx which works with this is available - https://github.com/rupansh/Ryujinx
I have tested this on the following setup(s) -

Arch Linux
Kernel 5.16.1
RTX 3060 Mobile
Nvidia 495.46
Prime Offload

and

Arch Linux
Kernel 5.16.1
UHD 630

@edisionnano
Copy link

This pr has fixed all my issues with nvidia laptops.

SPB/Platform/EGL/EGLWindow.cs Outdated Show resolved Hide resolved
SPB/Platform/EGL/EGLOpenGLContext.cs Outdated Show resolved Hide resolved
SPB/Platform/EGL/EGLHelper.cs Show resolved Hide resolved
SPB/Platform/EGL/EGL.cs Outdated Show resolved Hide resolved
SPB/Platform/X11/X11Helper.cs Outdated Show resolved Hide resolved
throw new NotImplementedException();
}

unsafe {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you assuming X here to create the window????

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

Successfully merging this pull request may close these issues.

3 participants