Public bug reported:

On a Haswell system, if AccelMethod UXA selected in xorg.conf, xserver freezes
(moveable cursor, but frozen and unresponsive desktop) each time the screen is
locked (either via inactivity or lid close on laptop) . 

This freeze does not occur if "SNA" AccelMethod is selected.
This freeze can also be avoided if vblank_mode=0 is used, even
if UXA acceleration selected.

1) Ubuntu release: 13.10, but I also tested this on
12.04 LTS, in which case I got exactly the same bug, only
the frozen screen was blank rather than frozen desktop image.

2) Expected result:

No freeze when locking screen/closing lid. Just
the login screen greeter.

3) How to reproduce:

On Haswell system, in xorg.conf:

    Section "Device"
            Identifier      "Intel Graphics"
            Driver          "intel"
            Option          "AccelMethod"  "UXA" #bug occurs
#         Option          "AccelMethod"  "SNA" #(default) no bug!
    EndSection

reboot.  Try closing the lid or locking screen a number of times
(normally within a few attempts you will see the freeze).

4) Resolution:

Short term solution is to switch to a tty and back.

Alternatively, boot with the SNA acceleration method instead.

Another alternative: use a dri config file in home directory:
~/.drirc containing

    <device screen="0" driver="dri2">
           <application name="Default">
                   <option name="vblank_mode" value="0"/>
          </application>
    </device>

to turn off vsync.

5) Importance for fglrx driver users with AMD cards:

fglrx and pxpress by default force the i915 driver to use "UXA" mode,
thus when selecting the iGPU users of fglrx will experience this freezing bug.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xserver-xorg-video-intel 2:2.99.904-0ubuntu2.1
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: fglrx
.tmp.unity.support.test.0:
 
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Tue Jan 28 20:43:34 2014
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
DkmsStatus: fglrx, 13.251, 3.11.0-15-generic, x86_64: installed
ExtraDebuggingInterest: Yes, including running git bisection searches
GraphicsCard:
 Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 
09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:2216]
   Subsystem: Lenovo Device [17aa:2216]
InstallationDate: Installed on 2014-01-17 (10 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: LENOVO 20B3CTO1WW
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic.efi.signed 
root=UUID=8a15962e-ad4d-4eb0-96af-37d167313e92 ro
SourcePackage: xserver-xorg-video-intel
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/28/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: GPET53WW (1.53 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20B3CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 Std
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: 
dmi:bvnLENOVO:bvrGPET53WW(1.53):bd11/28/2013:svnLENOVO:pn20B3CTO1WW:pvrThinkPadS5-S540:rvnLENOVO:rn20B3CTO1WW:rvr0B98405Std:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20B3CTO1WW
dmi.product.version: ThinkPad S5-S540
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2~saucy1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2.1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Tue Jan 28 19:11:22 2014
xserver.configfile: /etc/X11/xorg.conf
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.5-1ubuntu2~saucy1
xserver.video_driver: intel

** Affects: xserver-xorg-video-intel (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug compiz-0.9 saucy ubuntu

** Attachment added: "xorg.conf"
   https://bugs.launchpad.net/bugs/1273832/+attachment/3961041/+files/xorg.conf

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1273832

Title:
  [i915] Lockscreen/lid-close xserver freeze if UXA accel used.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1273832/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to