(In reply to comment #55)
> Created attachment 74005 [details]
> Xorg.0.log with intel_drv.so 2.20.8
> 
> Sorry for the delay, it's awfully confusing that we're both called Chris
> Wilson, I didn't realise that you'd replied to my comment :)
> 
> Here is Xorg.0.log, hopefully showing that the driver running is 2.20.8 (so
> with the patch)?
> 
> I haven't been running xrestop, sorry. I've just started. Even if this is a
> client pixmap leak, surely one app shouldn't be able to bring down my
> desktop? Wouldn't that be a bug, perhaps in X itself rather than the Intel
> driver? But I've never seen anything like this happen with any other
> graphics card or system in 15 years of using Linux on the desktop.

It's a Denial-of-Service. There's a limited address space for mmapping
of buffers, so that if the client does leak, eventually we will not be
able to map a new buffer and it will remain blank. (KDE is full of such
examples, or at least one sufficiently common one.)

We've harden the kernel to recover as much of that space as possible,
but that is limited by the guarantees given by the userspace API. On the
other side, it is possible to use alternative fallback methods if the
mmapping fails, that hardening is present in SNA. Nevertheless, the
side-effects will remain unpleasant until the source of the bug is
found.

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

Title:
  Corrupt display after a while (after resume?) on intel graphics

Status in X.org xf86-video-intel:
  Fix Released
Status in “xserver-xorg-video-intel” package in Ubuntu:
  New

Bug description:
  I'm using a Thinkpad X201 with Intel graphics:

  chris@lap-x201:~$ lspci -vvv -s 00:02.0
  00:02.0 VGA compatible controller: Intel Corporation Core Processor 
Integrated Graphics Controller (rev 02) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 215a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 42
        Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

  chris@lap-x201:~$ lspci -vvvn -s 00:02.0
  00:02.0 0300: 8086:0046 (rev 02) (prog-if 00 [VGA controller])
        Subsystem: 17aa:215a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- 
<MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 42
        Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

  I usually notice this problem after several days of use, which would
  normally include several suspend and resume cycles and
  (dis)connections of an external monitor.

  chris@lap-x201:~$ lsb_release -rd
  Description:  Ubuntu 12.04.1 LTS
  Release:      12.04

  chris@lap-x201:~$ apt-cache policy xserver-xorg-video-intel
  xserver-xorg-video-intel:
    Installed: 2:2.17.0-1ubuntu4.1
    Candidate: 2:2.17.0-1ubuntu4.1
    Version table:
   *** 2:2.17.0-1ubuntu4.1 0
          500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main i386 
Packages
          100 /var/lib/dpkg/status
       2:2.17.0-1ubuntu4 0
          500 http://gb.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

  
  [ 75101.039] (II) intel(0): [DRI2] Setup complete
  [ 75101.039] (II) intel(0): [DRI2]   DRI driver: i965
  [ 75101.039] (II) intel(0): Allocated new frame buffer 1280x800 stride 5120, 
tiled
  [ 75101.050] (II) UXA(0): Driver registered support for the following 
operations:
  [ 75101.050] (II)         solid
  [ 75101.050] (II)         copy
  [ 75101.050] (II)         composite (RENDER acceleration)
  [ 75101.050] (II)         put_image
  [ 75101.050] (II)         get_image
  [ 75101.050] (==) intel(0): Backing store disabled
  [ 75101.050] (==) intel(0): Silken mouse enabled
  [ 75101.050] (II) intel(0): Initializing HW Cursor
  [ 75101.333] (II) intel(0): RandR 1.2 enabled, ignore the following RandR 
disabled message.
  [ 75101.336] (==) intel(0): DPMS enabled
  [ 75101.336] (==) intel(0): Intel XvMC decoder enabled
  [ 75101.336] (II) intel(0): Set up textured video
  [ 75101.341] (II) intel(0): [XvMC] xvmc_vld driver initialized.
  [ 75101.341] (II) intel(0): direct rendering: DRI2 Enabled
  [ 75101.341] (==) intel(0): hotplug detection: "enabled"

  [ 75101.363] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
  [ 75101.363] (II) AIGLX: enabled GLX_INTEL_swap_event
  [ 75101.363] (II) AIGLX: enabled GLX_SGI_swap_control and 
GLX_MESA_swap_control
  [ 75101.363] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
  [ 75101.363] (II) AIGLX: Loaded and initialized i965
  [ 75101.363] (II) GLX: Initialized DRI2 GL provider for screen 0
  [ 75101.364] (II) intel(0): Setting screen physical size to 338 x 211

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: xserver-xorg-video-intel 2:2.17.0-1ubuntu4.1
  Uname: Linux 3.6.0-030600rc6-generic i686
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.0.1-0ubuntu12
  Architecture: i386
  CompizPlugins: 
[core,composite,opengl,compiztoolbox,decor,grid,clone,regex,resize,animation,gnomecompat,snap,workarounds,vpswitch,fadedesktop,imgpng,mousepoll,move,place,ezoom,session,staticswitcher,fade,cube,scale,gears]
  CompositorRunning: compiz
  Date: Fri Sep 21 11:44:24 2012
  DistUpgraded: 2012-08-25 13:19:45,909 DEBUG enabling apt cron job
  DistroCodename: precise
  DistroVariant: ubuntu
  EcryptfsInUse: Yes
  ExtraDebuggingInterest: Yes, even including gdb or git bisection work if 
needed
  GraphicsCard:
   Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] 
(rev 02) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:215a]
  MachineType: LENOVO 3323DAG
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.6.0-030600rc6-generic 
root=UUID=3d626876-a6a6-4378-b989-3acdf40c39c7 ro quiet splash resume=/dev/sda5 
vt.handoff=7
  SourcePackage: xserver-xorg-video-intel
  UdevDb: Error: [Errno 2] No such file or directory
  UpgradeStatus: Upgraded to precise on 2012-08-25 (26 days ago)
  dmi.bios.date: 12/17/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6QET62WW (1.32 )
  dmi.board.name: 3323DAG
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr6QET62WW(1.32):bd12/17/2010:svnLENOVO:pn3323DAG:pvrThinkPadX201:rvnLENOVO:rn3323DAG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 3323DAG
  dmi.product.version: ThinkPad X201
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.7.8-0ubuntu1.4
  version.libdrm2: libdrm2 2.4.32-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.3+8.0.2-0ubuntu3.2
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.3+8.0.2-0ubuntu3.2
  version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.7
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:6.14.99~git20111219.aacbd629-0ubuntu2
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.17.0-1ubuntu4.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:0.0.16+git20111201+b5534a1-1build2

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to