Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
On Thu, Aug 19, 2010 at 01:19:10PM +0100, Julien Cristau wrote: > Please keep the bug report cc:ed on replies. > > On Thu, Aug 19, 2010 at 13:38:56 +0200, Marek Eliáš wrote: > > > Maybe. I was about to file bugreport for gkrellm because It seemed to be > > only application doing this. But in the last moment I found flash and > > when I realized that nearly all my info is about behaviour of Xorg, I > > filed it for xorg. I don't care about flash. If consider this as > > gkrellm's bug, are you able to forward it to gkrellm? Or should I send > > the same report to gkrellm? > > > Try to figure out what commands gkrellm keeps sending to X when switched > away. Something like xtrace might help. In squeeze this behaviour doesn't occure anymore. gkrellm runs ok, flash too. I think the bug can be closed. marek elias -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110226083533.ga7...@pascal.doma
Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
On Thu, Aug 19, 2010 at 01:19:10PM +0100, Julien Cristau wrote: > Please keep the bug report cc:ed on replies. > > On Thu, Aug 19, 2010 at 13:38:56 +0200, Marek Eliáš wrote: > > > Maybe. I was about to file bugreport for gkrellm because It seemed to be > > only application doing this. But in the last moment I found flash and > > when I realized that nearly all my info is about behaviour of Xorg, I > > filed it for xorg. I don't care about flash. If consider this as > > gkrellm's bug, are you able to forward it to gkrellm? Or should I send > > the same report to gkrellm? > > > Try to figure out what commands gkrellm keeps sending to X when switched > away. Something like xtrace might help. I used xtrace: http://coulomb.farm.particle.cz/~elias/bug/ see xtrace* marek signature.asc Description: Digital signature
Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
Please keep the bug report cc:ed on replies. On Thu, Aug 19, 2010 at 13:38:56 +0200, Marek Eliáš wrote: > Maybe. I was about to file bugreport for gkrellm because It seemed to be > only application doing this. But in the last moment I found flash and > when I realized that nearly all my info is about behaviour of Xorg, I > filed it for xorg. I don't care about flash. If consider this as > gkrellm's bug, are you able to forward it to gkrellm? Or should I send > the same report to gkrellm? > Try to figure out what commands gkrellm keeps sending to X when switched away. Something like xtrace might help. Cheers, Julien signature.asc Description: Digital signature
Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
On Thu, Aug 19, 2010 at 12:22:44PM +0100, Julien Cristau wrote: > On Thu, Aug 19, 2010 at 12:44:06 +0200, Marek Eliáš wrote: > > > Package: xorg > > Version: 1:7.5+6 > > Severity: normal > > > > > > when I am running gkrellm in Xorg and then switch from Xorg to console, > > Xorg consumes about 12 % of CPU. > > > > This happens when gkrellm or firefox displaying web page with flash is > > running. I tried the same with application like mplayer or vlc and > > problem did not occur. Moreover when I run only mplayer playing some > > video and I switch to console, Xorg consumes nearly no CPU time. > > > Sounds like gkrellm and flash bugs to me. Maybe. I was about to file bugreport for gkrellm because It seemed to be only application doing this. But in the last moment I found flash and when I realized that nearly all my info is about behaviour of Xorg, I filed it for xorg. I don't care about flash. If consider this as gkrellm's bug, are you able to forward it to gkrellm? Or should I send the same report to gkrellm? thanks, marek elias -- To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100819113856.ga4...@pascal.doma
Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
On Thu, Aug 19, 2010 at 12:44:06 +0200, Marek Eliáš wrote: > Package: xorg > Version: 1:7.5+6 > Severity: normal > > > when I am running gkrellm in Xorg and then switch from Xorg to console, > Xorg consumes about 12 % of CPU. > > This happens when gkrellm or firefox displaying web page with flash is > running. I tried the same with application like mplayer or vlc and > problem did not occur. Moreover when I run only mplayer playing some > video and I switch to console, Xorg consumes nearly no CPU time. > Sounds like gkrellm and flash bugs to me. Cheers, Julien signature.asc Description: Digital signature
Bug#593572: xorg: Xorg consumes about 12% of CPU when gkrellm running and you switch from X to console
Package: xorg Version: 1:7.5+6 Severity: normal when I am running gkrellm in Xorg and then switch from Xorg to console, Xorg consumes about 12 % of CPU. This happens when gkrellm or firefox displaying web page with flash is running. I tried the same with application like mplayer or vlc and problem did not occur. Moreover when I run only mplayer playing some video and I switch to console, Xorg consumes nearly no CPU time. When I am in Xorg, gkrellm runs OK, the problem occurs only when I switch from Xorg to console. Similarly with flash. In case of gkrellm running, Xorg consumes about 2% of CPU when in Xorg and 12% when in console. In case of flash, Xorg consumes about 4% of CPU when switched to Xorg and 24% when switched to console. This CPU usage is approximately same all the time I am switched to console. straces of gkrellm seems to be same whether I am in Xorg or in console. So I tried to strace Xorg process. I don't know what to look for, but here are some statistics if you are interested. I ran strace on Xorg for 60 seconds with and without gkrellm running: without gkrellm: % time seconds usecs/call callserrors syscall -- --- --- - - 63.270.000310 0 3242 ioctl 18.570.91 0 394 setitimer 11.020.54 0 392 195 read 7.140.35 0 635 clock_gettime 0.000.00 061 munmap 0.000.00 0 197 select 0.000.00 0 136 writev -- --- --- - - 100.000.000490 5057 195 total with gkrellm running: % time seconds usecs/call callserrors syscall -- --- --- - - 99.718.556992 87 98452 ioctl 0.280.024115 23 1065 select 0.000.000294 0 2130 setitimer 0.000.000126 0 1726 836 read 0.000.000113 0 2504 clock_gettime 0.000.000104 261 munmap 0.000.60 0 195 writev 0.000.00 0 244 6 sigreturn -- --- --- - - 100.008.581804106377 842 total I counted ioctl request codes: ioctl request code gkrellm not running gkrellm running -- --- --- 0xc00c6466 181 1345 0xc010645b 60 60 0xc020645e 60 65 0x400c645f 144048858 0x40046460 144048062 0x40086409 61 61 You can find whole straces in http://coulomb.farm.particle.cz/~elias/bug/ if you are interested. There is also my xorg.conf and some Xorg.log files. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages xorg depends on: ii gnome-terminal [x-terminal-em 2.30.2-1 The GNOME terminal emulator applic ii libgl1-mesa-dri 7.7.1-3A free implementation of the OpenG ii libgl1-mesa-glx [libgl1] 7.7.1-3A free implementation of the OpenG ii libglu1-mesa 7.7.1-3The OpenGL utility library (GLU) ii x11-apps 7.5+5 X applications ii x11-session-utils 7.5+1 X session utilities ii x11-utils 7.5+4 X11 utilities ii x11-xfs-utils 7.4+1 X font server utilities ii x11-xkb-utils 7.5+5 X11 XKB utilities ii x11-xserver-utils 7.5+1+b1 X server utilities ii xauth 1:1.0.4-1 X authentication utility ii xfonts-100dpi 1:1.0.1100 dpi fonts for X ii xfonts-75dpi 1:1.0.175 dpi fonts for X ii xfonts-base 1:1.0.1standard fonts for X ii xfonts-scalable 1:1.0.1-1 scalable fonts for X ii xfonts-utils 1:7.5+2X Window System font utility progr ii xinit 1.2.0-2X server initialisation tool ii xkb-data 1.8-1 X Keyboard Extension (XKB) configu ii xorg-docs-core1:1.5-1Core documentation for the X.org X ii xserver-xorg 1:7.5+6the X.Org X server ii xterm [x-terminal-emulator] 261-1 X terminal emulator xorg recommends no packages. Versions of package