Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133645 - dosbox makes Xorg consume over 70% of the CPU power
Summary: dosbox makes Xorg consume over 70% of the CPU power
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-17 15:06 UTC by Attila Stehr
Modified: 2006-05-18 19:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
screenshots showing Xorg CPU usage (dosbox_Xorg_problem.jpeg,133.30 KB, image/jpeg)
2006-05-17 15:07 UTC, Attila Stehr
Details
screenshots showing Xorg CPU usage (dosbox_Xorg_problem.png,222.10 KB, image/png)
2006-05-17 15:09 UTC, Attila Stehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Stehr 2006-05-17 15:06:27 UTC
I'm not sure if this is really a bug, thus I set "devs only". Please make it public if you think that it is a bug.


Well, for a week I can not use dosbox-0.63 satisfactorily since when it's running - even only showing the dos command line - the X server consumes above 70% of my CPU power. I attached an image containing screenshots to picture the difference.

I reemerged dosbox-0.63 -> no effect.
I can't emerge dosbox-0.65 because of bug #128435.

X works fine with other applications and I have no (EE)s in the log file. I didn't come across a similar behaviour regarding other applications.


Portage 2.0.54-r2 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.4-r2, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r4
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 artworkextra asf audiofile avi berkdb bidi bitmap-fonts bzip2 bzlib cairo cdda cdio cdparanoia cdr cli crypt css cups curl dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode esd exif expat fam fame fat fbcon ffmpeg firefox foomaticdb freetype gcj gdbm ggi gif gimpprint glut gmp gnome gnutls gpm gs gstreamer gtk gtk2 gtkhtml hal hardened howl hpn httpd idn imagemagick imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate libwww linuxthreads-tls live lzo lzw lzw-tiff matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdflib perl png ppds pppd python qt quicktime readline reflection reiserfs rle sasl screen sdl session slang sndfile spell spl ssl stream svg symlink tcltk tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd video_cards_nvidia videos vlm vorbis wmf wxwindows xine xml xml2 xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 1 Attila Stehr 2006-05-17 15:07:36 UTC
Created attachment 86957 [details]
screenshots showing Xorg CPU usage
Comment 2 Attila Stehr 2006-05-17 15:09:50 UTC
Created attachment 86958 [details]
screenshots showing Xorg CPU usage

I didn't think the JPEG will look that awful (almost unreadable) ... so here comes the PNG.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-05-17 15:35:02 UTC
Please don't restrict bugs without any reason...
Comment 4 Attila Stehr 2006-05-17 15:55:24 UTC
um ... I thought I did it for a reason:

> I'm not sure if this is really a bug, thus I set "devs only". Please make 
> it public if you think that it is a bug.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-05-17 18:47:24 UTC
s/any/a good/

Attach your ~/.dosboxrc file as text/plain please.  So far, it seems like another amd64-only thing.  Works fine on x86.
Comment 6 Attila Stehr 2006-05-18 15:23:58 UTC
hum, I haven't got such a file...

atti@magic ~ $ ls -al ~/.dosboxrc
ls: /home/atti/.dosboxrc: Datei oder Verzeichnis nicht gefunden
atti@magic ~ $

magic atti # date
Fr Mai 19 00:16:36 CEST 2006
magic atti # locate / -u
magic atti # locate ".dosboxrc"
magic atti #

Do I need such a file?
Comment 7 Attila Stehr 2006-05-18 15:35:02 UTC
At last I found a workaround for successfully emerging dosbox-0.65 (see bug #128435).

Therewith the problem I described in this bug report disappeared. Should I give this bug a different state now ... like "wontfix?

By the way, I still do not have a ~/.dosboxrc and it looks like this no problem. Is it?
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2006-05-18 19:46:12 UTC
only if you want non-default behavior.