[Ubuntu-x-swat] [Bug 1207846] Re: Xorg uses max CPU after drm:i915_hangcheck_hung

2013-08-06 Thread Andreas Kotes
I don't seem to be getting that?!?

# cat /sys/kernel/debug/dri/0/i915_error_state 
cat: /sys/kernel/debug/dri/0/i915_error_state: Cannot allocate memory

dmesg says:

[ 7297.759451] cat: page allocation failure: order:10, mode:0x1040d0
[ 7297.759524] Pid: 12167, comm: cat Tainted: GF  O 3.8.0-27-generic 
#40-Ubuntu
[ 7297.759537] Call Trace:
[ 7297.759729]  [81134c39] warn_alloc_failed+0xe9/0x140
[ 7297.759748]  [811389c1] __alloc_pages_nodemask+0x6f1/0x920
[ 7297.759787]  [81173ae8] alloc_pages_current+0xb8/0x180
[ 7297.759793]  [81133dae] __get_free_pages+0xe/0x50
[ 7297.759834]  [8117d8a9] kmalloc_order_trace+0x39/0xb0
[ 7297.759851]  [8117da81] __kmalloc+0x161/0x170
[ 7297.759859]  [8113779e] ? __free_memcg_kmem_pages+0xe/0x10
[ 7297.759906]  [811b72ee] seq_read+0x10e/0x3c0
[ 7297.759943]  [811947f9] vfs_read+0xa9/0x180
[ 7297.759945]  [81194922] sys_read+0x52/0xa0
[ 7297.759990]  [816d521d] system_call_fastpath+0x1a/0x1f
[ 7297.759993] Mem-Info:
[ 7297.760004] Node 0 DMA per-cpu:
[ 7297.760021] CPU0: hi:0, btch:   1 usd:   0
[ 7297.760029] CPU1: hi:0, btch:   1 usd:   0
[ 7297.760032] CPU2: hi:0, btch:   1 usd:   0
[ 7297.760038] CPU3: hi:0, btch:   1 usd:   0
[ 7297.760039] Node 0 DMA32 per-cpu:
[ 7297.760048] CPU0: hi:  186, btch:  31 usd:   0
[ 7297.760050] CPU1: hi:  186, btch:  31 usd:   0
[ 7297.760055] CPU2: hi:  186, btch:  31 usd:   0
[ 7297.760058] CPU3: hi:  186, btch:  31 usd:   0
[ 7297.760061] Node 0 Normal per-cpu:
[ 7297.760066] CPU0: hi:  186, btch:  31 usd:   0
[ 7297.760070] CPU1: hi:  186, btch:  31 usd: 186
[ 7297.760080] CPU2: hi:  186, btch:  31 usd:   0
[ 7297.760081] CPU3: hi:  186, btch:  31 usd:   0
[ 7297.760101] active_anon:972759 inactive_anon:333749 isolated_anon:0
[ 7297.760101]  active_file:130396 inactive_file:231836 isolated_file:27
[ 7297.760101]  unevictable:9 dirty:434 writeback:0 unstable:0
[ 7297.760101]  free:201543 slab_reclaimable:21119 slab_unreclaimable:22805
[ 7297.760101]  mapped:71170 shmem:129665 pagetables:13481 bounce:0
[ 7297.760101]  free_cma:0
[ 7297.760118] Node 0 DMA free:15344kB min:124kB low:152kB high:184kB 
active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB 
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15104kB 
managed:15360kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB 
slab_reclaimable:0kB slab_unreclaimable:16kB kernel_stack:0kB pagetables:0kB 
unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 
all_unreclaimable? yes
[ 7297.760150] lowmem_reserve[]: 0 3313 7823 7823
[ 7297.760166] Node 0 DMA32 free:707104kB min:28564kB low:35704kB high:42844kB 
active_anon:1535876kB inactive_anon:502548kB active_file:212804kB 
inactive_file:239184kB unevictable:0kB isolated(anon):0kB isolated(file):0kB 
present:3392548kB managed:3202412kB mlocked:0kB dirty:128kB writeback:0kB 
mapped:19616kB shmem:148kB slab_reclaimable:24008kB slab_unreclaimable:11364kB 
kernel_stack:240kB pagetables:992kB unstable:0kB bounce:0kB free_cma:0kB 
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[ 7297.760174] lowmem_reserve[]: 0 0 4510 4510
[ 7297.760177] Node 0 Normal free:83724kB min:3kB low:48608kB high:58332kB 
active_anon:2355160kB inactive_anon:832448kB active_file:308780kB 
inactive_file:688160kB unevictable:36kB isolated(anon):0kB isolated(file):108kB 
present:4618656kB managed:4561292kB mlocked:32kB dirty:1608kB writeback:0kB 
mapped:265064kB shmem:518512kB slab_reclaimable:60468kB 
slab_unreclaimable:79840kB kernel_stack:5376kB pagetables:52932kB unstable:0kB 
bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:14 all_unreclaimable? no
[ 7297.760201] lowmem_reserve[]: 0 0 0 0
[ 7297.760205] Node 0 DMA: 0*4kB 0*8kB 1*16kB (U) 1*32kB (U) 1*64kB (U) 1*128kB 
(U) 1*256kB (U) 1*512kB (U) 0*1024kB 1*2048kB (R) 3*4096kB (M) = 15344kB
[ 7297.760239] Node 0 DMA32: 24671*4kB (UEMR) 17936*8kB (UEMR) 11324*16kB 
(UEMR) 4714*32kB (UEMR) 1200*64kB (UEM) 241*128kB (UEM) 60*256kB (UEM) 12*512kB 
(EM) 2*1024kB (EM) 1*2048kB (R) 0*4096kB = 707452kB
[ 7297.760277] Node 0 Normal: 257*4kB (UEMR) 2218*8kB (UEMR) 102*16kB (UEM) 
151*32kB (UEM) 14*64kB (UEM) 18*128kB (UEM) 29*256kB (UEM) 6*512kB (UEM) 
26*1024kB (EM) 7*2048kB (EM) 1*4096kB (U) = 83988kB
[ 7297.760382] 491878 total pagecache pages
[ 7297.760395] 4 pages in swap cache
[ 7297.760413] Swap cache stats: add 816, delete 812, find 682/731
[ 7297.760415] Free swap  = 7810912kB
[ 7297.760416] Total swap = 7811068kB
[ 7298.070852] 2057712 pages RAM
[ 7298.070860] 104182 pages reserved
[ 7298.070861] 1419044 pages shared
[ 7298.070862] 1354547 pages non-shared


wow.

root@akotes-dev:~# uname -a
Linux akotes-dev.europe.nokia.com 3.8.0-27-generic #40-Ubuntu SMP Tue Jul 9 
00:17:05 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
root@akotes-dev:~# dpkg -S /boot/vmlinuz-3.8.0-27-generic 

[Ubuntu-x-swat] [Bug 1207846] [NEW] Xorg uses max CPU after drm:i915_hangcheck_hung

2013-08-02 Thread Andreas Kotes
Public bug reported:

Hi guys,

apprently my box overheats under high load with more-than-moderate
environment temperatures, which triggers the kernel (correctly!) to
throttle the CPU. Apparently, this throttling (or some data transfer/DRM
issue?) causes the GPU to hang/lose communication (kernel bug? see
dmesg. MCE is just talking about temparature recovery), which causes
Xorg to misbehave.

Both displays go black (from top to bottom, one after another), and come
back again, and after that everything is horribly slow, Xorg uses
90something% of the CPU, and otherwise everything seems fine. Switchtig
to a VT is bearible and stops Xorg from using CPU, killing it makes
lightdm bring it up again and everything is seemingly fine. Same
behaviour repeats soon unless load conditions are relaxed.

So, this might be two bugs: one for the kernel to let the GPU hang /
don't handle this more smartly; one for Xorg to start consuming CPU like
crazy after this happened.

Please link this bug to the proper packages, and maybe link it to other
i915_hangcheck bugs, too.

Cheers,

   count

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: xorg 1:7.7+1ubuntu4
ProcVersionSignature: Ubuntu 3.8.0-26.38-generic 3.8.13.2
Uname: Linux 3.8.0-26-generic x86_64
.tmp.unity.support.test.0:
 
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
CompizPlugins: 
[core,bailer,detection,composite,opengl,compiztoolbox,decor,resize,snap,grid,gnomecompat,place,regex,vpswitch,imgpng,session,mousepoll,unitymtgrabhandles,move,animation,workarounds,wall,fade,scale,expo,ezoom,unityshell]
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Fri Aug  2 19:31:27 2013
DistUpgraded: 2013-05-04 19:48:39,692 DEBUG enabling apt cron job
DistroCodename: raring
DistroVariant: ubuntu
DpkgLog:
 
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21da]
MachineType: LENOVO 42914BG
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.8.0-26-generic 
root=/dev/mapper/encrypted-root ro splash crashkernel=384M-2G:64M,2G-:128M 
quiet splash pcie_aspm=force vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: Upgraded to raring on 2013-05-04 (89 days ago)
dmi.bios.date: 12/01/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 8DET56WW (1.26 )
dmi.board.asset.tag: Not Available
dmi.board.name: 42914BG
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:bvr8DET56WW(1.26):bd12/01/2011:svnLENOVO:pn42914BG:pvrThinkPadX220:rvnLENOVO:rn42914BG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 42914BG
dmi.product.version: ThinkPad X220
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.9~daily13.06.19~13.04-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.43-0ubuntu1.1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.1.3-0ubuntu0.3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.1.3-0ubuntu0.3
version.xserver-xorg-core: xserver-xorg-core 2:1.13.3-0ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu2b2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.1.0-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.6-0ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.7-0ubuntu1
xserver.bootTime: Fri Aug  2 19:29:09 2013
xserver.configfile: default
xserver.errors:
 
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.13.3-0ubuntu6
xserver.video_driver: intel

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug compiz-0.9 i915 performance raring ubuntu

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

Title:
  Xorg uses max CPU after drm:i915_hangcheck_hung

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1207846/+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


[Ubuntu-x-swat] [Bug 877719] Re: [Latitude E6510] xset dpms off causes X to freeze with nvidia_current

2013-05-06 Thread Andreas Kotes
Running into the same issue on a Thinkpad X220, but only since raring.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers in Ubuntu.
https://bugs.launchpad.net/bugs/877719

Title:
  [Latitude E6510] xset dpms off causes X to freeze with nvidia_current

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/877719/+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