Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 111438

Summary: Xorg freeze as runing scummvm 0.8.0
Product: Gentoo Linux Reporter: pejcao <pejcaofrito>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 112004    

Description pejcao 2005-11-03 19:44:31 UTC
My X (Xorg Modular) freezes every time I try to run ScummVM
(games-engines/scummvm-0.8.0) ... I'd love to say IT is DIG game but I have no
chance to specify it since scummvm hangs at start up!
(BTW ... this game is a movie by itself!!!.. if it runs... enjoy!!!)

Reproducible: Always
Steps to Reproduce:
1.use stable gentoo + unstable gnome
2.get scummvm-0.8.0 + xorg-MODULAR
3.See X to freeze & get yer kboard!

Actual Results:  
hang on Xorg!

Expected Results:  
not to hang on Xorg!

I have media-libs/libsdl 1.2.8-r1

This Is an stable gentoo with unstable gnome & reqs (gnome 2.

Portage (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
CFLAGS="-march=athlon-tbird -O4 -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O4 -pipe"
FEATURES="autoconfig distlocks sandbox sfperms strict"
LINGUAS="en es"
USE="x86 3dnow X a52 aac alsa apache2 apm avi bash-completion bitmap-fonts
bonobo bzlib cdparanoia cdr crypt cups curl dbus divx4linux dv dvb dvd dvdr
dvdread eds emboss encode esd evo exif expat fam fbcon ffmpeg flac font-server
foomaticdb fortran ftp gd gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2
gtkhtml hal howl imagemagick imap imlib innodb jack java jpeg junit lcms ldap
libg++ libwww lirc lm_sensors mad maildir mailwrapper matroska mhash mikmod mime
mmx mng mono mp3 mpeg msn mysql nas ncurses nls nptl ogg oggvorbis opengl oss
pam pcre pdflib perl php png pnp posix ppds python quicktime readline samba sdl
shared slp sndfile sockets sox spell sqlite ssl svg svga symlink sysvipc tcltk
theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb
userlocales v4l vailas vcd videos vorbis wifi win32codecs wmf xine xml xml2
xmlrpc xmms xosd xpm xv xvid zlib linguas_en linguas_es userland_GNU
kernel_linux elibc_glibc"
Comment 1 SpanKY gentoo-dev 2005-11-03 19:46:51 UTC
can you at least verify something works ?

like does monolith xorg-x11 + scummvm 0.8.0 work ?  or how about modular xorg +
scummvm 0.7.x ?
Comment 2 pejcao 2005-11-03 19:56:12 UTC
(In reply to comment #1)
> can you at least verify something works ?
> like does monolith xorg-x11 + scummvm 0.8.0 work ?  or how about modular xorg +
> scummvm 0.7.x ?

Can't say nothing 'bout monolith (since I haven't use it lone ago) but I`ll try
(since I dont't remember) the 0.7.X series of scummvm....
...Dude! this is the fastets reply I've ever seen on a post!

(like 15 secs to reply!)
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-11-03 19:59:00 UTC
xserver freezes aren't games bugs.
Comment 4 pejcao 2005-11-03 20:18:17 UTC
(In reply to comment #3)
> xserver freezes aren't games bugs.

So It is an Xserver bug?...U say it quite isn't... SDL one?... I just downgraded
to games-engines/scummvm-0.7.1....still does freezes it
thx good I'll still can connect remotelly to reboot my machine!

plz forgive my english! and my spell
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-03 22:19:05 UTC
I don't see this issue at all on my machine.  Does it freeze as soon as you 
start it?

Note that in your CFLAGS there is no difference between -O4 and -O3...try 
compiling scummvm with something like -O2 or even -O0 (it works here with -Os).

Donnie, weren't some flags filtered for monolithic?  I don't recall my -Os ever 
getting through.  A quick look through the xorg-x11 ebuild only shows -Os 
filters, so maybe -O3 was never a problem.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2005-11-03 23:02:53 UTC
A number of flags were filtered. Here's some of the allowed ones:

    ALLOWED_FLAGS="-fstack-protector -march -mcpu -mtune -O -O0 -O1 -O2 -O3 -Os"    
    ALLOWED_FLAGS="${ALLOWED_FLAGS} -pipe -fomit-frame-pointer"
    ALLOWED_FLAGS="${ALLOWED_FLAGS} -momit-leaf-frame-pointer"
    ALLOWED_FLAGS="${ALLOWED_FLAGS} -g -g0 -g1 -g2 -g3"
    ALLOWED_FLAGS="${ALLOWED_FLAGS} -ggdb -ggdb0 -ggdb1 -ggdb2 -ggdb3"

Also try replacing athlon-tbird with athlon, although that was supposed to be
fixed in gcc 3.3.
Comment 7 Joshua Baergen (RETIRED) gentoo-dev 2005-11-27 11:47:07 UTC
Please re-open when you've tried the above suggestions.