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

DRM Access Error: Page flip commit failed on device during greeter session #1172

Open
mirkobrombin opened this issue Jan 24, 2025 · 4 comments

Comments

@mirkobrombin
Copy link

While running the greeter, the following error occurs:

Image

and the following gets logged in the journal:

DRM access error: Page flip commit failed on device `Some("/dev/dri/card0")` (Permission denied (os error 13))

Extended journal

Jan 24 09:40:37 vos cosmic-comp[22293]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 16)
Jan 24 09:40:48 vos cosmic-comp[22293]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
Jan 24 09:41:22 vos cosmic-comp[22293]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 9)
Jan 24 09:41:47 vos cosmic-comp[22293]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 9)
Jan 24 09:41:53 vos cosmic-comp[22293]: Failed to submit rendering: Failed to submit result for display

                                        Caused by:
                                            0: The underlying drm surface encountered an error: DRM access error: Page flip commit failed on device `Some("/dev/dri/card0")` (Permission denied (os error 13))
                                            1: DRM access error: Page flip commit failed on device `Some("/dev/dri/card0")` (Permission denied (os error 13))
                                            2: Permission denied (os error 13)

                                        Stack backtrace:
                                           0: <unknown>

Specs

Image

@mmstick mmstick transferred this issue from pop-os/cosmic-greeter Jan 24, 2025
@Drakulix
Copy link
Member

I am not sure, if the page flip error isn't mostly a symptom of the greeter crashing.
pop-os/cosmic-greeter#180 should fix that particular issue, please tell me, if this error persists after said fix.

@mirkobrombin
Copy link
Author

Hi, thanks for merging it. Just tested, while the warning disappeared, the issue persist. The output is the same, just without the warning.

@rengare
Copy link

rengare commented Jan 31, 2025

I have it too, I'll get the master version and let you know
btw what is the best way to debug greeting? Should I run it inside another wayland session?

Edit
I added a video group to my user and it looks like its solves the issue
sudo usermod -a -G video $USER
also I found this post which points to late drm initialization of systemd
https://bbs.archlinux.org/viewtopic.php?id=250684

@mirkobrombin
Copy link
Author

mirkobrombin commented Jan 31, 2025

cosmic-greeter started working again after rebuilding all the cosmic desktop. Not sure what fixed it, for sure converting RPM packages to DEB was not so smart from my side.

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

3 participants