Gentoo Archives: gentoo-amd64

From: Kyle Lutze <kyle@×××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] modular xorg-x11 major issues with cpu usagea nd screen refreshing
Date: Sun, 16 Apr 2006 16:03:14
Message-Id: 44426A3B.8030006@randomvoids.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 this has been going on for quite a while, and I've tried posting to the
5 forums without success, so I shall try here.
6 a while back I had a package that depended on the modular xorg, so I
7 went through and upgraded. I didn't change anything in my xorg.conf
8 file, but since the upgrade my system has been at at least 20% CPU usage
9 at any given time, and uptime always shows at least .50, and that's at a
10 complete idle.
11
12 When running any program, such as thunderbird, x-chat, firefox, etc.
13 when I move the window, scroll, or anything of the like it refreshes
14 from top to bottom, and takes up to 2 seconds to refresh the whole
15 window. if a new line shows up in x-chat, it redraws line after line of
16 text from top to bottom, hard as hell to read in #gentoo. I can't figure
17 it out.
18
19 now here comes the interesting part. I can watch a movie in mplayer just
20 fine, no issues at all. I tried playing a game, in this case glob2, and
21 it was slow as hell to refresh, and the mouse was jumpy. go figure
22
23 some info about the system:
24 - - I use xfce4 as my wm
25 - - it's a tyan mobo with an opteron 242 and a gig of ram
26 - - it used to work on 6.x
27 - - I have an nvidia graphics card
28
29 things I've tried
30 - - downgrading and upgrading the nvidia driver
31 - - switching between kernels from 2.6.14x to 2.6.16x
32 - - downgrading and upgrading xfce4 (that was hell trying to manage the
33 dependencies to do it properly)
34 - - skipping gdm and loading xfce4 via startxfce4 at cli
35
36 any ideas at all are more then welcome as nothing has worked so far
37
38 Thanks in advanced,
39 Kyle
40
41 - ----------------------------------
42 appleboy@dioxide ~ $ emerge --info
43 Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6,
44 glibc-2.4-r1, 2.6.16-gentoo-r1-apple1 x86_64)
45 =================================================================
46 System uname: 2.6.16-gentoo-r1-apple1 x86_64 AMD Opteron(tm) Processor 242
47 Gentoo Base System version 1.12.0_pre17
48 ccache version 2.3 [enabled]
49 dev-lang/python: 2.3.5-r2, 2.4.2
50 sys-apps/sandbox: 1.2.17
51 sys-devel/autoconf: 2.13, 2.59-r7
52 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
53 sys-devel/binutils: 2.16.1-r2
54 sys-devel/libtool: 1.5.22
55 virtual/os-headers: 2.6.11-r2
56 ACCEPT_KEYWORDS="amd64"
57 AUTOCLEAN="yes"
58 CBUILD="x86_64-pc-linux-gnu"
59 CFLAGS="-march=opteron -O2 -pipe -fweb"
60 CHOST="x86_64-pc-linux-gnu"
61 CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
62 /usr/share/config /var/qmail/control"
63 CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
64 CXXFLAGS="-march=opteron -O2 -pipe -fweb"
65 DISTDIR="/usr/portage/distfiles"
66 FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
67 strict userpriv usersandbox"
68 GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
69 http://gentoo.ccccom.com"
70 MAKEOPTS="-j2"
71 PKGDIR="/usr/portage/packages"
72 PORTAGE_TMPDIR="/var/tmp"
73 PORTDIR="/usr/portage"
74 SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
75 USE="amd64 X a52 aac aalib acl alsa apache2 audiofile avi
76 bash-completion bcmath berkdb bidi bitmap-fonts bzip2 caps cdda cddb
77 cdparanoia chroot cjk crypt cscope cups curl curlwrappers dbus dedicated
78 dlloader dts dv dvb dvd dvdr dvdread eds emboss encode exif fam fbcon
79 ffmpeg flac flash fltk foomaticdb fortran gd gdbm gif gimp glut gmp
80 gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 idn ieee1394
81 imagemagick imap imlib innodb ipv6 isdnlog jack java javascript jpeg
82 kerberos ladcca lcms ldap libcaca lirc lm_sensors logrotate lzw lzw-tiff
83 mad maildir matroska mcal md5sum memlimit mikmod mjpeg mng motif mp3
84 mpeg mysql mythtv nas ncurses network nls nntp nptl nptlonly nsplugin
85 nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl php plotutils
86 png pnp portaudio posix postgres ppds pppd prelude python qt quicktime
87 readline rrdtool samba scanner skey slang sndfile snmp sockets socks5
88 speex spell ssl svg tcltk tcpd tetex theora tiff tokenizer truetype
89 truetype-fonts type1-fonts unicode usb v4l vcd vhosts vorbis wmf
90 wxwindows xgetdefault xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint
91 xsl xv xvid yaz zlib elibc_glibc input_devices_keyboard
92 input_devices_mouse kernel_linux userland_GNU video_cards_nv
93 video_cards_nvidia video_cards_vesa"
94 Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
95 LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
96
97 -
98 ----------------------------------------------------------------------------
99
100 appleboy@dioxide ~ $ cat /etc/X11/xorg.conf
101 # *********************************************************************
102 # Basically for all of your fonts
103 # ********************************************************************
104 Section "Files"
105 FontPath "/usr/share/fonts/misc:unscaled"
106 FontPath "/usr/share/fonts/Type1"
107 FontPath "/usr/share/fonts/TTF"
108 FontPath "/usr/share/fonts/corefonts"
109 FontPath "/usr/share/fonts/freefont"
110 FontPath "/usr/share/fonts/sharefonts"
111 FontPath "/usr/share/fonts/terminus"
112 FontPath "/usr/share/fonts/ttf-bitstream-vera"
113 FontPath "/usr/share/fonts/unifont"
114 FontPath "/usr/share/fonts/75dpi:unscaled"
115 FontPath "/usr/share/fonts/100dpi:unscaled"
116 FontPath "/usr/share/fonts/artwiz"
117 FontPath "/usr/share/fonts/local/"
118 FontPath "/usr/share/fonts/misc/"
119 FontPath "/usr/share/fonts/CID/"
120 FontPath "/usr/share/fonts/encodings/"
121 FontPath "/usr/share/fonts/util/"
122 FontPath "/usr/share/fonts/lfp-fix/"
123 FontPath "/usr/share/fonts/75dpi/"
124 FontPath "/usr/share/fonts/100dpi/"
125 FontPath "/usr/share/fonts/cyrillic"
126 FontPath "/usr/share/fonts/ukr"
127 FontPath "/usr/share/fonts/artwiz-aleczapka-en
128 FontPath "/usr/share/fonts/cronyx/misc/:unscaled"
129 FontPath "/usr/share/fonts/cronyx/75dpi/:unscaled"
130
131 EndSection
132
133 #some sort of thing for composite
134 Section "Extensions"
135 Option "Composite" "true"
136 EndSection
137
138 # **********************************************************************
139 # Module section -- this is an optional section which is used to specify
140 # which run-time loadable modules to load when the X server starts up.
141 # **********************************************************************
142
143 Section "Module"
144 Load "dbe"
145 Load "extmod"
146 Load "record"
147 Load "xtrap"
148 # Load "vnc"
149 Load "type1"
150 Load "freetype"
151 Load "glx"
152
153 EndSection
154
155 # **********************************************************************
156 # Server flags section. This contains various server-wide Options.
157 # **********************************************************************
158
159 Section "ServerFlags"
160 # Option "DontVTSwitch"
161 # Option "DontZap"
162 # Option "DontZoom"
163 # Option "DisableVidModeExtension"
164 # Option "AllowNonLocalXvidtune"
165 # Option "DisableModInDev"
166 # Option "AllowNonLocalModInDev"
167
168 #in minutes
169 Option "blank time" "2"
170 Option "standby time" "3"
171 Option "suspend time" "5"
172 # Option "off time" "60"
173 EndSection
174
175 # **********************************************************************
176 # Keyboards
177 # **********************************************************************
178 Section "InputDevice"
179 Identifier "Keyboard0"
180 Driver "kbd"
181 Option "AutoRepeat" "500 30"
182 Option "XkbModel" "pc105"
183 Option "XkbLayout" "us"
184 EndSection
185
186 # **********************************************************************
187 # Mice (one section takes care of all)
188 # **********************************************************************
189 Section "InputDevice"
190 Identifier "Logitech MX900"
191 Driver "mouse"
192 Option "CorePointer"
193 Option "Protocol" "auto"
194 Option "Device" "/dev/input/mice"
195 Option "ZAxisMapping" "4 5"
196 Option "Buttons" "5"
197 Option "Emulate3Buttons" "false"
198 Option "Resolution" "800"
199 EndSection
200
201 # **********************************************************************
202 # Graphics device section
203 # **********************************************************************
204 Section "Device"
205 Identifier "GeForce4"
206 Driver "nvidia"
207 Option "RenderAccel" "false"
208 # VideoRam 65536
209 Option "NvAGP" "2"
210 Option "dpms"
211 Option "UseEdidFreqs" "yes"
212 Option "FlatPanelProperties" "Scaling = aspect-scaled"
213 Option "CursorShadow" "yes"
214 # Option "intern_disp"
215 # Option "extern_disp"
216 Option "NoLogo" "true"
217 Option "AllowGLXWithComposite" "true"
218 Option "IgnoreEDID" "0"
219 EndSection
220
221 # **********************************************************************
222 # Monitors
223 # **********************************************************************
224 Section "Monitor"
225 Identifier "HP19inch"
226 ModelName "HWP1903"
227 HorizSync 31.5 - 80.5
228 VertRefresh 56 - 76
229 # DisplaySize # FIND THIS OUT! <height> <width> in MM!
230 # 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
231 # ModeLine "800x600" 40.00 800 840 968 1056 600 601 605
232 628 +hsync +vsync
233
234 Option "DPMS"
235 # Option "NoDDC" "true"
236 EndSection
237
238 Section "Monitor"
239 Identifier "TVout"
240 HorizSync 30-50
241 VertRefresh 60
242 EndSection
243
244 # ********************************************************************
245 # Screens
246 # ********************************************************************
247 Section "Screen"
248 Identifier "Screen 0"
249 Device "GeForce4"
250 Monitor "HP19inch"
251 DefaultDepth 24
252 Subsection "Display"
253 Depth 24
254 Modes "1280x1024" "1024x768" "800x600"
255 #ViewPort 0 0
256 EndSubsection
257 # Option "PasswordFile" "/root/.vnc/passwd"
258 EndSection
259
260 # **********************************************************************
261 # ServerLayouts
262 # **********************************************************************
263 Section "ServerLayout"
264 Identifier "Default Layout"
265 Screen "Screen 0"
266 InputDevice "keyboard0" "CoreKeyboard"
267 InputDevice "Logitech MX900" "CorePointer"
268 Option "OffTime" "10"
269 EndSection
270 -----BEGIN PGP SIGNATURE-----
271 Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
272 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
273
274 iD8DBQFEQmo6VFIipMnXxfYRAtJCAJ9Ea3U0A0sd9IRe2s2/f72owquegACghYzJ
275 DYzr7dxxlyB0VhGMCPi+h98=
276 =7ol1
277 -----END PGP SIGNATURE-----
278 --
279 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] modular xorg-x11 major issues with cpu usagea nd screen refreshing Nuitari <nuitari@××××××××××××××××.net>
Re: [gentoo-amd64] modular xorg-x11 major issues with cpu usagea nd screen refreshing Richard Fish <bigfish@××××××××××.org>