[i915] Lockscreen/lid-close xserver freeze if UXA accel used.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xserver-xorg-video-intel (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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"
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">
</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-
ProcVersionSign
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelMo
.tmp.unity.
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
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
ExtraDebuggingI
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=
SourcePackage: xserver-
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.
dmi.board.name: 20B3CTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 Std
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20B3CTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+
version.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
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.
xserver.
summary: |
- [i915] Lockscreen/lid-close xserver freeze if UXA accel used. + [fglrx] Lockscreen/lid-close xserver freeze if UXA accel used. |
summary: |
- [fglrx] Lockscreen/lid-close xserver freeze if UXA accel used. + [i915] Lockscreen/lid-close xserver freeze if UXA accel used. |
It sounds like the fairly typical error that UXA is eating the vblank notification whilst DPMS off and not informing the client that they are no longer ignored.
How about trying Option "Triplebuffer" "false"?