[Bug 83605] New: [HD 4400] failed to set mode: Permission denied [13]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 8 01:52:25 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83605

          Priority: medium
            Bug ID: 83605
          Assignee: chris at chris-wilson.co.uk
           Summary: [HD 4400] failed to set mode: Permission denied [13]
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: bugs.freedesktop.org at ewgenij-starostin.name
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: Driver/intel
           Product: xorg

Created attachment 105883
  --> https://bugs.freedesktop.org/attachment.cgi?id=105883&action=edit
Xorg log: switches VTs, black screen, killall’d after five seconds

When starting Xorg on my Thinkpad X240 with Intel HD 4400 graphics, the screen
turns black, no cursor, with backlight off and no response to keyboard (VT
switch, zap) or X clients’ connection attempts. On killing Xorg, I get back a
usable console.

In Xorg.0.log, relevant errors are
[   111.245] (II) intel(0): switch to mode 1920x1080 at 60.0 on eDP1 using pipe 0,
position (0, 0), rotation normal, reflection none
[   111.247] (EE) intel(0): failed to set mode: Permission denied [13]
[   111.247] (WW) intel(0): failed to restore desired modes on VT switch
[   111.247] (EE) intel(0): sna_mode_check: invalid state found on pipe 0,
disabling CRTC:7

while in dmesg output, there are lines such as
[  111.297648] [drm:i915_gem_execbuffer2] copy 1 exec entries failed 56
and
[  111.366636] [drm:drm_ioctl] pid=3944, dev=0xe200, auth=1,
DRM_IOCTL_MODE_SETCRTC
[  111.366637] [drm:drm_ioctl] ret = -13

I use Gentoo, with this error occurring in the same way in two configurations:
(a) Linux 3.16.1 with various third-party patches, Xorg 1.16.0,
xf86-video-intel 2.99.914, libdrm 2.4.54, all from the Gentoo repository
(USE=sna -uxa; CFLAGS=-O2 -march=core-avx2),
(b) Linux 3.17.0-rc4+, xf86-video-intel 2.99.916 and libdrm 2.4.56 all from
their respective git repos, and Xorg 1.16.0 from the Gentoo repository (as
above).

I’ve recorded logs by running
intel_reg_dumper >intel_reg1 ; Xorg -logverbose 255 & ( sleep 5 ;
intel_reg_dumper >intel_reg2 ; killall Xorg ; intel_reg_dumper >intel_reg3 ;
dmesg >dmesg.log )
after a cold boot. The notebook screen was already in its 1920x1080 preferred
resolution and no other screen was attached. The configuration files in
/usr/share/X11/xorg.conf.d contain only InputDevice sections and there is no
configuration directory or file in /etc. The issue occurs every time I attempt
to run Xorg.

I’m hoping somebody can provide an insight into what’s wrong. :-)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140908/c9b9401b/attachment.html>


More information about the intel-gfx-bugs mailing list