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

sway fails to initialize display #5276

Closed
jhalmen opened this issue Apr 29, 2020 · 4 comments
Closed

sway fails to initialize display #5276

jhalmen opened this issue Apr 29, 2020 · 4 comments

Comments

@jhalmen
Copy link
Contributor

jhalmen commented Apr 29, 2020

On sway master (& wlroots master) sway does not start up anymore for me.

sway.log

the important bits probably are:

[backend/drm/drm.c:708] Initializing renderer on connector 'eDP-1'
[backend/drm/util.c:210] Unable to add DRM framebuffer: Invalid argument
[backend/drm/drm.c:742] Page-flip failed with primary FB modifiers enabled, retrying without modifiers
[backend/drm/util.c:210] Unable to add DRM framebuffer: Invalid argument
[backend/drm/drm.c:751] Failed to initialize renderer on connector 'eDP-1': initial page-flip failed
[backend/drm/drm.c:834] Failed to initialize renderer for plane

I had been on stable for quite a while, but wanted to try out the many tablet/pen improvements that have recently come to sway.

@emersion
Copy link
Member

Fixed in swaywm/wlroots#2141

@jhalmen
Copy link
Contributor Author

jhalmen commented Apr 29, 2020

wow thanks! i'll be patient then

@danielmorlock
Copy link

Same problem with wlroots 0.12.0 and sway 1.5.1-r1 on Gentoo, Kernel 5.10.2:

03:30:59.881 [ERROR] [backend/drm/atomic.c:36] eDP-1: Atomic commit failed (modeset): Invalid argument
03:30:59.887 [ERROR] [backend/drm/atomic.c:36] eDP-1: Atomic commit failed (modeset): Invalid argument
03:30:59.887 [ERROR] [backend/drm/drm.c:744] Failed to initialize renderer on connector 'eDP-1': initial page-flip failed
03:30:59.887 [ERROR] [backend/drm/drm.c:817] Failed to initialize renderer for plane
03:30:59.887 [sway/config/output.c:414] Failed to commit output eDP-1

@emersion
Copy link
Member

emersion commented Jan 4, 2021

Please open a new issue with DRM debug logs, see https://github.com/swaywm/wlroots/wiki/DRM-Debugging

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

No branches or pull requests

3 participants