Bug 109150 - "failed to set DRM interface version 1.4: Permission denied" after resume for lock screen.
Summary: "failed to set DRM interface version 1.4: Permission denied" after resume for...
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-25 15:49 UTC by nanericwang
Modified: 2019-02-07 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log before lock screen. (35.91 KB, text/plain)
2018-12-25 15:49 UTC, nanericwang
no flags Details
xorg log after resume from lock screen (monitor suspended) (21.92 KB, text/plain)
2018-12-25 15:50 UTC, nanericwang
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nanericwang 2018-12-25 15:49:30 UTC
Created attachment 142890 [details]
Xorg log before lock screen.

Everytime after resume from a lock screen (monitor suspend), I see the following error from xorg log:

[    20.962] (II) xfree86: Adding drm device (/dev/dri/card0)
[    20.962] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied


There is no such errors at first boot (before lock screen).

My question:

- How to know what is trying to access "/dev/dri/card0"? Where is the log?
- Why it is trying to access "/dev/dri/card0", given that the xorg is started already?
Comment 1 nanericwang 2018-12-25 15:50:23 UTC
Created attachment 142891 [details]
xorg log after resume from lock screen (monitor suspended)
Comment 2 Emil Velikov 2019-02-07 18:09:06 UTC
The log says

systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

Thus the FD is handled manually and for some reason fails on your end. Normally I would suggest adding the -keeptty. If that's not an option please bisect which project/commit cause this issue - kernel, libdrm or Xorg.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.