Skip to content

Add Nvidia GPU support #3

@dmarts05

Description

@dmarts05

Hi, I have been trying to make this work with my Nvidia GPU but it seems to be harder than I thought.

I am using an RTX 2070 with Arch Linux as my host machine and this is the error that it gives at first:
00:00:00.003 [ERROR] [sway/main.c:65] Proprietary Nvidia drivers are NOT supported. Use Nouveau. To launch sway anyway, launch with --unsupported-gpu and DO NOT report issues.

After adding that flag to entrypoint_user.sh it throws another error:
app-1 | 00:00:00.001 [ERROR] [sway/main.c:62] !!! Proprietary Nvidia drivers are in use !!! app-1 | libEGL warning: egl: failed to create dri2 screen app-1 | 00:00:00.014 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" app-1 | libEGL warning: egl: failed to create dri2 screen app-1 | 00:00:00.017 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to create screen" app-1 | libEGL warning: failed to open /dev/dri/card1: Permission denied app-1 | app-1 | 00:00:00.017 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "DRI2: failed to load driver" app-1 | 00:00:00.017 [ERROR] [wlr] [EGL] command: eglInitialize, error: EGL_NOT_INITIALIZED (0x3001), message: "eglInitialize" app-1 | 00:00:00.017 [ERROR] [wlr] [render/egl.c:269] Failed to initialize EGL app-1 | 00:00:00.017 [ERROR] [wlr] [render/egl.c:572] Failed to initialize EGL context app-1 | 00:00:00.017 [ERROR] [wlr] [render/gles2/renderer.c:804] Could not initialize EGL

Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions