Summary: | gem_quiescent_gpu assertion fails on distribution kernels | ||
---|---|---|---|
Product: | DRI | Reporter: | Arek Hiler <arkadiusz.hiler> |
Component: | IGT | Assignee: | Default DRI bug account <dri-devel> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Arek Hiler
2018-02-21 12:23:16 UTC
EPERM is not from us. strace just to check where that is being raised? # getenforce Permissive # strace ./kms_pipe_crc_basic 2>&1 | grep EPERM openat(4, "i915_gem_drop_caches", O_WRONLY) = -1 EPERM (Operation not permitted) ls -l /sys/kernel/debug/dri/0/i915_gem_drop_caches ? # ls -l /sys/kernel/debug/dri/0/i915_gem_drop_caches -rw-r--r--. 1 root root 0 Feb 21 14:05 /sys/kernel/debug/dri/0/i915_gem_drop_caches And whoami? You are running as root, right? obviously # whoami root Then I have no idea what your distro has done :) Looks like it's caused by Fedora's customization. They picked up kernel lockdown series https://lwn.net/Articles/723653/ If the system is booted using secure boot it puts the kernel in lockdown mode, which includes disabling all the DebugFSes. To enable it you have to lift the lockdown: # sysctl kernel.sysrq=1 <Alt-PrtSc-x> on a physical keyboard; writing to /proc/sysrq-trigger does not work [ 137.276888] sysrq: SysRq : Disabling Secure Boot restrictions [ 137.276963] Lifting lockdown Closed as NOTABUG. Alternatively, it's possible to use a vanilla kernel: https://fedoraproject.org/wiki/Kernel_Vanilla_Repositories |
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.