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

Nvidia 570 "Failed to initialize EGL" and broken VRR #1194

Open
Mithras opened this issue Feb 1, 2025 · 2 comments
Open

Nvidia 570 "Failed to initialize EGL" and broken VRR #1194

Mithras opened this issue Feb 1, 2025 · 2 comments

Comments

@Mithras
Copy link

Mithras commented Feb 1, 2025

After installing 570 cosmic-greeter shows 3 of these before starting:

2025-02-01T11:25:15.386162Z 14165661 session-6.scope cosmic-comp[1281] ERROR [EGL] 0x3003 (BAD_ALLOC) eglQueryDevicesEXT: EGL_BAD_ALLOC error: In eglQueryDevicesEXT: Failed to allocate device list.                        │
│2025-02-01T11:25:15.386299Z 14165797 session-6.scope cosmic-comp[1281] ERROR [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: gbm device using incorrect/incompatible backend                                             │
│2025-02-01T11:25:15.386338Z 14165837 session-6.scope cosmic-comp[1281] ERROR [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: gbm device using incorrect/incompatible backend                                             │
│2025-02-01T11:25:15.386384Z 14165882 session-6.scope cosmic-comp[1281] ERROR [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: DRI2: gbm device using incorrect/incompatible backend                                             │
│2025-02-01T11:25:15.386397Z 14165895 session-6.scope cosmic-comp[1281] ERROR [EGL] 0x3001 (NOT_INITIALIZED) eglInitialize: eglInitialize                                                                                     │
│2025-02-01T11:25:15.386449Z 14165948 session-6.scope cosmic-comp[1281] ERROR Failed to restore previous state. Error: Invalid argument (os error 22)                                                                         │
│2025-02-01T11:25:15.386474Z 14165972 session-6.scope cosmic-comp[1281] WARNING Failed to add device /dev/dri/card0: Failed to create EGLDisplay for device: Some("/dev/dri/card0")                                           │
│                                                                                                                                                                                                                             │
│Caused by:                                                                                                                                                                                                                   │
│    0: Failed to initialize EGL. Err: EGL is not initialized, or could not be initialized, for the specified EGL display connection.                                                                                         │
│    1: EGL is not initialized, or could not be initialized, for the specified EGL display connection.           

cosmic intelf only starts if VRR is disabled. If I try to enable VRR the screen just turns off. After screen is off, I can still ssh and/or switch tty and ctrl+alt+del to reboot. After enabling VRR the only way to get back to the desktop is to delete ~/.local/state/cosmic-comp/outputs.ron.
Aside from the errors above and broken VRR the system seems to be working fine.


Image

Image

@Mithras
Copy link
Author

Mithras commented Feb 1, 2025

So far I've tried:

  • Disabling/Enabling iGPU in UEFI
  • Disabling/Enabling GSP
  • Adding/Removing initcall_blacklist=simpledrm_platform_driver_init

No luck.

@Mithras
Copy link
Author

Mithras commented Feb 4, 2025

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

No branches or pull requests

1 participant