Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103797 - glest can't set video mode
Summary: glest can't set video mode
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 103432 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-25 22:47 UTC by Haim Ashkenazi
Modified: 2005-10-05 07:32 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Haim Ashkenazi 2005-08-25 22:47:11 UTC
Hi

I've upgraded to glest 1.0.10-_p7 and the emerge went fine. when running for the
first time I got this error:

Exception: Value not found in properties: FactoryGraphics, loaded from: glest.ini

I renamed my old .glest directory and re-run it again. now I got new error:

Exception: Couldn't set video mode 1024x768 (32bpp 0 stencil 32 depth-buffer).
SDL Error is: Couldn't find matching GLX visual

(this is not my screen resolution btw). also, changing the resolution on
glest.ini produced the same error (with the new resolution).

I have nvidia card with the following drivers version:

media-video/nvidia-kernel-1.0.6629-r4 *
media-video/nvidia-settings-1.0.6629 *
media-video/nvidia-glx-1.0.6629-r6 *

thanx.


Reproducible: Always
Steps to Reproduce:
1.emerge glist 1.0.10-_p7
2.run glest
3.




Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
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.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/lib/mozilla/defaults/pref /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://195.56.77.10/
http://194.149.10.102/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl alsa apm avi berkdb bidi bitmap-fonts cdparanoia cdr
crypt cups curl divx4linux doc dvd dvdr dvdread eds emboss encode esd examples
fam ffmpeg flac foomaticdb fortran gcj gd gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml hal imagemagick imap imlib jack java jpeg junit ldap libcaca libg++
libwww live lzo mad mikmod motif mozdevelop mozilla mozsvg mp3 mpeg ncurses nls
nntp nptl nsplugin nvidia ogg oggvorbis opengl oss pam pda pdflib perl png
postgres python qt quicktime readline sdl slang spell ssl stroke svg svga tcltk
tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs
xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Bartosz Krzeszewski 2005-08-27 04:34:19 UTC
try change color depth, it helped in my case but i have now problem with font 
Comment 2 Bartosz Krzeszewski 2005-08-27 04:36:29 UTC
color depth in glest.ini offcorse, change to 16bpp 
Comment 3 Haim Ashkenazi 2005-08-27 05:43:01 UTC
(In reply to comment #2)
> color depth in glest.ini offcorse, change to 16bpp 

after I changed both ColorBits and DepthBits to 24, I also got a font error:

Exception: Font not found.

although I have the font (Verdana).

:(
Comment 4 Anton Romanov 2005-08-28 00:28:40 UTC
font should be specified in such way:
FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
Comment 5 Haim Ashkenazi 2005-08-28 22:59:02 UTC
(In reply to comment #4)
> font should be specified in such way:
> FontConsole=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
> FontDisplay=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*
> FontMenu=-*-utopia-*-*-*-*-12-*-*-*-*-*-*-*

Is there a man page or some documents with the options? now I get an error:

Exception: Unknown sound factory: DirectSound8

Comment 6 Anton Romanov 2005-09-01 11:14:43 UTC
this bug and 103432 are the same bug about wrong default glest config

FactorySound=OpenAL
instead of 
FactorySound=DirectSound8
Comment 7 Matze Braun 2005-09-17 06:47:52 UTC
Sounds like the ebuild is installing the config from the windows version...
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2005-09-17 13:04:44 UTC
ok, fixed up the ebuild to install the linux config file.  Thanks for the bug
report.
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-09-17 13:05:51 UTC
*** Bug 103432 has been marked as a duplicate of this bug. ***
Comment 10 FieldySnuts 2005-10-05 07:32:47 UTC
I was going to reply to the one marked dupe, but I'm not so sure about that.

The problem I see with glest-1.1.0 is when running it:

 Exception: Error opening wav file: data/core/water_sounds/water1.wav

And it immediately exits.

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13.2-grsec-20050930-nopax i686)
=================================================================
System uname: 2.6.13.2-grsec-20050930-nopax i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-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/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apm avi berkdb bitmap-fonts cdr chroot crypt curl dv
dvd dvdr eds emboss encode fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 guile hal imagemagick imlib java jpeg kde ldap libg++ libwww
mad mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl oss
pam pdflib perl png pwdb python qt quicktime readline samba sdl slang snmp spell
sqlite sse ssl svga tcltk tiff truetype truetype-fonts type1-fonts vorbis xine
xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY