Bug 1212481 - Wayland: amdgpu_cs_ctx_create2 failed; eglCreateContext, error: EGL_BAD_ALLOC (0x3003)
Summary: Wayland: amdgpu_cs_ctx_create2 failed; eglCreateContext, error: EGL_BAD_ALLOC...
Status: RESOLVED DUPLICATE of bug 1212345
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Gfx Bugs
QA Contact: Gfx Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-17 23:56 UTC by Georg Pfuetzenreuter
Modified: 2023-06-18 07:15 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
AMD/Wayland error (256.63 KB, image/jpeg)
2023-06-17 23:56 UTC, Georg Pfuetzenreuter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Pfuetzenreuter 2023-06-17 23:56:00 UTC
Created attachment 867659 [details]
AMD/Wayland error

Hi,

I just upgraded a Tumbleweed installation on a Lenovo ThinkPad T14s with Wayland/openSUSEway from 20230605 to 20230614. Shortly after the boot sequence, just when greetd would usually launch, the following flashes a few times on the screen and eventually stays there statically with a blinking cursor underneath:

```
unable to get working directory: No such file or directory (os error 2)
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)

[wlr] [EGL] command: eglCreateContext, error: EGL_BAD_ALLOC (0x3003), message: "dri2_create_context"
[wlr] [renderer/egl.c:409] Failed to create EGL context
[wlr] [renderer/egl.c:554] Failed to initialize EGL context
[wlr] [renderer/gles2/renderer.c:679] Could not initialize EGL
[wlr] [renderer/wlr_renderer.c:333] Could not initialize renderer
[sway/server.c:79] Failed to create renderer
```

As I typed the above off the screen, I am attaching a picture for completeness.

Would appreciate any ideas. I can boot off a live medium and work from a chroot if needed.

Cheers,
Georg
Comment 1 Georg Pfuetzenreuter 2023-06-17 23:59:58 UTC
Unsure if related: https://bugzilla.opensuse.org/show_bug.cgi?id=1212324
Comment 2 Georg Pfuetzenreuter 2023-06-18 00:24:31 UTC
> I can boot off a live medium and work from a chroot if needed.

Correction, a different tty works just well - and so does starting SDDM and logging into a Plasma X11 session.
Comment 3 Stefan Dirsch 2023-06-18 07:13:17 UTC
Duplicate.

*** This bug has been marked as a duplicate of bug 1212345 ***
Comment 4 Stefan Dirsch 2023-06-18 07:13:44 UTC
(In reply to Georg Pfuetzenreuter from comment #1)
> Unsure if related: https://bugzilla.opensuse.org/show_bug.cgi?id=1212324

This looks like another duplicate of boo#1212345
Comment 5 Georg Pfuetzenreuter 2023-06-18 07:15:55 UTC
Thank you, Stefan.  I missed that one when searching. Great to hear there's already a fix.